X-Git-Url: https://git.jankratochvil.net/?a=blobdiff_plain;f=xgnokii%2Fxgnokii_logos.h;fp=xgnokii%2Fxgnokii_logos.h;h=9d7c7804e52c831ebec644df2a867ae5b9f8639f;hb=833e1c7c90e13ceaba3dde8e7a36fcc8dfb1db3c;hp=0000000000000000000000000000000000000000;hpb=2e0972b02d101bb0d8e9d3e15d2ac80def491a63;p=gnokii.git diff --git a/xgnokii/xgnokii_logos.h b/xgnokii/xgnokii_logos.h new file mode 100644 index 0000000..9d7c780 --- /dev/null +++ b/xgnokii/xgnokii_logos.h @@ -0,0 +1,39 @@ +#ifndef XGNOKII_LOGOS_H +#define XGNOKII_LOGOS_H + +/* drawable point size - depends on .xpm file */ +#define POINTSIZE 5 + +/* maximal size for drawing area */ +#define MAXWIDTH 82 +#define MAXHEIGHT 48 + +/* where to draw preview logos in previewPixmap */ +#define PREVIEWSTARTX 28 +#define PREVIEWSTARTY 160 + +#define PREVIEWWIDTH 138 +#define PREVIEWHEIGHT 289 + +/* relative movement caller & operator logo from startuplogo */ +#define PREVIEWJUMPX 6 +#define PREVIEWJUMPY 6 + +#define TOOL_BRUSH 0 +#define TOOL_LINE 1 +#define TOOL_RECTANGLE 2 +#define TOOL_FILLED_RECTANGLE 3 +#define TOOL_CIRCLE 4 +#define TOOL_FILLED_CIRCLE 5 +#define TOOL_ELIPSE 6 +#define TOOL_FILLED_ELIPSE 7 +#define TOOL_TEXT 8 + +extern void GUI_ShowLogosWindow (void); +extern void GUI_CreateLogosWindow (void); + +/* this is called from optionsApplyCallback when some changes + * caller groups names */ +extern void GUI_RefreshLogosGroupsCombo (void); + +#endif