CTWM
|
Go to the source code of this file.
Data Structures | |
struct | Icon |
struct | IconRegion |
struct | IconEntry |
Enumerations | |
enum | Matchtype { match_none , match_list , match_icon_pixmap_hint , match_net_wm_icon , match_unknown_default } |
Functions | |
name_list ** | AddIconRegion (const char *geom, RegGravity grav1, RegGravity grav2, int stepx, int stepy, const char *ijust, const char *just, const char *align) |
void | CreateIconWindow (TwmWindow *tmp_win, int def_x, int def_y) |
void | DeleteIconsList (TwmWindow *tmp_win) |
void | DeleteIcon (Icon *icon) |
void | ReleaseIconImage (Icon *icon) |
void | IconUp (TwmWindow *tmp_win) |
void | IconDown (TwmWindow *tmp_win) |
void | PaintIcon (TwmWindow *tmp_win) |
void | ShrinkIconTitle (TwmWindow *tmp_win) |
void | ExpandIconTitle (TwmWindow *tmp_win) |
int | GetIconOffset (Icon *icon) |
void | RedoIcon (TwmWindow *win) |
void | RedoIconName (TwmWindow *win) |
name_list ** AddIconRegion | ( | const char * | geom, |
RegGravity | grav1, | ||
RegGravity | grav2, | ||
int | stepx, | ||
int | stepy, | ||
const char * | ijust, | ||
const char * | just, | ||
const char * | align ) |
Definition at line 135 of file icons.c.
References IconRegion::Alignement, IconRegion::clientlist, IconRegion::entries, IconRegion::grav1, IconRegion::grav2, IconRegion::h, IconEntry::h, IRA_UNDEF, IRJ_UNDEF, IconRegion::Justification, IconRegion::next, ParseAlignement(), ParseIRJustification(), ParseTitleJustification(), PlaceX, RLayoutXParseGeometry(), Scr, IconRegion::stepx, IconRegion::stepy, IconRegion::TitleJustification, TJ_UNDEF, twmrc_error_prefix(), IconRegion::w, IconEntry::w, IconRegion::x, IconEntry::x, IconRegion::y, and IconEntry::y.
Definition at line 448 of file icons.c.
References AddToList(), AllocImage(), ColorPair::back, Icon::bm_w, Icon::border, Icon::border_width, dpy, EwmhGetIcon(), FB, ColorPair::fore, GetColorFromList(), GetIconOffset(), GetShadeColors(), Icon::has_title, Icon::height, Image::height, ICON_MGR_IBORDER, Icon::iconc, IconWin, Icon::image, Icon::ir, JunkBW, JunkDepth, JunkRoot, JunkX, JunkY, LookInList(), LookInNameList(), LookupIconNameOrClass(), Image::mask, Icon::match, match_icon_pixmap_hint, match_net_wm_icon, match_none, match_unknown_default, MaybeAnimate, Icon::otp, OtpAdd(), Image::pixmap, PlaceIcon(), PlaceX, Scr, ScreenContext, Icon::title_shrunk, TwmContext, visible(), Icon::w, Icon::w_height, Icon::w_not_ours, Icon::w_width, Icon::w_x, Icon::w_y, Icon::width, Image::width, Icon::x, x, and Icon::y.
Referenced by Iconify(), and RedoIcon().
Definition at line 814 of file icons.c.
References dpy, PlaceX, ReleaseIconImage(), Icon::w, and Icon::w_not_ours.
Referenced by DeleteIconsList(), and HandleDestroyNotify().
Definition at line 782 of file icons.c.
References DeleteIcon(), name_list::next, and PlaceX.
Referenced by HandleDestroyNotify().
Definition at line 1053 of file icons.c.
References dpy, Icon::has_title, Icon::height, PlaceX, Icon::title_shrunk, Icon::w, Icon::w_height, Icon::w_width, Icon::width, and Icon::x.
Referenced by HandleEnterNotify().
Definition at line 1128 of file icons.c.
References Icon::ir, PlaceX, Scr, IconRegion::TitleJustification, TJ_CENTER, TJ_LEFT, TJ_RIGHT, Icon::w_width, and Icon::width.
Referenced by AnimateIcons(), CreateIconWindow(), EwmhHandle_NET_WM_ICONNotify(), HandlePropertyNotify(), PaintIcon(), PlaceIcon(), RedoIconName(), ReshapeIcon(), and ShrinkIconTitle().
Definition at line 915 of file icons.c.
References FindIconEntry(), mergeEntries(), PlaceX, and prevIconEntry().
Referenced by HandleDestroyNotify(), RedoIcon(), RedoIconName(), ReMapOne(), and Vanish().
Definition at line 859 of file icons.c.
References dpy, IconRegion::h, JunkBW, JunkDepth, JunkRoot, MaybeAnimate, IconRegion::next, PlaceIcon(), PlaceX, Scr, IconRegion::w, IconRegion::x, x, IconRegion::y, and y.
Referenced by DisplayWinUnchecked(), Iconify(), RedoIcon(), and RedoIconName().
Definition at line 967 of file icons.c.
References ColorPair::back, dpy, Draw3DBorder(), FB, ColorPair::fore, GetIconOffset(), Icon::has_title, Icon::height, ICON_MGR_IBORDER, Icon::iconc, len, off, PlaceX, Scr, Icon::title_shrunk, Icon::w, Icon::w_width, Icon::width, x, and Icon::y.
Referenced by HandleExpose(), and PaintAllDecoration().
Definition at line 1160 of file icons.c.
References TwmWindow::class, CreateIconWindow(), dpy, TwmWindow::icon, TwmWindow::icon_name, TwmWindow::icon_on, IconDown(), TwmWindow::iconslist, IconUp(), IconWin, LookInNameList(), LookPatternInList(), LookPatternInNameList(), match_list, TwmWindow::name, OtpFreeIcon(), OtpRaise(), OtpReassignIcon(), PlaceX, RedoIconName(), Scr, visible(), Icon::w, and WMapUpdateIconName().
Referenced by apply_window_icon_name().
Definition at line 1244 of file icons.c.
References Icon::bm_w, TwmWindow::class, dpy, GetIconOffset(), Icon::has_title, Icon::height, TwmWindow::icon, ICON_MGR_IBORDER, TwmWindow::icon_name, TwmWindow::icon_on, IconDown(), TwmWindow::iconmanagerlist, WList::iconmgr, IconUp(), Icon::image, TwmWindow::isicon, LookInList(), LookInNameList(), Image::mask, TwmWindow::name, PlaceX, Scr, SortIconManager(), Icon::title_shrunk, visible(), WList::w, Icon::w, Icon::w_height, Icon::w_not_ours, Icon::w_width, Icon::width, WMapUpdateIconName(), Icon::x, x, and Icon::y.
Referenced by EwmhHandle_NET_WM_ICONNotify(), HandlePropertyNotify(), and RedoIcon().
Definition at line 831 of file icons.c.
References FreeImage(), Icon::image, Icon::match, match_icon_pixmap_hint, and match_net_wm_icon.
Referenced by DeleteIcon(), and HandlePropertyNotify().
Definition at line 1021 of file icons.c.
References dpy, GetIconOffset(), Icon::has_title, Icon::height, PlaceX, Icon::title_shrunk, Icon::w, Icon::w_height, Icon::w_width, Icon::width, and Icon::x.
Referenced by HandleLeaveNotify().