|
Atrinik Client 2.5
|
#include <global.h>Go to the source code of this file.
Functions | |
| void | book_name_change (const char *name, size_t len) |
| void | book_load (const char *data, int len) |
| void | book_show () |
| void | book_handle_key (SDLKey key) |
| void | book_handle_event (SDL_Event *event) |
| void | book_redraw () |
Variables | |
| static char * | book_content = NULL |
| static char | book_name [HUGE_BUF] |
| static int | book_lines = 0 |
| static int | book_scroll_lines = 0 |
| static int | book_scroll = 0 |
| static SDL_Surface * | surface = NULL |
| static uint8 | redraw = 1 |
| static int | redraw_scroll = 0 |
Book GUI related code.
Definition in file book.c.
| void book_handle_event | ( | SDL_Event * | event | ) |
| void book_handle_key | ( | SDLKey | key | ) |
| void book_load | ( | const char * | data, |
| int | len | ||
| ) |
| void book_name_change | ( | const char * | name, |
| size_t | len | ||
| ) |
char* book_content = NULL [static] |
int book_lines = 0 [static] |
int book_scroll = 0 [static] |
int book_scroll_lines = 0 [static] |
int redraw_scroll = 0 [static] |
Cache of book_scroll, used to check whether it's time to redraw due to scroll change.
1.7.4