Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ae3d2b20d0 |
@@ -1,3 +1,2 @@
|
|||||||
/build/
|
/build/
|
||||||
imgui.ini
|
imgui.ini
|
||||||
*.wcl
|
|
||||||
Binary file not shown.
@@ -0,0 +1,2 @@
|
|||||||
|
ŠCl.H¾ÇUn".ŒT¡Ô„Ÿ9¨M]$w‚‰Á#æÆ€ûê-‰�Ðx¶5©2¥Êm®B*–dqúË7UF‘·7Ò»í‡äeÝ{…6¡Q2ý= ˆò<kè^÷âP0¯eþv¡8ø6ÉÊ3Öy.ê/Å0!˜E~éÿ6ƒxI¶g6qŸèEª ÄgID‚D¹ú5ìÃáILœ-Ê)HjMµí}ëÌê.²,)Úäã¾A
|
||||||
|
á†TR�¼Ž?úµlÂE8+¥É¢+ßêøqRaUƒ:‚Ó‡�0Õ:c+×Á¤Ñ˜ë§î¾:'´þš3
|
||||||
@@ -14,11 +14,11 @@ extern bool should_exit;
|
|||||||
extern bool show_demo_window;
|
extern bool show_demo_window;
|
||||||
|
|
||||||
//standard year
|
//standard year
|
||||||
static int year;
|
static int year = 2025;
|
||||||
|
|
||||||
static int current_year;
|
static int current_year = 2025;
|
||||||
static int current_month;
|
static int current_month = 1;
|
||||||
static int current_day;
|
static int current_day = 1;
|
||||||
|
|
||||||
//fonts
|
//fonts
|
||||||
static ImFont *inter_regular;
|
static ImFont *inter_regular;
|
||||||
@@ -495,7 +495,7 @@ void per_frame(){
|
|||||||
if (ImGui::BeginTable("Weekdays", 7, ImGuiTableFlags_SizingFixedFit | ImGuiTableFlags_NoHostExtendX | ImGuiTableFlags_Borders)) {
|
if (ImGui::BeginTable("Weekdays", 7, ImGuiTableFlags_SizingFixedFit | ImGuiTableFlags_NoHostExtendX | ImGuiTableFlags_Borders)) {
|
||||||
int offset = weekday_from_day(year, month, 1);
|
int offset = weekday_from_day(year, month, 1);
|
||||||
|
|
||||||
for (int day = 1; day <= days_per_month(year, month); day++) {
|
for (int day = 1; day <= days_per_month(2025, month); day++) {
|
||||||
int weekday = weekday_from_day(year, month, day);
|
int weekday = weekday_from_day(year, month, day);
|
||||||
|
|
||||||
if (weekday == 0 || day == 1){
|
if (weekday == 0 || day == 1){
|
||||||
|
|||||||
Reference in New Issue
Block a user