From aa9d77fcf69708a8cbd8abcabd386cf9b6057ffc Mon Sep 17 00:00:00 2001 From: Brian Boyer Date: Fri, 29 Mar 2013 18:54:41 -0400 Subject: [PATCH] started playing with colors, etc --- source/main.brs | 1 + source/theme.brs | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 source/theme.brs diff --git a/source/main.brs b/source/main.brs index 2c3a7c0..5561899 100644 --- a/source/main.brs +++ b/source/main.brs @@ -8,6 +8,7 @@ function Main() globals.analytics = Analytics() globals.analytics.startup() + SetTheme() GridScreen() globals.analytics.shutdown() diff --git a/source/theme.brs b/source/theme.brs new file mode 100644 index 0000000..0f2f2e3 --- /dev/null +++ b/source/theme.brs @@ -0,0 +1,19 @@ +' +' This makes it pretty +' + +function SetTheme() + + app = CreateObject("roAppManager") + theme = CreateObject("roAssociativeArray") + + ' The grid screen + theme.GridScreenBackgroundColor = "#000000" + + ' The search screen + theme.BackgroundColor = "#000000" + theme.ButtonMenuNormalText = "#FFFFFF" + + app.SetTheme(theme) + +end function