initial commit
This commit is contained in:
20
source/Background/IBackground.mc
Normal file
20
source/Background/IBackground.mc
Normal file
@ -0,0 +1,20 @@
|
||||
import Toybox.Graphics;
|
||||
import Toybox.Lang;
|
||||
import Toybox.WatchUi;
|
||||
|
||||
class IBackground extends Drawable {
|
||||
|
||||
typedef BackgroundParams as {
|
||||
:Identifier as Object,
|
||||
};
|
||||
|
||||
function initialize(options as BackgroundParams) {
|
||||
Drawable.initialize({:identifier => options[:Identifier]});
|
||||
}
|
||||
|
||||
function draw(dc as Dc) as Void {
|
||||
drawBackground(dc);
|
||||
}
|
||||
|
||||
function drawBackground(dc as Dc) as Void {}
|
||||
}
|
||||
Reference in New Issue
Block a user