14#include "functions_defs.h"
30unsigned int mods_used = (ShiftMask | ControlMask | Mod1Mask);
36 fprintf(stderr,
"error in input file: %s\n", s ? s :
"");
51 for(i = str + 1, o = str; *i && *i !=
'\"'; o++) {
90 while(*i >=
'0' && *i <=
'7' && count < 3) {
91 n = (n << 3) + (*i++ -
'0');
100 while(i++, count++ < 2) {
101 if(*i >=
'0' && *i <=
'9') {
102 n = (n << 4) + (*i -
'0');
104 else if(*i >=
'a' && *i <=
'f') {
105 n = (n << 4) + (*i -
'a') + 10;
107 else if(*i >=
'A' && *i <=
'F') {
108 n = (n << 4) + (*i -
'A') + 10;
147 save =
Scr->FirstTime;
148 Scr->FirstTime =
true;
151 Scr->FirstTime = save;
163 if((
cont & (1 << i)) == 0) {
190 if((
cont & (1 << i)) == 0) {
218 "unable to create %s titlebutton \"%s\"\n",
219 rightside ?
"right" :
"left", bitmapname);
241 return (*s ?
false :
true);
void twmrc_error_prefix(void)
void GotTitleButton(char *bitmapname, int func, bool rightside)
MenuRoot * GetRoot(char *name, char *fore, char *back)
bool CheckWarpRingArg(const char *s)
void InitGramVariables(void)
void GotKey(char *key, int func)
void RemoveDQuote(char *str)
bool CheckColormapArg(const char *s)
void GotButton(int butt, int func)
bool CheckWarpScreenArg(const char *s)
void GetColor(int kind, Pixel *what, const char *name)
Get info from the server about a given color.
bool CreateTitleButton(char *name, int func, char *action, MenuRoot *menuroot, bool rightside, bool append)