mirror of
https://github.com/tonytins/bullseye.git
synced 2025-12-18 23:04:43 -05:00
Adpative layout
- The desktop version has the score, ect, in the title bar area now while the mobile version remains the same - Capitalized "bullseye" - Used "late" keyword for certain variables - Updated application Id
This commit is contained in:
parent
964e861450
commit
593fda0975
22 changed files with 154 additions and 68 deletions
|
|
@ -40,12 +40,12 @@ static void my_application_activate(GApplication* application) {
|
|||
if (use_header_bar) {
|
||||
GtkHeaderBar *header_bar = GTK_HEADER_BAR(gtk_header_bar_new());
|
||||
gtk_widget_show(GTK_WIDGET(header_bar));
|
||||
gtk_header_bar_set_title(header_bar, "bullseye");
|
||||
gtk_header_bar_set_title(header_bar, "Bullseye");
|
||||
gtk_header_bar_set_show_close_button(header_bar, TRUE);
|
||||
gtk_window_set_titlebar(window, GTK_WIDGET(header_bar));
|
||||
}
|
||||
else {
|
||||
gtk_window_set_title(window, "bullseye");
|
||||
gtk_window_set_title(window, "Bullseye");
|
||||
}
|
||||
|
||||
gtk_window_set_default_size(window, 1280, 720);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue