Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ static PGESprite *hearts;

static int score = 0;
static char score_str[8] = "";
static GFont *score_font = NULL;
static GFont score_font = NULL;

static int fruit_count = 0;
static int fruit_level = 3;
Expand Down
4 changes: 3 additions & 1 deletion src/pge/additional/pge_splash.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,9 @@ static void splash_init() {
// Create Window
s_splash_window = window_create();
window_set_background_color(s_splash_window, GColorBlack);
#if defined(PBL_SDK_2)
window_set_fullscreen(s_splash_window, true);
#endif
window_set_click_config_provider(s_splash_window, click_config_provider);
window_set_window_handlers(s_splash_window, (WindowHandlers) {
.load = splash_window_load,
Expand All @@ -174,4 +176,4 @@ void pge_splash_show(PGESplashDoneHandler *handler) {
s_done_handler = handler;
splash_init();
}
}
}
2 changes: 2 additions & 0 deletions src/pge/additional/pge_title.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,9 @@ void pge_title_push(char *title, char *up_action, char *select_action, char *dow
if(!s_window) {
s_window = window_create();
window_set_click_config_provider(s_window, click_config_provider);
#if defined(PBL_SDK_2)
window_set_fullscreen(s_window, true);
#endif
window_set_window_handlers(s_window, (WindowHandlers) {
.load = window_load,
.unload = window_unload,
Expand Down
2 changes: 2 additions & 0 deletions src/pge/pge.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ Window* pge_begin(PGELogicHandler *logic_handler, PGERenderHandler *render_handl

if (!s_game_window) {
s_game_window = window_create();
#if defined(PBL_SDK_2)
window_set_fullscreen(s_game_window, true);
#endif
window_set_background_color(s_game_window, GColorBlack);
window_set_window_handlers(s_game_window, (WindowHandlers) {
.load = game_window_load,
Expand Down