7. Icons, logos and other media elements

EDWConsole uses icons, logos and other media, such as the animation featured in the wait windows. Default media items are shipped as resources compiled into the %HOME_PATH%Media\EDWMedia.bpl package, which is loaded at run time by EDWConsole to get the media items in it.

Any file under %HOME_PATH%\Media is automatically available to EDWConsole. This includes resource libraries as well as straight media (bmp, ico, avi) files. Deployment medium independence is achieved through Ethea Foundations' MediaManager, a component that encapsulates access to the media items.

You can explore the structure of the default media library with a resource explorer, such as the ageing but excellent Resource Hackerone you can get here.

In order to distribute additional media items with an EDW application, you just put them in the aforementioned Media folder. You can put the straight bitmaps in the folder, or compile them into a resource library or package, as you prefer. EDW's predefined icons come in the form of a resource library mainly for license restrictions. The icons are picked from a commercial package (sold by GlyFX) whose deployment license doesn't allow distributing the source bitmaps but allows incorporating them as resources.

Icons are used in the GUI elements and are usually specified by name in the element definitions. See the section about GUI actions in the relevant chapter and the EDW reference for further details.

There is one special bitmap that you will want to always include in an EDW application, and it is main_logo.bmp. This should be a bitmap with white background, of height between 30 and 60 pixels and width between 30 and 180 pixels. This is the logo that will appear in EDWConsole's main form and in the upper band of dialogs and wizards. Use a smaller logo to save space for other GUI controls.