[lazarus] Components/Code needed
Jeff Wormsley
daworm at cdc.net
Wed Aug 11 15:50:34 EDT 1999
On 8/11/99, at 12:11 PM, Curtis White wrote:
>I am going to try to get the clipboard class in GTK going today if I can. I
>will let you know when I get it going.
Ok, I'll won't be able to look at more than Form and buttons tonight, maybe menus if I am lucky.
>We need to move the Interfaces into their own directories. Are we close to
>having that done? Otherwise, it is going to get confusing what code is generic
>and what code is specific to each environment. I kind of like the way the FCL
>stuff is organized. It is really easy. All the stuff in the inc directory is
>generic and all the stuff specific to each environment is in its own directory
>(linux, win32, etc). Instead of "linux" we would probably have "gtk", "qt",
>etc. I think Michael was working on this. How close is it to being done?
I haven't even looked at it, yet. I don't know about Michael. I believe since until now there has been nothing but GTK, it hasn't been urgent. All of the LCL code that is supposed to be gtk specific (other code still is that shouldn't be) is named gtk*.*, and all of the win32 code I am working on is named win32*.* which makes it easy to see what is what. So for the immediate future, it doesn't need to be split.
Tell me if this this feasable. I don't know enough about how makefiles work to know for sure. It would be very very nice to leave the generic functions in the LCL directory (not INC) and put the toolkit functions in subdirectories from the LCL with the toolkit name, and all of the files having the same names. This would let the makefile choose the include directory based on the toolkit, so that, for example, to make the examples you could do MAKE WIN32_ALL to create the win32 files, or MAKE GTK_ALL to make the GTK files. Could it work?
Jeff.
More information about the Lazarus
mailing list