Hi Aaron,
>>Required work: rewrite from the scratch most of code
>Huh? This is a gigantic job.
Not really. Only for some things. In most cases just cut'n'paste from LCL or SPCC
sources.
Current SPCC sources contains lot of unrequired code. Like having FVisible flag, or
position/size info and others. Most of info can be taken from PM.
Really, I mean only basic classes like TForm, TControl. Other code can be used easely
without big modifications. But these basic classes too ugly and, as result, most
thing can't be done in easy way.
>>Comment: Any of you free to port existent code, but its not so good idea. SPC class
>implementation slightly different in comparation with FPC, so some classes must be
>>rewritten. It's one side. Another side is SPCC draws most of control by itself.
>Only what it needs to, ie. what OS/2 doesn't have built in. TButton,
>TListBox, TCheckBox, etc are all native. Things like ProgressBar, bitmap
>button, tabset are custom drawn because PM doesn't have any.
Hm... Really, I'm not sure about this (In brief review seems to be so) . Anyway, we
can reuse this code. After forms.pas will be finished (porting or rewriting) other
things can
be ported in more easy way.
>>Most of control classes can be rewritten in more simple way -> smaller size/ease to
>>understand.
>I agree that the SPCC is not very good code in some parts, huge amount
>of copy-and-paste. Lately I was looking at TBitmap code, and rewrote one
>part (.CreateNew) to about 1/3 the size.
>But, IT WORKS, and a lot of the code is OK.
>Rewriting the SPCC and getting it working reliably with all the custom
>controls would be about 3 years of work for one person I think.
Again, anyone free to make spcc worked on fpc. This is just my opinion. Current
forms.pas code was compiled with FPC/2, but lot of things changed and now forms.pas
(again) not compilable. Work with FPC/2 team are required, not separate. Still some
problems with window showing (Somewere position/size sets to zero). Of course, I
can search for this error, but I have lot of other work.
Because I can't answer to all "I can't do all alone" I have written this letter. Lot
of ppls wants to have result for now, but no any result.
Of course, something can be wrong.
-----------
To unsubscribe yourself from this list, send the following message
to [EMAIL PROTECTED]
unsubscribe sibyl
end