#include "lua/lua.h"
#include "lua/lualib.h"
#include "lua/lauxlib.h"
Go to the source code of this file.
|
typedef void(* | cmd_t) (uint8_t, uint8_t, uint8_t, uint8_t) |
|
|
void | draw_logo () |
|
void | draw_cmd_mode (uint8_t, uint8_t, uint8_t, uint8_t) |
|
void | draw_cmd_color (uint8_t, uint8_t, uint8_t, uint8_t) |
|
void | draw_cmd_rect (uint8_t, uint8_t, uint8_t, uint8_t) |
|
void | draw_cmd_line (uint8_t, uint8_t, uint8_t, uint8_t) |
|
void | draw_queue_burn (uint8_t page) |
|
void | draw_queue_page (uint8_t page) |
|
void | draw_queue_push (uint8_t cmd, uint8_t a, uint8_t b, uint8_t c, uint8_t d) |
|
cmd_t | draw_queue_clojure (uint8_t cmd) |
|
uint8_t | geoclip_line (int32_t *, int32_t *, int32_t *, int32_t *) |
| adjusts a line within the screen
|
|
uint8_t | geoclip_rect (int32_t *, int32_t *, int32_t *, int32_t *) |
| adjusts a rectangle within the screen
|
|
void | text_library_install (lua_State *L) |
|
void | draw_library_install (lua_State *L) |
|
void | draw_callback_update (lua_State *L, int) |
|
void | keys_callback_update (lua_State *L, int) |
|
void | loop_callback_update (lua_State *L, int, uint8_t dt) |
|
void | runtime (lua_State *L) |
|
◆ color_t
◆ color_t.c16
◆ color_t.c16.color
Definition at line 15 of file zeebo.h.
Data Fields |
uint16_t |
a: 1 |
|
uint16_t |
b: 5 |
|
uint16_t |
g: 5 |
|
uint16_t |
r: 5 |
|
◆ color_t.c32
◆ color_t.c32.color
Definition at line 23 of file zeebo.h.
Data Fields |
uint8_t |
a |
|
uint8_t |
b |
|
uint8_t |
g |
|
uint8_t |
r |
|
◆ COLOR_ERASE
◆ COLOR_TINT
◆ cmd_t
typedef void(* cmd_t) (uint8_t, uint8_t, uint8_t, uint8_t) |
◆ draw_callback_update()
void draw_callback_update |
( |
lua_State * | L, |
|
|
int | callback ) |
◆ draw_cmd_color()
void draw_cmd_color |
( |
uint8_t | r, |
|
|
uint8_t | g, |
|
|
uint8_t | b, |
|
|
uint8_t | a ) |
◆ draw_cmd_line()
void draw_cmd_line |
( |
uint8_t | x1, |
|
|
uint8_t | y1, |
|
|
uint8_t | x2, |
|
|
uint8_t | y2 ) |
◆ draw_cmd_mode()
void draw_cmd_mode |
( |
uint8_t | drawmode, |
|
|
uint8_t | flushmode, |
|
|
uint8_t | change_mode, |
|
|
uint8_t | change_flush ) |
◆ draw_cmd_rect()
void draw_cmd_rect |
( |
uint8_t | x, |
|
|
uint8_t | y, |
|
|
uint8_t | w, |
|
|
uint8_t | h ) |
◆ draw_library_install()
void draw_library_install |
( |
lua_State * | L | ) |
|
◆ draw_logo()
◆ draw_queue_burn()
void draw_queue_burn |
( |
uint8_t | page | ) |
|
◆ draw_queue_clojure()
cmd_t draw_queue_clojure |
( |
uint8_t | cmd | ) |
|
◆ draw_queue_page()
void draw_queue_page |
( |
uint8_t | page | ) |
|
◆ draw_queue_push()
void draw_queue_push |
( |
uint8_t | cmd, |
|
|
uint8_t | a, |
|
|
uint8_t | b, |
|
|
uint8_t | c, |
|
|
uint8_t | d ) |
◆ geoclip_line()
uint8_t geoclip_line |
( |
int32_t * | x1, |
|
|
int32_t * | y1, |
|
|
int32_t * | x2, |
|
|
int32_t * | y2 ) |
adjusts a line within the screen
- Todo
- use cohen, liang-barsky, clipping de retA, cos, ou another method do clip drop line.
- Parameters
-
[in,out] | x1 | |
[in,out] | y1 | |
[in,out] | x2 | |
[in,out] | y2 | |
- Returns
- fits on the screen
Definition at line 51 of file geoclip.c.
◆ geoclip_rect()
uint8_t geoclip_rect |
( |
int32_t * | posx, |
|
|
int32_t * | posy, |
|
|
int32_t * | width, |
|
|
int32_t * | height ) |
adjusts a rectangle within the screen
- Parameters
-
[in,out] | posx | |
[in,out] | posy | |
[in,out] | width | |
[in,out] | height | |
- Returns
- fits on the screen
Definition at line 11 of file geoclip.c.
◆ keys_callback_update()
void keys_callback_update |
( |
lua_State * | L, |
|
|
int | callback ) |
◆ loop_callback_update()
void loop_callback_update |
( |
lua_State * | L, |
|
|
int | callback, |
|
|
uint8_t | dt ) |
Definition at line 3 of file loop.c.
◆ runtime()
void runtime |
( |
lua_State * | L | ) |
|
◆ text_library_install()
void text_library_install |
( |
lua_State * | L | ) |
|
◆ draw_color
◆ draw_mode