Menu background gray. Sprite background priority set. Hid the return for menu text in white on white background.
This commit is contained in:
parent
6ae8587fed
commit
2b7492b3d4
3 changed files with 10 additions and 11 deletions
|
|
@ -820,9 +820,7 @@ FUNC card_display_init
|
|||
sprite_color2 = color_black
|
||||
|
||||
// Initially hide all card display sprites (1-5)
|
||||
temp = sprite_enable
|
||||
temp = temp & %11000001 // Keep sprite 0 (pointer), clear 1-5
|
||||
sprite_enable = temp
|
||||
sprite_enable = sprite_enable & %11000001 // Keep sprite 0 (pointer), clear 1-5
|
||||
FEND
|
||||
|
||||
|
||||
|
|
@ -917,12 +915,8 @@ FEND
|
|||
// Hide all card display sprites (when no card selected)
|
||||
// ============================================================================
|
||||
FUNC card_display_hide
|
||||
BYTE temp
|
||||
|
||||
// Disable sprites 1-5, keep sprite 0 (pointer) and sprite 6 (menu hint)
|
||||
temp = sprite_enable
|
||||
temp = temp & %11000001
|
||||
sprite_enable = temp
|
||||
sprite_enable = sprite_enable & %11000001
|
||||
FEND
|
||||
|
||||
|
||||
|
|
@ -958,8 +952,11 @@ FUNC menu_hint_show
|
|||
sprite_x_msb = sprite_x_msb | %01000000
|
||||
ENDIF
|
||||
|
||||
// Set color to blue (6)
|
||||
sprite_color6 = color_light_grey
|
||||
// Set color to black for contrast against white background
|
||||
//sprite_color6 = color_black
|
||||
//sprite_color6 = color_grey
|
||||
//sprite_color6 = color_light_grey
|
||||
sprite_color6 = color_white // White is invisible on white background.
|
||||
|
||||
// Enable sprite 6
|
||||
sprite_enable = sprite_enable | %01000000
|
||||
|
|
|
|||
|
|
@ -179,7 +179,7 @@ FUNC menu_render
|
|||
menu_print_string(23*40+$0400+1, @str_license)
|
||||
|
||||
// Set border color to menu color (purple)
|
||||
POKE $d020 , 4
|
||||
POKE $d020 , color_grey
|
||||
FEND
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -102,6 +102,8 @@ FUNC pointer_init({BYTE x_pos} {BYTE y_pos} {BYTE color} {BYTE sprite_data})
|
|||
// Set sprite data pointer
|
||||
sprite_pointer0 = sprite_data
|
||||
|
||||
POKE $D01B , 0
|
||||
|
||||
// Enable sprite 0
|
||||
sprite_enable = 1
|
||||
FEND
|
||||
|
|
|
|||
Loading…
Reference in a new issue