summaryrefslogtreecommitdiff
path: root/src/corelib/gdi
diff options
context:
space:
mode:
authorgraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2007-08-18 22:45:51 +0000
committergraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2007-08-18 22:45:51 +0000
commitb1881506db03ae8c30647ad6812d26348b6e3f3a (patch)
tree70c875632be90309e3359b5ab8de8ed8a702f511 /src/corelib/gdi
parente7a953faecc77e8c6c45509518a8b74692aceeed (diff)
downloadfpGUI-b1881506db03ae8c30647ad6812d26348b6e3f3a.tar.xz
* Moved and renamed gui_popupwindows.pas unit from GUI to CoreLib.
* X11: Completed popup window support. * GUI: Amended TfpgComboBox to rather use a popup window for the dropdown portion of the control. * The previous change fixed the issue in the FileDialog where you couldn't select a combo box item with the mouse.
Diffstat (limited to 'src/corelib/gdi')
-rw-r--r--src/corelib/gdi/gfx_gdi.pas5
-rw-r--r--src/corelib/gdi/gfx_impl.pas16
2 files changed, 19 insertions, 2 deletions
diff --git a/src/corelib/gdi/gfx_gdi.pas b/src/corelib/gdi/gfx_gdi.pas
index 83b25bbf..ed1f9e15 100644
--- a/src/corelib/gdi/gfx_gdi.pas
+++ b/src/corelib/gdi/gfx_gdi.pas
@@ -10,7 +10,8 @@ uses
Windows,
Classes,
SysUtils,
- gfxbase;
+ gfxbase,
+ gfx_impl;
{ Constants missing on windows unit }
const
@@ -24,7 +25,7 @@ var
type
- TfpgWinHandle = HWND;
+// TfpgWinHandle = HWND;
TfpgGContext = HDC;
type
diff --git a/src/corelib/gdi/gfx_impl.pas b/src/corelib/gdi/gfx_impl.pas
new file mode 100644
index 00000000..2f8eddf2
--- /dev/null
+++ b/src/corelib/gdi/gfx_impl.pas
@@ -0,0 +1,16 @@
+unit gfx_impl;
+
+{$mode objfpc}{$H+}
+
+interface
+
+uses
+ Windows;
+
+type
+ TfpgWinHandle = HWND;
+
+implementation
+
+end.
+