summaryrefslogtreecommitdiff
path: root/tizen/src/ui/skinview.h
diff options
context:
space:
mode:
authorGiWoong Kim <giwoong.kim@samsung.com>2015-08-25 18:47:05 +0900
committerSeokYeon Hwang <syeon.hwang@samsung.com>2015-09-01 14:14:15 +0900
commita55c207367bb37a012cdb0b2bc231d948f580a13 (patch)
tree2de72ace1761d26e214e806510075da6a68ea9ac /tizen/src/ui/skinview.h
parent3d4c06fa0931038846244ac36ea84e3fd11335c7 (diff)
downloadqemu-a55c207367bb37a012cdb0b2bc231d948f580a13.tar.gz
qemu-a55c207367bb37a012cdb0b2bc231d948f580a13.tar.bz2
qemu-a55c207367bb37a012cdb0b2bc231d948f580a13.zip
hwkey: HW key re-masking on skin
do re-masking when side key(volume or power HW key on mobile) is pressed Change-Id: Ic2f36366a15ad4d3ef1c2c84c73c55b858091377 Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
Diffstat (limited to 'tizen/src/ui/skinview.h')
-rw-r--r--tizen/src/ui/skinview.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/tizen/src/ui/skinview.h b/tizen/src/ui/skinview.h
index 4874de3496..a45b35dd4b 100644
--- a/tizen/src/ui/skinview.h
+++ b/tizen/src/ui/skinview.h
@@ -33,6 +33,7 @@
#include <QGraphicsView>
#include "skinbezelitem.h"
+#include "skinkeyitem.h"
#include "layout/layoutform.h"
class SkinView : public QGraphicsView
@@ -41,8 +42,13 @@ public:
SkinView(QWidget *parent, QGraphicsScene *scene);
~SkinView();
+ virtual QRegion getKeyWinRegion(
+ QWidget *base, QRect &keyRect, LayoutForm::SkinImgType type) = 0;
+
protected:
- SkinBezelItem *createBezelItem(LayoutForm *form);
+ SkinBezelItem *createBezelItem(QGraphicsItem *parent, LayoutForm *form);
+ SkinKeyItem *createKeyItem(QGraphicsItem *parent,
+ LayoutForm *form, HardwareKey *hwKey);
QPoint grabPos;
};