On Sun, 5 Feb 2006 12:04:35 +0100 (CET) [EMAIL PROTECTED] wrote: > Here's a patch for unitdependencies. > > - added icons for the buttons > - renamed the "browse" caption to "open"
Thanks. Applied. > I would like to start also a discussion on the icons used in lazarus. Now > each dialog has it's own set of icons. In principle nothing wrong with > that, only that it clutters things a bit. I would like to propose the > following. > > - make class / lib that encapsulates all icons used in the IDE Good idea. > * getting an icon would require someting like: > IDEImageToImageList(MyImageList , iiDocumentOpen); IDEImageToImageList sounds as if an IDE image is converted to an Imagelist. What does it do? What about this: Create a new image list, but instead of an integer Index, using strings as identifiers for the images. The string image list can register themselves, so that you can access globally with paths like 'IDE/DocumentOpen'. Add a new published property 'ImagePath: string' to TSpeedButton, TBitBtn, TMenuItem. Add a property editor for this new property. This way you can assign the icons in the designer. > This would imply > > - add all icons to several IDEImagesXXX.lrs files (but keeping the > original Lazarus specific master files in SVN) > - switch to naming specification (I would propose the freedesktop naming > specification) > > Additionally I would like to complement the Lazarus specific icons with > the icons developed in the Tango project (http://tango-project.org). This > does not mean that Lazarus is limited to this "theme". It only means that > standard icons (not belonging specifically to Lazarus) are replaced by > Tango icons. Ok. > I believe that this would also openup the possibility to do theming on > Lazarus in the future (ie each platform their specific icon set or > adjustable to personal prefferences like contrast and size). Yes. Mattias _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
