~ctwm/ctwm/trunk

488.1.1 by Matthew Fuller
Add empty files to start moving window decoration bits into.
1
/*
2
 * Window decoration bits
3
 */
4
5
#ifndef _CTWM_DECORATIONS_H
6
#define _CTWM_DECORATIONS_H
7
8
488.1.40 by Matthew Fuller
Move stuff for setting up window frame bits from resize.c into
9
void SetupWindow(TwmWindow *tmp_win,
10
                 int x, int y, int w, int h, int bw);
11
void SetupFrame(TwmWindow *tmp_win,
488.1.44 by Matthew Fuller
Switch SetupFrame over to C99 bool.
12
                int x, int y, int w, int h, int bw, bool sendEvent);
488.1.40 by Matthew Fuller
Move stuff for setting up window frame bits from resize.c into
13
void SetFrameShape(TwmWindow *tmp);
14
488.1.2 by Matthew Fuller
Move a bunch of funcs relating to titlebar setup from add_window.c
15
void ComputeTitleLocation(TwmWindow *tmp);
16
void CreateWindowTitlebarButtons(TwmWindow *tmp_win);
17
void DeleteHighlightWindows(TwmWindow *tmp_win);
18
488.1.23 by Matthew Fuller
Move the funcs for painting the titlebar into decorations.c.
19
void PaintTitle(TwmWindow *tmp_win);
488.1.24 by Matthew Fuller
PaintTitleButtons() actually is only currently used in the screen
20
void PaintTitleButtons(TwmWindow *tmp_win);
488.1.23 by Matthew Fuller
Move the funcs for painting the titlebar into decorations.c.
21
void PaintTitleButton(TwmWindow *tmp_win, TBWindow  *tbw);
22
488.1.132 by Matthew Fuller
Convert PaintBorders arg to bool.
23
void PaintBorders(TwmWindow *tmp_win, bool focus);
523.1.14 by Matthew Fuller
Move SetBorderCursor to decorations.c; that seems like the best home
24
void SetBorderCursor(TwmWindow *tmp_win, int x, int y);
488.1.30 by Matthew Fuller
Move the stuff for drawing window borders out of util and into
25
488.1.2 by Matthew Fuller
Move a bunch of funcs relating to titlebar setup from add_window.c
26
488.1.1 by Matthew Fuller
Add empty files to start moving window decoration bits into.
27
#endif /* _CTWM_DECORATIONS_H */