NXWidgets  1.19
glyph_mplayer_controls43x41.cxx
Go to the documentation of this file.
1 /********************************************************************************************
2  * NxWidgets/nxwm/src/glyph_mediaplayer43x41.cxx
3  *
4  * Copyright (C) 2014 Gregory Nutt. All rights reserved.
5  * Author: Gregory Nutt <gnutt@nuttx.org>
6  *
7  * Redistribution and use in source and binary forms, with or without
8  * modification, are permitted provided that the following conditions
9  * are met:
10  *
11  * 1. Redistributions of source code must retain the above copyright
12  * notice, this list of conditions and the following disclaimer.
13  * 2. Redistributions in binary form must reproduce the above copyright
14  * notice, this list of conditions and the following disclaimer in
15  * the documentation and/or other materials provided with the
16  * distribution.
17  * 3. Neither the name NuttX, NxWidgets, nor the names of its contributors
18  * me be used to endorse or promote products derived from this software
19  * without specific prior written permission.
20  *
21  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
24  * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
25  * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
26  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
27  * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
28  * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
29  * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
31  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32  * POSSIBILITY OF SUCH DAMAGE.
33  *
34  ********************************************************************************************/
35 
36 /********************************************************************************************
37  * Included Files
38  ********************************************************************************************/
39 
40 /* Automatically NuttX bitmap file. */
41 /* Generated from play_music.png by bitmap_converter.py. */
42 
43 #include <nuttx/config.h>
44 
45 #include <sys/types.h>
46 #include <stdint.h>
47 #include <stdbool.h>
48 
49 #include <nuttx/nx/nxglib.h>
50 #include <nuttx/video/fb.h>
51 #include <nuttx/video/rgbcolors.h>
52 
53 #include "crlepalettebitmap.hxx"
54 
55 #include "nxwmconfig.hxx"
56 #include "nxwmglyphs.hxx"
57 
58 /********************************************************************************************
59  * Pre-Processor Definitions
60  ********************************************************************************************/
61 
62 #define FORWARD_BITMAP_NROWS 41
63 #define FORWARD_BITMAP_NCOLUMNS 43
64 
65 #define PLAY_BITMAP_NROWS 41
66 #define PLAY_BITMAP_NCOLUMNS 43
67 
68 #define REWIND_BITMAPNROWS 41
69 #define REWIND_BITMAPNCOLUMNS 43
70 
71 #define PAUSE_BITMAP_NROWS 41
72 #define PAUSE_BITMAP_NCOLUMNS 43
73 
74 #define BITMAP_NLUTCODES 8
75 
76 /********************************************************************************************
77  * Private Data
78  ********************************************************************************************/
79 
80 using namespace NxWM;
81 
82 /* RGB Colors */
83 
85 {
86  CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Code 0 */
87  MKRGB(54,99,171), /* Code 1 */
88  MKRGB(0,33,153), /* Code 2 */
89  MKRGB(12,16,120) /* Code 3 */
90 };
91 
93 {
94  CONFIG_NXWM_DEFAULT_BACKGROUNDCOLOR, /* Code 0 */
95 #if 1 // Red
96  MKRGB(228,132,72), /* Code 1 */
97  MKRGB(204,44,0), /* Code 2 */
98  MKRGB(160,24,16) /* Code 3 */
99 #else // Blue
100  MKRGB(72,132,228), /* Code 1 */
101  MKRGB(0,44,204), /* Code 2 */
102  MKRGB(16,24,160) /* Code 3 */
103 #endif
104 };
105 
106 /* Bitmap definition for the "Forward" button */
107 
109 {
110  { 1, 1}, {21, 0}, { 1, 1}, {20, 0}, /* Row 0 */
111  { 1, 1}, { 1, 2}, {20, 0}, { 1, 1}, { 1, 2}, {19, 0}, /* Row 1 */
112  { 1, 1}, { 2, 2}, {19, 0}, { 1, 1}, { 2, 2}, {18, 0}, /* Row 2 */
113  { 1, 1}, { 3, 2}, {18, 0}, { 1, 1}, { 3, 2}, {17, 0}, /* Row 3 */
114  { 1, 1}, { 4, 2}, {17, 0}, { 1, 1}, { 4, 2}, {16, 0}, /* Row 4 */
115  { 1, 1}, { 5, 2}, {16, 0}, { 1, 1}, { 5, 2}, {15, 0}, /* Row 5 */
116  { 1, 1}, { 6, 2}, {15, 0}, { 1, 1}, { 6, 2}, {14, 0}, /* Row 6 */
117  { 1, 1}, { 7, 2}, {14, 0}, { 1, 1}, { 7, 2}, {13, 0}, /* Row 7 */
118  { 1, 1}, { 8, 2}, {13, 0}, { 1, 1}, { 8, 2}, {12, 0}, /* Row 8 */
119  { 1, 1}, { 9, 2}, {12, 0}, { 1, 1}, { 9, 2}, {11, 0}, /* Row 9 */
120  { 1, 1}, {10, 2}, {11, 0}, { 1, 1}, {10, 2}, {10, 0}, /* Row 10 */
121  { 1, 1}, {11, 2}, {10, 0}, { 1, 1}, {11, 2}, { 9, 0}, /* Row 11 */
122  { 1, 1}, {12, 2}, { 9, 0}, { 1, 1}, {12, 2}, { 8, 0}, /* Row 12 */
123  { 1, 1}, {13, 2}, { 8, 0}, { 1, 1}, {13, 2}, { 7, 0}, /* Row 13 */
124  { 1, 1}, {14, 2}, { 7, 0}, { 1, 1}, {14, 2}, { 6, 0}, /* Row 14 */
125  { 1, 1}, {15, 2}, { 6, 0}, { 1, 1}, {15, 2}, { 5, 0}, /* Row 15 */
126  { 1, 1}, {16, 2}, { 5, 0}, { 1, 1}, {16, 2}, { 4, 0}, /* Row 16 */
127  { 1, 1}, {17, 2}, { 4, 0}, { 1, 1}, {17, 2}, { 3, 0}, /* Row 17 */
128  { 1, 1}, {18, 2}, { 3, 0}, { 1, 1}, {18, 2}, { 2, 0}, /* Row 18 */
129  { 1, 1}, {19, 2}, { 2, 0}, { 1, 1}, {19, 2}, { 1, 0}, /* Row 19 */
130  {21, 1}, { 1, 0}, {21, 1}, /* Row 20 */
131  { 1, 1}, {19, 3}, { 2, 0}, { 1, 1}, {19, 3}, { 1, 0}, /* Row 21 */
132  { 1, 1}, {18, 3}, { 3, 0}, { 1, 1}, {18, 3}, { 2, 0}, /* Row 22 */
133  { 1, 1}, {17, 3}, { 4, 0}, { 1, 1}, {17, 3}, { 3, 0}, /* Row 23 */
134  { 1, 1}, {16, 3}, { 5, 0}, { 1, 1}, {16, 3}, { 4, 0}, /* Row 24 */
135  { 1, 1}, {15, 3}, { 6, 0}, { 1, 1}, {15, 3}, { 5, 0}, /* Row 25 */
136  { 1, 1}, {14, 3}, { 7, 0}, { 1, 1}, {14, 3}, { 6, 0}, /* Row 26 */
137  { 1, 1}, {13, 3}, { 8, 0}, { 1, 1}, {13, 3}, { 7, 0}, /* Row 27 */
138  { 1, 1}, {12, 3}, { 9, 0}, { 1, 1}, {12, 3}, { 8, 0}, /* Row 28 */
139  { 1, 1}, {11, 3}, {10, 0}, { 1, 1}, {11, 3}, { 9, 0}, /* Row 29 */
140  { 1, 1}, {10, 3}, {11, 0}, { 1, 1}, {10, 3}, {10, 0}, /* Row 30 */
141  { 1, 1}, { 9, 3}, {12, 0}, { 1, 1}, { 9, 3}, {11, 0}, /* Row 31 */
142  { 1, 1}, { 8, 3}, {13, 0}, { 1, 1}, { 8, 3}, {12, 0}, /* Row 32 */
143  { 1, 1}, { 7, 3}, {14, 0}, { 1, 1}, { 7, 3}, {13, 0}, /* Row 33 */
144  { 1, 1}, { 6, 3}, {15, 0}, { 1, 1}, { 6, 3}, {14, 0}, /* Row 34 */
145  { 1, 1}, { 5, 3}, {16, 0}, { 1, 1}, { 5, 3}, {15, 0}, /* Row 35 */
146  { 1, 1}, { 4, 3}, {17, 0}, { 1, 1}, { 4, 3}, {16, 0}, /* Row 36 */
147  { 1, 1}, { 3, 3}, {18, 0}, { 1, 1}, { 3, 3}, {17, 0}, /* Row 37 */
148  { 1, 1}, { 2, 3}, {19, 0}, { 1, 1}, { 2, 3}, {18, 0}, /* Row 38 */
149  { 1, 1}, { 1, 3}, {20, 0}, { 1, 1}, { 1, 3}, {19, 0}, /* Row 39 */
150  { 1, 3}, {21, 0}, { 1, 3}, {20, 0} /* Row 40 */
151 };
152 
153 /* Bitmap definition for the "Play" button */
154 
156 {
157  {13, 0}, { 1, 1}, {29, 0}, /* Row 0 */
158  {13, 0}, { 1, 1}, { 1, 2}, {28, 0}, /* Row 1 */
159  {13, 0}, { 1, 1}, { 2, 2}, {27, 0}, /* Row 2 */
160  {13, 0}, { 1, 1}, { 3, 2}, {26, 0}, /* Row 3 */
161  {13, 0}, { 1, 1}, { 4, 2}, {25, 0}, /* Row 4 */
162  {13, 0}, { 1, 1}, { 5, 2}, {24, 0}, /* Row 5 */
163  {13, 0}, { 1, 1}, { 6, 2}, {23, 0}, /* Row 6 */
164  {13, 0}, { 1, 1}, { 7, 2}, {22, 0}, /* Row 7 */
165  {13, 0}, { 1, 1}, { 8, 2}, {21, 0}, /* Row 8 */
166  {13, 0}, { 1, 1}, { 9, 2}, {20, 0}, /* Row 9 */
167  {13, 0}, { 1, 1}, {10, 2}, {19, 0}, /* Row 10 */
168  {13, 0}, { 1, 1}, {11, 2}, {18, 0}, /* Row 11 */
169  {13, 0}, { 1, 1}, {12, 2}, {17, 0}, /* Row 12 */
170  {13, 0}, { 1, 1}, {13, 2}, {16, 0}, /* Row 13 */
171  {13, 0}, { 1, 1}, {14, 2}, {15, 0}, /* Row 14 */
172  {13, 0}, { 1, 1}, {15, 2}, {14, 0}, /* Row 15 */
173  {13, 0}, { 1, 1}, {16, 2}, {13, 0}, /* Row 16 */
174  {13, 0}, { 1, 1}, {17, 2}, {12, 0}, /* Row 17 */
175  {13, 0}, { 1, 1}, {18, 2}, {11, 0}, /* Row 18 */
176  {13, 0}, { 1, 1}, {19, 2}, {10, 0}, /* Row 19 */
177  {13, 0}, {21, 1}, { 9, 0}, /* Row 20 */
178  {13, 0}, { 1, 1}, {19, 3}, {10, 0}, /* Row 21 */
179  {13, 0}, { 1, 1}, {18, 3}, {11, 0}, /* Row 22 */
180  {13, 0}, { 1, 1}, {17, 3}, {12, 0}, /* Row 23 */
181  {13, 0}, { 1, 1}, {16, 3}, {13, 0}, /* Row 24 */
182  {13, 0}, { 1, 1}, {15, 3}, {14, 0}, /* Row 25 */
183  {13, 0}, { 1, 1}, {14, 3}, {15, 0}, /* Row 26 */
184  {13, 0}, { 1, 1}, {13, 3}, {16, 0}, /* Row 27 */
185  {13, 0}, { 1, 1}, {12, 3}, {17, 0}, /* Row 28 */
186  {13, 0}, { 1, 1}, {11, 3}, {18, 0}, /* Row 29 */
187  {13, 0}, { 1, 1}, {10, 3}, {19, 0}, /* Row 30 */
188  {13, 0}, { 1, 1}, { 9, 3}, {20, 0}, /* Row 31 */
189  {13, 0}, { 1, 1}, { 8, 3}, {21, 0}, /* Row 32 */
190  {13, 0}, { 1, 1}, { 7, 3}, {22, 0}, /* Row 33 */
191  {13, 0}, { 1, 1}, { 6, 3}, {23, 0}, /* Row 34 */
192  {13, 0}, { 1, 1}, { 5, 3}, {24, 0}, /* Row 35 */
193  {13, 0}, { 1, 1}, { 4, 3}, {25, 0}, /* Row 36 */
194  {13, 0}, { 1, 1}, { 3, 3}, {26, 0}, /* Row 37 */
195  {13, 0}, { 1, 1}, { 2, 3}, {27, 0}, /* Row 38 */
196  {13, 0}, { 1, 1}, { 1, 3}, {28, 0}, /* Row 39 */
197  {13, 0}, { 1, 2}, {29, 0} /* Row 40 */
198 };
199 
200 /* Bitmap definition for "Rewind" control */
201 
203 {
204  {20, 0}, { 1, 1}, {21, 0}, { 1, 1}, /* Row 0 */
205  {19, 0}, { 1, 1}, { 1, 2}, {20, 0}, { 1, 1}, { 1, 2}, /* Row 1 */
206  {18, 0}, { 1, 1}, { 2, 2}, {19, 0}, { 1, 1}, { 2, 2}, /* Row 2 */
207  {17, 0}, { 1, 1}, { 3, 2}, {18, 0}, { 1, 1}, { 3, 2}, /* Row 3 */
208  {16, 0}, { 1, 1}, { 4, 2}, {17, 0}, { 1, 1}, { 4, 2}, /* Row 4 */
209  {15, 0}, { 1, 1}, { 5, 2}, {16, 0}, { 1, 1}, { 5, 2}, /* Row 5 */
210  {14, 0}, { 1, 1}, { 6, 2}, {15, 0}, { 1, 1}, { 6, 2}, /* Row 6 */
211  {13, 0}, { 1, 1}, { 7, 2}, {14, 0}, { 1, 1}, { 7, 2}, /* Row 7 */
212  {12, 0}, { 1, 1}, { 8, 2}, {13, 0}, { 1, 1}, { 8, 2}, /* Row 8 */
213  {11, 0}, { 1, 1}, { 9, 2}, {12, 0}, { 1, 1}, { 9, 2}, /* Row 9 */
214  {10, 0}, { 1, 1}, {10, 2}, {11, 0}, { 1, 1}, {10, 2}, /* Row 10 */
215  { 9, 0}, { 1, 1}, {11, 2}, {10, 0}, { 1, 1}, {11, 2}, /* Row 11 */
216  { 8, 0}, { 1, 1}, {12, 2}, { 9, 0}, { 1, 1}, {12, 2}, /* Row 12 */
217  { 7, 0}, { 1, 1}, {13, 2}, { 8, 0}, { 1, 1}, {13, 2}, /* Row 13 */
218  { 6, 0}, { 1, 1}, {14, 2}, { 7, 0}, { 1, 1}, {14, 2}, /* Row 14 */
219  { 5, 0}, { 1, 1}, {15, 2}, { 6, 0}, { 1, 1}, {15, 2}, /* Row 15 */
220  { 4, 0}, { 1, 1}, {16, 2}, { 5, 0}, { 1, 1}, {16, 2}, /* Row 16 */
221  { 3, 0}, { 1, 1}, {17, 2}, { 4, 0}, { 1, 1}, {17, 2}, /* Row 17 */
222  { 2, 0}, { 1, 1}, {18, 2}, { 3, 0}, { 1, 1}, {18, 2}, /* Row 18 */
223  { 1, 0}, { 1, 1}, {19, 2}, { 2, 0}, { 1, 1}, {19, 2}, /* Row 19 */
224  {21, 1}, { 1, 0}, {21, 1}, /* Row 20 */
225  { 1, 0}, {20, 3}, { 2, 0}, {20, 3}, /* Row 21 */
226  { 2, 0}, {19, 3}, { 3, 0}, {19, 3}, /* Row 22 */
227  { 3, 0}, {18, 3}, { 4, 0}, {18, 3}, /* Row 23 */
228  { 4, 0}, {17, 3}, { 5, 0}, {17, 3}, /* Row 24 */
229  { 5, 0}, {16, 3}, { 6, 0}, {16, 3}, /* Row 25 */
230  { 6, 0}, {15, 3}, { 7, 0}, {15, 3}, /* Row 26 */
231  { 7, 0}, {14, 3}, { 8, 0}, {14, 3}, /* Row 27 */
232  { 8, 0}, {13, 3}, { 9, 0}, {13, 3}, /* Row 28 */
233  { 9, 0}, {12, 3}, {10, 0}, {12, 3}, /* Row 29 */
234  {10, 0}, {11, 3}, {11, 0}, {11, 3}, /* Row 30 */
235  {11, 0}, {10, 3}, {12, 0}, {10, 3}, /* Row 31 */
236  {12, 0}, { 9, 3}, {13, 0}, { 9, 3}, /* Row 32 */
237  {13, 0}, { 8, 3}, {14, 0}, { 8, 3}, /* Row 33 */
238  {14, 0}, { 7, 3}, {15, 0}, { 7, 3}, /* Row 34 */
239  {15, 0}, { 6, 3}, {16, 0}, { 6, 3}, /* Row 35 */
240  {16, 0}, { 5, 3}, {17, 0}, { 5, 3}, /* Row 36 */
241  {17, 0}, { 4, 3}, {18, 0}, { 4, 3}, /* Row 37 */
242  {18, 0}, { 3, 3}, {19, 0}, { 3, 3}, /* Row 38 */
243  {19, 0}, { 2, 3}, {20, 0}, { 2, 3}, /* Row 39 */
244  {20, 0}, { 1, 3}, {21, 0}, { 1, 3} /* Row 40 */
245 };
246 
247 /* Bitmap definition for the "Pause" button */
248 
250 {
251  {12, 0}, { 6, 1}, { 7, 0}, { 6, 1}, {12, 0}, /* Row 0 */
252  {11, 0}, { 1, 1}, { 3, 2}, { 1, 1}, { 3, 3}, { 5, 0}, { 1, 1}, { 3, 2}, /* Row 1 */
253  { 1, 1}, { 3, 3}, {11, 0},
254  {11, 0}, { 1, 1}, { 3, 2}, { 1, 1}, { 3, 3}, { 5, 0}, { 1, 1}, { 3, 2}, /* Row 2 */
255  { 1, 1}, { 3, 3}, {11, 0},
256  {11, 0}, { 1, 1}, { 3, 2}, { 1, 1}, { 3, 3}, { 5, 0}, { 1, 1}, { 3, 2}, /* Row 3 */
257  { 1, 1}, { 3, 3}, {11, 0},
258  {11, 0}, { 1, 1}, { 3, 2}, { 1, 1}, { 3, 3}, { 5, 0}, { 1, 1}, { 3, 2}, /* Row 4 */
259  { 1, 1}, { 3, 3}, {11, 0},
260  {11, 0}, { 1, 1}, { 3, 2}, { 1, 1}, { 3, 3}, { 5, 0}, { 1, 1}, { 3, 2}, /* Row 5 */
261  { 1, 1}, { 3, 3}, {11, 0},
262  {11, 0}, { 1, 1}, { 3, 2}, { 1, 1}, { 3, 3}, { 5, 0}, { 1, 1}, { 3, 2}, /* Row 6 */
263  { 1, 1}, { 3, 3}, {11, 0},
264  {11, 0}, { 1, 1}, { 3, 2}, { 1, 1}, { 3, 3}, { 5, 0}, { 1, 1}, { 3, 2}, /* Row 7 */
265  { 1, 1}, { 3, 3}, {11, 0},
266  {11, 0}, { 1, 1}, { 3, 2}, { 1, 1}, { 3, 3}, { 5, 0}, { 1, 1}, { 3, 2}, /* Row 8 */
267  { 1, 1}, { 3, 3}, {11, 0},
268  {11, 0}, { 1, 1}, { 3, 2}, { 1, 1}, { 3, 3}, { 5, 0}, { 1, 1}, { 3, 2}, /* Row 9 */
269  { 1, 1}, { 3, 3}, {11, 0},
270  {11, 0}, { 1, 1}, { 3, 2}, { 1, 1}, { 3, 3}, { 5, 0}, { 1, 1}, { 3, 2}, /* Row 10 */
271  { 1, 1}, { 3, 3}, {11, 0},
272  {11, 0}, { 1, 1}, { 3, 2}, { 1, 1}, { 3, 3}, { 5, 0}, { 1, 1}, { 3, 2}, /* Row 11 */
273  { 1, 1}, { 3, 3}, {11, 0},
274  {11, 0}, { 1, 1}, { 3, 2}, { 1, 1}, { 3, 3}, { 5, 0}, { 1, 1}, { 3, 2}, /* Row 12 */
275  { 1, 1}, { 3, 3}, {11, 0},
276  {11, 0}, { 1, 1}, { 3, 2}, { 1, 1}, { 3, 3}, { 5, 0}, { 1, 1}, { 3, 2}, /* Row 13 */
277  { 1, 1}, { 3, 3}, {11, 0},
278  {11, 0}, { 1, 1}, { 3, 2}, { 1, 1}, { 3, 3}, { 5, 0}, { 1, 1}, { 3, 2}, /* Row 14 */
279  { 1, 1}, { 3, 3}, {11, 0},
280  {11, 0}, { 1, 1}, { 3, 2}, { 1, 1}, { 3, 3}, { 5, 0}, { 1, 1}, { 3, 2}, /* Row 15 */
281  { 1, 1}, { 3, 3}, {11, 0},
282  {11, 0}, { 1, 1}, { 3, 2}, { 1, 1}, { 3, 3}, { 5, 0}, { 1, 1}, { 3, 2}, /* Row 16 */
283  { 1, 1}, { 3, 3}, {11, 0},
284  {11, 0}, { 1, 1}, { 3, 2}, { 1, 1}, { 3, 3}, { 5, 0}, { 1, 1}, { 3, 2}, /* Row 17 */
285  { 1, 1}, { 3, 3}, {11, 0},
286  {11, 0}, { 1, 1}, { 3, 2}, { 1, 1}, { 3, 3}, { 5, 0}, { 1, 1}, { 3, 2}, /* Row 18 */
287  { 1, 1}, { 3, 3}, {11, 0},
288  {11, 0}, { 1, 1}, { 3, 2}, { 1, 1}, { 3, 3}, { 5, 0}, { 1, 1}, { 3, 2}, /* Row 19 */
289  { 1, 1}, { 3, 3}, {11, 0},
290  {11, 0}, { 1, 1}, { 3, 2}, { 1, 1}, { 3, 3}, { 5, 0}, { 1, 1}, { 3, 2}, /* Row 20 */
291  { 1, 1}, { 3, 3}, {11, 0},
292  {11, 0}, { 1, 1}, { 3, 2}, { 1, 1}, { 3, 3}, { 5, 0}, { 1, 1}, { 3, 2}, /* Row 21 */
293  { 1, 1}, { 3, 3}, {11, 0},
294  {11, 0}, { 1, 1}, { 3, 2}, { 1, 1}, { 3, 3}, { 5, 0}, { 1, 1}, { 3, 2}, /* Row 22 */
295  { 1, 1}, { 3, 3}, {11, 0},
296  {11, 0}, { 1, 1}, { 3, 2}, { 1, 1}, { 3, 3}, { 5, 0}, { 1, 1}, { 3, 2}, /* Row 23 */
297  { 1, 1}, { 3, 3}, {11, 0},
298  {11, 0}, { 1, 1}, { 3, 2}, { 1, 1}, { 3, 3}, { 5, 0}, { 1, 1}, { 3, 2}, /* Row 24 */
299  { 1, 1}, { 3, 3}, {11, 0},
300  {11, 0}, { 1, 1}, { 3, 2}, { 1, 1}, { 3, 3}, { 5, 0}, { 1, 1}, { 3, 2}, /* Row 25 */
301  { 1, 1}, { 3, 3}, {11, 0},
302  {11, 0}, { 1, 1}, { 3, 2}, { 1, 1}, { 3, 3}, { 5, 0}, { 1, 1}, { 3, 2}, /* Row 26 */
303  { 1, 1}, { 3, 3}, {11, 0},
304  {11, 0}, { 1, 1}, { 3, 2}, { 1, 1}, { 3, 3}, { 5, 0}, { 1, 1}, { 3, 2}, /* Row 27 */
305  { 1, 1}, { 3, 3}, {11, 0},
306  {11, 0}, { 1, 1}, { 3, 2}, { 1, 1}, { 3, 3}, { 5, 0}, { 1, 1}, { 3, 2}, /* Row 28 */
307  { 1, 1}, { 3, 3}, {11, 0},
308  {11, 0}, { 1, 1}, { 3, 2}, { 1, 1}, { 3, 3}, { 5, 0}, { 1, 1}, { 3, 2}, /* Row 29 */
309  { 1, 1}, { 3, 3}, {11, 0},
310  {11, 0}, { 1, 1}, { 3, 2}, { 1, 1}, { 3, 3}, { 5, 0}, { 1, 1}, { 3, 2}, /* Row 30 */
311  { 1, 1}, { 3, 3}, {11, 0},
312  {11, 0}, { 1, 1}, { 3, 2}, { 1, 1}, { 3, 3}, { 5, 0}, { 1, 1}, { 3, 2}, /* Row 31 */
313  { 1, 1}, { 3, 3}, {11, 0},
314  {11, 0}, { 1, 1}, { 3, 2}, { 1, 1}, { 3, 3}, { 5, 0}, { 1, 1}, { 3, 2}, /* Row 32 */
315  { 1, 1}, { 3, 3}, {11, 0},
316  {11, 0}, { 1, 1}, { 3, 2}, { 1, 1}, { 3, 3}, { 5, 0}, { 1, 1}, { 3, 2}, /* Row 33 */
317  { 1, 1}, { 3, 3}, {11, 0},
318  {11, 0}, { 1, 1}, { 3, 2}, { 1, 1}, { 3, 3}, { 5, 0}, { 1, 1}, { 3, 2}, /* Row 34 */
319  { 1, 1}, { 3, 3}, {11, 0},
320  {11, 0}, { 1, 1}, { 3, 2}, { 1, 1}, { 3, 3}, { 5, 0}, { 1, 1}, { 3, 2}, /* Row 35 */
321  { 1, 1}, { 3, 3}, {11, 0},
322  {11, 0}, { 1, 1}, { 3, 2}, { 1, 1}, { 3, 3}, { 5, 0}, { 1, 1}, { 3, 2}, /* Row 36 */
323  { 1, 1}, { 3, 3}, {11, 0},
324  {11, 0}, { 1, 1}, { 3, 2}, { 1, 1}, { 3, 3}, { 5, 0}, { 1, 1}, { 3, 2}, /* Row 37 */
325  { 1, 1}, { 3, 3}, {11, 0},
326  {11, 0}, { 1, 1}, { 3, 2}, { 1, 1}, { 3, 3}, { 5, 0}, { 1, 1}, { 3, 2}, /* Row 38 */
327  { 1, 1}, { 3, 3}, {11, 0},
328  {11, 0}, { 1, 1}, { 3, 2}, { 1, 1}, { 3, 3}, { 5, 0}, { 1, 1}, { 3, 2}, /* Row 39 */
329  { 1, 1}, { 3, 3}, {11, 0},
330  {12, 0}, { 6, 3}, { 7, 0}, { 6, 3}, {12, 0} /* Row 40 */
331 };
332 
333 /********************************************************************************************
334  * Public Data
335  ********************************************************************************************/
336 
338 {
339  CONFIG_NXWIDGETS_BPP, // bpp - Bits per pixel
340  CONFIG_NXWIDGETS_FMT, // fmt - Color format
341  BITMAP_NLUTCODES, // nlut - Number of colors in the lLook-Up Table (LUT)
342  FORWARD_BITMAP_NCOLUMNS, // width - Width in pixels
343  FORWARD_BITMAP_NROWS, // height - Height in rows
344  { // lut - Pointer to the beginning of the Look-Up Table (LUT)
345  g_normalLut, // Index 0: Unselected LUT
346  g_brightLut, // Index 1: Selected LUT
347  },
348  g_forwardRleEntries // data - Pointer to the beginning of the RLE data
349 };
350 
352 {
353  CONFIG_NXWIDGETS_BPP, // bpp - Bits per pixel
354  CONFIG_NXWIDGETS_FMT, // fmt - Color format
355  BITMAP_NLUTCODES, // nlut - Number of colors in the lLook-Up Table (LUT)
356  PLAY_BITMAP_NCOLUMNS, // width - Width in pixels
357  PLAY_BITMAP_NROWS, // height - Height in rows
358  { // lut - Pointer to the beginning of the Look-Up Table (LUT)
359  g_normalLut, // Index 0: Unselected LUT
360  g_brightLut, // Index 1: Selected LUT
361  },
362  g_playRleEntries // data - Pointer to the beginning of the RLE data
363 };
364 
366 {
367  CONFIG_NXWIDGETS_BPP, // bpp - Bits per pixel
368  CONFIG_NXWIDGETS_FMT, // fmt - Color format
369  BITMAP_NLUTCODES, // nlut - Number of colors in the lLook-Up Table (LUT)
370  REWIND_BITMAPNCOLUMNS, // width - Width in pixels
371  REWIND_BITMAPNROWS, // height - Height in rows
372  { // lut - Pointer to the beginning of the Look-Up Table (LUT)
373  g_normalLut, // Index 0: Unselected LUT
374  g_brightLut, // Index 1: Selected LUT
375  },
376  g_rewindRleEntries // data - Pointer to the beginning of the RLE data
377 };
378 
380 {
381  CONFIG_NXWIDGETS_BPP, // bpp - Bits per pixel
382  CONFIG_NXWIDGETS_FMT, // fmt - Color format
383  BITMAP_NLUTCODES, // nlut - Number of colors in the lLook-Up Table (LUT)
384  PAUSE_BITMAP_NCOLUMNS, // width - Width in pixels
385  PAUSE_BITMAP_NROWS, // height - Height in rows
386  { // lut - Pointer to the beginning of the Look-Up Table (LUT)
387  g_normalLut, // Index 0: Unselected LUT
388  g_brightLut, // Index 1: Selected LUT
389  },
390  g_pauseRleEntries // data - Pointer to the beginning of the RLE data
391 };
static const NXWidgets::nxwidget_pixel_t g_brightLut[BITMAP_NLUTCODES]
static const struct NXWidgets::SRlePaletteBitmapEntry g_pauseRleEntries[]
static const struct NXWidgets::SRlePaletteBitmapEntry g_forwardRleEntries[]
static const NXWidgets::nxwidget_pixel_t g_normalLut[BITMAP_NLUTCODES]
uint8_t nxwidget_pixel_t
Definition: nxconfig.hxx:442
const struct NXWidgets::SRlePaletteBitmap g_mplayerFwdBitmap
Definition: nxwmglyphs.hxx:65
const struct NXWidgets::SRlePaletteBitmap g_mplayerPlayBitmap
Definition: nxwmglyphs.hxx:66
static const struct NXWidgets::SRlePaletteBitmapEntry g_playRleEntries[]
static const struct NXWidgets::SRlePaletteBitmapEntry g_rewindRleEntries[]
const struct NXWidgets::SRlePaletteBitmap g_mplayerPauseBitmap
Definition: nxwmglyphs.hxx:67
const struct NXWidgets::SRlePaletteBitmap g_mplayerRewBitmap
Definition: nxwmglyphs.hxx:68