class WORLD
Summary
Class invariant
Overview
creation features
features
  • drawing_widget: POINTER
    Because Windows can not paint on widgets like windows or bitmaps, it needs another object (Device Context) attached to the widget.
  • is_equal (other: WORLD): BOOLEAN
    Is other attached to an object considered equal to current object?
init_gl
effective procedure
redraw_gl
effective procedure
resize_gl (w: INTEGER_32, h: INTEGER_32)
effective procedure
add_opaque_object (object: GL_OBJECT)
effective procedure
add_translucent_object (object: GL_OBJECT)
effective procedure
camera: CAMERA
writable attribute
set_camera (cam: CAMERA)
effective procedure
add_light (light: LIGHT)
effective procedure
fog: FOG
writable attribute
set_fog (f: FOG, atmospheric: BOOLEAN)
effective procedure
get_object (name: STRING): GL_OBJECT
effective function
start_new_frame
effective procedure
writable attribute
lights: FAST_ARRAY[LIGHT]
writable attribute
make (p: CONTAINER)
effective procedure
select_myself_gl
effective procedure
display_gl
effective procedure
expose_paint
effective procedure
Apply paint with limited depth to the first window.
dispose
effective procedure
Action to be executed just before garbage collection reclaims an object.
clear_without_expose
effective procedure
clear the all the drawable area.
resize (w: INTEGER_32, h: INTEGER_32)
effective procedure
set_geometry (x: INTEGER_32, y: INTEGER_32, w: INTEGER_32, h: INTEGER_32)
effective procedure
hash_code: INTEGER_32
effective function
The hash-code value of Current.
min_width: INTEGER_32
writable attribute
max_width: INTEGER_32
writable attribute
min_height: INTEGER_32
writable attribute
max_height: INTEGER_32
writable attribute
std_width: INTEGER_32
writable attribute
std_height: INTEGER_32
writable attribute
width: INTEGER_32
writable attribute
height: INTEGER_32
writable attribute
has_been_init: BOOLEAN
writable attribute
opengl_widget: POINTER
writable attribute
basic_opengl_window_create (x: INTEGER_32, y: INTEGER_32, w: INTEGER_32, h: INTEGER_32, p: POINTER, decorate: BOOLEAN): POINTER
basic_opengl_window_set_geometry (ogl_widget: POINTER, x: INTEGER_32, y: INTEGER_32, w: INTEGER_32, h: INTEGER_32)
basic_opengl_select (ogl_widget: POINTER): BOOLEAN
basic_opengl_swap_buffers (ogl_widget: POINTER)
basic_opengl_window_destroy (ogl_widget: POINTER)
drawing_widget: POINTER
writable attribute
Because Windows can not paint on widgets like windows or bitmaps, it needs another object (Device Context) attached to the widget.
parent: CONTAINER
writable attribute
pos_x: INTEGER_32
writable attribute
pos_y: INTEGER_32
writable attribute
x_shrink_allowed: BOOLEAN
writable attribute
x_expand_allowed: BOOLEAN
writable attribute
y_shrink_allowed: BOOLEAN
writable attribute
y_expand_allowed: BOOLEAN
writable attribute
valid_width (w: INTEGER_32): BOOLEAN
effective function
valid_height (h: INTEGER_32): BOOLEAN
effective function
area: RECT
effective function
root_area: RECT
effective function
set_x_shrink (b: BOOLEAN)
effective procedure
set_x_expand (b: BOOLEAN)
effective procedure
set_y_shrink (b: BOOLEAN)
effective procedure
set_y_expand (b: BOOLEAN)
effective procedure
set_shrink (b: BOOLEAN)
effective procedure
change both x and y shrink state
set_expand (b: BOOLEAN)
effective procedure
change both x and y expand state
set_parent (p: CONTAINER)
effective procedure
computing_size: BOOLEAN
effective function
state: INTEGER_32
writable attribute
use values from STATE_CONSTANTS
is_state_normal: BOOLEAN
frozen
effective function
is_state_active: BOOLEAN
frozen
effective function
is_state_prelight: BOOLEAN
frozen
effective function
is_state_selected: BOOLEAN
frozen
effective function
is_state_insensitive: BOOLEAN
frozen
effective function
set_state_normal
frozen
effective procedure
set_state_active
frozen
effective procedure
set_state_prelight
frozen
effective procedure
set_state_selected
frozen
effective procedure
set_state_insensitive
frozen
effective procedure
set_state (n: INTEGER_32)
effective procedure
renderer: RENDERER
once function
state_normal: INTEGER_32
constant attribute
state_active: INTEGER_32
constant attribute
state_prelight: INTEGER_32
constant attribute
state_selected: INTEGER_32
constant attribute
state_insensitive: INTEGER_32
constant attribute
is_equal (other: WORLD): BOOLEAN
deferred function
Is other attached to an object considered equal to current object?
vision: VISION
once function
font_manager: FONT_MANAGER
once function
default_font: BASIC_FONT
once function
white_color: COLOR
once function
black_color: COLOR
once function
dim_grey_color: COLOR
once function
dark_grey_color: COLOR
once function
grey_color: COLOR
once function
light_grey_color: COLOR
once function
dark_blue_color: COLOR
once function
medium_blue_color: COLOR
once function
blue_color: COLOR
once function
royal_blue_color: COLOR
once function
deep_sky_blue_color: COLOR
once function
sky_blue_color: COLOR
once function
light_sky_blue_color: COLOR
once function
steel_blue_color: COLOR
once function
light_steel_blue_color: COLOR
once function
light_blue_color: COLOR
once function
pale_turquoise_color: COLOR
once function
dark_turquoise_color: COLOR
once function
medium_turquoise_color: COLOR
once function
turquoise_color: COLOR
once function
dark_cyan_color: COLOR
once function
cyan_color: COLOR
once function
light_cyan_color: COLOR
once function
dark_green_color: COLOR
once function
green_color: COLOR
once function
light_green_color: COLOR
once function
yellow_green_color: COLOR
once function
dark_khaki_color: COLOR
once function
khaki_color: COLOR
once function
yellow_color: COLOR
once function
light_yellow_color: COLOR
once function
gold_color: COLOR
once function
beige_color: COLOR
once function
chocolate_color: COLOR
once function
firebrick_color: COLOR
once function
brown_color: COLOR
once function
dark_salmon_color: COLOR
once function
salmon_color: COLOR
once function
light_salmon_color: COLOR
once function
dark_orange_color: COLOR
once function
orange_color: COLOR
once function
orange_red_color: COLOR
once function
dark_red_color: COLOR
once function
red_color: COLOR
once function
hot_pink_color: COLOR
once function
deep_pink_color: COLOR
once function
pink_color: COLOR
once function
light_pink_color: COLOR
once function
pale_violet_red_color: COLOR
once function
maroon_color: COLOR
once function
medium_violet_red_color: COLOR
once function
violet_red_color: COLOR
once function
violet_color: COLOR
once function
dark_magenta_color: COLOR
once function
magenta_color: COLOR
once function
dark_violet_color: COLOR
once function
blue_violet_color: COLOR
once function
medium_purple_color: COLOR
once function
purple_color: COLOR
once function
center_alignment: ALIGNMENT
once function
left_alignment: ALIGNMENT
once function
right_alignment: ALIGNMENT
once function
top_alignment: ALIGNMENT
once function
down_alignment: ALIGNMENT
once function
top_left_alignment: ALIGNMENT
once function
top_right_alignment: ALIGNMENT
once function
down_right_alignment: ALIGNMENT
once function
down_left_alignment: ALIGNMENT
once function
gl: GL
once function
glu: GLU
once function
smart_gl: SMART_GL
once function
full_red: GL_COLOR
once function
full_green: GL_COLOR
once function
full_blue: GL_COLOR
once function
full_yellow: GL_COLOR
once function
full_magenta: GL_COLOR
once function
full_cyan: GL_COLOR
once function
full_white: GL_COLOR
once function
full_black: GL_COLOR
once function
left_click_signal: SIGNAL_0
writable attribute
when_left_clicked (p: PROCEDURE[TUPLE])
effective procedure
left_is_down: BOOLEAN
writable attribute
when_left_clicked_init
effective procedure
left_may_click: BOOLEAN
writable attribute
private_left_down
effective procedure
private_left_up
effective procedure
private_left_pointer_enter
effective procedure
private_left_pointer_leave
effective procedure
is_pointer_inside: BOOLEAN
writable attribute
pointer_status_init
effective procedure
private_pointer_in
effective procedure
private_pointer_out
effective procedure
pointer_status_initialized: BOOLEAN
writable attribute
widget: POINTER
writable attribute
widget identifier from the native graphic API.
when_pointer_enter (p: PROCEDURE[TUPLE])
effective procedure
when_pointer_enter_signal: SIGNAL_0
effective function
when_pointer_leave (p: PROCEDURE[TUPLE])
effective procedure
when_pointer_leave_signal: SIGNAL_0
effective function
when_left_down (p: PROCEDURE[TUPLE])
effective procedure
when_left_down_signal: SIGNAL_0
effective function
when_left_up (p: PROCEDURE[TUPLE])
effective procedure
when_left_up_signal: SIGNAL_0
effective function