|
muteki
|
A thread-safe variant of the LCD descriptor used on some versions of Besta RTOS. More...
#include <common.h>
Data Fields | |
| lcd_surface_t * | surface |
| Surface linked to the LCD. | |
| void * | pixel_end |
| End address of the pixel/framebuffer. | |
| size_t | pixel_size |
| Total size of the pixel/framebuffer in bytes. | |
| int | bg_color |
| Current background color. | |
| int | transparent_color |
| Current transparent color. | |
| lcd_draw_t | draw |
| Per-LCD states shared by drawing routines. | |
| lcd_font_t | font |
| Per-LCD states shared by specifically font rendering routines. | |
| lcd_cursor_t | saved_cursor |
| A copy of the cursor states when the LCD descriptor was created. | |
| ui_rect_t | drawing_area |
| Usable drawing area of the LCD. | |
| int | unk_0x74 [3] |
| Unknown. | |
| lcd_cursor_t * | cursor |
| Cursor states. | |
| short | width |
| Width of the LCD in pixels. | |
| short | height |
| Height of the LCD in pixels. | |
| int | rotation |
| Current canvas rotation. | |
| short | depth_bytes |
| Integer size of each pixel in bytes. | |
| short | xsize |
| Pixel row size in bytes. | |
| lcd_rotate_callback_t | rotate |
| Rotation callback. | |
| int | unk_0x94 |
| Unknown. | |
| critical_section_t * | cs |
| A critical section descriptor. It's unclear where it is used. | |
| void(* | lock )(void) |
| Shortcut to lock the descriptor. | |
| void(* | unlock )(void) |
| Shortcut to unlock the descriptor. | |
| int | unk_0xa4 [23] |
| Unknown. | |
A thread-safe variant of the LCD descriptor used on some versions of Besta RTOS.
Define MUTEKI_HAS_THREAD_SAFE_LCD as 1 to make this the underlying type of lcd_t.
| short lcd_thread_safe_s::depth_bytes |
Integer size of each pixel in bytes.
| lcd_rotate_callback_t lcd_thread_safe_s::rotate |
Rotation callback.
| int lcd_thread_safe_s::rotation |
Current canvas rotation.
The value is 90deg * rotation counter-clockwise.
| short lcd_thread_safe_s::xsize |
Pixel row size in bytes.