1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 06:17:35 +00:00

Calendar: Implement add event UI

This commit is contained in:
rhin123 2020-04-09 17:05:01 -05:00 committed by Andreas Kling
parent 4f48fcdb94
commit 06604c3786
6 changed files with 145 additions and 20 deletions

View file

@ -38,11 +38,12 @@ public:
CalendarWidget();
virtual ~CalendarWidget() override;
void show_add_event_window();
private:
virtual void resize_event(GUI::ResizeEvent&) override;
void update_calendar_tiles(int target_year, int target_month);
void show_add_event_window(Calendar* calendar);
OwnPtr<Calendar> m_calendar;
RefPtr<GUI::Widget> m_top_container;
@ -60,6 +61,7 @@ private:
virtual ~CalendarTile() override;
private:
virtual void doubleclick_event(GUI::MouseEvent&) override;
virtual void paint_event(GUI::PaintEvent&) override;
int m_index { 0 };