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