Sign in Join

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

Mailing lists / lazarus / 1999-07

[RE: Components:]

26 messages · 9 people ·

Reply by email Subscribe to this list Your subscription

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

John Margaglione
to Shane Miller: You could download the snapshots. Not sure how old they are though but they should be…

I believe that the component is the TPaintBox, and a TPaintBox has a TCanvas. The hierarchy looks like this:

TPaintbox
|
TGraphicControl - has the Canvas property and a virtual Paint method called when the WM_PAINT message is called.
|
TControl

TWinControl, on the other hand, can
1. receive focus while the app is running
2. can contain other controls ( a TGraphicControl can not do this, or should not do this )
3. have a window handle (Win32 specific, but there is a gtk handle of sorts)

We should probably implement TGraphicControl and TWinControl before doing TPaintbox.

Now that we have a good idea of how to implement controls, we should start updating that list of controls with names again. We also should get a handle on the order of precedence for the building of controls. We have TControl built, but we need TGraphicControl and TWinControl before we really start hacking on the other controls.

I haven't had a chance to look at the latest work you guys have done, but my wife has friends over tonight, which means I can hide at the computer all night!!!

John Margaglione

Earlier message 46 lines
----- Original Message ----- From: Shane Miller To: Sent: Thursday, July 15, 1999 7:55 AM Subject: Re: [RE: [lazarus] Components:] > > > >>> Michal Bukovjan 07/15 7:12 AM >>> > >I (one of the lurkers) could take something, but I am still unable to compile > >CVS sources because of errors 9999 (FPC 0.99.12), and the compilation of FPC > >from CVS is somewhat complicated for me. > > >I think the official FPC could be updated more often, as well as beta releases > >of FPC. > > > You could download the snapshots. Not sure how old they are though but they should be newer that the 0.99.12 version. > > >BTW, the Lazarus site is not very informative. Could someone take time and > >explain the basic component framework, or so ? > > > That sounds like boring html stuff though! I suppose your right though. We could get "a bit" more indepth > in our descriptions on the code and how we are doing things. Thing is, we just got a handle on it recently (if we don't change it again) so we haven't had time. Cliff, Michael, Peter and I are programmers, so it's obviously not our first love, but we will get it updated. > > Cliff, should the Drawing widget be the TCanvas or a TPaintbox? > > Shane > > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus >

Reply by email

P Jean dit Bailleul
to Shane Miller: First, lucky you in reference to your wife having friends over. Second, we have…
you wrote
First, lucky you in reference to your wife having friends over. Second, we have implemented TWinControl already and TGraphicControl

generically (I think) I would be more than happy to allow you to open graphics.pp and add the TCanvas, TGraphicClass, TGraphic, TPicture TBitmapImage, TBitmap, or whatever other class you would like. TPaintBox (in delphi) is in ExtCtrls.pas so I would like it in a similiar file. Feel free to implement that.

I've some code in C to read/write BMP file. Do you want it?

JDB

les opinions et recommandations exprim�es dans ce courrier sont ceux de l'auteur, ils ne sont pas n�cessairement endoss�s par Agritulture et AgroAlimentaire Canada
-------------------------------------------------------------- Philippe JEAN DIT BAILLEUL
Agriculture & AgroAlimentaire Canada - Agriculture & AgriFood Canada Email :
Web : Http://res.agr.ca/swinenet/porcexpert/jeanditbailleulp Tel : +1 (819) 565 9174 poste 251
Fax : +1 (819) 564 5507

Reply by email

Peter Vreman
to Michal Bukovjan: I (one of the lurkers) could take something, but I am still unable to compile CVS sources…
I (one of the lurkers) could take something, but I am still unable to compile CVS sources because of errors 9999 (FPC 0.99.12), and the compilation of FPC from CVS is somewhat complicated for me.

You need first to recompile the compiler before you can compile lazarus.

I think the official FPC could be updated more often, as well as beta releases of FPC.

There are almost daily binary snapshots for linux. And daily snapshots for go32v2,win32.

Peter

Reply by email

Shane Miller

First, lucky you in reference to your wife having friends over.

Second, we have implemented TWinControl already and TGraphicControl generically (I think) I would be more than happy to allow you to open graphics.pp and add the TCanvas, TGraphicClass, TGraphic, TPicture TBitmapImage, TBitmap, or whatever other class you would like. TPaintBox (in delphi) is in ExtCtrls.pas so I would like it in a similiar file. Feel free to implement that.

I believe that Cliff may be working on TCanvas (cliff?) so perhaps you should build the TPaintBox. Want to give it a try?

Also, how do we get the handle of the gtk widget and what can we do with it? I haven't seen much documentation on using the handle. Shane

>> "John Margaglione" 07/15 9:42 AM >>>

I believe that the component is the TPaintBox, and a TPaintBox has a TCanvas. The hierarchy looks like this:

TPaintbox
|
TGraphicControl - has the Canvas property and a virtual Paint method called when the WM_PAINT message is called.
|
TControl

TWinControl, on the other hand, can
1. receive focus while the app is running
2. can contain other controls ( a TGraphicControl can not do this, or should not do this )
3. have a window handle (Win32 specific, but there is a gtk handle of sorts)

We should probably implement TGraphicControl and TWinControl before doing TPaintbox.

Now that we have a good idea of how to implement controls, we should start updating that list of controls with names again. We also should get a handle on the order of precedence for the building of controls. We have TControl built, but we need TGraphicControl and TWinControl before we really start hacking on the other controls.

I haven't had a chance to look at the latest work you guys have done, but my wife has friends over tonight, which means I can hide at the computer all night!!!

John Margaglione

Earlier message 51 lines
----- Original Message ----- From: Shane Miller To: Sent: Thursday, July 15, 1999 7:55 AM Subject: Re: [RE: [lazarus] Components:] > > > >>> Michal Bukovjan 07/15 7:12 AM >>> > >I (one of the lurkers) could take something, but I am still unable to compile > >CVS sources because of errors 9999 (FPC 0.99.12), and the compilation of FPC > >from CVS is somewhat complicated for me. > > >I think the official FPC could be updated more often, as well as beta releases > >of FPC. > > > You could download the snapshots. Not sure how old they are though but they should be newer that the 0.99.12 version. > > >BTW, the Lazarus site is not very informative. Could someone take time and > >explain the basic component framework, or so ? > > > That sounds like boring html stuff though! I suppose your right though. We could get "a bit" more indepth > in our descriptions on the code and how we are doing things. Thing is, we just got a handle on it recently (if we don't change it again) so we haven't had time. Cliff, Michael, Peter and I are programmers, so it's obviously not our first love, but we will get it updated. > > Cliff, should the Drawing widget be the TCanvas or a TPaintbox? > > Shane > > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus > _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Michael Van Canneyt
to Michal Bukovjan: I (one of the lurkers) could take something, but I am still unable to compile CVS sources…
Michal Bukovjan wrote 6 lines
I (one of the lurkers) could take something, but I am still unable to compile CVS sources because of errors 9999 (FPC 0.99.12), and the compilation of FPC from CVS is somewhat complicated for me. I think the official FPC could be updated more often, as well as beta releases of FPC.

There ARE daily snapshots on
ftp://tflily.fys.kuleuven.ac.be/pub/fpc/snapshot/snapshot.tar.gz !!
taking these, you don't need to compile the compiler, you just install them, and compile FCL and lazarus.

Michael.

Show quoted text 53 lines
BTW, the Lazarus site is not very informative. Could someone take time and explain the basic component framework, or so ? Mike "Baeseman, Cliff" wrote: I can sqeek it in tonight before jumping back on that applet I am working on if no one else will take it... Would be nice if someone else would take one or two of these components.. Cliff -----Original Message----- From: Shane Miller Sent: Wednesday, July 14, 1999 11:57 AM To: Subject: [lazarus] Components: I need someone to create the TScrollbar component. It already exists in it's "old" stage with gtk calls, but I need it moved to our new method. I am hoping that someone will volunteer outside the normal 3 or 4 that have been helping up to this point. Come on all you lurkers, who wants to try it? Shane _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus ____________________________________________________________________ Get your own FREE, personal Netscape WebMail account today at http://webmail.netscape.com. _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Baeseman, Cliff

Nope I am working the scroll bars at the moment...

Cliff

Earlier message 116 lines
-----Original Message----- From: Shane Miller Sent: Thursday, July 15, 1999 10:13 AM To: Subject: Re: [RE: [lazarus] Components:] First, lucky you in reference to your wife having friends over. Second, we have implemented TWinControl already and TGraphicControl generically (I think) I would be more than happy to allow you to open graphics.pp and add the TCanvas, TGraphicClass, TGraphic, TPicture TBitmapImage, TBitmap, or whatever other class you would like. TPaintBox (in delphi) is in ExtCtrls.pas so I would like it in a similiar file. Feel free to implement that. I believe that Cliff may be working on TCanvas (cliff?) so perhaps you should build the TPaintBox. Want to give it a try? Also, how do we get the handle of the gtk widget and what can we do with it? I haven't seen much documentation on using the handle. Shane >>> "John Margaglione" 07/15 9:42 AM >>> I believe that the component is the TPaintBox, and a TPaintBox has a TCanvas. The hierarchy looks like this: TPaintbox | TGraphicControl - has the Canvas property and a virtual Paint method called when the WM_PAINT message is called. | TControl TWinControl, on the other hand, can 1. receive focus while the app is running 2. can contain other controls ( a TGraphicControl can not do this, or should not do this ) 3. have a window handle (Win32 specific, but there is a gtk handle of sorts) We should probably implement TGraphicControl and TWinControl before doing TPaintbox. Now that we have a good idea of how to implement controls, we should start updating that list of controls with names again. We also should get a handle on the order of precedence for the building of controls. We have TControl built, but we need TGraphicControl and TWinControl before we really start hacking on the other controls. I haven't had a chance to look at the latest work you guys have done, but my wife has friends over tonight, which means I can hide at the computer all night!!! John Margaglione ----- Original Message ----- From: Shane Miller To: Sent: Thursday, July 15, 1999 7:55 AM Subject: Re: [RE: [lazarus] Components:] > > > >>> Michal Bukovjan 07/15 7:12 AM >>> > >I (one of the lurkers) could take something, but I am still unable to compile > >CVS sources because of errors 9999 (FPC 0.99.12), and the compilation of FPC > >from CVS is somewhat complicated for me. > > >I think the official FPC could be updated more often, as well as beta releases > >of FPC. > > > You could download the snapshots. Not sure how old they are though but they should be newer that the 0.99.12 version. > > >BTW, the Lazarus site is not very informative. Could someone take time and > >explain the basic component framework, or so ? > > > That sounds like boring html stuff though! I suppose your right though. We could get "a bit" more indepth > in our descriptions on the code and how we are doing things. Thing is, we just got a handle on it recently (if we don't change it again) so we haven't had time. Cliff, Michael, Peter and I are programmers, so it's obviously not our first love, but we will get it updated. > > Cliff, should the Drawing widget be the TCanvas or a TPaintbox? > > Shane > > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus > _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Baeseman, Cliff

Canvas and Rectangle is the first thing that I need. The scribble example would probably be a great help because it does exactly that.

I am currently working on the TScrollBar component I am making it function as much like delphi as I possibly can which is 100 percent.

One of the problems I ran into last night but have not tracked down the problem is that
say for instance I add a control to the parent in say the Show event. This is necessary for scrollbars where I need to set the scrollbar Kind property before creating the widget. In other words I store a pointer to the parent and then in show I call add control. I was getting widget assert error from gtk on the fixed widget. It is sort of like the widget pointer is trying to be applied to the grid before I call add control.

I take a little time and update the website this evening. I need to post some win32 how-to documents anyhow.

Cliff

Earlier message 44 lines
-----Original Message----- From: Shane Miller Sent: Thursday, July 15, 1999 7:56 AM To: Subject: Re: [RE: [lazarus] Components:] >>> Michal Bukovjan 07/15 7:12 AM >>> >I (one of the lurkers) could take something, but I am still unable to compile >CVS sources because of errors 9999 (FPC 0.99.12), and the compilation of FPC >from CVS is somewhat complicated for me. >I think the official FPC could be updated more often, as well as beta releases >of FPC. You could download the snapshots. Not sure how old they are though but they should be newer that the 0.99.12 version. >BTW, the Lazarus site is not very informative. Could someone take time and >explain the basic component framework, or so ? That sounds like boring html stuff though! I suppose your right though. We could get "a bit" more indepth in our descriptions on the code and how we are doing things. Thing is, we just got a handle on it recently (if we don't change it again) so we haven't had time. Cliff, Michael, Peter and I are programmers, so it's obviously not our first love, but we will get it updated. Cliff, should the Drawing widget be the TCanvas or a TPaintbox? Shane _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Shane Miller
Show quoted text 7 lines
>> Michal Bukovjan 07/15 7:12 AM >>> I (one of the lurkers) could take something, but I am still unable to compile CVS sources because of errors 9999 (FPC 0.99.12), and the compilation of FPC from CVS is somewhat complicated for me. I think the official FPC could be updated more often, as well as beta releases of FPC.

You could download the snapshots. Not sure how old they are though but they should be newer that the 0.99.12 version.

BTW, the Lazarus site is not very informative. Could someone take time and explain the basic component framework, or so ?

That sounds like boring html stuff though! I suppose your right though. We could get "a bit" more indepth in our descriptions on the code and how we are doing things. Thing is, we just got a handle on it recently (if we don't change it again) so we haven't had time. Cliff, Michael, Peter and I are programmers, so it's obviously not our first love, but we will get it updated.

Cliff, should the Drawing widget be the TCanvas or a TPaintbox?

Shane

Reply by email

Baeseman, Cliff

-----Original Message-----

Earlier message 67 lines
From: Michal Bukovjan Sent: Thursday, July 15, 1999 7:18 AM To: Subject: Re: [RE: [lazarus] Components:] I (one of the lurkers) could take something, but I am still unable to compile CVS sources because of errors 9999 (FPC 0.99.12), and the compilation of FPC from CVS is somewhat complicated for me. I think the official FPC could be updated more often, as well as beta releases of FPC. BTW, the Lazarus site is not very informative. Could someone take time and explain the basic component framework, or so ? Mike "Baeseman, Cliff" wrote: I can sqeek it in tonight before jumping back on that applet I am working on if no one else will take it... Would be nice if someone else would take one or two of these components.. Cliff -----Original Message----- From: Shane Miller Sent: Wednesday, July 14, 1999 11:57 AM To: Subject: [lazarus] Components: I need someone to create the TScrollbar component. It already exists in it's "old" stage with gtk calls, but I need it moved to our new method. I am hoping that someone will volunteer outside the normal 3 or 4 that have been helping up to this point. Come on all you lurkers, who wants to try it? Shane _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus ____________________________________________________________________ Get your own FREE, personal Netscape WebMail account today at http://webmail.netscape.com. _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

P Jean dit Bailleul
to P Jean dit Bailleul: generically (I think) I would be more than happy to allow you to open graphics.pp and…
you wrote 5 lines
P Jean dit Bailleul wrote: > > I've some code in C to read/write BMP file. Do you want it? If you could turn it into Pascal code that would be great.

I'm overloaded both at work and at home so, i can do it, but it will take a while

JDB

les opinions et recommandations exprim�es dans ce courrier sont ceux de l'auteur, ils ne sont pas n�cessairement endoss�s par Agritulture et AgroAlimentaire Canada
-------------------------------------------------------------- Philippe JEAN DIT BAILLEUL
Agriculture & AgroAlimentaire Canada - Agriculture & AgriFood Canada Email :
Web : Http://res.agr.ca/swinenet/porcexpert/jeanditbailleulp Tel : +1 (819) 565 9174 poste 251
Fax : +1 (819) 564 5507

Reply by email

Michal Bukovjan

I (one of the lurkers) could take something, but I am still unable to compile CVS sources because of errors 9999 (FPC 0.99.12), and the compilation of FPC from CVS is somewhat complicated for me.

I think the official FPC could be updated more often, as well as beta releases of FPC.

BTW, the Lazarus site is not very informative. Could someone take time and explain the basic component framework, or so ?

Mike

"Baeseman, Cliff" wrote:
I can sqeek it in tonight before jumping back on that applet I am working on if no one else
will take it...

Would be nice if someone else would take one or two of these components..

Cliff

Earlier message 30 lines
-----Original Message----- From: Shane Miller Sent: Wednesday, July 14, 1999 11:57 AM To: Subject: [lazarus] Components: I need someone to create the TScrollbar component. It already exists in it's "old" stage with gtk calls, but I need it moved to our new method. I am hoping that someone will volunteer outside the normal 3 or 4 that have been helping up to this point. Come on all you lurkers, who wants to try it? Shane _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus ____________________________________________________________________ Get your own FREE, personal Netscape WebMail account today at http://webmail.netscape.com.

Reply by email

Michael A. Hess
to P Jean dit Bailleul: generically (I think) I would be more than happy to allow you to open graphics.pp and…
P Jean dit Bailleul wrote 7 lines
>> I've some code in C to read/write BMP file. Do you want it? > >If you could turn it into Pascal code that would be great. I'm overloaded both at work and at home so, i can do it, but it will take a while

As you can see from the list we are kinda overworked ourselves so I doubt that one of use would get to it any sooner than you would. :-)

The more people helping even just a little bit when they can will be a big help in the end. :-)

==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com

Reply by email

P Jean dit Bailleul
to Michael A. Hess: If you could turn it into Pascal code that would be great. ==== Programming my first best…
you wrote 9 lines
At 17:45 15-7-99 , you wrote: >P Jean dit Bailleul wrote: > > > > I've some code in C to read/write BMP file. Do you want it? > >If you could turn it into Pascal code that would be great. Why don't we add a possibility with using (gdk_)imlib under linux? That will allow a lot of bitmap types and even caching of them.

My code support OS2 and Windows 4, 8, 16 and 24 bits bitmaps either grayscaled or color. I'm still having troubles with palettes. Since the code will be in the Lazarus, it will *just* require a recompilation to run under any platform.
Using imlib will require adaptation from platform to platform, And i don't know GTK (and haven't planed to learn GTK soon).

Cliff or Micheal, what are you choosing?

JDB

les opinions et recommandations exprim�es dans ce courrier sont ceux de l'auteur, ils ne sont pas n�cessairement endoss�s par Agritulture et AgroAlimentaire Canada
-------------------------------------------------------------- Philippe JEAN DIT BAILLEUL
Agriculture & AgroAlimentaire Canada - Agriculture & AgriFood Canada Email :
Web : Http://res.agr.ca/swinenet/porcexpert/jeanditbailleulp Tel : +1 (819) 565 9174 poste 251
Fax : +1 (819) 564 5507

Reply by email

Baeseman, Cliff

This is something I have not even tried to tackle yet so I can provide little input here. It will affect Shane first because he is working TCanvas stuff...

Cliff

Earlier message 45 lines
-----Original Message----- From: P Jean dit Bailleul Sent: Friday, July 16, 1999 7:22 AM To: Subject: Re: [RE: [lazarus] Components:] At 23:49 15/07/99 +0200, you wrote: >At 17:45 15-7-99 , you wrote: >>P Jean dit Bailleul wrote: >> > >> > I've some code in C to read/write BMP file. Do you want it? >> >>If you could turn it into Pascal code that would be great. > >Why don't we add a possibility with using (gdk_)imlib under linux? That >will allow a lot of bitmap types and even caching of them. My code support OS2 and Windows 4, 8, 16 and 24 bits bitmaps either grayscaled or color. I'm still having troubles with palettes. Since the code will be in the Lazarus, it will *just* require a recompilation to run under any platform. Using imlib will require adaptation from platform to platform, And i don't know GTK (and haven't planed to learn GTK soon). Cliff or Micheal, what are you choosing? JDB les opinions et recommandations exprim�es dans ce courrier sont ceux de l'auteur, ils ne sont pas n�cessairement endoss�s par Agritulture et AgroAlimentaire Canada -------------------------------------------------------------- Philippe JEAN DIT BAILLEUL Agriculture & AgroAlimentaire Canada - Agriculture & AgriFood Canada Email : Web : Http://res.agr.ca/swinenet/porcexpert/jeanditbailleulp Tel : +1 (819) 565 9174 poste 251 Fax : +1 (819) 564 5507 _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

P Jean dit Bailleul
to Baeseman, Cliff
you wrote 5 lines
This is something I have not even tried to tackle yet so I can provide little input here. It will affect Shane first because he is working TCanvas stuff... Cliff

In fact, all i need to know is the format of the data in the TCanvas. After that I will be able to use that format for the data loaded from any bitmap. Shane, can you send that format to me when it will be ready.

JDB

les opinions et recommandations exprim�es dans ce courrier sont ceux de l'auteur, ils ne sont pas n�cessairement endoss�s par Agritulture et AgroAlimentaire Canada
-------------------------------------------------------------- Philippe JEAN DIT BAILLEUL
Agriculture & AgroAlimentaire Canada - Agriculture & AgriFood Canada Email :
Web : Http://res.agr.ca/swinenet/porcexpert/jeanditbailleulp Tel : +1 (819) 565 9174 poste 251
Fax : +1 (819) 564 5507

Reply by email

Shane Miller

What format are you insterested in? I am getting closer to having the TCanvaas complete, but it is dependant upon ALOT of other classes and once complete I have to write the gtkint part of it yet.

I can send you a copy of the graphics.pp file I have so far but I haven't put anything in for bitmaps yet.

Shane

>> P Jean dit Bailleul 07/16 10:18 AM >>>
you wrote 5 lines
This is something I have not even tried to tackle yet so I can provide little input here. It will affect Shane first because he is working TCanvas stuff... Cliff

In fact, all i need to know is the format of the data in the TCanvas. After that I will be able to use that format for the data loaded from any bitmap. Shane, can you send that format to me when it will be ready.

JDB

les opinions et recommandations exprim�es dans ce courrier sont ceux de l'auteur, ils ne sont pas n�cessairement endoss�s par Agritulture et AgroAlimentaire Canada
-------------------------------------------------------------- Philippe JEAN DIT BAILLEUL
Agriculture & AgroAlimentaire Canada - Agriculture & AgriFood Canada Email :
Web : http://res.agr.ca/swinenet/porcexpert/jeanditbailleulp Tel : +1 (819) 565 9174 poste 251
Fax : +1 (819) 564 5507

_________________________________________________________________ To unsubscribe: mail with
"unsubscribe" as the Subject
archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Baeseman, Cliff

We are trying to reverse engineer the class structure in lazarus using Rational Rose so that we can publish the class definitions as they exist today..

cliff

Earlier message 52 lines
-----Original Message----- From: Shane Miller Sent: Friday, July 16, 1999 10:59 AM To: Subject: Re: RE: [RE: [lazarus] Components:] What format are you insterested in? I am getting closer to having the TCanvaas complete, but it is dependant upon ALOT of other classes and once complete I have to write the gtkint part of it yet. I can send you a copy of the graphics.pp file I have so far but I haven't put anything in for bitmaps yet. Shane >>> P Jean dit Bailleul 07/16 10:18 AM >>> At 09:45 16/07/99 -0500, you wrote: >This is something I have not even tried to tackle yet so I can provide >little input here. It will affect Shane first because he is working TCanvas >stuff... > >Cliff In fact, all i need to know is the format of the data in the TCanvas. After that I will be able to use that format for the data loaded from any bitmap. Shane, can you send that format to me when it will be ready. JDB les opinions et recommandations exprim�es dans ce courrier sont ceux de l'auteur, ils ne sont pas n�cessairement endoss�s par Agritulture et AgroAlimentaire Canada -------------------------------------------------------------- Philippe JEAN DIT BAILLEUL Agriculture & AgroAlimentaire Canada - Agriculture & AgriFood Canada Email : Web : http://res.agr.ca/swinenet/porcexpert/jeanditbailleulp Tel : +1 (819) 565 9174 poste 251 Fax : +1 (819) 564 5507 _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Michael A. Hess
to Michael A. Hess: If you could turn it into Pascal code that would be great. ==== Programming my first best…
P Jean dit Bailleul wrote 10 lines
My code support OS2 and Windows 4, 8, 16 and 24 bits bitmaps either grayscaled or color. I'm still having troubles with palettes. Since the code will be in the Lazarus, it will *just* require a recompilation to run under any platform. Using imlib will require adaptation from platform to platform, And i don't know GTK (and haven't planed to learn GTK soon). Cliff or Micheal, what are you choosing?

I perfer that it be native to FPC and not be dependent on the API. As you stated this will allow for cross platform use without many modifications of the FLC or class libraries. I have also done alot of work in the past with BMP and PCX and neither are very complicated. I have also done a little bit with PNG. I think it will make the product more attractive to not require a specific API or library.

==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com

Reply by email

Michael Van Canneyt
to P Jean dit Bailleul: My code support OS2 and Windows 4, 8, 16 and 24 bits bitmaps either grayscaled or color.…
P Jean dit Bailleul wrote 19 lines
At 23:49 15/07/99 +0200, you wrote: >At 17:45 15-7-99 , you wrote: >>P Jean dit Bailleul wrote: >> > >> > I've some code in C to read/write BMP file. Do you want it? >> >>If you could turn it into Pascal code that would be great. > >Why don't we add a possibility with using (gdk_)imlib under linux? That >will allow a lot of bitmap types and even caching of them. My code support OS2 and Windows 4, 8, 16 and 24 bits bitmaps either grayscaled or color. I'm still having troubles with palettes. Since the code will be in the Lazarus, it will *just* require a recompilation to run under any platform. Using imlib will require adaptation from platform to platform, And i don't know GTK (and haven't planed to learn GTK soon). Cliff or Micheal, what are you choosing?

I think a pascal native version is to be preferred.

Michael.

Reply by email

P Jean dit Bailleul
to P Jean dit Bailleul: generically (I think) I would be more than happy to allow you to open graphics.pp and…
you wrote 14 lines
P Jean dit Bailleul wrote: > > >> I've some code in C to read/write BMP file. Do you want it? > > > >If you could turn it into Pascal code that would be great. > > I'm overloaded both at work and at home so, i can do it, but it will > take a while As you can see from the list we are kinda overworked ourselves so I doubt that one of use would get to it any sooner than you would. :-) The more people helping even just a little bit when they can will be a big help in the end. :-)

I will work on TBitmap. But i've no idea about exchange with TCanvas. I will start to write some piece of code for RW and make adjustement when TCanvas will start.

JDB

les opinions et recommandations exprim�es dans ce courrier sont ceux de l'auteur, ils ne sont pas n�cessairement endoss�s par Agritulture et AgroAlimentaire Canada
-------------------------------------------------------------- Philippe JEAN DIT BAILLEUL
Agriculture & AgroAlimentaire Canada - Agriculture & AgriFood Canada Email :
Web : Http://res.agr.ca/swinenet/porcexpert/jeanditbailleulp Tel : +1 (819) 565 9174 poste 251
Fax : +1 (819) 564 5507

Reply by email

P Jean dit Bailleul
to Shane Miller: What format are you insterested in? I am getting closer to having the TCanvaas complete,…
you wrote
What format are you insterested in? I am getting closer to having the

TCanvaas complete, but it is dependant upon ALOT of other classes and once complete I have to write the gtkint part of it yet.

I can send you a copy of the graphics.pp file I have so far but I haven't

put anything in for bitmaps yet.

You send it to me (i wont work on it until to night -> in 5/6h). I will try to do the stuff around TBitmap this week end.

JDB

les opinions et recommandations exprim�es dans ce courrier sont ceux de l'auteur, ils ne sont pas n�cessairement endoss�s par Agritulture et AgroAlimentaire Canada
-------------------------------------------------------------- Philippe JEAN DIT BAILLEUL
Agriculture & AgroAlimentaire Canada - Agriculture & AgriFood Canada Email :
Web : Http://res.agr.ca/swinenet/porcexpert/jeanditbailleulp Tel : +1 (819) 565 9174 poste 251
Fax : +1 (819) 564 5507

Reply by email

Shane Miller

I have spent the entire day so far on TCanvas. I actually have it working too!

It gets hidden by the form's draw yet buy you can see it. I fill it with black so here's how you see it. Checkout Lazarus from CVS.
Copmpile and run.
Select OPen and open a file.
The second dialog appears and if you drag it over the main form near the FILE menu, you'll see a black square. That's the canvas area over the form.

I know it's not exciting for anyone but me. It's a big deal for me. I am creating a pixmap and am going to do all the drawing to that, then throw that on the canvas. That should keep the speed of refreshs fast...

P Jean dit Bailleul, TCanvas and such are in Graphics.pp

I'm tired so I'm heading home. I'll be on later...

Shane

>> P Jean dit Bailleul 07/16 11:20 AM >>>
you wrote
What format are you insterested in? I am getting closer to having the

TCanvaas complete, but it is dependant upon ALOT of other classes and once complete I have to write the gtkint part of it yet.

I can send you a copy of the graphics.pp file I have so far but I haven't

put anything in for bitmaps yet.

You send it to me (i wont work on it until to night -> in 5/6h). I will try to do the stuff around TBitmap this week end.

JDB

les opinions et recommandations exprim�es dans ce courrier sont ceux de l'auteur, ils ne sont pas n�cessairement endoss�s par Agritulture et AgroAlimentaire Canada
-------------------------------------------------------------- Philippe JEAN DIT BAILLEUL
Agriculture & AgroAlimentaire Canada - Agriculture & AgriFood Canada Email :
Web : http://res.agr.ca/swinenet/porcexpert/jeanditbailleulp Tel : +1 (819) 565 9174 poste 251
Fax : +1 (819) 564 5507

_________________________________________________________________ To unsubscribe: mail with
"unsubscribe" as the Subject
archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Stefan Hille
to Michael A. Hess: If you could turn it into Pascal code that would be great. ==== Programming my first best…

Hi!

P Jean dit Bailleul wrote 15 lines
At 23:49 15/07/99 +0200, you wrote: >At 17:45 15-7-99 , you wrote: >>P Jean dit Bailleul wrote: >> > >> > I've some code in C to read/write BMP file. Do you want it? >> >>If you could turn it into Pascal code that would be great. > >Why don't we add a possibility with using (gdk_)imlib under linux? That >will allow a lot of bitmap types and even caching of them. My code support OS2 and Windows 4, 8, 16 and 24 bits bitmaps either grayscaled or color. I'm still having troubles with palettes. Since the code will be in the Lazarus, it will *just* require a recompilation to run under any platform.

I've already ported something similar to pascal, maybe you can use it if you've problems with your code. The base for my port was an article in the DDJ some years ago, it can also read OS/2 and Win bitmaps with different color depths.

I can send you the code or integrate it myself. I've been quite busy during the week but I think I can do it until Monday morning.

bye,

Stefan

--------------------------------------------------------- Stefan Hille email: 48155 Muenster voice: 0251/664695

Reply by email

P Jean dit Bailleul
to P Jean dit Bailleul: My code support OS2 and Windows 4, 8, 16 and 24 bits bitmaps either grayscaled or color.…
you wrote 23 lines
Hi! On Fri, Jul 16, 1999 at 08:21:38AM -0400, P Jean dit Bailleul wrote: > At 23:49 15/07/99 +0200, you wrote: > >At 17:45 15-7-99 , you wrote: > >>P Jean dit Bailleul wrote: > >> > > >> > I've some code in C to read/write BMP file. Do you want it? > >> > >>If you could turn it into Pascal code that would be great. > > > >Why don't we add a possibility with using (gdk_)imlib under linux? That > >will allow a lot of bitmap types and even caching of them. > > My code support OS2 and Windows 4, 8, 16 and 24 bits bitmaps either > grayscaled or color. I'm still having troubles with palettes. Since the > code will be in the Lazarus, it will *just* require a recompilation to run > under any platform. I've already ported something similar to pascal, maybe you can use it if you've problems with your code. The base for my port was an article in the DDJ some years ago, it can also read OS/2 and Win bitmaps with different color depths.

Any help is appreciate, so yes you can send it

I can send you the code or integrate it myself. I've been quite busy during the week but I think I can do it until Monday morning.

Thanx
I'll try to implement the TBitmap this week end. Now, there nothing (i've just check a few things in Delphi and windows API yesterday to see how it is done). I'll tell you on moday if i have some troubles (and perhaps, ask for help).

JDB

les opinions et recommandations exprim�es dans ce courrier sont ceux de l'auteur, ils ne sont pas n�cessairement endoss�s par Agritulture et AgroAlimentaire Canada
-------------------------------------------------------------- Philippe JEAN DIT BAILLEUL
Agriculture & AgroAlimentaire Canada - Agriculture & AgriFood Canada Email :
Web : Http://res.agr.ca/swinenet/porcexpert/jeanditbailleulp Tel : +1 (819) 565 9174 poste 251
Fax : +1 (819) 564 5507

Reply by email