|
CTWM
|
Go to the source code of this file.
Data Structures | |
| struct | WList |
| struct | IconMgr |
Macros | |
| #define | ICON_MGR_IBORDER 3 |
| #define | ICON_MGR_OBORDER (Scr->use3Diconmanagers ? Scr->IconManagerShadowDepth : 2) |
Functions | |
| void | CreateIconManagers (void) |
| IconMgr * | AllocateIconManager (char *name, char *geom, char *icon_name, int columns) |
| void | AllocateOtherIconManagers (void) |
| void | MoveIconManager (int dir) |
| void | MoveMappedIconManager (int dir) |
| void | JumpIconManager (int dir) |
| WList * | AddIconManager (TwmWindow *tmp_win) |
| void | InsertInIconManager (IconMgr *ip, WList *tmp, TwmWindow *tmp_win) |
| void | RemoveFromIconManager (IconMgr *ip, WList *tmp) |
| void | RemoveIconManager (TwmWindow *tmp_win) |
| void | CurrentIconManagerEntry (WList *current) |
| void | ActiveIconManager (WList *active) |
| void | NotActiveIconManager (WList *active) |
| void | DrawIconManagerBorder (WList *tmp, bool fill) |
| void | SortIconManager (IconMgr *ip) |
| void | PackIconManager (IconMgr *ip) |
| void | PackIconManagers (void) |
| void | dump_iconmanager (IconMgr *mgr, char *label) |
| void | DrawIconManagerIconName (TwmWindow *tmp_win) |
| void | ShowIconifiedIcon (TwmWindow *tmp_win) |
Variables | |
| WList * | DownIconManager |
| #define ICON_MGR_IBORDER 3 |
Definition at line 83 of file iconmgr.h.
Referenced by CreateIconWindow(), DrawIconManagerIconName(), PackIconManager(), PaintIcon(), and RedoIconName().
Definition at line 85 of file iconmgr.h.
Referenced by AddIconManager(), DrawIconManagerIconName(), and PackIconManager().
| void ActiveIconManager | ( | WList * | active | ) |
Definition at line 1035 of file iconmgr.c.
References Active, WList::active, Current, and DrawIconManagerBorder().
Referenced by SetFocusVisualAttributes().
Definition at line 697 of file iconmgr.c.
References ColorPair::back, TwmWindow::class, IconMgr::count, WList::cp, Create3DIconManagerIcon(), dpy, ColorPair::fore, TwmWindow::frame, GetColorFromList(), GetShadeColors(), IconMgr::height, WList::height, WList::highlight, WList::icon, ICON_MGR_OBORDER, WList::iconifypm, TwmWindow::iconmanagerlist, WList::iconmgr, im_iconified_icon_height, im_iconified_icon_width, InsertInIconManager(), TwmWindow::isicon, TwmWindow::isiconmgr, TwmWindow::istransient, TwmWindow::iswspmgr, LookInList(), TwmWindow::mapped, WList::me, TwmWindow::name, IconMgr::nextv, WList::nextv, TwmWindow::occupation, PackIconManager(), Scr, ScreenContext, SetMapStateProp(), WList::twm, IconMgr::twm_win, TwmContext, visible(), IconMgr::w, TwmWindow::w, WList::w, WList::width, WList::x, and WList::y.
Referenced by AddWindow(), ChangeOccupation(), and HandleMapRequest().
| IconMgr * AllocateIconManager | ( | char * | name, |
| char * | geom, | ||
| char * | icon_name, | ||
| int | columns ) |
Definition at line 266 of file iconmgr.c.
References IconMgr::columns, IconMgr::geometry, IconMgr::height, IconMgr::icon_name, IconMgr::name, IconMgr::prev, Scr, IconMgr::scr, and IconMgr::width.
Referenced by ctwm_main().
| void AllocateOtherIconManagers | ( | void | ) |
Definition at line 316 of file iconmgr.c.
References WorkSpace::iconmgr, IconMgr::lasti, IconMgr::next, WorkSpace::next, IconMgr::nextv, IconMgr::prev, and Scr.
Referenced by ctwm_main().
| void CreateIconManagers | ( | void | ) |
Definition at line 71 of file iconmgr.c.
References AddWindow(), AWT_ICON_MANAGER, Create2DIconManagerIcon(), dpy, GetColorFromList(), GrabButtons(), GrabKeys(), iconmgr_textx, im_iconified_icon_width, LookInList(), IconMgr::next, WorkSpace::next, WorkSpace::number, RLayoutXParseGeometry(), Scr, and SetMapStateProp().
Referenced by ctwm_main().
| void CurrentIconManagerEntry | ( | WList * | current | ) |
Definition at line 1030 of file iconmgr.c.
References Current.
Referenced by GotoWorkSpace(), and HandleEnterNotify().
| void DrawIconManagerBorder | ( | WList * | tmp, |
| bool | fill ) |
Definition at line 1050 of file iconmgr.c.
References WList::active, ColorPair::back, WList::cp, dpy, Draw3DBorder(), ColorPair::fore, WList::height, WList::highlight, off, on, Scr, WList::w, and WList::width.
Referenced by ActiveIconManager(), DrawIconManagerIconName(), HandleButtonPress(), HandleButtonRelease(), and NotActiveIconManager().
| void DrawIconManagerIconName | ( | TwmWindow * | tmp_win | ) |
Definition at line 1247 of file iconmgr.c.
References ColorPair::back, WList::cp, dpy, DrawIconManagerBorder(), FB, ColorPair::fore, ICON_MGR_IBORDER, ICON_MGR_OBORDER, TwmWindow::icon_name, TwmWindow::iconmanagerlist, iconmgr_textx, PackIconManagers(), Scr, UpdateFont(), and WList::w.
Referenced by HandleExpose().
| void dump_iconmanager | ( | IconMgr * | mgr, |
| char * | label ) |
Definition at line 1228 of file iconmgr.c.
References IconMgr::geometry, IconMgr::lasti, IconMgr::name, IconMgr::next, IconMgr::nextv, and IconMgr::prev.
Definition at line 904 of file iconmgr.c.
References IconMgr::first, TwmWindow::icon_name, IconMgr::last, WList::next, WList::prev, Scr, and WList::twm.
Referenced by AddIconManager(), and SortIconManager().
| void JumpIconManager | ( | int | dir | ) |
Definition at line 621 of file iconmgr.c.
References IconMgr::active, Current, dpy, WList::icon, IPOFSP, ITER, NumScreens, OtpRaise(), IconMgr::scr, ScreenInfo::screen, ScreenList, TEST, IconMgr::twm_win, IconMgr::w, and WinWin.
Referenced by f_nexticonmgr_impl(), and f_previconmgr_impl().
| void MoveIconManager | ( | int | dir | ) |
Definition at line 405 of file iconmgr.c.
References WList::col, IconMgr::cur_columns, IconMgr::cur_rows, Current, dpy, IconMgr::first, TwmWindow::highlightxr, WList::icon, IconMgr::last, TwmWindow::mapped, WList::next, OtpRaise(), ProgramName, WList::row, Scr, TwmWindow::title_height, TwmWindow::title_w, WList::twm, IconMgr::twm_win, TwmWindow::w, WinWin, and x.
Referenced by f_backiconmgr_impl(), f_downiconmgr_impl(), f_forwiconmgr_impl(), f_lefticonmgr_impl(), f_righticonmgr_impl(), and f_upiconmgr_impl().
| void MoveMappedIconManager | ( | int | dir | ) |
Definition at line 537 of file iconmgr.c.
References Active, Current, dpy, IconMgr::first, WList::icon, IconMgr::last, TwmWindow::mapped, WList::next, OtpRaise(), WList::prev, ProgramName, Scr, TwmWindow::title_height, TwmWindow::title_w, TwmWindow::title_width, WList::twm, IconMgr::twm_win, TwmWindow::w, and WinWin.
Referenced by f_backmapiconmgr_impl(), and f_forwmapiconmgr_impl().
| void NotActiveIconManager | ( | WList * | active | ) |
Definition at line 1044 of file iconmgr.c.
References WList::active, and DrawIconManagerBorder().
Referenced by SetFocusVisualAttributes().
| void PackIconManager | ( | IconMgr * | ip | ) |
Definition at line 1143 of file iconmgr.c.
References WList::col, IconMgr::columns, IconMgr::cur_columns, IconMgr::cur_rows, dpy, IconMgr::first, TwmWindow::frame_bw3D, TwmWindow::frame_height, TwmWindow::frame_width, TwmWindow::frame_x, TwmWindow::frame_y, IconMgr::geometry, IconMgr::height, WList::height, WList::icon, ICON_MGR_IBORDER, ICON_MGR_OBORDER, im_iconified_icon_height, JunkHeight, JunkWidth, JunkX, JunkY, WList::me, WList::next, RLayoutXParseGeometry(), WList::row, Scr, SetupWindow(), TwmWindow::title_height, IconMgr::twm_win, IconMgr::w, WList::w, IconMgr::width, WList::width, WList::x, and WList::y.
Referenced by AddIconManager(), EndResize(), PackIconManagers(), RemoveIconManager(), and SortIconManager().
| void PackIconManagers | ( | void | ) |
Definition at line 1132 of file iconmgr.c.
References TwmWindow::iconmgrp, TwmWindow::next, PackIconManager(), and Scr.
Referenced by DrawIconManagerIconName().
Definition at line 948 of file iconmgr.c.
References Current, IconMgr::first, IconMgr::last, WList::next, and WList::prev.
Referenced by RemoveIconManager(), and SortIconManager().
| void RemoveIconManager | ( | TwmWindow * | tmp_win | ) |
Definition at line 982 of file iconmgr.c.
References IconMgr::count, dpy, TwmWindow::frame, WList::icon, TwmWindow::iconmanagerlist, WList::iconmgr, TwmWindow::mapped, WList::nextv, TwmWindow::occupation, PackIconManager(), RemoveFromIconManager(), ScreenContext, IconMgr::twm_win, TwmContext, and WList::w.
Referenced by ChangeOccupation(), and HandleDestroyNotify().
| void ShowIconifiedIcon | ( | TwmWindow * | tmp_win | ) |
Definition at line 1294 of file iconmgr.c.
References ColorPair::back, WList::cp, dpy, FB, ColorPair::fore, WList::icon, WList::iconifypm, TwmWindow::iconmanagerlist, im_iconified_icon_height, im_iconified_icon_width, and Scr.
Referenced by HandleExpose().
| void SortIconManager | ( | IconMgr * | ip | ) |
Definition at line 1085 of file iconmgr.c.
References Active, IconMgr::first, TwmWindow::icon_name, InsertInIconManager(), WList::next, PackIconManager(), RemoveFromIconManager(), Scr, and WList::twm.
Referenced by f_sorticonmgr_impl(), and RedoIconName().
|
extern |
Definition at line 54 of file iconmgr.c.
Referenced by HandleButtonPress(), and HandleButtonRelease().