X-Git-Url: https://hackdaworld.org/gitweb/?p=physik%2Fmorpheus.git;a=blobdiff_plain;f=defines.h;fp=defines.h;h=45be196df5773629bfc3e3990ea1bb3ea6c37cbe;hp=19ce139ab03129112d39b7265552db205e3c12ab;hb=a41ec558b235239b4a544297456369d818660543;hpb=bc4fbff2dcad64083b2fa7403d6d17650097c0fd diff --git a/defines.h b/defines.h index 19ce139..45be196 100644 --- 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