diff options
author | Paul Gilbert | 2015-06-19 21:25:16 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-06-19 21:25:16 -0400 |
commit | 77f256011a239110d3e57d970c14f6b84b964b01 (patch) | |
tree | 4f881610c03fc39a3d25d88f9fc5af92296b6638 /engines/sherlock/tattoo/widget_inventory.h | |
parent | 4ce4431c61092ed58e072f3f01f785cad796ab87 (diff) | |
download | scummvm-rg350-77f256011a239110d3e57d970c14f6b84b964b01.tar.gz scummvm-rg350-77f256011a239110d3e57d970c14f6b84b964b01.tar.bz2 scummvm-rg350-77f256011a239110d3e57d970c14f6b84b964b01.zip |
SHERLOCK: RT: Added remaining rendering code for inventory widget
Diffstat (limited to 'engines/sherlock/tattoo/widget_inventory.h')
-rw-r--r-- | engines/sherlock/tattoo/widget_inventory.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/engines/sherlock/tattoo/widget_inventory.h b/engines/sherlock/tattoo/widget_inventory.h index b2096f63e3..34e25eeaa0 100644 --- a/engines/sherlock/tattoo/widget_inventory.h +++ b/engines/sherlock/tattoo/widget_inventory.h @@ -39,7 +39,15 @@ private: int _selector, _oldSelector; int _dialogTimer; - void loadInv(); + /** + * Draw the scrollbar for the dialog + */ + void drawScrollBar(); + + /** + * Draws all the dialog rectangles for any items that need them + */ + void drawDialogRect(const Common::Rect &r, bool raised); public: int _invMode; public: @@ -47,6 +55,11 @@ public: virtual ~WidgetInventory() {} void load(int mode); + + /** + * Draw the inventory on the surface + */ + void drawInventory(); }; } // End of namespace Tattoo |