indexing
description: "Standard dialog box to choose a font."
status: "See notice at end of class."
date: "$Date$"
revision: "$Revision$"
class interface
WEL_CHOOSE_FONT_DIALOG
create
make
feature
color: WEL_COLOR_REF
require
exits: exists
ensure
result_not_void: Result /= void
flags: INTEGER
WEL_CF_CONSTANTS
font_type: INTEGER
WEL_FONT_TYPE_CONSTANTS
require
selected: selected
ensure
valid_font_type: valid_font_type_constant (Result)
item: POINTER
WEL_ANY
log_font: WEL_LOG_FONT
maximum_size: INTEGER
minimum_size: INTEGER
point_size: INTEGER
require
selected: selected
feature
structure_size: INTEGER
ensure WEL_STRUCTURE
positive_result: Result > 0
feature
exists: BOOLEAN
item
WEL_ANY
ensure WEL_ANY
Result = (item /= default_pointer)
has_flag (a_flags: INTEGER): BOOLEAN
a_flagsflags
WEL_CF_CONSTANTSa_flags
selected: BOOLEAN
WEL_STANDARD_DIALOG
shared: BOOLEAN
item
item
destroy_item
item
WEL_ANY
feature
valid_font_type_constant (c: INTEGER): BOOLEAN
c
WEL_FONT_TYPE_CONSTANTS
feature
set_shared
shared
WEL_ANY
ensure WEL_ANY
shared: shared
set_unshared
shared
WEL_ANY
ensure WEL_ANY
unshared: not shared
feature
add_flag (a_flags: INTEGER)
a_flagsflags
WEL_CF_CONSTANTSa_flags
ensure
has_flag: has_flag (a_flags)
remove_flag (a_flags: INTEGER)
a_flagsflags
WEL_CF_CONSTANTSa_flags
ensure
has_not_flag: not has_flag (a_flags)
set_color (a_color: WEL_COLOR_REF)
colora_color
ensure
color_set: color.is_equal (a_color)
set_dc (a_dc: WEL_DC)
a_dc
require
a_dc_not_void: a_dc /= void
a_dc_exists: a_dc.exists
set_flags (a_flags: INTEGER)
flagsa_flags
WEL_CF_CONSTANTSa_flags
ensure
flags_set: flags = a_flags
set_item (an_item: POINTER)
iteman_item
WEL_ANY
ensure WEL_ANY
item_set: item = an_item
set_log_font (a_log_font: WEL_LOG_FONT)
log_fonta_log_font
require
a_log_font_not_void: a_log_font /= void
ensure
log_font_set: log_font.item = a_log_font.item
set_maximum_size (size: INTEGER)
maximum_sizesize
ensure
maximum_size_set: maximum_size = size
set_minimum_size (size: INTEGER)
minimum_sizesize
ensure
minimum_size_set: minimum_size = size
feature
dispose
Current
Current
WEL_ANY
feature
to_integer: INTEGER
item
WEL_ANY
ensure WEL_ANY
Result = cwel_pointer_to_integer (item)
feature
activate (a_parent: WEL_COMPOSITE_WINDOW)
a_parent
require WEL_STANDARD_DIALOG
a_parent_not_void: a_parent /= void
a_parent_exists: a_parent.exists
structure_initialize
WEL_STRUCTURE
require WEL_STRUCTURE
exists: exists
initialize_with_character (a_character: CHARACTER)
a_character
WEL_STRUCTURE
require WEL_STRUCTURE
exists: exists
memory_copy (source_pointer: POINTER; length: INTEGER)
lengthsource_pointeritem
WEL_STRUCTURE
require WEL_STRUCTURE
length_small_enough: length <= structure_size
length_large_enough: length > 0
exists: exists
invariant
ANY
reflexive_equality: standard_is_equal (Current)
reflexive_conformance: conforms_to (Current)
end -- WEL_CHOOSE_FONT_DIALOG