Skip to content

Commit

Permalink
feat(ui): replace popover by on screen elements
Browse files Browse the repository at this point in the history
  • Loading branch information
jtheoof committed Dec 26, 2019
1 parent d348e87 commit 8cd3f13
Show file tree
Hide file tree
Showing 3 changed files with 276 additions and 214 deletions.
6 changes: 2 additions & 4 deletions include/swappy.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ struct swappy_box {
int32_t height;
};

struct swappy_state_ui_popover {
GtkPopover *container;
struct swappy_state_ui_painting {
GtkRadioButton *brush;
GtkRadioButton *text;
GtkRadioButton *rectangle;
Expand All @@ -78,10 +77,9 @@ struct swappy_state {
GtkApplication *app;

GtkWindow *window;
GtkWindow *settings_window;
GtkWidget *area;

struct swappy_state_ui_popover *popover;
struct swappy_state_ui_painting *popover;

cairo_surface_t *cairo_surface;

Expand Down
Loading

0 comments on commit 8cd3f13

Please sign in to comment.