diff options
| author | Einar Johan Trøan Sømåen | 2013-04-18 17:45:50 +0200 |
|---|---|---|
| committer | Einar Johan Trøan Sømåen | 2013-04-18 17:45:50 +0200 |
| commit | b6242d0ea5603f73b488ed144ee3807b89829072 (patch) | |
| tree | 4a7bf4e8bd367e721aab7ce3c3e8a4e3ee76e0f4 /engines/wintermute/ui | |
| parent | 5ddc2ee915bcd470f4ecaf197a64009e05a04bf8 (diff) | |
| download | scummvm-rg350-b6242d0ea5603f73b488ed144ee3807b89829072.tar.gz scummvm-rg350-b6242d0ea5603f73b488ed144ee3807b89829072.tar.bz2 scummvm-rg350-b6242d0ea5603f73b488ed144ee3807b89829072.zip | |
WINTERMUTE: Use int32 instead of int in classes.
Diffstat (limited to 'engines/wintermute/ui')
| -rw-r--r-- | engines/wintermute/ui/ui_edit.h | 10 | ||||
| -rw-r--r-- | engines/wintermute/ui/ui_object.h | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/engines/wintermute/ui/ui_edit.h b/engines/wintermute/ui/ui_edit.h index 5bb31422b6..ad26ab5b23 100644 --- a/engines/wintermute/ui/ui_edit.h +++ b/engines/wintermute/ui/ui_edit.h @@ -38,20 +38,20 @@ class BaseFont; class UIEdit : public UIObject { public: DECLARE_PERSISTENT(UIEdit, UIObject) - int _maxLength; + int32 _maxLength; int insertChars(int pos, const byte *chars, int num); int deleteChars(int start, int end); bool _cursorVisible; uint32 _lastBlinkTime; virtual bool display(int offsetX, int offsetY); virtual bool handleKeypress(Common::Event *event, bool printable = false); - int _scrollOffset; - int _frameWidth; + int32 _scrollOffset; + int32 _frameWidth; uint32 _cursorBlinkRate; void setCursorChar(const char *character); char *_cursorChar; - int _selEnd; - int _selStart; + int32 _selEnd; + int32 _selStart; BaseFont *_fontSelected; UIEdit(BaseGame *inGame); virtual ~UIEdit(); diff --git a/engines/wintermute/ui/ui_object.h b/engines/wintermute/ui/ui_object.h index c77acfef41..1f117dac19 100644 --- a/engines/wintermute/ui/ui_object.h +++ b/engines/wintermute/ui/ui_object.h @@ -62,8 +62,8 @@ public: bool _disable; UIObject(BaseGame *inGame = nullptr); virtual ~UIObject(); - int _width; - int _height; + int32 _width; + int32 _height; TUIObjectType _type; BaseSprite *_image; void setListener(BaseScriptHolder *object, BaseScriptHolder *listenerObject, uint32 listenerParam); |
