IMG Developer's Kit: Developer's Kit Guide and Technical Documentation; Version 1.90; User's Guide | ||
---|---|---|
Prev | Chapter 8. Developer Tools and Examples | Next |
FOLDER: THEMES
TYPE: DLL with Source / images
SOURCE: INCLUDED
LANGUAGE: C
IDE: Microsoft Visual C++ 6
To allow different views of the keyboard, the PaintDLL can be used. In order to show off this capability, Themes were introduced in 1.79, using pre-defined looks (key images and coding in a specific PaintDLL). This is the folder that contains the source images and code for the predefined Themes released with the software. For further information on PaintDLL capabilities, refer to the PaintDLL section.
Each folder is named and listed back in the Initialization file for the software - see Theme, ThemeList, ThemesFolder. The base folder has a THEME.INI and a Release folder with a built PaintDLL.DLL interface. When a Theme is changed or selected, the THEME.INI file is referenced, and settings in this file are then used to update the Initialization file of the running software, which then becomes the current PaintDLL in use. The special RESET folder clears the Theme and defaults to the current default configured display.
Note the THEMES folder in the IMG Developer's Kit has the source for the PaintDLLs for each Theme. The Themes included in the release software only contain the THEME.INI and PaintDLL.DLL. Because the 101 keyboard have a large return key, these themes may be better on the 104 key layouts - the 101 keys layouts splits the return key, and uses the carriage return symbol on the upper "key".
To recap the THEMES folders, the THEMES folder installed / included with the software only contains the DLL and details necessary to allow operation within the software, and the THEMES folder here in the IMG Developer's Kit contains the source to build the DLL, and has the specific code to create the matching theme. The method used to create the installed THEMES.zip (for the as installed THEMES folder) was to test and finalize with the Developer's Kit THEMES folder, then run the cleanup.bat (which strips out everything but the necessary DLL/THEME.INI).
Themes can easily be added or removed, but do require some manual handling as based on the settings in the INI and the appropriate THEMES sub-folder(s). Refer to the existing samples and settings, along with notes on the INI settings Theme, ThemeList, and ThemesFolder.
Version 1.79 - September 5, 2012
Copyright © 2007-2012 by Innovation Management Group, Inc. All Rights Reserved.
My-T-Mouse, My-T-Pen, My-T-Touch, and My-T-Soft are registered trademarks of Innovation Management Group, Inc.
As seen in ...