Reordered initialization lists to kill a ton of warnings.

svn-id: r34892
This commit is contained in:
Nicola Mettifogo 2008-11-04 05:29:53 +00:00
parent f12b76b7fb
commit 33b6bc4215
4 changed files with 286 additions and 286 deletions

View file

@ -105,8 +105,8 @@ VectorRenderer *createRenderer(int mode);
*/
class VectorRenderer {
public:
VectorRenderer() : _shadowOffset(0), _fillMode(kFillDisabled),
_activeSurface(NULL), _strokeWidth(1), _gradientFactor(1), _disableShadows(false) {
VectorRenderer() : _activeSurface(NULL), _fillMode(kFillDisabled), _shadowOffset(0),
_disableShadows(false), _strokeWidth(1), _gradientFactor(1) {
}

View file

@ -189,9 +189,9 @@ const ThemeEngine::TextDataInfo ThemeEngine::kTextDataDefaults[] = {
* ThemeEngine class
*********************************************************/
ThemeEngine::ThemeEngine(Common::String fileName, GraphicsMode mode) :
_vectorRenderer(0), _system(0), _graphicsMode(kGfxDisabled), _font(0),
_screen(0), _backBuffer(0), _bytesPerPixel(0), _initOk(false),
_themeOk(false), _enabled(false), _buffering(false), _cursor(0) {
_system(0), _vectorRenderer(0), _screen(0), _backBuffer(0),
_buffering(false), _bytesPerPixel(0), _graphicsMode(kGfxDisabled),
_font(0), _initOk(false), _themeOk(false), _enabled(false), _cursor(0) {
_system = g_system;
_parser = new ThemeParser(this);
_themeEval = new GUI::ThemeEval();

View file

@ -93,8 +93,8 @@ public:
virtual void drawSelf(bool doDraw, bool doRestore) = 0;
protected:
Common::Rect _area;
ThemeEngine *_engine;
Common::Rect _area;
};
class ThemeItemDrawData : public ThemeItem {

View file

@ -119,14 +119,14 @@ public:
void importLayout(ThemeLayout *layout);
protected:
ThemeLayout *_parent;
Common::String _name;
int16 _x, _y, _w, _h;
int16 _defaultW, _defaultH;
int8 _paddingTop, _paddingBottom, _paddingLeft, _paddingRight;
int8 _paddingLeft, _paddingRight, _paddingTop, _paddingBottom;
int8 _spacing;
Common::Array<ThemeLayout*> _children;
ThemeLayout *_parent;
bool _centered;
Common::String _name;
int16 _defaultW, _defaultH;
};
class ThemeLayoutMain : public ThemeLayout {