diff options
author | 2010-04-11 15:01:21 +0200 | |
---|---|---|
committer | 2010-04-11 15:01:21 +0200 | |
commit | e763dfa3ddf5c499875a6e1e9ec91d7fc154c076 (patch) | |
tree | 8fddc5ecbb1d867afa4690cfdde245929cafb21c /plugins/dumb/dumb-kode54/studio/include/guiproc.h | |
parent | dc0b9121ff16d57f92f4ab2b16bf78518d3a8b9b (diff) |
moved DUMB to dynamic plugin
Diffstat (limited to 'plugins/dumb/dumb-kode54/studio/include/guiproc.h')
-rw-r--r-- | plugins/dumb/dumb-kode54/studio/include/guiproc.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/plugins/dumb/dumb-kode54/studio/include/guiproc.h b/plugins/dumb/dumb-kode54/studio/include/guiproc.h new file mode 100644 index 00000000..ab3d8d71 --- /dev/null +++ b/plugins/dumb/dumb-kode54/studio/include/guiproc.h @@ -0,0 +1,52 @@ +#ifndef INCLUDED_GUIPROC_H
+#define INCLUDED_GUIPROC_H
+
+
+#define THE_SIZE 2
+
+
+#if THE_SIZE == 2
+
+#define BEVEL_SIZE 3
+#define BORDER_SIZE 3
+#define TITLE_HEIGHT 21
+
+#define THE_FONT FONT2
+
+#elif THE_SIZE == 1
+
+#define BEVEL_SIZE 2
+#define BORDER_SIZE 2
+#define TITLE_HEIGHT 13
+
+#define THE_FONT FONT1
+
+#else
+
+#define BEVEL_SIZE 1
+#define BORDER_SIZE 1
+#define TITLE_HEIGHT 7
+
+#define THE_FONT FONT0
+
+#endif
+
+
+#define HIGHLIGHT 15
+#define MIDTONE 7
+#define SHADOW 8
+#define TITLE_BG_FOCUS 9
+#define TITLE_FG_FOCUS 14
+#define TITLE_BG 8
+#define TITLE_FG 7
+#define MENU_BG_FOCUS 1
+#define MENU_FG_FOCUS 15
+#define MENU_BG MIDTONE
+#define MENU_FG 0
+#define DESKTOP 4
+
+
+void draw_bevel(int l, int t, int r, int b, int tl, int m, int br);
+
+
+#endif /* INCLUDED_GUIPROC_H */
|