Sign in Join

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

Mailing lists / lazarus / 2002-11

Help with developing Lazarus

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Mattias Gaertner
to Mattias Gaertner: On Wed, 20 Nov 2002 12:16:01 +0100 Ok. I have answered personally, because I don't think,…
Show quoted text 22 lines
> -----Oorspronkelijk bericht----- > Van: Mattias Gaertner > Verzonden: woensdag 20 november 2002 17:09 > > This sounds very interesting to me. But I would like to have more > > information about > > this "Menu editor". So if I tell you, that I will implement it, > I need to > > know the > > style in which it schould be writen and which files are to be changed, > > which files > > schould be created as new files ... > > [...] > > Ok. > I have answered personally, because I don't think, that the whole > implementation details should go to this list. > > > Mattias I would have thought that is interesting for other as well, as it shows some of the lazarus design guide lines.

You are right. Such a doc should probably be created. Until now it was not necessary.

In this case:
He asked me for needed independent components. The TDesignMenuXXX components will be TCustomControls with only a small bound to other parts of lazarus. So, beside the programming style, there is not much to take care of. The files will probably go into the designer directory, since they are only usable for form editing. I will write a component editor, which will use the new components.

What do you think, what should go into such guide lines?

Mattias

Reply by email

Vincent Snijders
to Mattias Gaertner: On Wed, 20 Nov 2002 12:16:01 +0100 Ok. I have answered personally, because I don't think,…
Show quoted text 19 lines
-----Oorspronkelijk bericht----- Van: Mattias Gaertner Verzonden: woensdag 20 november 2002 17:09 > This sounds very interesting to me. But I would like to have more > information about > this "Menu editor". So if I tell you, that I will implement it, I need to > know the > style in which it schould be writen and which files are to be changed, > which files > schould be created as new files ... > [...] Ok. I have answered personally, because I don't think, that the whole implementation details should go to this list. Mattias

I would have thought that is interesting for other as well, as it shows some of the lazarus design guide lines.

Reply by email

Patik Martin

/Of course you can just look into Delphis component palette and take one that
/is not yet in lazarus. But since you asked me, here is my wish list for /independent components:
/
/- Menu editor for the IDE:
/ Does not sound like a component. But it probably is. All the / people I asked came to the same solution:
/ The menu is always window manager specific and therefore / it is impossible to implement it in a useful way with the / LCL components. So, the menu editor will need custom drawn / components: TDesignerMenu, TDesignerMainMenu,
/ TDesignerMenuItem, TDesignerPopupMenu, etc.
/ They will all be descendents of TCustomControl. /
/ Mattias

This sounds very interesting to me. But I would like to have more information about
this "Menu editor". So if I tell you, that I will implement it, I need to know the
style in which it schould be writen and which files are to be changed, which files
schould be created as new files ...

I would also like to know, how the updating of the lazarus source vode work.

For example : I've got the source code from the .tar file found on the Lazarus web pages.
I've it compiled. Now, if I change something in source, I recompile it and
works. This is good for developing it for me, becouse I don't have the Internet
at home :( . But when developing some part like the above mentioned, I would need
to have an advice (or opinion) to the code I write and also a check if it is
OK. So I would like to know, if would be the best to send the changes via e-mail
or to use some other method...

Thank you very much.

Martin.

Reply by email

Mattias Gaertner
to Patik Martin
Show quoted text 26 lines
/Of course you can just look into Delphis component palette and take one that /is not yet in lazarus. But since you asked me, here is my wish list for /independent components: / /- Menu editor for the IDE: / Does not sound like a component. But it probably is. All the / people I asked came to the same solution: / The menu is always window manager specific and therefore / it is impossible to implement it in a useful way with the / LCL components. So, the menu editor will need custom drawn / components: TDesignerMenu, TDesignerMainMenu, / TDesignerMenuItem, TDesignerPopupMenu, etc. / They will all be descendents of TCustomControl. / / Mattias This sounds very interesting to me. But I would like to have more information about this "Menu editor". So if I tell you, that I will implement it, I need to know the style in which it schould be writen and which files are to be changed, which files schould be created as new files ... [...]

Ok.
I have answered personally, because I don't think, that the whole implementation details should go to this list.

Mattias

Reply by email