[teklib-general] teklib: switch to directfb window mode in progress
Franciska Schulze
fschulze at neoscientists.org
Sun Sep 7 15:31:02 CEST 2008
details: http://hg.teklib.org/teklib/rev/cacfac9b1738
changeset: 196:cacfac9b1738
user: Franciska Schulze <fschulze at neoscientists.org>
date: Sun May 18 16:56:39 2008 +0000
description:
switch to directfb window mode in progress
diffs (62 lines):
diff -r f70a78d33a8e -r cacfac9b1738 src/display_dfb/display_dfb_mod.h
--- a/src/display_dfb/display_dfb_mod.h Sun May 18 16:55:53 2008 +0000
+++ b/src/display_dfb/display_dfb_mod.h Sun May 18 16:56:39 2008 +0000
@@ -142,14 +142,29 @@ typedef struct DFBDisplay
/* DirectFB super interface: */
IDirectFB *dfb_DFB;
+ /* DirectFB primary Layer */
+ IDirectFBDisplayLayer *dfb_Layer;
/* input interfaces: device and its buffer: */
IDirectFBEventBuffer *dfb_Events;
+ DFBDisplayLayerConfig dfb_LayerConfig;
+ DFBGraphicsDeviceDescription dfb_DevDsc;
+
/* cursor image */
+ IDirectFBSurface *dfb_CursorSurface;
+
+ /* window movement */
+ TINT dfb_Grabbed;
+ TINT dfb_Startx;
+ TINT dfb_Starty;
+ TINT dfb_Endx;
+ TINT dfb_Endy;
+
+#if 0
IDirectFBImageProvider *dfb_Cursor;
- IDirectFBSurface *dfb_CursorSurface;
TINT dfb_CursorWidth;
TINT dfb_CursorHeight;
+#endif
/* Input file descriptor: */
int dfb_FDInput;
@@ -185,7 +200,7 @@ typedef struct
TINT keyqual;
TINT mousex, mousey;
- TINT oldmousex, oldmousey;
+ //TINT oldmousex, oldmousey;
TUINT base_mask;
TUINT eventmask;
@@ -197,10 +212,17 @@ typedef struct
/* list of allocated pens: */
struct TList penlist;
- IDirectFBSurface *primary;
+ IDirectFBWindow *window;
+ IDirectFBSurface *winsurface;
+ DFBWindowID winid;
+
+ //IDirectFBSurface *primary;
+
+#if 0
IDirectFBSurface *backup;
TBOOL backup_valid;
TBOOL cursor_valid;
+#endif
/* current active font */
TAPTR curfont;
More information about the teklib-general
mailing list