[lazarus] Icons for application
nc-gaertnma at netcologne.de
Mon Sep 30 11:21:51 EDT 2002
On Mon, 30 Sep 2002 11:24:58 -0400
"Michael A. Hess" <mhess at miraclec.com> wrote:
> Tony Maro wrote:
> > Wow, I didn't realize I could load bitmaps from a resource!
> > Now I won't have to distribute the graphics as separate files... I
> > replaced the splash screen already with a loadfromlazarusresource
> > statement.
> > Am I playing with dangerous code doing this?
> No. That is how the Lazarus Splash screen is done as well as any other
> graphics in the IDE. Be sure to use XPM files so that you are sure not
> to have any problems.
Also keep in mind, that there is a limit of about one megabyte for a single resource.
(fpc allows 'only' 1024 elements in array of const).
More information about the Lazarus