add mapLocalData fields for all kinds of window

This commit is contained in:
Vincent Wei
2020-03-02 11:15:16 +08:00
parent c0869dc898
commit e1c44ebaa9
2 changed files with 7 additions and 0 deletions
+2
View File
@@ -112,6 +112,8 @@ typedef struct _CONTROL
DWORD dwAddData; // the additional data.
DWORD dwAddData2; // the second addtional data.
map_t* mapLocalData; // the map of local data.
/*
* The following members are only implemented for control.
*/
+5
View File
@@ -61,6 +61,7 @@
#include "cliprect.h"
#include "zorder.h"
#include "list.h"
#include "map.h"
#ifdef HAVE_SELECT
# ifdef HAVE_SYS_SELECT_H
@@ -384,6 +385,8 @@ typedef struct _VIRTWIN
DWORD dwAddData; // the additional data.
DWORD dwAddData2; // the second addtional data.
map_t* mapLocalData; // the map of local data.
struct _VIRTWIN* pMainWin; // the main window that contains this window.
// for virtual window, always be itself.
struct _VIRTWIN* pHosting; // the hosting virtual window.
@@ -426,6 +429,8 @@ typedef struct _MAINWIN
DWORD dwAddData; // the additional data.
DWORD dwAddData2; // the second addtional data.
map_t* mapLocalData; // the map of local data.
/*
* The following members are implemented for main window and virtual window.
*/