Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2018-02

Code comment conflicts with code in LCL

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Graeme Geldenhuys

Please see the lcl/themes.pas unit

===================================
unit Themes;
{$mode objfpc}{$H+}
interface
uses
   // no Graphics or Controls can be used here to prevent circular
references
   //
   SysUtils, Types, GraphType, Math, Classes, LCLProc, LCLType, Graphics,
   TmSchema;
type
===================================

Note the code comment about "Graphics", but then that unit IS used in the uses clause. :)

Trunk r57236 (from today)

Regards,
Graeme

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp

Reply by email