A theme selector and loader
This module implements a theme selector dialog. (../include/depui/themesel.h)
Part of the depui library.
MX_THEMESEL
A theme seletion window
# define mx_themesel(id)
Create a theme selector window
This macro creates a theme selector with the specified id number. (../include/depui/themesel.h)
void mx_themesel_refresh(MX_THEMESEL* sel)
This function refreshes a theme selector dialog with the currently available themes. This function should be called after creating the theme selector and before it gets displayed or gets an MX_GEOMETRY event. (../include/depui/themesel.c)
void mx_themesel_handler(MX_WIN* win)
Error handling could be better here (../include/depui/themesel.c)
MX_THEMESEL* mx_themeselwin(MX_THEMESEL* sel, size_t size, MX_HANDLER handler, int theid)
mx_text_set(&sel->_themes, "themes", -1, 0); (../include/depui/themesel.c)
const MX_THEME* mx_themesel_info(const int idnum)
theme selection information
When a theme has been chosen from a theme selector dialog the a MX_THEMESEL_OK event is sent to the parent window. This function can be called when handling that event to determine the theme selected. (../include/depui/themesel.c)
This function should only be called when handling an MX_THEMESEL_event. (../include/depui/themesel.c)
The sepcified id number has to match the one with the selected theme. (../include/depui/themesel.c)
Generated by MXDOC 2.2 on Sun Feb 4 15:16:27 2007