CTWM
Loading...
Searching...
No Matches
/usr/src/RPM/BUILD/ctwm-4.1.0/iconmgr.h
Go to the documentation of this file.
1/*
2 * Icon Manager includes
3 *
4 *
5 * Copyright 1989 Massachusetts Institute of Technology
6 *
7 * $XConsortium: iconmgr.h,v 1.11 89/12/10 17:47:02 jim Exp $
8 *
9 * 09-Mar-89 Tom LaStrange File Created
10 *
11 * Copyright 1992 Claude Lecommandeur.
12 */
13
14#ifndef _CTWM_ICONMGR_H
15#define _CTWM_ICONMGR_H
16
17struct WList {
18 struct WList *next;
19 struct WList *prev;
20 struct WList *nextv; /* pointer to the next virtual Wlist C.L. */
21 struct TwmWindow *twm;
25 int x, y, width, height;
26 int row, col;
27 int me;
31 unsigned top, bottom;
32 bool active;
33 bool down;
34};
35
36struct IconMgr {
37 struct IconMgr *next; ///< Next iconmgr in this workspace
38 struct IconMgr *prev; ///< Prev iconmgr in this workspace
39 struct IconMgr *lasti; ///< Last iconmgr in this workspace
40 struct IconMgr *nextv; ///< Next workspace's icon manager head
41
42 struct WList *first; /* first window in the list */
43 struct WList *last; /* last window in the list */
44 struct WList *active; /* the active entry */
45 TwmWindow *twm_win; /* back pointer to the new parent */
46 struct ScreenInfo *scr; /* the screen this thing is on */
47 int vScreen; /* the virtual screen this thing is on */
48 Window w; /* this icon manager window */
49 char *geometry; /* geometry string */
50 char *name;
51 char *icon_name;
52 int x, y, width, height;
54 int count;
55};
56
58
59void CreateIconManagers(void);
60IconMgr *AllocateIconManager(char *name, char *geom, char *icon_name,
61 int columns);
63void MoveIconManager(int dir);
65void JumpIconManager(int dir);
71void ActiveIconManager(WList *active);
72void NotActiveIconManager(WList *active);
76void PackIconManagers(void);
77void dump_iconmanager(IconMgr *mgr, char *label);
80
81
82/* Spacing between the text and the outer border. */
83#define ICON_MGR_IBORDER 3
84/* Thickness of the outer border (3d or not). */
85#define ICON_MGR_OBORDER \
86 (Scr->use3Diconmanagers ? Scr->IconManagerShadowDepth : 2)
87
88
89#endif /* _CTWM_ICONMGR_H */
static int PlaceX
Definition add_window.c:82
void NotActiveIconManager(WList *active)
Definition iconmgr.c:1044
void JumpIconManager(int dir)
Definition iconmgr.c:621
void PackIconManagers(void)
Definition iconmgr.c:1132
IconMgr * AllocateIconManager(char *name, char *geom, char *icon_name, int columns)
Definition iconmgr.c:266
void AllocateOtherIconManagers(void)
Definition iconmgr.c:316
WList * DownIconManager
Definition iconmgr.c:54
void MoveIconManager(int dir)
Definition iconmgr.c:405
void DrawIconManagerBorder(WList *tmp, bool fill)
Definition iconmgr.c:1050
void CreateIconManagers(void)
Definition iconmgr.c:71
void RemoveIconManager(TwmWindow *tmp_win)
Definition iconmgr.c:982
void ActiveIconManager(WList *active)
Definition iconmgr.c:1035
void InsertInIconManager(IconMgr *ip, WList *tmp, TwmWindow *tmp_win)
Definition iconmgr.c:904
void RemoveFromIconManager(IconMgr *ip, WList *tmp)
Definition iconmgr.c:948
void dump_iconmanager(IconMgr *mgr, char *label)
Definition iconmgr.c:1228
void ShowIconifiedIcon(TwmWindow *tmp_win)
Definition iconmgr.c:1294
void CurrentIconManagerEntry(WList *current)
Definition iconmgr.c:1030
void DrawIconManagerIconName(TwmWindow *tmp_win)
Definition iconmgr.c:1247
void SortIconManager(IconMgr *ip)
Definition iconmgr.c:1085
WList * AddIconManager(TwmWindow *tmp_win)
Definition iconmgr.c:697
void MoveMappedIconManager(int dir)
Definition iconmgr.c:537
void PackIconManager(IconMgr *ip)
Definition iconmgr.c:1143
int width
Definition iconmgr.h:52
struct IconMgr * nextv
Next workspace's icon manager head.
Definition iconmgr.h:40
TwmWindow * twm_win
Definition iconmgr.h:45
struct WList * active
Definition iconmgr.h:44
struct ScreenInfo * scr
Definition iconmgr.h:46
char * name
Definition iconmgr.h:50
struct WList * first
Definition iconmgr.h:42
int y
Definition iconmgr.h:52
struct IconMgr * prev
Prev iconmgr in this workspace.
Definition iconmgr.h:38
struct WList * last
Definition iconmgr.h:43
int height
Definition iconmgr.h:52
int columns
Definition iconmgr.h:53
int cur_rows
Definition iconmgr.h:53
char * geometry
Definition iconmgr.h:49
int vScreen
Definition iconmgr.h:47
struct IconMgr * lasti
Last iconmgr in this workspace.
Definition iconmgr.h:39
int count
Definition iconmgr.h:54
int cur_columns
Definition iconmgr.h:53
int x
Definition iconmgr.h:52
Window w
Definition iconmgr.h:48
struct IconMgr * next
Next iconmgr in this workspace.
Definition iconmgr.h:37
char * icon_name
Definition iconmgr.h:51
Info and control for each X Screen we control.
Definition screen.h:96
Info and control for every X Window we take over.
unsigned bottom
Definition iconmgr.h:31
struct WList * nextv
Definition iconmgr.h:20
int x
Definition iconmgr.h:25
struct TwmWindow * twm
Definition iconmgr.h:21
int height
Definition iconmgr.h:25
int me
Definition iconmgr.h:27
bool active
Definition iconmgr.h:32
Pixmap iconifypm
Definition iconmgr.h:30
struct IconMgr * iconmgr
Definition iconmgr.h:22
Window icon
Definition iconmgr.h:24
int y
Definition iconmgr.h:25
unsigned top
Definition iconmgr.h:31
struct WList * next
Definition iconmgr.h:18
int row
Definition iconmgr.h:26
bool down
Definition iconmgr.h:33
int width
Definition iconmgr.h:25
struct WList * prev
Definition iconmgr.h:19
int col
Definition iconmgr.h:26
Window w
Definition iconmgr.h:23
ColorPair cp
Definition iconmgr.h:28
Pixel highlight
Definition iconmgr.h:29