X-Git-Url: https://git.sesse.net/?p=ccbs;a=blobdiff_plain;f=bigscreen%2Ftheme.config;h=5a3e488062df647fa586112b235e781acfa83841;hp=35d6093d0a3a4af9998db0f1cb2b7ab1edfb7cd0;hb=7b8b747f037d2244ffd080e97d9d5e5c0e9114a7;hpb=64356b45b3a6c41bc4d9c651fc4d02a6bd2d9c7b diff --git a/bigscreen/theme.config b/bigscreen/theme.config index 35d6093..5a3e488 100644 --- a/bigscreen/theme.config +++ b/bigscreen/theme.config @@ -1,3 +1,22 @@ +# Screen mode. +screen.width=1280 +screen.height=720 +screen.lcd=1 # subpixel font rendering +screen.fullscreen=0 + +# This is used in the screens, mostly for historical reasons (they were +# first hard-coded to 800x600, and changing them to be resolution-independent +# is not a project for today). +screen.logical_width=1066 +screen.logical_height=600 + +# Database configuration. +db.dbname=ccbs +db.host=www.positivegaming.com +db.user=ccbs +db.password=GeT|>>B_ + +# Theme. default.font=/usr/share/fonts/truetype/msttcorefonts/Georgia.ttf;/usr/share/fonts/truetype/freefont/FreeSerif.ttf;arialuni.ttf default.red=255 default.green=255 @@ -11,20 +30,21 @@ mainheading.blue=255 columnheading.red=255 columnheading.green=255 columnheading.blue=255 -freshcolumnheading.red=255 -freshcolumnheading.green=0 -freshcolumnheading.blue=0 rowheading.red=255 rowheading.green=255 rowheading.blue=255 -data.red=255 -data.green=255 -data.blue=255 -freshdata.red=255 -freshdata.green=0 -freshdata.blue=0 divider.red=127 divider.green=127 divider.blue=127 -# available elements: background, mainheading, (fresh)columnheading, rowheading, score, (fresh)chosensongname, (fresh)totalscore, nick, randomsongname, nextsonginfo, need, (fresh)rank, divider +# available elements: background.groupscreen, background.top5chosenscreen, background.top10scorescreen, mainheading, columnheading, randomsongname, nextsonginfo.player, nextsonginfo.title, nextsonginfo.highscore, need, divider +# available elements that also have .odd and .even: rowheading, (fresh)score, (fresh)chosensongname, (fresh)totalscore, (fresh)rank, top10scores.(fresh)rowheading, top10scores.(fresh)nick, top10scores.(fresh)songname, top10scores.(fresh)frequency, top5chosensongs.(fresh)rowheading, top5chosensongs.(fresh)songname, top5chosensongs.(fresh)frequency + +## How to draw rectangles in the background (up to ten, numbered 0-9): +# background.groupscreen.rect1.x0=0 +# background.groupscreen.rect1.y0=80 +# background.groupscreen.rect1.x1=1066 +# background.groupscreen.rect1.y1=110 +# background.groupscreen.rect1.red=63 +# background.groupscreen.rect1.green=63 +# background.groupscreen.rect1.blue=63