NAVIGATION: David's
Corner > DIY Delphi > CalTheme
CALTHEME
CalTheme 2 is a utility which automates some of the advanced
features of the Calmira program - primarily the ability
to customize the program's default icons, which are stored
within Calmira itself.
The CALMIRA.INI file can be edited externally or from within
Calmira to provide these features, but CalTheme makes the
process much simpler. The program uses custom-made Calmira
icon libraries to modify the entire set of built-in Calmira
icons at one time.
Libraries are available from the CalTheme webpage. You can
install CalTheme simply by copying or unzipping it from
a disk or directory. CalTheme works by detecting, and writing
to, Calmira's own INI file, which also resides in Calmira's
directory.
CalTheme was built using the standard Delphi 1 VCL, with
the exception of the following:
* TTabPanel and TPicBtn from the Calmira VCL I'm assuming
you have this; if you don't, you can download the VCL or
the separate components from Calmira Online.
* TTranImage by Nuno Antunes (included with the source -
you can use a TImage if you don't want to bother with image
transparency which adapts to different colour schemes; you'll
save about 4Kb in program size).
The program uses fairly basic concepts, primarily writing
to and reading from INI files. You'll come across one more
advanced section, which is to do with extracting icons from
a DLL and displaying them in a string grid.
The executable and source can be downloaded from HERE.
|