+
Point of view
DRAWABLE_HANDLER
class SUB_WINDOW
- width >= 1
- height >= 1
- std_width > 0
- std_height > 0
set_background_color (c:
COLOR)
effective procedure
set_background_pixmap (p:
PIXMAP)
effective procedure
require
- l /= Void
- l.container = Void
ensure
require
- w > 0
- h > 0
- area.include(x, y)
- area.include(x + w - 1, y + h - 1)
frozen
effective function
frozen
effective function
frozen
effective function
frozen
effective function
frozen
effective function
ensure
-
good_hash_value: Result >= 0
is_equal (other: SUB_WINDOW):
BOOLEAN
deferred function
require
ensure
- Result implies hash_code = other.hash_code
-
commutative: generating_type = other.generating_type implies Result = other.is_equal(Current)