[Lazarus] Documentation for the packages shipped with Lazarus

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Oct 11 16:27:44 CEST 2012

stdreamer <stdreamer at freemail.gr> hat am 11. Oktober 2012 um 15:43 geschrieben:
> > Now that your Lazarus is updated, the goal is to have:
> > - A light blue gear at the top left denotes a design package
> > - A green arrow at the top right denotes a runtime package
> > - A crossed out light blue gear and a green arrow denotes a runtime
> > only package
> > - No overlay at the top denotes a design + runtime package
> >
> > Stephano
> That's over engineering in its finest I guess. you have only 2 states
> for a package and 4 icon sets?
> As I see it
> 1) blue gear = design time package.
> 2) Green arrow = run time package.
> everything else is not needed.

The package type is not *two* booleans. For instance there is no type "not
designtime and not runtime".

> If an overlay is shown then that state is part of the package if not
> then it is not. This leaves one icon state with no meaning ee. no
> overlay is shown.

The purpose of an overlay is to spot the specials easier.
By far the most packages are "design time and run time". Therefore they should
not have any overlay or at most a very plain/unimposing one.
There are three special package types:
design time  - usable by projects, but not compiled into projects
run time - usable by design time packages, but not directly installable
run time only - not installable, not even indirectly

These are abstract topics and I doubt that you will find icons that the majority
will understand.

Maybe the overlays should be different for each dialog.
For example the install package dialog only shows "design & run time" and
"design time".
The project inspector and package editor can show all four, but only the "design
time" is noteworthy.

> it would make more sense to me to change the crossed gear to design time
> but not installed or something and this has already been taken care off
> by the list boxes so you have two states to many.

We need multiple overlays.
One set for the type.
One set for "base" = "uninstallable".
One set for "is/will be installed".
Maybe one for "repository", for example the package "is in the Lazarus sources"
or "comes from fppkg" or whatever repository.


More information about the Lazarus mailing list