CVS update was: RE: [lazarus] Enable/CheckMenuItem

Marc Weustink marc.weustink at cuperus.nl
Mon Nov 24 06:16:50 EST 2003


+ From: Mattias Gaertner [mailto:nc-gaertnma at netcologne.de]
+ Sent: zondag 23 november 2003 2:05
+
+ On Sun, 23 Nov 2003 01:51:08 +0100  Marc Weustink <marc at dommelstein.net>
+ wrote:
+
+ > At 01:38 23-11-2003, Mattias Gaertner wrote:
+ > >On Sun, 23 Nov 2003 01:29:59 +0100  Marc Weustink
+ <marc at dommelstein.net>
+ > >wrote:
+ > >
+ > > > At 00:38 23-11-2003, Mattias Gaertner wrote:
+ > > > >On Sat, 22 Nov 2003 21:37:00 +0100  Marc Weustink
+ > > > ><marc at dommelstein.net> wrote:
+ > > >
+ > > > [snip]
+ > > > >
+ > > > > >[...]
+ > > > > > The more I think about it, the more I feel for a separate unit
+ > > > > > like winapi
+ > > > > >
+ > > > > > for "direct" interface functions. (and thus use
+ > > > > > LCL(?)EnableMenuItem(TMenuITem, Boolean)
+ > > > >
+ > > > >Good idea.
+ > > > >Maybe instead of lclapi.inc, it should be lclinterface.inc and
+ > > > >lclinterfaceh.inc.
+ > > >
+ > > > OK, better.
+ > > >
+ > > > The same way as winapi.inc ?
+ > >
+ > >aye
+ >
+ > Who will add it ?
+
+ Feel free to start.
+ I'm not always sure, what functions are win32 based.

OK, the new layout is in CVS now.

The winapi inc files have been sorted out and split up into winapi and
lclintf
The interfacebase.inc is splitup in 3 parts, only interfacebase, winapi
and lcl.
The moves for gtkwinapi aren't finished yet.

The functions in the winapi files should match the win32 api calls, the
files in lclintf may be changed to suit us. I'll adapt the apiwizz tool to
support these changes.

ATM, only code has been shuffeled between files, nothing has changed. One
of these days CheckMenuItem and EnableMenuItem will change to
LCLCheckMenuItem(TMenuitem) and LCLEnableMenuItem(TMenuitem)

Marc






More information about the Lazarus mailing list