CTWM
Toggle main menu visibility
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
17
struct
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
;
22
struct
IconMgr
*
iconmgr
;
23
Window
w
;
24
Window
icon
;
25
int
x
,
y
,
width
,
height
;
26
int
row
,
col
;
27
int
me
;
28
ColorPair
cp
;
29
Pixel
highlight
;
30
Pixmap
iconifypm
;
31
unsigned
top
,
bottom
;
32
bool
active
;
33
bool
down
;
34
};
35
36
struct
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
;
53
int
columns
,
cur_rows
,
cur_columns
;
54
int
count
;
55
};
56
57
extern
WList
*
DownIconManager
;
58
59
void
CreateIconManagers
(
void
);
60
IconMgr
*
AllocateIconManager
(
char
*name,
char
*geom,
char
*icon_name,
61
int
columns);
62
void
AllocateOtherIconManagers
(
void
);
63
void
MoveIconManager
(
int
dir);
64
void
MoveMappedIconManager
(
int
dir);
65
void
JumpIconManager
(
int
dir);
66
WList
*
AddIconManager
(
TwmWindow
*tmp_win);
67
void
InsertInIconManager
(
IconMgr
*ip,
WList
*tmp,
TwmWindow
*tmp_win);
68
void
RemoveFromIconManager
(
IconMgr
*ip,
WList
*tmp);
69
void
RemoveIconManager
(
TwmWindow
*tmp_win);
70
void
CurrentIconManagerEntry
(
WList
*current);
71
void
ActiveIconManager
(
WList
*active);
72
void
NotActiveIconManager
(
WList
*active);
73
void
DrawIconManagerBorder
(
WList
*tmp,
bool
fill);
74
void
SortIconManager
(
IconMgr
*ip);
75
void
PackIconManager
(
IconMgr
*ip);
76
void
PackIconManagers
(
void
);
77
void
dump_iconmanager
(
IconMgr
*mgr,
char
*label);
78
void
DrawIconManagerIconName
(
TwmWindow
*tmp_win);
79
void
ShowIconifiedIcon
(
TwmWindow
*tmp_win);
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 */
NotActiveIconManager
void NotActiveIconManager(WList *active)
Definition
iconmgr.c:1044
AllocateIconManager
IconMgr * AllocateIconManager(char *name, char *icon_name, char *geom, int columns)
Definition
iconmgr.c:266
JumpIconManager
void JumpIconManager(int dir)
Definition
iconmgr.c:621
PackIconManagers
void PackIconManagers(void)
Definition
iconmgr.c:1132
AllocateOtherIconManagers
void AllocateOtherIconManagers(void)
Definition
iconmgr.c:316
DownIconManager
WList * DownIconManager
Definition
iconmgr.c:54
MoveIconManager
void MoveIconManager(int dir)
Definition
iconmgr.c:405
DrawIconManagerBorder
void DrawIconManagerBorder(WList *tmp, bool fill)
Definition
iconmgr.c:1050
CreateIconManagers
void CreateIconManagers(void)
Definition
iconmgr.c:71
RemoveIconManager
void RemoveIconManager(TwmWindow *tmp_win)
Definition
iconmgr.c:982
ActiveIconManager
void ActiveIconManager(WList *active)
Definition
iconmgr.c:1035
InsertInIconManager
void InsertInIconManager(IconMgr *ip, WList *tmp, TwmWindow *tmp_win)
Definition
iconmgr.c:904
RemoveFromIconManager
void RemoveFromIconManager(IconMgr *ip, WList *tmp)
Definition
iconmgr.c:948
dump_iconmanager
void dump_iconmanager(IconMgr *mgr, char *label)
Definition
iconmgr.c:1228
ShowIconifiedIcon
void ShowIconifiedIcon(TwmWindow *tmp_win)
Definition
iconmgr.c:1294
CurrentIconManagerEntry
void CurrentIconManagerEntry(WList *current)
Definition
iconmgr.c:1030
DrawIconManagerIconName
void DrawIconManagerIconName(TwmWindow *tmp_win)
Definition
iconmgr.c:1247
SortIconManager
void SortIconManager(IconMgr *ip)
Definition
iconmgr.c:1085
AddIconManager
WList * AddIconManager(TwmWindow *tmp_win)
Definition
iconmgr.c:697
MoveMappedIconManager
void MoveMappedIconManager(int dir)
Definition
iconmgr.c:537
PackIconManager
void PackIconManager(IconMgr *ip)
Definition
iconmgr.c:1143
ColorPair
Definition
ctwm.h:140
IconMgr
Definition
iconmgr.h:36
IconMgr::width
int width
Definition
iconmgr.h:52
IconMgr::nextv
struct IconMgr * nextv
Next workspace's icon manager head.
Definition
iconmgr.h:40
IconMgr::twm_win
TwmWindow * twm_win
Definition
iconmgr.h:45
IconMgr::active
struct WList * active
Definition
iconmgr.h:44
IconMgr::scr
struct ScreenInfo * scr
Definition
iconmgr.h:46
IconMgr::name
char * name
Definition
iconmgr.h:50
IconMgr::first
struct WList * first
Definition
iconmgr.h:42
IconMgr::y
int y
Definition
iconmgr.h:52
IconMgr::prev
struct IconMgr * prev
Prev iconmgr in this workspace.
Definition
iconmgr.h:38
IconMgr::last
struct WList * last
Definition
iconmgr.h:43
IconMgr::height
int height
Definition
iconmgr.h:52
IconMgr::columns
int columns
Definition
iconmgr.h:53
IconMgr::cur_rows
int cur_rows
Definition
iconmgr.h:53
IconMgr::geometry
char * geometry
Definition
iconmgr.h:49
IconMgr::vScreen
int vScreen
Definition
iconmgr.h:47
IconMgr::lasti
struct IconMgr * lasti
Last iconmgr in this workspace.
Definition
iconmgr.h:39
IconMgr::count
int count
Definition
iconmgr.h:54
IconMgr::cur_columns
int cur_columns
Definition
iconmgr.h:53
IconMgr::x
int x
Definition
iconmgr.h:52
IconMgr::w
Window w
Definition
iconmgr.h:48
IconMgr::next
struct IconMgr * next
Next iconmgr in this workspace.
Definition
iconmgr.h:37
IconMgr::icon_name
char * icon_name
Definition
iconmgr.h:51
ScreenInfo
Info and control for each X Screen we control.
Definition
screen.h:96
TwmWindow
Info and control for every X Window we take over.
Definition
twm_window_struct.h:34
WList
Definition
iconmgr.h:17
WList::bottom
unsigned bottom
Definition
iconmgr.h:31
WList::nextv
struct WList * nextv
Definition
iconmgr.h:20
WList::x
int x
Definition
iconmgr.h:25
WList::twm
struct TwmWindow * twm
Definition
iconmgr.h:21
WList::height
int height
Definition
iconmgr.h:25
WList::me
int me
Definition
iconmgr.h:27
WList::active
bool active
Definition
iconmgr.h:32
WList::iconifypm
Pixmap iconifypm
Definition
iconmgr.h:30
WList::iconmgr
struct IconMgr * iconmgr
Definition
iconmgr.h:22
WList::icon
Window icon
Definition
iconmgr.h:24
WList::y
int y
Definition
iconmgr.h:25
WList::top
unsigned top
Definition
iconmgr.h:31
WList::next
struct WList * next
Definition
iconmgr.h:18
WList::row
int row
Definition
iconmgr.h:26
WList::down
bool down
Definition
iconmgr.h:33
WList::width
int width
Definition
iconmgr.h:25
WList::prev
struct WList * prev
Definition
iconmgr.h:19
WList::col
int col
Definition
iconmgr.h:26
WList::w
Window w
Definition
iconmgr.h:23
WList::cp
ColorPair cp
Definition
iconmgr.h:28
WList::highlight
Pixel highlight
Definition
iconmgr.h:29
iconmgr.h
Generated by
1.18.0