diff options
author | Max Horn | 2004-02-05 00:19:57 +0000 |
---|---|---|
committer | Max Horn | 2004-02-05 00:19:57 +0000 |
commit | f59eb3b2194826c73f56161497f4004b2313efa2 (patch) | |
tree | 5c070e2626f83d256fc161a8ec7e98ca2397af58 /backends/wince | |
parent | dc852177fb27b83620f0a4296cde0e1a8dec1f62 (diff) | |
download | scummvm-rg350-f59eb3b2194826c73f56161497f4004b2313efa2.tar.gz scummvm-rg350-f59eb3b2194826c73f56161497f4004b2313efa2.tar.bz2 scummvm-rg350-f59eb3b2194826c73f56161497f4004b2313efa2.zip |
renamed (Const)Iterator to (const_)iterator; changed size() to return an uint
svn-id: r12722
Diffstat (limited to 'backends/wince')
-rw-r--r-- | backends/wince/CELauncherDialog.cpp | 2 | ||||
-rw-r--r-- | backends/wince/CEgui/Panel.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/backends/wince/CELauncherDialog.cpp b/backends/wince/CELauncherDialog.cpp index fc2d6d513f..7c432f5a20 100644 --- a/backends/wince/CELauncherDialog.cpp +++ b/backends/wince/CELauncherDialog.cpp @@ -99,7 +99,7 @@ void CELauncherDialog::automaticScanDirectory(const FilesystemNode *node) { addCandidate(node->path(), candidates); // Then recurse on the subdirectories FSList *dirs = node->listDir(FilesystemNode::kListDirectoriesOnly); - for (FSList::ConstIterator currentDir = dirs->begin(); currentDir != dirs->end(); ++currentDir) + for (FSList::const_iterator currentDir = dirs->begin(); currentDir != dirs->end(); ++currentDir) automaticScanDirectory(&(*currentDir)); } diff --git a/backends/wince/CEgui/Panel.cpp b/backends/wince/CEgui/Panel.cpp index d29f4004e2..2c7514af09 100644 --- a/backends/wince/CEgui/Panel.cpp +++ b/backends/wince/CEgui/Panel.cpp @@ -42,7 +42,7 @@ namespace CEGUI { } bool Panel::draw(SDL_Surface *surface) { - ItemMap::ConstIterator iterator; + ItemMap::const_iterator iterator; if (!_drawn && _visible) { GUIElement::draw(surface); for (iterator = _itemsMap.begin(); iterator != _itemsMap.end(); ++iterator) { @@ -55,14 +55,14 @@ namespace CEGUI { } void Panel::forceRedraw() { - ItemMap::ConstIterator iterator; + ItemMap::const_iterator iterator; GUIElement::forceRedraw(); for (iterator = _itemsMap.begin(); iterator != _itemsMap.end(); ++iterator) ((GUIElement*)(iterator->_value))->forceRedraw(); } bool Panel::action(int x, int y, bool pushed) { - ItemMap::ConstIterator iterator; + ItemMap::const_iterator iterator; bool result = false; if (!checkInside(x, y)) return false; |