Merge branch 'vacation-timer-label' into 'master'
Vacation timer label See merge request c4181/countdown-timer!3
This commit is contained in:
commit
817846318d
1 changed files with 5 additions and 1 deletions
|
|
@ -32,10 +32,14 @@ public class CountdownController {
|
||||||
g.setColor(color);
|
g.setColor(color);
|
||||||
g.fillRect(10, 5, 530, 75);
|
g.fillRect(10, 5, 530, 75);
|
||||||
|
|
||||||
g.setColor(Color.white);
|
g.setColor(Color.WHITE);
|
||||||
g.setFont(new Font("Courier", Font.BOLD, 57));
|
g.setFont(new Font("Courier", Font.BOLD, 57));
|
||||||
g.drawString(calculateTimeUntilThing(), 15, 60);
|
g.drawString(calculateTimeUntilThing(), 15, 60);
|
||||||
|
|
||||||
|
g.setColor(new Color(0xE4002B));
|
||||||
|
g.setFont(g.getFont().deriveFont(46f));
|
||||||
|
g.drawString("Vacation Timer!", 130, 135);
|
||||||
|
|
||||||
g.dispose();
|
g.dispose();
|
||||||
|
|
||||||
return image;
|
return image;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue