indexing
description: "Basic Windows routines."
status: "See notice at end of class."
date: "$Date$"
revision: "$Revision$"
class interface
WEL_WINDOWS_ROUTINES
feature
foreground_window: WEL_WINDOW
is_window (hwnd: POINTER): BOOLEAN
hwnd
key_down (virtual_key: INTEGER): BOOLEAN
key_locked (virtual_key: INTEGER): BOOLEAN
key_to_string (key_data: INTEGER): STRING
virtual_key
system_directory: STRING
ensure
result_not_void: Result /= void
tick_count: INTEGER
ensure
positive_result: Result >= 0
window_of_item (hwnd: POINTER): WEL_WINDOW
hwnd
require
hwnd_not_null: hwnd /= default_pointer
is_window_pointer: is_window (hwnd)
ensure
is_wel_window: Result /= void implies (create {INTERNAL}).type_conforms_to ((create {INTERNAL}).dynamic_type (Result), (create {INTERNAL}).dynamic_type_from_string ("WEL_WINDOW"))
windows_directory: STRING
ensure
result_not_void: Result /= void
feature
hide_cursor
message_beep_asterisk
message_beep_exclamation
message_beep_hand
message_beep_ok
message_beep_question
output_debug_string (s: STRING)
s
require
s_not_void: s /= void
resource_string_id (an_id: INTEGER): STRING
an_id
ensure
result_not_void: Result /= void
set_cursor_position_absolute (x, y: INTEGER)
xy
show_cursor
invariant
ANY
reflexive_equality: standard_is_equal (Current)
reflexive_conformance: conforms_to (Current)
end -- WEL_WINDOWS_ROUTINES