dfb api ready.
[physik/morpheus.git] / defines.h
index 19ce139..45be196 100644 (file)
--- a/defines.h
+++ b/defines.h
@@ -40,6 +40,7 @@ typedef struct __display {
 #ifdef USE_DFB_API
  IDirectFB *dfb; /* pointer to dfb main construct */
  IDirectFBSurface *primary_surface; /* pointer to dfb primary surface */
+ IDirectFBFont *font; /* the font */
 #endif
  int screen_height,screen_width; /* screen dimensions */
 } display;
@@ -51,6 +52,9 @@ typedef struct __display {
 
 #define DISPLAY_X_FREE 15
 #define DISPLAY_Y_FREE 15
+
+#define DISPLAY_FONT "/usr/share/DFBSee/decker.ttf"
+#define MAX_TXT 20
  
 /* masks for u32 cell */
 #define AMORPH 0x00000001