summaryrefslogtreecommitdiff
path: root/ldmicro/lib/linuxUI/linuxUI.cpp
diff options
context:
space:
mode:
authorakshay-c2019-05-06 10:36:48 +0530
committerakshay-c2019-05-06 10:36:48 +0530
commit183053f2d67a92694cd25a4294af98055e4369e7 (patch)
tree6cf548c8f38bd17b59c1e7ee10a613978172d3d9 /ldmicro/lib/linuxUI/linuxUI.cpp
parent52b93dc4228459bd7e1204f80d983a3b29b32f1d (diff)
downloadLDmicroQt-183053f2d67a92694cd25a4294af98055e4369e7.tar.gz
LDmicroQt-183053f2d67a92694cd25a4294af98055e4369e7.tar.bz2
LDmicroQt-183053f2d67a92694cd25a4294af98055e4369e7.zip
Fixed doubleclickevent on DrawWindow and removed namespaces
Diffstat (limited to 'ldmicro/lib/linuxUI/linuxUI.cpp')
-rw-r--r--ldmicro/lib/linuxUI/linuxUI.cpp66
1 files changed, 0 insertions, 66 deletions
diff --git a/ldmicro/lib/linuxUI/linuxUI.cpp b/ldmicro/lib/linuxUI/linuxUI.cpp
index dc2dc8b..eca0b50 100644
--- a/ldmicro/lib/linuxUI/linuxUI.cpp
+++ b/ldmicro/lib/linuxUI/linuxUI.cpp
@@ -23,10 +23,6 @@ const UINT MF_GRAYED = 1;
const UINT MF_CHECKED = 2;
const UINT MF_UNCHECKED = 3;
-/// Accelerators (keyboard shortcuts)
-GtkAccelGroup* AccelGroup;
-GClosure* closure;
-
/// ListStore
HWID view;
HTVC column;
@@ -395,59 +391,6 @@ int FillRect(HCRDC hDC, const QRect *lprc, HBRUSH hbr)
return 0;
}
-BOOL PatBlt(HWID hdc, int nXLeft, int nYLeft, int nWidth, int nHeight, DWORD dwRop, HBRUSH hbr)
-{
- if (hdc == NULL)
- return FALSE;
-
- //cairo_set_source_rgb(hdc, hbr->red, hbr->green, hbr->blue);
- //cairo_rectangle(hdc, nXLeft, nYLeft + 20, nWidth, nHeight);
- //cairo_stroke_preserve(hdc);
-
- //cairo_fill(hdc);
-
- return TRUE;
-}
-
-BOOL GetClientRect(HWID hWid, PRECT pRect)
-{
- /* GtkAllocation allocation;
- gtk_widget_get_allocation (hWid, &allocation);
-
- pRect->top = allocation.x;
- pRect->left = allocation.y;
- pRect->right = allocation.width;
- pRect->bottom = allocation.height;
-*/
- return TRUE;
-}
-
-BOOL MoveWindow(HWID hWid, int X, int Y, int nWidth, int nHeight, BOOL bRepaint)
-{
- /* gtk_window_move(GTK_WINDOW(hWid), X, Y);
- gtk_window_resize(GTK_WINDOW(hWid), nWidth, nHeight);
-
- if (bRepaint)
- gdk_window_invalidate_rect (gtk_widget_get_window (hWid), NULL, FALSE);
- */
- return TRUE;
-}
-
-
-BOOL GetWindowRect(HWID hWid, PRECT pRect)
-{
- /*GtkAllocation allocation;
- gtk_widget_get_allocation (hWid, &allocation);
-
- pRect->top = allocation.x;
- pRect->left = allocation.y;
- pRect->right = allocation.width;
- pRect->bottom = allocation.height;
-*/
- return TRUE;
-}
-
-
UINT SetTimer(HWID hWid, UINT nIDEvent, UINT uElapse, UINT TimerID)
{
if(TimerID != NULL)
@@ -518,12 +461,3 @@ BOOL KillTimer(HWID hWid, UINT uIDEvent)
return TRUE;
}
-/*void DestroyWindow (HWID widget)
-{
- if (GTK_IS_WIDGET(widget))
- {
- gtk_widget_destroy (widget);
- }
-}*/
-
-