libt3widget
|
Protected Member Functions | |
virtual void | color_to_xy (int color, int &x, int &y) |
virtual t3_attr_t | get_paint_attr (int color) |
virtual int | xy_to_color (int x, int y) |
![]() | |
color_picker_base_t (bool _fg) | |
virtual void | paint_color_name (int color) |
![]() | |
void | init_unbacked_window (int height, int width, bool register_as_mouse_target=false) |
Initialize the window with an unbacked t3_window_t with height and width . | |
void | init_window (int height, int width, bool register_as_mouse_target=true) |
Initialize the window with a t3_window_t with height and width . | |
widget_t (int height, int width, bool register_as_mouse_target=true) | |
Constructor which creates a default t3_window_t with height and width . | |
widget_t (void) | |
Constructor which does not create a default t3_window_t. | |
![]() | |
mouse_target_t (bool use_window=true) |
Additional Inherited Members | |
![]() | |
enum | focus_t { FOCUS_OUT, FOCUS_SET, FOCUS_IN_FWD, FOCUS_IN_BCK, FOCUS_REVERT } |
![]() | |
t3_attr_t | get_color (void) |
virtual bool | process_key (key_t key) |
virtual bool | process_mouse_event (mouse_event_t event) |
Process a mouse event. | |
void | set_color (t3_attr_t attr) |
virtual void | set_focus (focus_t focus) |
virtual bool | set_size (optint height, optint width) |
void | set_undefined_colors (t3_attr_t attr) |
Change the rendering of the default colors. | |
T3_WIDGET_SIGNAL (activated, void) | |
T3_WIDGET_SIGNAL (selection_changed, void) | |
virtual void | update_contents (void) |
![]() | |
static bool | handle_mouse_event (mouse_event_t event) |
![]() | |
const char * | color_str |
int | current_color |
bool | fg |
bool | has_focus |
int | max_color |
t3_attr_t | undefined_colors |