summaryrefslogtreecommitdiff
path: root/ldmicro/lib/linuxUI/linuxUI.h
diff options
context:
space:
mode:
authorNatsuDrag92018-06-12 13:55:03 +0530
committerGitHub2018-06-12 13:55:03 +0530
commite830165b756ed21f21e1ced3d7aba556c1de616a (patch)
tree14e7544def1dbfe9d8715a720140f449f33edaa9 /ldmicro/lib/linuxUI/linuxUI.h
parent0403bee837f95dbaca77d7cc58d77375d4b6e2e8 (diff)
parenteeb03333b6c805035ef785f8a12845fd7deb2825 (diff)
downloadLDMicroGtk-e830165b756ed21f21e1ced3d7aba556c1de616a.tar.gz
LDMicroGtk-e830165b756ed21f21e1ced3d7aba556c1de616a.tar.bz2
LDMicroGtk-e830165b756ed21f21e1ced3d7aba556c1de616a.zip
Merge pull request #15 from NatsuDrag9/GUI_port
Gui port
Diffstat (limited to 'ldmicro/lib/linuxUI/linuxUI.h')
-rw-r--r--ldmicro/lib/linuxUI/linuxUI.h23
1 files changed, 22 insertions, 1 deletions
diff --git a/ldmicro/lib/linuxUI/linuxUI.h b/ldmicro/lib/linuxUI/linuxUI.h
index ff56863..4ddf164 100644
--- a/ldmicro/lib/linuxUI/linuxUI.h
+++ b/ldmicro/lib/linuxUI/linuxUI.h
@@ -10,6 +10,8 @@
#include <stdlib.h>
#include "linuxLD.h"
+// 4000 ICON "ldmicro.ico"
+
/// version control
#define LDMicro_VERSION_MAJOR 1
#define LDMicro_VERSION_MINOR 0
@@ -36,6 +38,9 @@
#define OFN_HIDEREADONLY 0x00000200L
#define OFN_OVERWRITEPROMPT 0x00000400L
+/// window brushes
+#define BLACK_BRUSH 0x00000401L
+
/// EnableMenuItem variables
extern const UINT MF_ENABLED;
extern const UINT MF_GRAYED;
@@ -48,7 +53,7 @@ extern GClosure* closure;
/// ListStore
-extern GtkWidget* view;
+extern GtkWidget *view;
extern GtkTreeViewColumn *column;
/// data types
@@ -70,5 +75,21 @@ int MessageBox(HWID, char*, char*, UINT);
BOOL GetSaveFileName(OPENFILENAME* );
void EnableMenuItem(HMENU, HMENU, UINT);
void CheckMenuItem(HMENU, HMENU, UINT);
+HBRUSH GetStockObject(int fnObject);
+
+HWID CreateWindowEx(
+ DWORD dwExStyle,
+ LPCTSTR lpClassName,
+ LPCTSTR lpWindowName,
+ DWORD dwStyle,
+ int x,
+ int y,
+ int nWidth,
+ int nHeight,
+ HWND hWndParent,
+ HMENU hMenu,
+ HINSTANCE hInstance,
+ LPVOID lpParam
+);
#endif \ No newline at end of file