summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdriano Rezende <adriano.rezende@openbossa.org>2009-11-27 20:17:48 -0300
committerAdriano Rezende <adriano.rezende@openbossa.org>2009-11-27 20:17:48 -0300
commit7226a3dec152d52a86a5ab59ea4b25fb43545edf (patch)
tree4fb2dbf93103b358f1cbbdaf340bfe5319dbb406
parentf27f1d03cec0c7bfbca25b93bbb3fc77fa2ee04e (diff)
HyperUI: Added pressed image to contacts button
-rw-r--r--hyperui/phoneview.cpp4
-rw-r--r--hyperui/resource/640x360/hyperui.qrc1
-rw-r--r--hyperui/resource/640x360/images/dialer_bt_contacts_over.pngbin0 -> 4129 bytes
-rw-r--r--hyperui/resource/800x480/hyperui.qrc1
-rw-r--r--hyperui/resource/800x480/images/dialer_bt_contacts_over.pngbin0 -> 5218 bytes
5 files changed, 5 insertions, 1 deletions
diff --git a/hyperui/phoneview.cpp b/hyperui/phoneview.cpp
index 10ebac6..ee20cfc 100644
--- a/hyperui/phoneview.cpp
+++ b/hyperui/phoneview.cpp
@@ -433,7 +433,9 @@ PhoneView::PhoneView(QGraphicsItem *parent)
m_display = new DialerDisplay(m_frame);
m_display->setPos(displayPos);
- m_contactsButton = new Button(Resource::pixmap("dialer_bt_contacts.png"), m_frame);
+ m_contactsButton = new Button(Resource::pixmap("dialer_bt_contacts.png"),
+ Resource::pixmap("dialer_bt_contacts_over.png"),
+ m_frame);
m_contactsButton->setPos(contactsButtonPos);
m_contactsButton->setFont(resourceButtonFont());
diff --git a/hyperui/resource/640x360/hyperui.qrc b/hyperui/resource/640x360/hyperui.qrc
index cb4e9dc..66cb754 100644
--- a/hyperui/resource/640x360/hyperui.qrc
+++ b/hyperui/resource/640x360/hyperui.qrc
@@ -51,6 +51,7 @@
<file>images/dialer_display_background.png</file>
<file>images/dialer_display_bt_cancel.png</file>
<file>images/dialer_bt_contacts.png</file>
+ <file>images/dialer_bt_contacts_over.png</file>
<file>images/dialer_bt_call.png</file>
<file>images/dialer_bt_call_over.png</file>
<file>images/dialer_bt_endcall.png</file>
diff --git a/hyperui/resource/640x360/images/dialer_bt_contacts_over.png b/hyperui/resource/640x360/images/dialer_bt_contacts_over.png
new file mode 100644
index 0000000..21689bb
--- /dev/null
+++ b/hyperui/resource/640x360/images/dialer_bt_contacts_over.png
Binary files differ
diff --git a/hyperui/resource/800x480/hyperui.qrc b/hyperui/resource/800x480/hyperui.qrc
index cb4e9dc..66cb754 100644
--- a/hyperui/resource/800x480/hyperui.qrc
+++ b/hyperui/resource/800x480/hyperui.qrc
@@ -51,6 +51,7 @@
<file>images/dialer_display_background.png</file>
<file>images/dialer_display_bt_cancel.png</file>
<file>images/dialer_bt_contacts.png</file>
+ <file>images/dialer_bt_contacts_over.png</file>
<file>images/dialer_bt_call.png</file>
<file>images/dialer_bt_call_over.png</file>
<file>images/dialer_bt_endcall.png</file>
diff --git a/hyperui/resource/800x480/images/dialer_bt_contacts_over.png b/hyperui/resource/800x480/images/dialer_bt_contacts_over.png
new file mode 100644
index 0000000..51953c4
--- /dev/null
+++ b/hyperui/resource/800x480/images/dialer_bt_contacts_over.png
Binary files differ