INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES

indexing

title: "WRAPPER"
project: "Visual Eiffel"
revision: "$Revision: 1.1 $"
copyright: "Copyright (C) 1996-2005 Object Tools Group"
license: "http://visual-eiffel.com/license"
cluster: grape
class WRAPPER
creation

make
feature

make
-- This method is only necessary to setup a global pointer,
-- which is a reference to WRAPPER object and is stored in
-- "C" modules.

on_paint (t: TILE): INTEGER
-- Each object must supply it's own method to paint itself

on_size (t: TILE; w, h: INTEGER): INTEGER
-- Each object must supply it's own method to resize
-- itself. Especially complex objects.

on_move (t: TILE; x, y: INTEGER): INTEGER

on_activate (t: TILE): INTEGER
-- The object must know how to activate itself.
-- Especially complex objects.

can_destroy (t: TILE): INTEGER
-- The object must know if it is possible to destroy it

on_destroy (t: TILE): INTEGER
-- The object must know how to destroy itself.

on_deactivate (t: TILE): INTEGER
-- May be some actions must be done when deactivating object.

on_lbutton_down (t: TILE; x, y: INTEGER): INTEGER

on_lbutton_up (t: TILE; x, y: INTEGER): INTEGER

on_rbutton_down (t: TILE; x, y: INTEGER): INTEGER

on_rbutton_up (t: TILE; x, y: INTEGER): INTEGER

on_lbutton_double (t: TILE; x, y: INTEGER): INTEGER

on_rbutton_double (t: TILE; x, y: INTEGER): INTEGER

on_mouse_move (t: TILE; x, y: INTEGER): INTEGER

on_command (w: WINDOW; command: INTEGER): INTEGER

on_sys_command (t: TILE; command: INTEGER): INTEGER

on_menu_selection (w: WINDOW; item_code: INTEGER): INTEGER
-- Called when menu item is only selected, but user
-- has not decided yet to invoke the command

on_menu_init (w: WINDOW): INTEGER
-- Called when user tries to start working with menu

on_changed (w: WINDOW; control: TILE): INTEGER
-- If some control in window changes it's data parent
-- window is called this way. For example: input line
-- is changed, button group is modified, etc.

on_clicked (w: WINDOW; control: TILE): INTEGER
-- When some control in window is clicked, parent
-- is notified by this function

on_double_clicked (w: WINDOW; control: TILE): INTEGER
-- When some control in window is double clicked, parent
-- is notified by this function

on_hslide (w: WINDOW; slider: SCROLLER; code, value: INTEGER): INTEGER
-- If the scroll bar belongs to window border the scroller param
-- is set to VOID

on_vslide (w: WINDOW; slider: SCROLLER; code, value: INTEGER): INTEGER
-- If the scroll bar belongs to window border the scroller param
-- is set to VOID
feature -- Window scrolling
-- This group of methods is called in responce to user
-- manipulations on window scroll bars (which are in window
-- borders).

on_hscroll (t: TILE; scrollbar: SCROLLER; code, value: INTEGER): INTEGER
-- Horizontal scroll bar manipulations.

on_vscroll (t: TILE; scrollbar: SCROLLER; code, value: INTEGER): INTEGER
-- Vertical scroll bar manipulations.

get_scroll_bar (t: TILE; typ: INTEGER): SCROLL_BAR
feature -- Events

on_init_dialog (d: DIALOG; hwnd: INTEGER): INTEGER
-- This method is unique to dialogs

on_self_drawing (c: COMPONENT; dc, x, y, w, h: INTEGER; selected, focused, disabled: BOOLEAN)
-- This method is for self drawable objects displaying.

on_key_down (t: TILE; key: INTEGER): INTEGER
-- This method is called when user presses down some key
-- on the keyboard

on_character (t: TILE; ch: CHARACTER): INTEGER

on_key_up (t: TILE; key: INTEGER): INTEGER
-- This method is called when user releases some key
-- on the keyboard

on_timer (t: TILE): INTEGER
-- Called when timer event occures

on_minmax (t: TILE; min, max: SIZE): INTEGER
--  Called before resizing of the object

get_minmax_size (t: TILE; type: INTEGER): SIZE

on_validation_error (w: WINDOW; t: TILE)
-- Validation support. Child (t) may notifiy his
-- parent (w) that it has loose the focus, but its
-- contents are invalid

begin_paint (tile: TILE)
-- used to cooperate with the graphics drawing engine.

end_paint (tile: TILE)
-- used to cooperate with the graphics drawing engine.

get_ctlcolor_background (c: CONTROL): COLOR

get_ctlcolor_foreground (c: CONTROL): COLOR

get_ctlcolor_transparent (c: CONTROL): BOOLEAN

get_ctl_keyboard (t: TILE): INTEGER
end -- class WRAPPER

INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES