mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2026-10-01 12:23:22 +08:00
tune code for 64b (MiniGUI-Processes runmode)
This commit is contained in:
@@ -144,6 +144,7 @@ typedef struct ZorderOpInfo
|
||||
HWND main_win;
|
||||
RECT rc;
|
||||
RECT rcA;
|
||||
int location;
|
||||
char caption[MAX_CAPTION_LEN + 1];
|
||||
} ZORDEROPINFO;
|
||||
|
||||
|
||||
@@ -31,8 +31,8 @@ extern "C" {
|
||||
#define GAL_LIL_ENDIAN MGUI_LIL_ENDIAN
|
||||
#define GAL_BIG_ENDIAN MGUI_BIG_ENDIAN
|
||||
|
||||
#define GAL_OutOfMemory() fprintf (stderr, "Out of memory\n")
|
||||
#define GAL_SetError printf
|
||||
#define GAL_OutOfMemory() _ERR_PRINTF("NEWGAL: Out of memory\n")
|
||||
#define GAL_SetError _ERR_PRINTF
|
||||
#define GAL_ClearError()
|
||||
|
||||
/* Transparency definitions: These define alpha as the opacity of a surface */
|
||||
|
||||
@@ -62,9 +62,9 @@ void log_sys(const char *, ...);
|
||||
#endif
|
||||
|
||||
typedef struct listen_fd {
|
||||
int fd;
|
||||
int hwnd;
|
||||
int type;
|
||||
int fd;
|
||||
void* hwnd;
|
||||
void* context;
|
||||
} LISTEN_FD;
|
||||
|
||||
|
||||
@@ -56,15 +56,14 @@ void __mg_remove_client (int cli, int clifd);
|
||||
|
||||
int __mg_handle_request (int clifd, int req_id, int cli);
|
||||
|
||||
int __mg_send2client (MSG* msg, MG_Client* client);
|
||||
int __mg_send2client (const MSG* msg, MG_Client* client);
|
||||
void __mg_set_active_client (MG_Client* client);
|
||||
|
||||
void __mg_start_server_desktop (void);
|
||||
int __mg_post_msg_by_znode (const ZORDERINFO* zi, int znode,
|
||||
int message, WPARAM wParam, LPARAM lParam);
|
||||
int __mg_do_zorder_operation (int cli, const ZORDEROPINFO* info);
|
||||
int __mg_do_zorder_maskrect_operation (int cli,
|
||||
const ZORDERMASKRECTOPINFO* info);
|
||||
intptr_t __mg_do_zorder_operation (int cli, const ZORDEROPINFO* info);
|
||||
intptr_t __mg_do_zorder_maskrect_operation (int cli, const ZORDERMASKRECTOPINFO* info);
|
||||
int __mg_remove_all_znodes_of_client (int cli);
|
||||
|
||||
int __mg_handle_normal_mouse_move (const ZORDERINFO* zi, int x, int y);
|
||||
|
||||
Reference in New Issue
Block a user