git-svn-id: file:///svnroot/speedometer/trunk@38 df364472-da61-43ef-8a67-511c89aa921b
[speedometer] / appdata.h
index 8667634..45184d5 100644 (file)
--- a/appdata.h
+++ b/appdata.h
 #ifndef APPDATA_H_
 #define APPDATA_H_
 
-typedef struct _AppData AppData;
-struct _AppData {
+#include <hildon/hildon-program.h>
+#include <hildon/hildon-window.h>
+
+typedef struct _AppData {
     HildonProgram *program;
     HildonWindow *window;
-};
+
+       GtkWidget* graphix[10];         // contains all the graphics
+       GtkWidget* big_digits[3];       // big digits that are shown as speed
+       GtkWidget* small_digits[2];     // small digits that are shown on the screen
+       guint unit;                                     // unit used in conversion
+
+} AppData;
 
 #endif /* APPDATA_H_ */