summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graemeg@gmail.com>2015-04-04 18:01:46 +0100
committerGraeme Geldenhuys <graemeg@gmail.com>2015-04-04 18:01:46 +0100
commit1365abf7f020136fe444022b174c3c95575dc8c8 (patch)
treec4cca32e8523da55626f76bf02eb0672c375e460 /src/gui
parent49269502f6a66329d203e8db3b33a8bfbf58ab58 (diff)
downloadfpGUI-1365abf7f020136fe444022b174c3c95575dc8c8.tar.xz
Crap! TRGBTripple conflicts with the Windows unit from FPC.
So we have to specify the fpg_base unit so the compiler knows which structure we are refering to.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/colordialog.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/colordialog.inc b/src/gui/colordialog.inc
index 763c8b7f..91ebdf0a 100644
--- a/src/gui/colordialog.inc
+++ b/src/gui/colordialog.inc
@@ -265,7 +265,7 @@ end;
procedure TfpgColorSelectDialog.RGBChanged(Sender: TObject);
var
- rgb: TRGBTriple;
+ rgb: fpg_base.TRGBTriple;
c: TfpgColor;
begin
FViaRGB := True; // prevent recursive updates
@@ -286,7 +286,7 @@ end;
procedure TfpgColorSelectDialog.UpdateRGBComponents;
var
- rgb: TRGBTriple;
+ rgb: fpg_base.TRGBTriple;
c: TfpgColor;
begin
c := ValueBar.SelectedColor;