#include <gui_component.hxx>
Inheritance diagram for GUIComponent:
Public Member Functions | |
GUIComponent (int x_, int y_, int width_, int height_) | |
virtual | ~GUIComponent () |
virtual void | draw (GraphicContext *gc)=0 |
virtual bool | is_at (int x, int y) |
void | set_position (int x, int y) |
void | set_width (int w) |
void | set_height (int h) |
int | get_x_pos () |
int | get_y_pos () |
int | get_width () |
int | get_height () |
virtual void | on_primary_button_press (int x, int y) |
virtual void | on_primary_button_release (int x, int y) |
virtual void | on_secondary_button_press (int x, int y) |
virtual void | on_secondary_button_release (int x, int y) |
virtual void | on_tertiary_button_press (int x, int y) |
virtual void | on_tertiary_button_release (int x, int y) |
virtual void | on_duplicate_press (int x, int y) |
virtual void | on_delete_press (int x, int y) |
virtual void | on_fix_press (int x, int y) |
virtual void | on_mouse_enter () |
virtual void | on_mouse_leave () |
virtual void | wheel_up (int x, int y) |
virtual void | wheel_down (int x, int y) |
virtual void | on_button_press (int button_id, int x, int y) |
virtual void | scroll_left () |
virtual void | scroll_right () |
virtual void | scroll_up () |
virtual void | scroll_down () |
virtual void | on_mouse_move (int x, int y, int of_x, int of_y) |
Protected Attributes | |
int | x_pos |
int | y_pos |
int | width |
int | height |
Definition at line 27 of file gui_component.hxx.
|
Definition at line 36 of file gui_component.hxx. |
|
Definition at line 40 of file gui_component.hxx. |
|
Implemented in GUIButton, GUIChildManager, GUIDirectoryButton, GUILabel, GUINewFileButton, GUIWindow, WorldButton, and WorldViewComponent. |
|
Definition at line 53 of file gui_component.hxx. Referenced by WorldViewComponent::draw(). |
|
Definition at line 52 of file gui_component.hxx. Referenced by WorldViewComponent::draw(). |
|
Definition at line 50 of file gui_component.hxx. |
|
Definition at line 51 of file gui_component.hxx. |
|
Reimplemented in GUILabel, and WorldViewComponent. Definition at line 23 of file gui_component.cxx. References height, width, x_pos, and y_pos. Referenced by GUIButton::on_primary_button_release(). |
|
Reimplemented in WorldViewComponent. Definition at line 74 of file gui_component.hxx. |
|
Reimplemented in GUIChildManager, and WorldViewComponent. Definition at line 65 of file gui_component.hxx. |
|
Reimplemented in WorldViewComponent. Definition at line 64 of file gui_component.hxx. |
|
Reimplemented in GUIChildManager, and WorldViewComponent. Definition at line 66 of file gui_component.hxx. |
|
Reimplemented in GUIButton, GUIChildManager, GUIFileButton, and GUIWindow. Definition at line 68 of file gui_component.hxx. Referenced by GUIChildManager::on_mouse_move(). |
|
Reimplemented in GUIButton, GUIChildManager, GUIFileButton, and GUIWindow. Definition at line 69 of file gui_component.hxx. Referenced by GUIChildManager::on_mouse_move(). |
|
Reimplemented in GUIChildManager, and WorldViewComponent. Definition at line 81 of file gui_component.hxx. Referenced by GUIChildManager::on_mouse_move(). |
|
Reimplemented in GUIButton, GUIChildManager, GUIFileButton, and WorldViewComponent. Definition at line 55 of file gui_component.hxx. |
|
Reimplemented in GUIButton, GUIChildManager, GUIFileButton, and WorldViewComponent. Definition at line 56 of file gui_component.hxx. |
|
Reimplemented in GUIChildManager, and WorldViewComponent. Definition at line 58 of file gui_component.hxx. |
|
Reimplemented in GUIChildManager, and WorldViewComponent. Definition at line 59 of file gui_component.hxx. |
|
Reimplemented in WorldViewComponent. Definition at line 61 of file gui_component.hxx. |
|
Reimplemented in WorldViewComponent. Definition at line 62 of file gui_component.hxx. |
|
Reimplemented in GUIChildManager, GUIFileManager, and WorldViewComponent. Definition at line 79 of file gui_component.hxx. |
|
Reimplemented in GUIChildManager, and WorldViewComponent. Definition at line 76 of file gui_component.hxx. |
|
Reimplemented in GUIChildManager, and WorldViewComponent. Definition at line 77 of file gui_component.hxx. |
|
Reimplemented in GUIChildManager, GUIFileManager, and WorldViewComponent. Definition at line 78 of file gui_component.hxx. |
|
Definition at line 49 of file gui_component.hxx. |
|
Definition at line 47 of file gui_component.hxx. |
|
Definition at line 48 of file gui_component.hxx. |
|
Reimplemented in GUIChildManager, GUIDirectory, and WorldViewComponent. Definition at line 72 of file gui_component.hxx. |
|
Reimplemented in GUIChildManager, GUIDirectory, and WorldViewComponent. Definition at line 71 of file gui_component.hxx. |
|
Definition at line 33 of file gui_component.hxx. Referenced by is_at(). |
|
Definition at line 32 of file gui_component.hxx. Referenced by is_at(). |
|
Definition at line 30 of file gui_component.hxx. Referenced by is_at(). |
|
Definition at line 31 of file gui_component.hxx. Referenced by is_at(). |