calendar: Use larger font for dates

pull/1220/head
Alexander Minges 2022-01-05 17:25:07 +01:00
parent f81032ac5b
commit af187929ea
3 changed files with 4 additions and 1 deletions

View File

@ -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"}],

View File

@ -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

View File

@ -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(),