diff options
author | NatsuDrag9 | 2018-06-27 09:57:32 +0530 |
---|---|---|
committer | GitHub | 2018-06-27 09:57:32 +0530 |
commit | 78fc70bd2d6d296697060bce13221edc909b71a5 (patch) | |
tree | ea1a20104ed2930aeb7e044988bdee35a3a109eb /ldmicro/lib/linuxUI/linuxLD.h | |
parent | 6e9f72cb9a98eae5ef9ba403f905a2a9228f0b2b (diff) | |
parent | bb4567164fdbeaaa47dd5525f9081e81e769725e (diff) | |
download | LDMicroGtk-78fc70bd2d6d296697060bce13221edc909b71a5.tar.gz LDMicroGtk-78fc70bd2d6d296697060bce13221edc909b71a5.tar.bz2 LDMicroGtk-78fc70bd2d6d296697060bce13221edc909b71a5.zip |
Merge pull request #26 from NatsuDrag9/GUI_port
Gui port
Diffstat (limited to 'ldmicro/lib/linuxUI/linuxLD.h')
-rw-r--r-- | ldmicro/lib/linuxUI/linuxLD.h | 53 |
1 files changed, 35 insertions, 18 deletions
diff --git a/ldmicro/lib/linuxUI/linuxLD.h b/ldmicro/lib/linuxUI/linuxLD.h index 80f4471..ce0b812 100644 --- a/ldmicro/lib/linuxUI/linuxLD.h +++ b/ldmicro/lib/linuxUI/linuxLD.h @@ -68,14 +68,16 @@ typedef HANDLE HGDIOBJ; typedef cairo_t *HCRDC; typedef GtkWidget *HWID; -typedef GtkWidget *HMENU; typedef GtkWindow *HWND; -typedef GtkListStore *HLIST; +typedef GtkTreeModel *HLIST; +typedef GtkTreeIter ITLIST; typedef GtkApplication *HAPP; typedef GtkTreeViewColumn *HTVC; typedef GdkPixbuf *HICON; typedef GdkRectangle GDRECT; -typedef GdkRectangle *PGDRECT; +typedef GDRECT *PGDRECT; +typedef HWID HMENU; +typedef ITLIST *HITLIST; /// Check if system is x64 or x86 #if defined(__UNIX64) @@ -122,10 +124,6 @@ typedef class tagColorReferance: public GdkRGBA{ return false; } - GdkRGBA* getThis() - { - return this; - } } COLORREF, *HBRUSH; /// Structures @@ -144,19 +142,38 @@ typedef struct HeapRecordTag{ } HEAPRECORD; typedef struct tagSCROLLINFO { - UINT cbSize; - UINT fMask; - int nMin; - int nMax; - UINT nPage; - int nPos; - int nTrackPos; + UINT cbSize; + UINT fMask; + int nMin; + int nMax; + UINT nPage; + int nPos; + int nTrackPos; } SCROLLINFO, *LPCSCROLLINFO; +typedef struct { + UINT mask; + int iItem; + int iSubItem; +// UINT state; +// UINT stateMask; + LPTSTR pszText; +// int cchTextMax; +// int iImage; +// LPARAM lParam; +// int iIndent; +// int iGroupId; +// UINT cColumns; +// PUINT puColumns; +// int *piColFmt; +// int iGroup; +} LVITEM, *LPLVITEM; + typedef struct tagNMHDR { - HWND hwndFrom; - UINT_PTR idFrom; - UINT code; + HLIST hlistFrom; + HITLIST hlistIter; + UINT code; + LVITEM item; } NMHDR; typedef struct FontTag { @@ -165,7 +182,7 @@ typedef struct FontTag { int nOrientation; int fnWeight; DWORD fdwItalic; - LPCTSTR lpszFace; + LPTSTR lpszFace; } *HFONT, FONT; typedef struct tagLOGBRUSH { |