tune code for 64b (MiniGUI-Processes runmode)

This commit is contained in:
VincentWei
2018-01-19 15:35:26 +08:00
parent 01bc3d7c42
commit 766ddb5555
19 changed files with 347 additions and 553 deletions
+1
View File
@@ -144,6 +144,7 @@ typedef struct ZorderOpInfo
HWND main_win;
RECT rc;
RECT rcA;
int location;
char caption[MAX_CAPTION_LEN + 1];
} ZORDEROPINFO;
+2 -2
View File
@@ -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 */
+2 -2
View File
@@ -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;
+3 -4
View File
@@ -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);