r3170 - in software/ui: data/screenshots src
Miriam Ruiz
baby-guest at alioth.debian.org
Sun Jul 1 19:57:55 UTC 2007
Author: baby-guest
Date: 2007-07-01 19:57:55 +0000 (Sun, 01 Jul 2007)
New Revision: 3170
Modified:
software/ui/data/screenshots/supertux.png
software/ui/src/pkgbrowser.h
software/ui/src/ui.fld
Log:
Small changes
Modified: software/ui/data/screenshots/supertux.png
===================================================================
(Binary files differ)
Modified: software/ui/src/pkgbrowser.h
===================================================================
--- software/ui/src/pkgbrowser.h 2007-07-01 19:17:53 UTC (rev 3169)
+++ software/ui/src/pkgbrowser.h 2007-07-01 19:57:55 UTC (rev 3170)
@@ -111,14 +111,14 @@
case FL_DRAG: {
if ( _dragging ) {
ret = 1;
- // Sum up column widths to determine position
+ // Sum up column widths to determine position
int mousex = Fl::event_x() + hposition();
int newwidth = mousex - x();
for ( int t=0; _widths[t] && t<_dragcol; t++ ) {
newwidth -= _widths[t];
}
if ( newwidth > 0 ) {
- // Apply new width, redraw interface
+ // Apply new width, redraw interface
_widths[_dragcol] = newwidth;
if ( _widths[_dragcol] < 2 ) {
_widths[_dragcol] = 2;
@@ -130,14 +130,14 @@
}
case FL_LEAVE:
case FL_RELEASE: {
- _dragging = 0; // disable drag mode
- change_cursor(FL_CURSOR_DEFAULT); // ensure normal cursor
+ _dragging = 0; // disable drag mode
+ change_cursor(FL_CURSOR_DEFAULT); // ensure normal cursor
ret = 1;
break;
}
}
- if ( _dragging ) return(1); // dragging? don't pass event to Fl_Browser
- return(Fl_Browser::handle(e) ? 1 : ret);
+ if ( _dragging ) return(1); // dragging? don't pass event to Fl_Browser
+ return(Fl_Browser::handle(e) ? 1 : ret);
}
void draw() {
// DRAW BROWSER
Modified: software/ui/src/ui.fld
===================================================================
--- software/ui/src/ui.fld 2007-07-01 19:17:53 UTC (rev 3169)
+++ software/ui/src/ui.fld 2007-07-01 19:57:55 UTC (rev 3170)
@@ -46,14 +46,14 @@
}
Function {CreateMainWindow()} {open
} {
- Fl_Window {} {open selected
- xywh {540 159 710 525} type Double resizable visible
+ Fl_Window {} {open
+ xywh {551 58 710 525} type Double resizable visible
} {
Fl_Group {} {open
xywh {5 15 375 119} box UP_FRAME
} {
Fl_Tile {} {open
- xywh {10 15 370 36}
+ xywh {10 15 370 36} align 0
} {
Fl_Check_Button AlreadyInstalledButton {
label {Already installed}
@@ -70,11 +70,11 @@
}
}
Fl_Browser ResultsBrowser {
- xywh {5 140 375 375} type Select textsize 12 resizable
+ xywh {5 140 375 375} type Select align 0 textsize 12 resizable
class PackageBrowser
}
Fl_Tile {} {open
- xywh {10 55 360 35} labelsize 10
+ xywh {10 50 360 35} labelsize 10 align 0
} {
Fl_Choice TypeSelection {
label Type open
@@ -95,21 +95,17 @@
}
}
}
- Fl_Group {} {open
- xywh {385 15 320 240}
- } {
- Fl_Button ScreenshotWidget {
- xywh {385 15 320 240} box FLAT_BOX
- }
+ Fl_Button ScreenshotWidget {selected
+ xywh {385 15 320 240} box FLAT_BOX color 32 selection_color 32
}
Fl_Group {} {open
xywh {385 260 320 255}
} {
Fl_Text_Display InfoText {
- xywh {385 260 320 170} textsize 12
+ xywh {385 260 320 170} align 0 textsize 12
}
Fl_Browser DebTagsBrowser {
- xywh {385 435 320 80} textsize 11
+ xywh {385 435 320 80} align 0 textsize 11
}
}
}
More information about the Pkg-games-commits
mailing list