r3064 - in software/ui: . data src

Miriam Ruiz baby-guest at alioth.debian.org
Fri Jun 22 15:44:17 UTC 2007


Author: baby-guest
Date: 2007-06-22 15:44:17 +0000 (Fri, 22 Jun 2007)
New Revision: 3064

Added:
   software/ui/data/
   software/ui/data/_default.png
Modified:
   software/ui/src/common.h
   software/ui/src/ui.fld
Log:
Initial skeleton for screenshot support



Added: software/ui/data/_default.png
===================================================================
(Binary files differ)


Property changes on: software/ui/data/_default.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Modified: software/ui/src/common.h
===================================================================
--- software/ui/src/common.h	2007-06-22 11:30:55 UTC (rev 3063)
+++ software/ui/src/common.h	2007-06-22 15:44:17 UTC (rev 3064)
@@ -29,6 +29,10 @@
 #define _(String) String
 #endif
 
+#ifndef DATADIR
+#define DATADIR "."
+#endif
+
 #include <stdlib.h>
 #include <stdio.h>
 

Modified: software/ui/src/ui.fld
===================================================================
--- software/ui/src/ui.fld	2007-06-22 11:30:55 UTC (rev 3063)
+++ software/ui/src/ui.fld	2007-06-22 15:44:17 UTC (rev 3064)
@@ -15,39 +15,39 @@
 } {
   Function {CreateMainWindow()} {open
   } {
-    Fl_Window {} {open
-      xywh {633 58 385 430} type Double resizable visible
+    Fl_Window {} {open selected
+      xywh {287 191 710 430} type Double resizable visible
     } {
       Fl_Group {} {open
-        xywh {5 14 375 139} box UP_FRAME
+        xywh {5 15 375 119} box UP_FRAME
       } {
         Fl_Tile {} {open
           xywh {10 15 370 36}
         } {
           Fl_Check_Button AlreadyInstalledButton {
             label {Already installed}
-            xywh {14 15 25 36} down_box DOWN_BOX
+            xywh {14 15 25 36} down_box DOWN_BOX labelsize 12
           }
           Fl_Check_Button ToBeInstalledButton {
             label {To be installed}
-            xywh {195 15 25 36} down_box DOWN_BOX
+            xywh {195 15 25 36} down_box DOWN_BOX labelsize 12
           }
         }
         Fl_Input SearchInput {
           label Search
-          xywh {65 105 300 30}
+          xywh {65 95 300 25} labelsize 12
         }
       }
-      Fl_Browser ResultsBrowser {selected
-        xywh {5 160 375 265} type Select resizable
+      Fl_Browser ResultsBrowser {
+        xywh {5 140 375 285} type Select resizable
         class PackageBrowser
       }
       Fl_Tile {} {open
-        xywh {10 60 360 30}
+        xywh {10 55 360 35} labelsize 10
       } {
         Fl_Choice TypeSelection {
           label Type open
-          xywh {60 60 120 30} down_box BORDER_BOX when 1
+          xywh {60 55 120 25} down_box BORDER_BOX labelsize 12 when 1
         } {
           MenuItem {} {
             label {Any type}
@@ -56,7 +56,7 @@
         }
         Fl_Choice InterfaceSelection {
           label Interface open
-          xywh {250 60 115 30} down_box BORDER_BOX
+          xywh {250 55 115 25} down_box BORDER_BOX labelsize 12
         } {
           MenuItem {} {
             label {Any interface}
@@ -64,6 +64,16 @@
           }
         }
       }
+      Fl_Group {} {open
+        xywh {385 15 325 415}
+      } {
+        Fl_Box {} {
+          xywh {385 16 320 239} box UP_FRAME align 1
+        }
+        Fl_Text_Display PackageText {
+          xywh {385 260 320 165} resizable
+        }
+      }
     }
   }
   decl {Engine *engine;} {public




More information about the Pkg-games-commits mailing list