|
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::next, ProgramName, TitleButton::rightside, Scr, and SetCurrentTBAction().
Referenced by GotTitleButton().
| void InitTitlebarButtons | ( | void | ) |
Definition at line 41 of file win_decorations_init.c.
References AddDefaultFuncButtons(), ComputeCommonTitleOffsets(), TitleButton::dstx, TitleButton::dsty, GetImage(), Image::height, TitleButton::height, TitleButton::image, MKBTN, TitleButton::name, TitleButton::next, ProgramName, Scr, TitleButton::srcx, TitleButton::srcy, TBPM_QUESTION, Image::width, and TitleButton::width.
Referenced by ctwm_main().
| void SetCurrentTBAction | ( | int | button, |
| int | mods, | ||
| int | func, | ||
| char * | action, | ||
| MenuRoot * | menuroot ) |
Definition at line 203 of file win_decorations_init.c.
References TitleButtonFunc::action, cur_tb, TitleButtonFunc::func, TitleButtonFunc::menuroot, TitleButtonFunc::mods, TitleButtonFunc::next, TitleButtonFunc::num, and ProgramName.
Referenced by CreateTitleButton().