Sleep changed to cross-platform sleep; send/receive.png icons changed

This commit is contained in:
felixrojauro
2015-11-25 15:43:16 +01:00
parent 5d5aec5b26
commit e2f6eae47d
6 changed files with 7 additions and 7 deletions

View File

@@ -78,7 +78,7 @@ volatile bool fRequestShutdown = false;
void StartShutdown() void StartShutdown()
{ {
Sleep(1000); boost::this_thread::sleep_for( boost::chrono::seconds( 1 ) );
fRequestShutdown = true; fRequestShutdown = true;
} }
bool ShutdownRequested() bool ShutdownRequested()

View File

@@ -16,7 +16,7 @@ GUIBannerControl
{ {
id: id_leftArrowImage id: id_leftArrowImage
source: "qrc:/icons/res/icons/adverts_arrow_left.png" source: "qrc:/icons/advertsArrowLeft"
anchors.centerIn: id_leftArrow anchors.centerIn: id_leftArrow
} }
@@ -31,13 +31,13 @@ GUIBannerControl
onEntered: onEntered:
{ {
id_leftArrowImage.source = "qrc:/icons/res/icons/adverts_arrow_left_hover.png" id_leftArrowImage.source = "qrc:/icons/advertsArrowLeftHover"
id_bannerListView.m_PathView.decrementCurrentIndex() id_bannerListView.m_PathView.decrementCurrentIndex()
id_animationTimer.restart() id_animationTimer.restart()
} }
onExited: onExited:
{ {
id_leftArrowImage.source = "qrc:/icons/res/icons/adverts_arrow_left.png" id_leftArrowImage.source = "qrc:/icons/advertsArrowLeft"
id_animationTimer.stop() id_animationTimer.stop()
} }
onClicked: onClicked:
@@ -114,7 +114,7 @@ GUIBannerControl
Image Image
{ {
id: id_rightArrowImage id: id_rightArrowImage
source: "qrc:/icons/res/icons/adverts_arrow_right.png" source: "qrc:/icons/advertsArrowRight"
anchors.centerIn: id_rightArrow anchors.centerIn: id_rightArrow
} }
@@ -130,13 +130,13 @@ GUIBannerControl
onEntered: onEntered:
{ {
id_rightArrowImage.source = "qrc:/icons/res/icons/adverts_arrow_right_hover.png" id_rightArrowImage.source = "qrc:/icons/advertsArrowRightHover"
id_bannerListView.m_PathView.incrementCurrentIndex() id_bannerListView.m_PathView.incrementCurrentIndex()
id_animationTimer.restart() id_animationTimer.restart()
} }
onExited: onExited:
{ {
id_rightArrowImage.source = "qrc:/icons/res/icons/adverts_arrow_right.png" id_rightArrowImage.source = "qrc:/icons/advertsArrowRight"
id_animationTimer.stop() id_animationTimer.stop()
} }
onClicked: onClicked:

Binary file not shown.

After

Width:  |  Height:  |  Size: 268 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 310 B

After

Width:  |  Height:  |  Size: 260 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 267 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 314 B

After

Width:  |  Height:  |  Size: 238 B