[Scummvm-cvs-logs] CVS: scummvm/backends/wince/CEgui GUIElement.cpp,1.4,1.5 GUIElement.h,1.3,1.4 ItemAction.cpp,1.7,1.8 ItemAction.h,1.4,1.5 ItemSwitch.cpp,1.5,1.6 ItemSwitch.h,1.5,1.6 Panel.cpp,1.8,1.9 Panel.h,1.3,1.4 PanelItem.cpp,1.5,1.6 PanelKeyboard.cpp,1.6,1.7 PanelKeyboard.h,1.5,1.6 SDL_ImageResource.cpp,1.5,1.6 Toolbar.cpp,1.5,1.6 Toolbar.h,1.3,1.4 ToolbarHandler.cpp,1.6,1.7 ToolbarHandler.h,1.4,1.5
Eugene Sandulenko
sev at users.sourceforge.net
Sat Jul 30 14:15:13 CEST 2005
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/gui Actions.cpp,1.1,1.2 Actions.h,1.1,1.2 EditTextWidget.cpp,1.35,1.36 EditTextWidget.h,1.20,1.21 KeysDialog.cpp,1.1,1.2 ListWidget.cpp,1.55,1.56 ListWidget.h,1.33,1.34 PopUpWidget.cpp,1.38,1.39 PopUpWidget.h,1.15,1.16 ScrollBarWidget.h,1.10,1.11 TabWidget.cpp,1.18,1.19 about.cpp,1.38,1.39 about.h,1.15,1.16 browser.cpp,1.34,1.35 chooser.cpp,1.18,1.19 console.h,1.33,1.34 dialog.h,1.40,1.41 editable.cpp,1.8,1.9 editable.h,1.5,1.6 launcher.cpp,1.126,1.127 launcher.h,1.23,1.24 message.cpp,1.29,1.30 newgui.cpp,1.118,1.119 newgui.h,1.61,1.62 options.cpp,1.92,1.93 widget.cpp,1.53,1.54 widget.h,1.46,1.47
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm actor.cpp,1.374,1.375 actor.h,1.81,1.82 akos.cpp,1.230,1.231 akos.h,1.41,1.42 base-costume.cpp,2.30,2.31 base-costume.h,1.39,1.40 bomp.cpp,2.33,2.34 boxes.cpp,1.90,1.91 boxes.h,1.11,1.12 charset.cpp,2.150,2.151 charset.h,2.46,2.47 costume.cpp,1.187,1.188 costume.h,1.37,1.38 cursor.cpp,2.46,2.47 debugger.cpp,1.152,1.153 debugger.h,1.37,1.38 dialogs.cpp,1.148,1.149 dialogs.h,1.56,1.57 gfx.cpp,2.463,2.464 gfx.h,1.120,1.121 help.cpp,1.22,1.23 imuse.cpp,2.145,2.146 imuse_internal.h,2.42,2.43 input.cpp,2.32,2.33 instrument.cpp,2.35,2.36 intern.h,2.513,2.514 logic_he.cpp,2.23,2.24 nut_renderer.cpp,1.62,1.63 object.cpp,1.246,1.247 palette.cpp,2.52,2.53 palette_he.cpp,1.23,1.24 player_mod.h,2.20,2.21 player_nes.cpp,2.4,2.5 player_v1.cpp,1.26,1.27 player_v2.cpp,2.60,2.61 player_v2.h,2.35,2.36 player_v2a.cpp,2.31,2.32 player_v3a.cpp,1.24,1.25 resource.cpp,1.330,1.331 resource.h,1.16,1.17 resource_v2.cpp,1.57,1.58 resource_v7he.cpp,1.44,1.45 resource_v7he.h,1.15,1.16 room.cpp,1.19,1.20 saveload.cpp,1.231,1.232 saveload.h,1.62,1.63 script.cpp,1.226,1.227 script_c64.cpp,2.10,2.11 script_v100he.cpp,2.169,2.170 script_v2.cpp,2.279,2.280 script_v5.cpp,1.290,1.291 script_v6.cpp,1.446,1.447 script_v6he.cpp,2.163,2.164 script_v72he.cpp,2.301,2.302 script_v7he.cpp,2.164,2.165 script_v8.cpp,2.297,2.298 script_v80he.cpp,2.123,2.124 script_v90he.cpp,2.277,2.278 scumm.cpp,1.555,1.556 scumm.h,1.638,1.639 sound.cpp,1.469,1.470 sound.h,1.90,1.91 sprite_he.cpp,1.151,1.152 sprite_he.h,1.42,1.43 string.cpp,1.298,1.299 thumbnail.cpp,1.6,1.7 usage_bits.cpp,1.15,1.16 util.cpp,2.12,2.13 util.h,2.13,2.14 vars.cpp,1.141,1.142 verbs.cpp,1.139,1.140 wiz_he.cpp,2.91,2.92 wiz_he.h,2.27,2.28
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/backends/wince/CEgui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9428/backends/wince/CEgui
Modified Files:
GUIElement.cpp GUIElement.h ItemAction.cpp ItemAction.h
ItemSwitch.cpp ItemSwitch.h Panel.cpp Panel.h PanelItem.cpp
PanelKeyboard.cpp PanelKeyboard.h SDL_ImageResource.cpp
Toolbar.cpp Toolbar.h ToolbarHandler.cpp ToolbarHandler.h
Log Message:
Remove trailing whitespaces.
Index: GUIElement.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/wince/CEgui/GUIElement.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- GUIElement.cpp 24 Jun 2005 15:22:34 -0000 1.4
+++ GUIElement.cpp 30 Jul 2005 21:10:56 -0000 1.5
@@ -42,7 +42,7 @@
_height = _background->height();
_width = _background->width();
}
- else
+ else
if (_background->height() != _height || _background->width() != _width) {
delete _background;
_background = NULL;
@@ -50,7 +50,7 @@
}
return true;
}
-
+
void GUIElement::move(int x, int y) {
_x = x;
_y = y;
@@ -79,7 +79,7 @@
if (x >= _x && x <= _x + _width && y >= _y && y <= _y + _height)
return true;
else
- return false;
+ return false;
}
void GUIElement::setVisible(bool visibility) {
Index: GUIElement.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/wince/CEgui/GUIElement.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- GUIElement.h 1 Jan 2005 16:08:48 -0000 1.3
+++ GUIElement.h 30 Jul 2005 21:10:56 -0000 1.4
@@ -33,29 +33,29 @@
namespace CEGUI {
class GUIElement {
- public:
- bool setBackground(WORD backgroundReference);
+ public:
+ bool setBackground(WORD backgroundReference);
void setVisible(bool visibility);
virtual void forceRedraw();
- virtual bool draw(SDL_Surface *surface);
+ virtual bool draw(SDL_Surface *surface);
virtual ~GUIElement();
void move(int x, int y);
int width();
int height();
int x();
int y();
- virtual bool action(int x, int y, bool pushed) = 0;
+ virtual bool action(int x, int y, bool pushed) = 0;
bool visible();
bool drawn();
protected:
GUIElement(int x = 0, int y = 0, int width = 0, int height = 0);
bool checkInside(int x, int y);
bool _visible;
- SDL_ImageResource *_background;
+ SDL_ImageResource *_background;
int _x;
int _y;
bool _drawn;
- private:
+ private:
int _width;
int _height;
};
Index: ItemAction.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/wince/CEgui/ItemAction.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- ItemAction.cpp 5 Jul 2005 20:27:14 -0000 1.7
+++ ItemAction.cpp 30 Jul 2005 21:10:56 -0000 1.8
@@ -30,9 +30,9 @@
if (!GUI::Actions::Instance()->isEnabled(_action))
_visible = false;
}
-
-
- ItemAction::~ItemAction() {
+
+
+ ItemAction::~ItemAction() {
}
bool ItemAction::action(int x, int y, bool pushed) {
Index: ItemAction.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/wince/CEgui/ItemAction.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- ItemAction.h 5 Jul 2005 20:27:14 -0000 1.4
+++ ItemAction.h 30 Jul 2005 21:10:56 -0000 1.5
@@ -34,7 +34,7 @@
public:
ItemAction(WORD reference, GUI::ActionType action);
virtual ~ItemAction();
- virtual bool action(int x, int y, bool pushed);
+ virtual bool action(int x, int y, bool pushed);
private:
GUI::ActionType _action;
};
Index: ItemSwitch.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/wince/CEgui/ItemSwitch.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- ItemSwitch.cpp 24 Jun 2005 16:03:13 -0000 1.5
+++ ItemSwitch.cpp 30 Jul 2005 21:10:56 -0000 1.6
@@ -37,10 +37,10 @@
}
if (!*_item)
_background = _backgroundFalse;
- }
-
-
- ItemSwitch::~ItemSwitch() {
+ }
+
+
+ ItemSwitch::~ItemSwitch() {
if (_backgroundFalse)
delete _backgroundFalse;
}
@@ -53,7 +53,7 @@
_background = _backgroundTrue;
else
_background = _backgroundFalse;
-
+
if (_panel)
_panel->forceRedraw();
Index: ItemSwitch.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/wince/CEgui/ItemSwitch.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- ItemSwitch.h 5 Jul 2005 20:27:14 -0000 1.5
+++ ItemSwitch.h 30 Jul 2005 21:10:56 -0000 1.6
@@ -37,11 +37,11 @@
public:
ItemSwitch(WORD referenceTrue, WORD referenceFalse, bool *item);
virtual ~ItemSwitch();
- virtual bool action(int x, int y, bool pushed);
+ virtual bool action(int x, int y, bool pushed);
private:
bool *_item;
SDL_ImageResource *_backgroundTrue;
- SDL_ImageResource *_backgroundFalse;
+ SDL_ImageResource *_backgroundFalse;
};
}
Index: Panel.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/wince/CEgui/Panel.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- Panel.cpp 24 Jun 2005 15:22:34 -0000 1.8
+++ Panel.cpp 30 Jul 2005 21:10:56 -0000 1.9
@@ -67,7 +67,7 @@
if (!_visible || !checkInside(x, y))
return false;
- for (iterator = _itemsMap.begin(); !result && iterator != _itemsMap.end(); ++iterator)
+ for (iterator = _itemsMap.begin(); !result && iterator != _itemsMap.end(); ++iterator)
result = ((GUIElement*)(iterator->_value))->action(x, y, pushed);
return result;
}
Index: Panel.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/wince/CEgui/Panel.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- Panel.h 1 Jan 2005 16:08:48 -0000 1.3
+++ Panel.h 30 Jul 2005 21:10:56 -0000 1.4
@@ -39,15 +39,15 @@
class Panel : public Toolbar {
public:
Panel(int interleave_first, int interleave);
- virtual bool draw(SDL_Surface *surface);
+ virtual bool draw(SDL_Surface *surface);
virtual ~Panel();
bool add(const String &name, const PanelItem *item);
void clear();
virtual void forceRedraw();
- virtual bool action(int x, int y, bool pushed);
+ virtual bool action(int x, int y, bool pushed);
private:
struct IgnoreCaseComparator {
- int operator()(const String& x, const String& y) const {
+ int operator()(const String& x, const String& y) const {
return scumm_stricmp(x.c_str(), y.c_str()); }
};
Index: PanelItem.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/wince/CEgui/PanelItem.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- PanelItem.cpp 24 Jun 2005 15:22:34 -0000 1.5
+++ PanelItem.cpp 30 Jul 2005 21:10:56 -0000 1.6
@@ -29,7 +29,7 @@
_panel = NULL;
}
-
+
PanelItem::~PanelItem() {
}
Index: PanelKeyboard.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/wince/CEgui/PanelKeyboard.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- PanelKeyboard.cpp 24 Jun 2005 15:22:34 -0000 1.6
+++ PanelKeyboard.cpp 30 Jul 2005 21:10:56 -0000 1.7
@@ -31,9 +31,9 @@
PanelKeyboard::PanelKeyboard(WORD reference) : Toolbar() {
setBackground(reference);
- }
+ }
+
-
PanelKeyboard::~PanelKeyboard() {
}
@@ -44,7 +44,7 @@
char keyCode = 0;
if (x < 185) {
// Alpha selection
- if (y <= _y + 20)
+ if (y <= _y + 20)
keyAscii = KEYBOARD_MAPPING_ALPHA_HIGH[((x + 10) / 14) - 1];
else
keyAscii = KEYBOARD_MAPPING_ALPHA_LOW[((x + 10) / 14) - 1];
Index: PanelKeyboard.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/wince/CEgui/PanelKeyboard.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- PanelKeyboard.h 5 Jul 2005 20:27:14 -0000 1.5
+++ PanelKeyboard.h 30 Jul 2005 21:10:56 -0000 1.6
@@ -37,7 +37,7 @@
class PanelKeyboard : public Toolbar {
public:
PanelKeyboard(WORD reference);
- virtual ~PanelKeyboard();
+ virtual ~PanelKeyboard();
virtual bool action(int x, int y, bool pushed);
private:
Key _key;
Index: SDL_ImageResource.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/wince/CEgui/SDL_ImageResource.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- SDL_ImageResource.cpp 24 Jun 2005 16:03:13 -0000 1.5
+++ SDL_ImageResource.cpp 30 Jul 2005 21:10:56 -0000 1.6
@@ -24,7 +24,7 @@
namespace CEGUI {
- SDL_ImageResource::SDL_ImageResource() :
+ SDL_ImageResource::SDL_ImageResource() :
_surface(0)
{
}
@@ -36,7 +36,7 @@
DWORD resourceSize;
SDL_RWops *surfaceData;
HMODULE moduleHandle;
-
+
moduleHandle = GetModuleHandle(NULL);
resource = FindResource(moduleHandle, MAKEINTRESOURCE(resourceID), TEXT("BINARY"));
if (!resource)
@@ -78,5 +78,5 @@
SDL_ImageResource::~SDL_ImageResource() {
if (_surface)
SDL_FreeSurface(_surface);
- }
+ }
}
Index: Toolbar.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/wince/CEgui/Toolbar.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- Toolbar.cpp 24 Jun 2005 15:22:34 -0000 1.5
+++ Toolbar.cpp 30 Jul 2005 21:10:56 -0000 1.6
@@ -24,12 +24,12 @@
namespace CEGUI {
- // Not to be drawn on game screen !
+ // Not to be drawn on game screen !
Toolbar::Toolbar() : GUIElement(0, 0, 320, 40)
{
}
-
+
Toolbar::~Toolbar() {
}
}
Index: Toolbar.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/wince/CEgui/Toolbar.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- Toolbar.h 1 Jan 2005 16:08:48 -0000 1.3
+++ Toolbar.h 30 Jul 2005 21:10:56 -0000 1.4
@@ -36,12 +36,12 @@
namespace CEGUI {
class Toolbar : public GUIElement {
- public:
+ public:
virtual ~Toolbar();
virtual bool action(int x, int y, bool pushed) = 0;
protected:
Toolbar();
-
+
};
}
Index: ToolbarHandler.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/wince/CEgui/ToolbarHandler.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- ToolbarHandler.cpp 24 Jun 2005 16:03:13 -0000 1.6
+++ ToolbarHandler.cpp 30 Jul 2005 21:10:56 -0000 1.7
@@ -33,7 +33,7 @@
_toolbarMap.addKey(name);
_toolbarMap[name] = (Toolbar*)&toolbar;
-
+
if (!_active) {
_active = &((Toolbar&)toolbar);
_current = name;
@@ -63,7 +63,7 @@
if (_offset > 240)
return _active->action(x / 2, (y - _offset) / 2, pushed);
else
- return _active->action(x, y - _offset, pushed);
+ return _active->action(x, y - _offset, pushed);
}
else
return false;
Index: ToolbarHandler.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/wince/CEgui/ToolbarHandler.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- ToolbarHandler.h 1 Jan 2005 16:08:48 -0000 1.4
+++ ToolbarHandler.h 30 Jul 2005 21:10:56 -0000 1.5
@@ -54,7 +54,7 @@
private:
struct IgnoreCaseComparator {
- int operator()(const String& x, const String& y) const {
+ int operator()(const String& x, const String& y) const {
return scumm_stricmp(x.c_str(), y.c_str()); }
};
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/gui Actions.cpp,1.1,1.2 Actions.h,1.1,1.2 EditTextWidget.cpp,1.35,1.36 EditTextWidget.h,1.20,1.21 KeysDialog.cpp,1.1,1.2 ListWidget.cpp,1.55,1.56 ListWidget.h,1.33,1.34 PopUpWidget.cpp,1.38,1.39 PopUpWidget.h,1.15,1.16 ScrollBarWidget.h,1.10,1.11 TabWidget.cpp,1.18,1.19 about.cpp,1.38,1.39 about.h,1.15,1.16 browser.cpp,1.34,1.35 chooser.cpp,1.18,1.19 console.h,1.33,1.34 dialog.h,1.40,1.41 editable.cpp,1.8,1.9 editable.h,1.5,1.6 launcher.cpp,1.126,1.127 launcher.h,1.23,1.24 message.cpp,1.29,1.30 newgui.cpp,1.118,1.119 newgui.h,1.61,1.62 options.cpp,1.92,1.93 widget.cpp,1.53,1.54 widget.h,1.46,1.47
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm actor.cpp,1.374,1.375 actor.h,1.81,1.82 akos.cpp,1.230,1.231 akos.h,1.41,1.42 base-costume.cpp,2.30,2.31 base-costume.h,1.39,1.40 bomp.cpp,2.33,2.34 boxes.cpp,1.90,1.91 boxes.h,1.11,1.12 charset.cpp,2.150,2.151 charset.h,2.46,2.47 costume.cpp,1.187,1.188 costume.h,1.37,1.38 cursor.cpp,2.46,2.47 debugger.cpp,1.152,1.153 debugger.h,1.37,1.38 dialogs.cpp,1.148,1.149 dialogs.h,1.56,1.57 gfx.cpp,2.463,2.464 gfx.h,1.120,1.121 help.cpp,1.22,1.23 imuse.cpp,2.145,2.146 imuse_internal.h,2.42,2.43 input.cpp,2.32,2.33 instrument.cpp,2.35,2.36 intern.h,2.513,2.514 logic_he.cpp,2.23,2.24 nut_renderer.cpp,1.62,1.63 object.cpp,1.246,1.247 palette.cpp,2.52,2.53 palette_he.cpp,1.23,1.24 player_mod.h,2.20,2.21 player_nes.cpp,2.4,2.5 player_v1.cpp,1.26,1.27 player_v2.cpp,2.60,2.61 player_v2.h,2.35,2.36 player_v2a.cpp,2.31,2.32 player_v3a.cpp,1.24,1.25 resource.cpp,1.330,1.331 resource.h,1.16,1.17 resource_v2.cpp,1.57,1.58 resource_v7he.cpp,1.44,1.45 resource_v7he.h,1.15,1.16 room.cpp,1.19,1.20 saveload.cpp,1.231,1.232 saveload.h,1.62,1.63 script.cpp,1.226,1.227 script_c64.cpp,2.10,2.11 script_v100he.cpp,2.169,2.170 script_v2.cpp,2.279,2.280 script_v5.cpp,1.290,1.291 script_v6.cpp,1.446,1.447 script_v6he.cpp,2.163,2.164 script_v72he.cpp,2.301,2.302 script_v7he.cpp,2.164,2.165 script_v8.cpp,2.297,2.298 script_v80he.cpp,2.123,2.124 script_v90he.cpp,2.277,2.278 scumm.cpp,1.555,1.556 scumm.h,1.638,1.639 sound.cpp,1.469,1.470 sound.h,1.90,1.91 sprite_he.cpp,1.151,1.152 sprite_he.h,1.42,1.43 string.cpp,1.298,1.299 thumbnail.cpp,1.6,1.7 usage_bits.cpp,1.15,1.16 util.cpp,2.12,2.13 util.h,2.13,2.14 vars.cpp,1.141,1.142 verbs.cpp,1.139,1.140 wiz_he.cpp,2.91,2.92 wiz_he.h,2.27,2.28
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list