50
|
1 ;=============================================================================
|
|
2 ;
|
634
|
3 ; File colorschemes.inc * combined next generation V3.09.5
|
50
|
4 ;
|
|
5 ;=============================================================================
|
|
6
|
634
|
7
|
|
8 ;-----------------------------------------------------------------------------
|
|
9 ; Font Color Selection - fixed Colors
|
|
10
|
|
11 FONT_COLOR_STANDARD macro
|
|
12 setf font_color ; full white
|
|
13 endm
|
|
14
|
|
15 FONT_COLOR macro font_color_input
|
|
16 movlw font_color_input ; 8 bit color
|
|
17 movwf font_color
|
|
18 endm
|
|
19
|
623
|
20
|
634
|
21 ;-----------------------------------------------------------------------------
|
|
22 ; 8 Bit fixed Color Definitions
|
|
23 ;
|
|
24 ; b'RRRGGGBB'
|
|
25 ; -----------
|
|
26 #DEFINE color_red b'11100000' ; (7,0,0)
|
|
27 #DEFINE color_dark_red b'10000101' ; (4,1,1)
|
|
28 #DEFINE color_violet b'11101011' ; (7,2,3)
|
|
29 #DEFINE color_blue b'11000111' ; (6,1,3)
|
|
30 #DEFINE color_green b'00011100' ; (0,7,0)
|
|
31 #DEFINE color_greenish b'00111110' ; (1,7,2)
|
|
32 #DEFINE color_dark_green b'00111001' ; (1,6,1)
|
|
33 #DEFINE color_yellow b'11111101' ; (7,7,1)
|
|
34 #DEFINE color_white b'11111111' ; (7,7,3)
|
|
35 #DEFINE color_black b'00000000' ; (0,0,0)
|
|
36 #DEFINE color_deepblue b'00000010' ; (0,0,2)
|
|
37 #DEFINE color_grey b'11011111' ; (6,7,3)
|
|
38 #DEFINE color_cyan b'11011111' ; (6,7,3)
|
|
39 #DEFINE color_lightblue b'11011011' ; (6,7,3)
|
|
40 #DEFINE color_orange b'11111000' ; (7,6,0)
|
|
41 #DEFINE color_pink b'11111010' ; (7,6,2)
|
|
42
|
|
43
|
|
44 ;-----------------------------------------------------------------------------
|
|
45 ; Font Color Selection - pallet-based Colors
|
50
|
46
|
634
|
47 ; the use of pallet-based colors requires the prior call of
|
|
48 ;
|
|
49 ; - TFT_load_std_color_pallet to load the standard color pallet, or
|
|
50 ; - TFT_load_dive_color_pallet to load the dive color pallet
|
|
51 ;
|
|
52 ; Attention: the following macros must resolve to single commands!
|
|
53
|
|
54
|
|
55 FONT_COLOR_MASK macro ; labels and fixed items
|
|
56 movff pallet_color_mask,font_color
|
|
57 endm
|
|
58
|
|
59 FONT_COLOR_DISABLED macro ; disabled & outdated items
|
|
60 movff pallet_color_disabled,font_color
|
|
61 endm
|
|
62
|
|
63 FONT_COLOR_MEMO macro ; information & values within normal range,
|
|
64 movff pallet_color_memo,font_color ; things without a need to react upon
|
|
65 endm
|
50
|
66
|
634
|
67 FONT_COLOR_ADVICE macro ; advices to do something, but without
|
|
68 movff pallet_color_advice,font_color ; essential need to actually do it
|
|
69 endm
|
|
70
|
|
71 FONT_COLOR_ATTENTION macro ; important things to be aware of and
|
|
72 movff pallet_color_attention,font_color ; that develop towards a warning
|
|
73 endm
|
50
|
74
|
634
|
75 FONT_COLOR_WARNING macro ; important things with immediate
|
|
76 movff pallet_color_warning,font_color ; need to react upon
|
|
77 endm
|
|
78
|
|
79
|
|
80 ;-----------------------------------------------------------------------------
|
|
81 ; 8 Bit Pallet Color Definitions
|
|
82 ;
|
|
83 ; => see 'pallet_table' in tft_outputs.asm
|
|
84 ;
|
|
85
|
|
86 ;-----------------------------------------------------------------------------
|