14#include "functions_defs.h"
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;
148 Scr->FirstTime =
true;
163 if((
cont & (1 << i)) == 0) {
190 if((
cont & (1 << i)) == 0) {
218 "unable to create %s titlebutton \"%s\"\n",
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)