![]() |
libxputty 0.1
|
Go to the source code of this file.
Functions | |
void | _rounded_box (cairo_t *cr, float x, float y, float w, float h, float lsize) |
void | _draw_tabbox (void *w_, void *user_data) |
_draw_tabbox - draw the tabbox on expose call | |
void | _draw_tab (void *w_, void *user_data) |
_draw_tab - draw a single tab on expose call | |
void | _tab_button_released (void *w_, void *button_, void *user_data) |
_tab_button_released - select the tab to show (hide all other) | |
void _draw_tab | ( | void * | w_, |
void * | user_data | ||
) |
_draw_tab - draw a single tab on expose call
*w_ | - the tab to draw |
*user_data | - attached user_data |
Definition at line 92 of file xtabbox_private.c.
References _draw_tabbox(), and Widget_t::parent.
Referenced by tabbox_add_tab().
void _draw_tabbox | ( | void * | w_, |
void * | user_data | ||
) |
_draw_tabbox - draw the tabbox on expose call
*w_ | - the tabbox to draw |
*user_data | - attached user_data |
Definition at line 39 of file xtabbox_private.c.
References _rounded_box(), ACTIVE_, Widget_t::adj, adj_get_value(), Widget_t::app, Resize_t::ascale, Widget_t::childlist, Childlist_t::childs, Widget_t::crb, Childlist_t::elem, get_color_state(), Metrics_t::height, INSENSITIVE_, Widget_t::label, NORMAL_, Xputty::normal_font, os_get_window_metrics(), Widget_t::scale, use_bg_color_scheme(), use_frame_color_scheme(), use_text_color_scheme(), Metrics_t::visible, widget_hide(), widget_show_all(), and Metrics_t::width.
Referenced by _draw_tab(), and add_tabbox().
void _rounded_box | ( | cairo_t * | cr, |
float | x, | ||
float | y, | ||
float | w, | ||
float | h, | ||
float | lsize | ||
) |
Definition at line 25 of file xtabbox_private.c.
Referenced by _draw_tabbox().
void _tab_button_released | ( | void * | w_, |
void * | button_, | ||
void * | user_data | ||
) |
_tab_button_released - select the tab to show (hide all other)
*w_ | - the Widget_t which is released |
*button_ | - the xbutton event |
*user_data | - attached user_data |
Definition at line 98 of file xtabbox_private.c.
References Widget_t::adj, adj_set_value(), Widget_t::childlist, Childlist_t::elem, expose_widget(), Widget_t::flags, HAS_POINTER, os_get_window_metrics(), Metrics_t::width, XEvent::x, and XEvent::y.
Referenced by add_tabbox().