TABLE OF CONTENTS
Themes/Themes [ Packages ]
FUNCTION
Provide code for read and set the game UI themes
SOURCE
package Themes is
Themes/Themes.FontTypes [ Types ]
FUNCTION
Types of font available in game
SOURCE
type Font_Types is (HELPFONT, MAPFONT, INTERFACEFONT, ALLFONTS);
Themes/Themes.All_Fonts [ Constants ]
[ Top ] [ Themes ] [ Constants ]
FUNCTION
Default value for FontTypes, all fonts
SOURCE
All_Fonts: constant Font_Types := ALLFONTS;
Themes/Themes.Load_Theme_Images [ Subprograms ]
[ Top ] [ Themes ] [ Subprograms ]
FUNCTION
Load all images for the selected the game's theme
SOURCE
procedure Load_Theme_Images with Import => True, Convention => C, External_Name => "loadAdaThemeImages";
HISTORY
7.1 - Added
Themes/Themes.Load_Themes [ Subprograms ]
[ Top ] [ Themes ] [ Subprograms ]
FUNCTION
Load data for all themes
SOURCE
procedure Load_Themes with Import => True, Convention => C, External_Name => "loadAdaThemes";
Themes/Themes.Set_Theme [ Subprograms ]
[ Top ] [ Themes ] [ Subprograms ]
FUNCTION
Set values for the current theme
SOURCE
procedure Set_Theme with Import => True, Convention => C, External_Name => "setAdaTheme";