initial commit
This commit is contained in:
15
source/Background/SolidBackground.mc
Normal file
15
source/Background/SolidBackground.mc
Normal file
@ -0,0 +1,15 @@
|
||||
import Toybox.Graphics;
|
||||
import Toybox.Lang;
|
||||
import Toybox.WatchUi;
|
||||
|
||||
class SolidBackground extends IBackground {
|
||||
|
||||
function initialize(options as IBackground.BackgroundParams) {
|
||||
IBackground.initialize(options);
|
||||
}
|
||||
|
||||
function drawBackground(dc as Dc) as Void {
|
||||
dc.setColor(Graphics.COLOR_TRANSPARENT, Color);
|
||||
dc.clear();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user