wmmoonclock: add autogen.
[dockapps.git] / wmisdn / optics / optics.h
blob9d435b9344b62ff36beb1cadb8fe6f1f97b96d01
2 #ifndef _OPTICS_H
3 #define _OPTICS_H
6 struct position
8 int x, y;
9 };
11 struct dimension
13 int w, h;
16 struct rect
18 position pos;
19 dimension dim;
22 static dimension MainWinDim = { 64, 64 };
23 static dimension InfoWinDim = { 164, MainWinDim.h };
24 static rect StatusPixmapRect = { { 5, 15 }, { 55, 30 } };
25 static rect DirectionPixmapRect = { { 5, 33 }, { 55, 12 } };
26 static dimension LedDim = { 6, 8 };
27 static rect LampsRect[3] = { { {7,6}, {10,10} }, { {27,6}, {10,10} }, { {47,6}, {10,10} } };
28 static rect InfoSWRect = { { 8, 48 }, { 10, 8 } };
29 static rect LampsSWRect = { { 18, 48 }, { 10, 8 } };
30 static rect DeviceRect = { { 30, 48}, { MainWinDim.w-30-2,LedDim.h } };
32 static char WindowBackgroundColor[] = "#202020";
33 static char DeviceColorHigh[] = "#3ddeff";
34 static char DeviceColorLow[] = "#007bff";
35 static char InfoTextColor[] = "#167ce2";
37 #endif