aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2012-06-24 03:06:49 -0400
committerTeddy Wing2012-06-24 03:06:49 -0400
commita15a1e43a97971f5eb3eef909ae45f4f82efb7ed (patch)
tree94fcbeee4d65a7fa0607cc5badc4a3b5a3520983
parentb476c60611ad4b2ebe2125d8f0595ed6e62b6229 (diff)
downloadLikeFeed-a15a1e43a97971f5eb3eef909ae45f4f82efb7ed.tar.bz2
Changed navigation bar colour to reddish.
-rw-r--r--Resources/friendship/ui/ApplicationWindow.js1
-rw-r--r--Resources/friendship/ui/WebView.js1
-rw-r--r--Resources/friendship/ui/ui.js4
3 files changed, 6 insertions, 0 deletions
diff --git a/Resources/friendship/ui/ApplicationWindow.js b/Resources/friendship/ui/ApplicationWindow.js
index f64f715..aab8262 100644
--- a/Resources/friendship/ui/ApplicationWindow.js
+++ b/Resources/friendship/ui/ApplicationWindow.js
@@ -11,6 +11,7 @@
refresh_button.addEventListener('click', fs.ui.refreshLikeList);
var win = Ti.UI.createWindow({
+ barColor: fs.ui.styles.navBarColour,
title: 'Sphnx',
tabBarHidden: true,
leftNavButton: refresh_button
diff --git a/Resources/friendship/ui/WebView.js b/Resources/friendship/ui/WebView.js
index 6b3ad16..d1c8e50 100644
--- a/Resources/friendship/ui/WebView.js
+++ b/Resources/friendship/ui/WebView.js
@@ -3,6 +3,7 @@
var options = _args || {}
var win = Ti.UI.createWindow({
+ barColor: fs.ui.styles.navBarColour,
title: (options['title']) ? options['title'] : '',
backButtonTitle: 'Back'
});
diff --git a/Resources/friendship/ui/ui.js b/Resources/friendship/ui/ui.js
index f810b87..501d2f3 100644
--- a/Resources/friendship/ui/ui.js
+++ b/Resources/friendship/ui/ui.js
@@ -1,5 +1,9 @@
(function() {
fs.ui = {};
+
+ fs.ui.styles = {
+ navBarColour: '#ac0b24'
+ };
})();
Ti.include(