| 1 |
/* |
| 2 |
* This file is part of the MicroPython project, http://micropython.org/ |
| 3 |
* |
| 4 |
* The MIT License (MIT) |
| 5 |
* |
| 6 |
* Copyright (c) 2015 Damien P. George |
| 7 |
* |
| 8 |
* Permission is hereby granted, free of charge, to any person obtaining a copy |
| 9 |
* of this software and associated documentation files (the "Software"), to deal |
| 10 |
* in the Software without restriction, including without limitation the rights |
| 11 |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 12 |
* copies of the Software, and to permit persons to whom the Software is |
| 13 |
* furnished to do so, subject to the following conditions: |
| 14 |
* |
| 15 |
* The above copyright notice and this permission notice shall be included in |
| 16 |
* all copies or substantial portions of the Software. |
| 17 |
* |
| 18 |
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 19 |
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 20 |
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 21 |
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 22 |
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 23 |
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
| 24 |
* THE SOFTWARE. |
| 25 |
*/ |
| 26 |
|
| 27 |
#ifndef __MICROPY_INCLUDED_MICROBIT_CONSTIMAGE_H__ |
| 28 |
#define __MICROPY_INCLUDED_MICROBIT_CONSTIMAGE_H__ |
| 29 |
|
| 30 |
typedef struct _image_tuple_12 { |
| 31 |
mp_obj_base_t base; |
| 32 |
size_t len; |
| 33 |
mp_rom_obj_t items[12]; |
| 34 |
} image_tuple_12_t; |
| 35 |
|
| 36 |
typedef struct _image_tuple_8 { |
| 37 |
mp_obj_base_t base; |
| 38 |
size_t len; |
| 39 |
mp_rom_obj_t items[8]; |
| 40 |
} image_tuple_8_t; |
| 41 |
|
| 42 |
extern const image_tuple_12_t microbit_const_image_all_clocks_tuple_obj; |
| 43 |
extern const image_tuple_8_t microbit_const_image_all_arrows_tuple_obj; |
| 44 |
extern const mp_obj_type_t microbit_const_image_type; |
| 45 |
extern const struct _monochrome_5by5_t microbit_const_image_heart_obj; |
| 46 |
extern const struct _monochrome_5by5_t microbit_const_image_heart_small_obj; |
| 47 |
extern const struct _monochrome_5by5_t microbit_const_image_happy_obj; |
| 48 |
extern const struct _monochrome_5by5_t microbit_const_image_smile_obj; |
| 49 |
extern const struct _monochrome_5by5_t microbit_const_image_sad_obj; |
| 50 |
extern const struct _monochrome_5by5_t microbit_const_image_confused_obj; |
| 51 |
extern const struct _monochrome_5by5_t microbit_const_image_angry_obj; |
| 52 |
extern const struct _monochrome_5by5_t microbit_const_image_asleep_obj; |
| 53 |
extern const struct _monochrome_5by5_t microbit_const_image_surprised_obj; |
| 54 |
extern const struct _monochrome_5by5_t microbit_const_image_silly_obj; |
| 55 |
extern const struct _monochrome_5by5_t microbit_const_image_fabulous_obj; |
| 56 |
extern const struct _monochrome_5by5_t microbit_const_image_meh_obj; |
| 57 |
extern const struct _monochrome_5by5_t microbit_const_image_yes_obj; |
| 58 |
extern const struct _monochrome_5by5_t microbit_const_image_no_obj; |
| 59 |
extern const struct _monochrome_5by5_t microbit_const_image_clock12_obj; |
| 60 |
extern const struct _monochrome_5by5_t microbit_const_image_clock1_obj; |
| 61 |
extern const struct _monochrome_5by5_t microbit_const_image_clock2_obj; |
| 62 |
extern const struct _monochrome_5by5_t microbit_const_image_clock3_obj; |
| 63 |
extern const struct _monochrome_5by5_t microbit_const_image_clock4_obj; |
| 64 |
extern const struct _monochrome_5by5_t microbit_const_image_clock5_obj; |
| 65 |
extern const struct _monochrome_5by5_t microbit_const_image_clock6_obj; |
| 66 |
extern const struct _monochrome_5by5_t microbit_const_image_clock7_obj; |
| 67 |
extern const struct _monochrome_5by5_t microbit_const_image_clock8_obj; |
| 68 |
extern const struct _monochrome_5by5_t microbit_const_image_clock9_obj; |
| 69 |
extern const struct _monochrome_5by5_t microbit_const_image_clock10_obj; |
| 70 |
extern const struct _monochrome_5by5_t microbit_const_image_clock11_obj; |
| 71 |
extern const struct _monochrome_5by5_t microbit_const_image_arrow_n_obj; |
| 72 |
extern const struct _monochrome_5by5_t microbit_const_image_arrow_ne_obj; |
| 73 |
extern const struct _monochrome_5by5_t microbit_const_image_arrow_e_obj; |
| 74 |
extern const struct _monochrome_5by5_t microbit_const_image_arrow_se_obj; |
| 75 |
extern const struct _monochrome_5by5_t microbit_const_image_arrow_s_obj; |
| 76 |
extern const struct _monochrome_5by5_t microbit_const_image_arrow_sw_obj; |
| 77 |
extern const struct _monochrome_5by5_t microbit_const_image_arrow_w_obj; |
| 78 |
extern const struct _monochrome_5by5_t microbit_const_image_arrow_nw_obj; |
| 79 |
extern const struct _monochrome_5by5_t microbit_const_image_triangle_obj; |
| 80 |
extern const struct _monochrome_5by5_t microbit_const_image_triangle_left_obj; |
| 81 |
extern const struct _monochrome_5by5_t microbit_const_image_chessboard_obj; |
| 82 |
extern const struct _monochrome_5by5_t microbit_const_image_diamond_obj; |
| 83 |
extern const struct _monochrome_5by5_t microbit_const_image_diamond_small_obj; |
| 84 |
extern const struct _monochrome_5by5_t microbit_const_image_square_obj; |
| 85 |
extern const struct _monochrome_5by5_t microbit_const_image_square_small_obj; |
| 86 |
extern const struct _monochrome_5by5_t microbit_const_image_rabbit; |
| 87 |
extern const struct _monochrome_5by5_t microbit_const_image_cow; |
| 88 |
extern const struct _monochrome_5by5_t microbit_const_image_music_crotchet_obj; |
| 89 |
extern const struct _monochrome_5by5_t microbit_const_image_music_quaver_obj; |
| 90 |
extern const struct _monochrome_5by5_t microbit_const_image_music_quavers_obj; |
| 91 |
extern const struct _monochrome_5by5_t microbit_const_image_pitchfork_obj; |
| 92 |
extern const struct _monochrome_5by5_t microbit_const_image_xmas_obj; |
| 93 |
extern const struct _monochrome_5by5_t microbit_const_image_pacman_obj; |
| 94 |
extern const struct _monochrome_5by5_t microbit_const_image_target_obj; |
| 95 |
extern const struct _monochrome_5by5_t microbit_const_image_tshirt_obj; |
| 96 |
extern const struct _monochrome_5by5_t microbit_const_image_rollerskate_obj; |
| 97 |
extern const struct _monochrome_5by5_t microbit_const_image_duck_obj; |
| 98 |
extern const struct _monochrome_5by5_t microbit_const_image_house_obj; |
| 99 |
extern const struct _monochrome_5by5_t microbit_const_image_tortoise_obj; |
| 100 |
extern const struct _monochrome_5by5_t microbit_const_image_butterfly_obj; |
| 101 |
extern const struct _monochrome_5by5_t microbit_const_image_stickfigure_obj; |
| 102 |
extern const struct _monochrome_5by5_t microbit_const_image_ghost_obj; |
| 103 |
extern const struct _monochrome_5by5_t microbit_const_image_sword_obj; |
| 104 |
extern const struct _monochrome_5by5_t microbit_const_image_giraffe_obj; |
| 105 |
extern const struct _monochrome_5by5_t microbit_const_image_skull_obj; |
| 106 |
extern const struct _monochrome_5by5_t microbit_const_image_umbrella_obj; |
| 107 |
extern const struct _monochrome_5by5_t microbit_const_image_snake_obj; |
| 108 |
|
| 109 |
#endif // __MICROPY_INCLUDED_MICROBIT_CONSTIMAGE_H__ |