summaryrefslogtreecommitdiffstats
path: root/gui/objects.hpp
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2015-10-22 21:17:47 +0200
committerEthan Yonker <dees_troy@teamw.in>2015-10-25 00:36:24 +0200
commitd0514ba8064513864469906b19d1c055e6c3b481 (patch)
tree9ebd80e948650b21e0432b87bdb4ac3fa94f2f93 /gui/objects.hpp
parentfix build in Omni 4.4 (diff)
downloadandroid_bootable_recovery-d0514ba8064513864469906b19d1c055e6c3b481.tar
android_bootable_recovery-d0514ba8064513864469906b19d1c055e6c3b481.tar.gz
android_bootable_recovery-d0514ba8064513864469906b19d1c055e6c3b481.tar.bz2
android_bootable_recovery-d0514ba8064513864469906b19d1c055e6c3b481.tar.lz
android_bootable_recovery-d0514ba8064513864469906b19d1c055e6c3b481.tar.xz
android_bootable_recovery-d0514ba8064513864469906b19d1c055e6c3b481.tar.zst
android_bootable_recovery-d0514ba8064513864469906b19d1c055e6c3b481.zip
Diffstat (limited to 'gui/objects.hpp')
-rw-r--r--gui/objects.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/gui/objects.hpp b/gui/objects.hpp
index cf92024bb..73d8717d5 100644
--- a/gui/objects.hpp
+++ b/gui/objects.hpp
@@ -72,7 +72,7 @@ public:
virtual int SetPlacement(Placement placement) { mPlacement = placement; return 0; }
// SetPageFocus - Notify when a page gains or loses focus
- virtual void SetPageFocus(int inFocus) { return; }
+ virtual void SetPageFocus(int inFocus __unused) { return; }
protected:
int mRenderX, mRenderY, mRenderW, mRenderH;
@@ -88,11 +88,11 @@ public:
public:
// NotifyTouch - Notify of a touch event
// Return 0 on success, >0 to ignore remainder of touch, and <0 on error
- virtual int NotifyTouch(TOUCH_STATE state, int x, int y) { return 0; }
+ virtual int NotifyTouch(TOUCH_STATE state __unused, int x __unused, int y __unused) { return 0; }
// NotifyKey - Notify of a key press
// Return 0 on success (and consume key), >0 to pass key to next handler, and <0 on error
- virtual int NotifyKey(int key, bool down) { return 1; }
+ virtual int NotifyKey(int key __unused, bool down __unused) { return 1; }
// GetRenderPos - Returns the current position of the object
virtual int GetActionPos(int& x, int& y, int& w, int& h) { x = mActionX; y = mActionY; w = mActionW; h = mActionH; return 0; }
@@ -159,7 +159,7 @@ public:
public:
// NotifyKeyboard - Notify of keyboard input
// Return 0 on success (and consume key), >0 to pass key to next handler, and <0 on error
- virtual int NotifyKeyboard(int key) { return 1; }
+ virtual int NotifyKeyboard(int key __unused) { return 1; }
virtual int SetInputFocus(int focus) { HasInputFocus = focus; return 1; }
@@ -469,7 +469,7 @@ protected:
// render a single item in rect (mRenderX, yPos, mRenderW, actualItemHeight)
virtual void RenderItem(size_t itemindex, int yPos, bool selected);
// an item was selected
- virtual void NotifySelect(size_t item_selected) {}
+ virtual void NotifySelect(size_t item_selected __unused) {}
// render a standard-layout list item with optional icon and text
void RenderStdItem(int yPos, bool selected, ImageResource* icon, const char* text, int iconAndTextH = 0);