Buttons to change the onscreen keyboard layout now are purple.
This commit is contained in:
parent
afbc59eba8
commit
ca6d9ce760
4 changed files with 18 additions and 8 deletions
|
|
@ -1298,7 +1298,7 @@ static int have_to_rec_label_node_back;
|
|||
static SDL_Surface *img_title, *img_title_credits, *img_title_tuxpaint;
|
||||
static SDL_Surface *img_btn_up, *img_btn_down, *img_btn_off;
|
||||
static SDL_Surface *img_btnsm_up, *img_btnsm_off, *img_btnsm_down;
|
||||
static SDL_Surface *img_btn_nav;
|
||||
static SDL_Surface *img_btn_nav, *img_btnsm_nav;
|
||||
static SDL_Surface *img_prev, *img_next;
|
||||
static SDL_Surface *img_mirror, *img_flip;
|
||||
static SDL_Surface *img_dead40x40;
|
||||
|
|
@ -3395,9 +3395,9 @@ static void mainloop(void)
|
|||
if (kbd == NULL)
|
||||
{
|
||||
if (onscreen_keyboard_layout)
|
||||
kbd = osk_create(onscreen_keyboard_layout, screen, img_btnsm_up, img_btnsm_down, img_btnsm_off, onscreen_keyboard_disable_change);
|
||||
kbd = osk_create(onscreen_keyboard_layout, screen, img_btnsm_up, img_btnsm_down, img_btnsm_off, img_btnsm_nav, onscreen_keyboard_disable_change);
|
||||
else
|
||||
kbd = osk_create("default", screen, img_btnsm_up, img_btnsm_down, img_btnsm_off, onscreen_keyboard_disable_change);
|
||||
kbd = osk_create("default", screen, img_btnsm_up, img_btnsm_down, img_btnsm_off, img_btnsm_nav, onscreen_keyboard_disable_change);
|
||||
}
|
||||
if (kbd == NULL)
|
||||
printf("kbd = NULL\n");
|
||||
|
|
@ -22752,6 +22752,7 @@ static void setup(void)
|
|||
img_btnsm_down = loadimage(DATA_PREFIX "images/ui/btnsm_down.png");
|
||||
|
||||
img_btn_nav = loadimage(DATA_PREFIX "images/ui/btn_nav.png");
|
||||
img_btnsm_nav = loadimage(DATA_PREFIX "images/ui/btnsm_nav.png");
|
||||
|
||||
img_sfx = loadimage(DATA_PREFIX "images/tools/sfx.png");
|
||||
img_speak = loadimage(DATA_PREFIX "images/tools/speak.png");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue