I have done a whole bunch of unit cleaning
today. I have to work the bugs out of dialogs next. �
The menu text problems are also fixed
now.
�
I wrapped most debug messages with a ifdef�
if you wish to� see them compile like this ppc386 -dDEBUG lazarus
�
I will clean the rest of the units when I visit
them.
�
Cliff
Mailing lists / lazarus / 1999-07
CVS UPDATED
8 messages · 4 people ·
- SShane Miller 3
- MMichael A. Hess 2
- PPeter Vreman 2
- CCliff Baeseman 1
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
The following files changed:
Controls.pp
Forms.pp
graphics.pp
gtkint.pp
lmessages.pp
main.pp
TCanvas is close. It still is being over written by SOMETHING. for info on TCanvas. 's FormPaint
procedure and you will see a function call to
Canvas.FillRect(....)
That draws a filled rectangle (in white) on the form. Currently the Canvas is being defaulted to black, but it still is not displayed. I found tht stretching the form and moving the left portion off the screen then dragging it back on would display the canvas for a bit (it invalidates it, then redraws it)
I would love it if someone told me why it was getting redrawn over in gray.
Also, if you try to size the form too small, it starts to act funny. I wrote the code, but could someone look at it while I'm on something else.
Thanks
Shane
I have updated CVS...(does anyone actually read the text at the bottom of the files to see what chagned?)
I converted the ConverttogdkColor function to a function called TColortoTgdkColor. Also, I changed it to actually calculate the colors based on the red/green/blue values.
You'll notice I added TCustomForm again. Please keep it there. In the create I set a COLOR property. This effects the background color of the form itself so you can set each form a different background color (just like Delphi). I like clTeal and clSand.
The OPENFILEDIALOG doesn't work today. Not sure what has changed. When you select FILE - OPEN it hangs and you have to CTRL-C. I don't remember who was working on this, but PLEASE fix it.
Make sure BEFORE submitting changes you test everything well. I know it's tough because LAZARUS doesn't really DO much, but please try.
Shane
You bet. I read 'em. Coolness. I am working on the TColorDialog now. No problem. If it is…
Show quoted text 5 lines
You don't have the linking problem ?
Peter
I have updated CVS...(does anyone actually read the text at the bottom of the files to…
Shane Miller wroteI have updated CVS...(does anyone actually read the text at the bottom of the files to see what chagned?)
You bet. I read 'em.
I converted the ConverttogdkColor function to a function called TColortoTgdkColor. Also, I changed it to actually calculate the colors based on the red/green/blue values.
Coolness. I am working on the TColorDialog now.
You'll notice I added TCustomForm again. Please keep it there.
No problem. If it is being used and is needed of course it stays. Previously it appeared to be an empth do nothing which just took up space and bloated the code.
The OPENFILEDIALOG doesn't work today. Not sure what has changed. When you select FILE - OPEN it hangs and you have to CTRL-C. I don't remember who was working on this, but PLEASE fix it.
Strange it worked for me last night. I was testing it when I added the TColorDialog to the comDialogs example. I just built a version of Lazarus which would be using the code I checked in last night and it works fine. Maybe something else hosed it. I'll do an update from CVS and see what is going on.
Make sure BEFORE submitting changes you test everything well. I know it's tough because LAZARUS doesn't really DO much, but please try.
I do/did and as I stated it did work so maybe something else was added that busted it somehow. :-\
You don't have the linking problem ? Peter
Peter Vreman wroteYou don't have the linking problem ?
Heh heh. I hadn't updated out of CVS yet. But now that I see you fixed it I will. :-)
I had the linking problem but then I pulled an older version of the compiler.
------------------------------------------------------------ Shane Miller
Home page : http://www.lakefield.net/~smiller
Auto-IP Publisher : http://www.lakefield.net/~smiller/autoip
Advanced Clipboard : http://www.lakefield.net/~smiller/advclipboard
Lazarus : http://www.pcpros.net/~vbman
----------------------------------------------------------
Earlier message 25 lines
I have updated CVS...(does anyone actually read the text at the bottom of the files to…
I have updated CVS...(does anyone actually read the text at the bottom of the files to see what chagned?)
I do it sometimes, but lazarus doesn't have $Log in every file. I still try to get Michael VC to get the Changes.* files automaticly commited to logs/ then you can read the changes there.
Peter
