mirror of https://github.com/espruino/BangleApps
Merge pull request #1220 from Athemis/calendar-font
calendar: Use a larger font for datespull/1225/head
commit
1906dd2839
|
@ -2430,7 +2430,7 @@
|
||||||
{
|
{
|
||||||
"id": "calendar",
|
"id": "calendar",
|
||||||
"name": "Calendar",
|
"name": "Calendar",
|
||||||
"version": "0.05",
|
"version": "0.06",
|
||||||
"description": "Simple calendar",
|
"description": "Simple calendar",
|
||||||
"icon": "calendar.png",
|
"icon": "calendar.png",
|
||||||
"screenshots": [{"url":"screenshot_calendar.png"}],
|
"screenshots": [{"url":"screenshot_calendar.png"}],
|
||||||
|
|
|
@ -3,3 +3,4 @@
|
||||||
0.03: Add setting to start week on Sunday
|
0.03: Add setting to start week on Sunday
|
||||||
0.04: Add setting to switch color schemes. On Bangle 2 non-dithering colors will be used by default. Use localized names for months and days of the week (Language app needed).
|
0.04: Add setting to switch color schemes. On Bangle 2 non-dithering colors will be used by default. Use localized names for months and days of the week (Language app needed).
|
||||||
0.05: Update calendar weekend colors for start on Sunday
|
0.05: Update calendar weekend colors for start on Sunday
|
||||||
|
0.06: Use larger font for dates
|
||||||
|
|
|
@ -206,6 +206,8 @@ function drawCalendar(date) {
|
||||||
y2 - 1
|
y2 - 1
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
require("Font8x12").add(Graphics);
|
||||||
|
g.setFont("8x12", fontSize);
|
||||||
g.setColor(day < 50 ? fgOtherMonth : fgSameMonth);
|
g.setColor(day < 50 ? fgOtherMonth : fgSameMonth);
|
||||||
g.drawString(
|
g.drawString(
|
||||||
(day > 50 ? day - 50 : day).toString(),
|
(day > 50 ? day - 50 : day).toString(),
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 2.5 KiB |
Loading…
Reference in New Issue