ols 7 SevenSegment
This commit is contained in:
1 parent
badede4b8f
commit
f7bcbc53ef
131 files changed
+5624
-6412
No files matched your search
@@ -9,9 +9,6 @@ module Rez {
|
||||
(:initialized) var greenCard as ResourceId;
|
||||
(:initialized) var redCard as ResourceId;
|
||||
(:initialized) var yellowCard as ResourceId;
|
||||
(:initialized) var pause as ResourceId;
|
||||
(:initialized) var play as ResourceId;
|
||||
(:initialized) var plus as ResourceId;
|
||||
(:initialized) var launcherIcon as ResourceId;
|
||||
} // Drawables
|
||||
|
||||
@@ -19,13 +16,12 @@ module Rez {
|
||||
(:initialized) var SevenSegment as ResourceId;
|
||||
(:initialized) var font40 as ResourceId;
|
||||
(:initialized) var led_small as ResourceId;
|
||||
(:initialized) var ms as ResourceId;
|
||||
} // Fonts
|
||||
|
||||
module Layouts {
|
||||
function MainLayout(dc as Graphics.Dc) as Array<WatchUi.Drawable> {
|
||||
var local_Rez_Fonts_SevenSegment = (WatchUi.loadResource($.Rez.Fonts.SevenSegment) as Graphics.FontReference);
|
||||
var rez_cmp_local_text_1193959466 = new WatchUi.Text({:color=>Graphics.COLOR_WHITE, :locX=>(dc.getWidth() * 0.5), :locY=>((dc.getHeight() - 94) * 0.5), :text=>$.Rez.Strings.timer, :justification=>Graphics.TEXT_JUSTIFY_CENTER, :font=>local_Rez_Fonts_SevenSegment});
|
||||
var rez_cmp_local_text_1193959466 = new WatchUi.Text({:color=>Graphics.COLOR_WHITE, :locX=>(dc.getWidth() * 0.5), :locY=>((dc.getHeight() - 70) * 0.5), :text=>$.Rez.Strings.timer, :justification=>Graphics.TEXT_JUSTIFY_CENTER, :font=>local_Rez_Fonts_SevenSegment});
|
||||
|
||||
return [rez_cmp_local_text_1193959466] as Array<WatchUi.Drawable>;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user