CTWM
|
Go to the source code of this file.
Functions | |
void | InitTitlebarButtons (void) |
void | SetCurrentTBAction (int button, int mods, int func, char *action, MenuRoot *menuroot) |
bool | CreateTitleButton (char *name, int func, char *action, MenuRoot *menuroot, bool rightside, bool append) |
bool CreateTitleButton | ( | char * | name, |
int | func, | ||
char * | action, | ||
MenuRoot * | menuroot, | ||
bool | rightside, | ||
bool | append ) |
Definition at line 241 of file win_decorations_init.c.
References cur_tb, MAX_BUTTONS, TitleButton::name, TitleButton::next, PlaceX, ProgramName, TitleButton::rightside, Scr, and SetCurrentTBAction().
Referenced by GotTitleButton().
Definition at line 41 of file win_decorations_init.c.
References AddDefaultFuncButtons(), ComputeCommonTitleOffsets(), GetImage(), MKBTN, PlaceX, ProgramName, Scr, TBPM_QUESTION, and TitleButton::width.
Referenced by ctwm_main().
Definition at line 203 of file win_decorations_init.c.
References cur_tb, TitleButton::funs, TitleButtonFunc::num, PlaceX, and ProgramName.
Referenced by CreateTitleButton().