SOURCES: DFBTerm-update.patch (NEW) - LiTE API update (from DFBTer...

qboosh qboosh at pld-linux.org
Sun Oct 23 20:36:38 CEST 2005


Author: qboosh                       Date: Sun Oct 23 18:36:38 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- LiTE API update (from DFBTerm CVS)

---- Files affected:
SOURCES:
   DFBTerm-update.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/DFBTerm-update.patch
diff -u /dev/null SOURCES/DFBTerm-update.patch:1.1
--- /dev/null	Sun Oct 23 20:36:38 2005
+++ SOURCES/DFBTerm-update.patch	Sun Oct 23 20:36:33 2005
@@ -0,0 +1,46 @@
+--- DFBTerm-0.8.0/src/term.c.orig	2005-02-14 22:09:49.000000000 +0100
++++ DFBTerm-0.8.0/src/term.c	2005-10-23 19:56:33.716629856 +0200
+@@ -153,6 +153,7 @@
+      IDirectFBSurface       *surface;
+      IDirectFBEventBuffer   *buffer;
+      IDirectFBFont          *font;
++     DFBRectangle           win_rect;
+      struct _vtx            *vtx;
+      Term                   *term;
+      char                   *command    = NULL;
+@@ -271,11 +272,12 @@
+      term->height = term->CH * termheight;
+ 
+      /* Create window */
+-     term->lw = lite_new_window (NULL, 
+-                                LITE_CENTER_HORIZONTALLY,
+-                                LITE_CENTER_VERTICALLY,
+-                                term->width+2, term->height,
+-                                 DWCAPS_ALPHACHANNEL, "Terminal");
++     win_rect.x = LITE_CENTER_HORIZONTALLY;
++     win_rect.y = LITE_CENTER_VERTICALLY;
++     win_rect.w = term->width+2;
++     win_rect.h = term->height;
++     ret = lite_new_window (NULL, &win_rect,
++                                 DWCAPS_ALPHACHANNEL, liteDefaultWindowTheme, "Terminal", &term->lw);
+      if (!term->lw) {
+           lite_close();
+           dfb->Release (dfb);
+@@ -792,7 +794,7 @@
+      if (term->modifiers & DIMM_ALT) /* meta? */
+           qual |= 8;
+ 
+-     if (lite_theme_loaded()) {
++     if (lite_default_window_theme_loaded()) {
+           evt->x -= 5;
+           evt->y -= 23;
+      }
+@@ -917,7 +919,7 @@
+ {
+      struct _vtx *vtx = term->vtx;
+ 
+-     if (lite_theme_loaded()) {
++     if (lite_default_window_theme_loaded()) {
+           evt->x -= 5;
+           evt->y -= 23;
+      }
================================================================



More information about the pld-cvs-commit mailing list