From 1365abf7f020136fe444022b174c3c95575dc8c8 Mon Sep 17 00:00:00 2001 From: Graeme Geldenhuys Date: Sat, 4 Apr 2015 18:01:46 +0100 Subject: 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. --- src/gui/colordialog.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui') 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; -- cgit v1.2.3-70-g09d2