diff options
author | akshay-c | 2019-05-06 15:38:45 +0530 |
---|---|---|
committer | akshay-c | 2019-05-06 15:38:45 +0530 |
commit | 46fbe3ae31bb5687f31b17acac4c449699876f2f (patch) | |
tree | 11165c20484c635632312c8d89b34b2c4ba8d0ed /ldmicro/lib/linuxUI | |
parent | 183053f2d67a92694cd25a4294af98055e4369e7 (diff) | |
download | LDmicroQt-46fbe3ae31bb5687f31b17acac4c449699876f2f.tar.gz LDmicroQt-46fbe3ae31bb5687f31b17acac4c449699876f2f.tar.bz2 LDmicroQt-46fbe3ae31bb5687f31b17acac4c449699876f2f.zip |
Remove Gtk code entirely, ported freeze library
Diffstat (limited to 'ldmicro/lib/linuxUI')
-rw-r--r-- | ldmicro/lib/linuxUI/linuxLD.h | 18 | ||||
-rw-r--r-- | ldmicro/lib/linuxUI/linuxUI.cpp | 1 | ||||
-rw-r--r-- | ldmicro/lib/linuxUI/linuxUI.h | 7 |
3 files changed, 3 insertions, 23 deletions
diff --git a/ldmicro/lib/linuxUI/linuxLD.h b/ldmicro/lib/linuxUI/linuxLD.h index 231e499..46eb523 100644 --- a/ldmicro/lib/linuxUI/linuxLD.h +++ b/ldmicro/lib/linuxUI/linuxLD.h @@ -78,18 +78,13 @@ typedef PVOID HANDLE; typedef HANDLE HINSTANCE; typedef HANDLE HGDIOBJ; -typedef GtkApplication* HAPP; -typedef GtkTreeViewColumn* HTVC; -typedef GdkRectangle* GDRECT; typedef QTreeWidget* HLIST; typedef QList<QTreeWidgetItem *> ITLIST; -typedef GDRECT* PGDRECT; typedef QMenu* HMENU; typedef ITLIST HITLIST; typedef QPainter* HCRDC; typedef QWidget* HWID; typedef QWidget* HWND; -typedef GdkPixbuf* HICON; typedef QScrollArea* WM_SCROLL; @@ -238,19 +233,6 @@ BOOL HeapFree( DWORD dwFlags, LPVOID lpMem); -HICON LoadImage( - HINSTANCE hinst, - LPCTSTR lpszName, - UINT uType, - int cxDesired, - int cyDesired, - UINT fuLoad -); - -void RECT_to_GDRECT( - const RECT *rc, - GDRECT *gdrc); - /// functions to be ported void OutputDebugString(char*); double GetTickCount(void); diff --git a/ldmicro/lib/linuxUI/linuxUI.cpp b/ldmicro/lib/linuxUI/linuxUI.cpp index eca0b50..e9ae716 100644 --- a/ldmicro/lib/linuxUI/linuxUI.cpp +++ b/ldmicro/lib/linuxUI/linuxUI.cpp @@ -25,7 +25,6 @@ const UINT MF_UNCHECKED = 3; /// ListStore HWID view; -HTVC column; /// Wraper function for gtk_window_has_toplevel_focus BOOL GetFocus(HWID window) diff --git a/ldmicro/lib/linuxUI/linuxUI.h b/ldmicro/lib/linuxUI/linuxUI.h index 629ede6..f35b9be 100644 --- a/ldmicro/lib/linuxUI/linuxUI.h +++ b/ldmicro/lib/linuxUI/linuxUI.h @@ -2,7 +2,6 @@ #define __LINUX_UI__ /// includes -#include <gtk/gtk.h> #include <QApplication> #include <QWidget> #include <QMenu> @@ -40,6 +39,9 @@ // 4000 ICON "ldmicro.ico" +#define TRUE true +#define FALSE false + /// version control #define LDMicro_VERSION_MAJOR 1 #define LDMicro_VERSION_MINOR 0 @@ -148,13 +150,10 @@ extern const UINT MF_CHECKED; extern const UINT MF_UNCHECKED; /// Accelerators (keyboard shortcuts) -extern GtkAccelGroup* AccelGroup; -extern GClosure* closure; extern QGroupBox* CursorObject; /// ListStore extern HWID view; -extern HTVC column; // Timer IDs associated with the main window. extern int CursorTimer; |