diff options
author | Julien Templier | 2011-02-09 00:23:35 +0000 |
---|---|---|
committer | Julien Templier | 2011-02-09 00:23:35 +0000 |
commit | 6b477ee33e0a2aeb0f7e4990cc2c00f7dd2e585b (patch) | |
tree | 2548f5a55fbc283cda48395f6b8e150bb81c02dc /engines/lastexpress/data/cursor.h | |
parent | 6a6caa80a3ca05e9226b9bec364afa6495d85df6 (diff) | |
download | scummvm-rg350-6b477ee33e0a2aeb0f7e4990cc2c00f7dd2e585b.tar.gz scummvm-rg350-6b477ee33e0a2aeb0f7e4990cc2c00f7dd2e585b.tar.bz2 scummvm-rg350-6b477ee33e0a2aeb0f7e4990cc2c00f7dd2e585b.zip |
LASTEXPRESS: Refactor inventory handling
- Rewrite menu icon part of Inventory::handleMouseEvent()
- Add proper support for icon brightness
- Add drawItem method in place of macro
svn-id: r55846
Diffstat (limited to 'engines/lastexpress/data/cursor.h')
-rw-r--r-- | engines/lastexpress/data/cursor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/lastexpress/data/cursor.h b/engines/lastexpress/data/cursor.h index 0e9556aa6e..d23aa86a95 100644 --- a/engines/lastexpress/data/cursor.h +++ b/engines/lastexpress/data/cursor.h @@ -54,13 +54,13 @@ public: Icon(CursorStyle style); void setPosition(int16 x, int16 y); - void setBrightness(uint brightness); + void setBrightness(int16 brightnessIndex); Common::Rect draw(Graphics::Surface *surface); private: CursorStyle _style; int16 _x, _y; - uint8 _brightness; + int16 _brightnessIndex; }; class Cursor { |