Icon Editor

The Icon Editor can be found in the "Setup" menu. Use it to create or modify icons and embed them into the runtime engine for your programs.

The icon editor can make new icons or open existing icon files. It can save icons as icon files, or it can replace the icon in the runtime engine with the icon viewed in the icon editor.

Making Icons

Liberty BASIC requires 16-color icons. Use the Icon Editor to create new icons or to modify existing icons. To start from an existing icon, choose "Open Icon" from the "File" menu. To start a new icon, either start drawing with the mouse by holding down the left mouse button and dragging, or choose "New Icon" from the "File" menu to clear the Icon Editor and begin a new icon. If the <Paint> radiobutton is checked, drawing will be opaque. If the <Mask> radiobutton is checked, drawing will will mark transparent areas of the icon. These appear in the color cyan on the grid in the editor. To change the color of the drawing, choose the desired color from the "Color" menu.

Icons may be saved to disk by choosing "Save Icon" from the "File" menu.

Changing Your Application's Icon

Once you've created an icon in the icon editor, you can insert it into your application by choosing "Save to Runtime EXE" from the "File" menu. When an icon has been saved into your application's EXE file, it will display in file lists in Windows Explorer, it will appear if a desktop shortcut is created, and it will appear in the titlebar of the running program.

Here is an example that shows how to change the icon for an application named freeform.exe.

- Start Liberty BASIC if needed.

- Click on the "Setup" menu and choose "Icon Editor".

- Paint your icon now, or click on the "File" menu in the Icon Editor to open a pre-made icon file.

- Click on the "File" menu and then choose "Save to Runtime EXE".

- Find the freeform.exe file in the file dialog that appears, select it, and click on Open.


That's all there is to it!

See also: Using the Runtime Engine, Creating an Application