notaz.gp2x.de
/
libpicofe.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add buffer parameters for menubg_src
[libpicofe.git]
/
menu.c
diff --git
a/menu.c
b/menu.c
index
f32c3ce
..
e7adb5a
100644
(file)
--- a/
menu.c
+++ b/
menu.c
@@
-31,13
+31,21
@@
static char static_buff[64];
\r
static int menu_error_time = 0;
\r
char menu_error_msg[64] = { 0, };
\r
static char static_buff[64];
\r
static int menu_error_time = 0;
\r
char menu_error_msg[64] = { 0, };
\r
+// g_menuscreen is the current output buffer the menu is rendered to.
\r
void *g_menuscreen_ptr;
\r
void *g_menuscreen_ptr;
\r
-void *g_menubg_src_ptr;
\r
+// g_menubg is the menu background and has the same w/h as g_menuscreen, but
\r
+// pp=w. It is filled on menu entry from file or from g_menubg_src if available.
\r
void *g_menubg_ptr;
\r
void *g_menubg_ptr;
\r
+// g_menubg_src points to a buffer containing a bg image. This is usually either
\r
+// the emulator screen buffer or the host frame buffer.
\r
+void *g_menubg_src_ptr;
\r
\r
int g_menuscreen_w;
\r
int g_menuscreen_h;
\r
int g_menuscreen_pp;
\r
\r
int g_menuscreen_w;
\r
int g_menuscreen_h;
\r
int g_menuscreen_pp;
\r
+int g_menubg_src_w;
\r
+int g_menubg_src_h;
\r
+int g_menubg_src_pp;
\r
\r
int g_autostateld_opt;
\r
\r
\r
int g_autostateld_opt;
\r
\r