mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2026-09-26 03:23:46 +08:00
tune constant macros
This commit is contained in:
+1
-2
@@ -133,8 +133,7 @@
|
||||
#include "linux-libinput.h"
|
||||
#endif
|
||||
|
||||
#define LEN_ENGINE_NAME 16
|
||||
#define LEN_MTYPE_NAME 16
|
||||
#define LEN_MTYPE_NAME 23
|
||||
|
||||
static INPUT inputs [] =
|
||||
{
|
||||
|
||||
@@ -57,6 +57,14 @@
|
||||
|
||||
#include "gdi.h"
|
||||
|
||||
#define LEN_SO_NAME 127 // name length of a shared object (library)
|
||||
#define LEN_DEVICE_NAME 127
|
||||
#define LEN_EXDRIVER_NAME LEN_SO_NAME
|
||||
#define LEN_ENGINE_NAME 23
|
||||
#define LEN_VIDEO_MODE 31
|
||||
#define LEN_MTYPE_NAME 23
|
||||
#define LEN_FOURCC_FORMAT 7
|
||||
|
||||
#define DISABLE_THREADS
|
||||
#define GAL_mutex int
|
||||
|
||||
|
||||
+1
-2
@@ -64,8 +64,7 @@
|
||||
|
||||
GAL_Surface* __gal_screen;
|
||||
|
||||
#define LEN_ENGINE_NAME 10
|
||||
#define LEN_MODE 20
|
||||
#define LEN_MODE LEN_VIDEO_MODE
|
||||
|
||||
BOOL GAL_ParseVideoMode (const char* mode, int* w, int* h, int* depth)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user