90
90
#define Tolower(c) tolower((int)(unsigned char)(c))
91
91
#define Toupper(c) toupper((int)(unsigned char)(c))
93
void MoveOutline(Window root,
94
int x, int y, int width, int height,
93
96
char *ExpandFilename(const char *name);
94
97
char *ExpandFilePath(char *path);
97
100
void GetShadeColors(ColorPair *cp);
98
101
void GetFont(MyFont *font);
99
102
bool UpdateFont(MyFont *font, int height);
103
void SetFocusVisualAttributes(TwmWindow *tmp_win, bool focus);
101
105
void move_to_after(TwmWindow *t, TwmWindow *after);
107
void SetFocus(TwmWindow *tmp_win, Time tim);
103
108
void AdoptWindow(void);
104
109
void RescueWindows(void);
105
110
void DebugTrace(char *file);
111
void SetBorderCursor(TwmWindow *tmp_win, int x, int y);
114
unsigned char *GetWMPropertyString(Window w, Atom prop);
115
void FreeWMPropertyString(char *prop);
116
void ConstrainByBorders1(int *left, int width, int *top, int height);
117
void ConstrainByBorders(TwmWindow *twmwin,
118
int *left, int width,
119
int *top, int height);
108
120
void safe_strncpy(char *dest, const char *src, size_t size);
121
bool visible(const TwmWindow *tmp_win);
123
long mask_out_event(Window w, long ignore_event);
124
long mask_out_event_mask(Window w, long ignore_event, long curmask);
125
int restore_mask(Window w, long restore);
110
127
extern FILE *tracefile;