CALL US NOW : +1-800-445-2620
Forums
SharpE :: Forums :: SharpE Development :: SharpE Development
 
<< Previous thread | Next thread >>
SharpThemeAPI
Moderators: Billi Berserker, pixol, silentpyjamas, glacialfury
Author Post
Billi Berserker
Mon Aug 21 2006, 02:57PM


Registered Member #1
Joined: Mon Dec 13 2004, 01:12AM
Posts: 417
This thread is just for helping to keep track what functions have been added to SharpThemeAPI.dll
...work in progres...

Types
  1.   TSharpEColorSet = record
  2.                       BaseColor  : integer;
  3.                       LightColor : integer;
  4.                       DarkColor  : integer;
  5.                       FontColor  : integer;
  6.                     end;
  7.  
  8.   TSharpESkinColor = record
  9.                        Name  : String;
  10.                        Tag   : String;
  11.                        color : integer;
  12.                      end;
  13.  
  14.   TSharpEIcon = record
  15.                   FileName : String;
  16.                   Tag      : String;
  17.                 end;




DLL Internal
  1. procedure SetThemeInfoDefault;
  2. procedure SetThemeSchemeDefault;
  3. procedure SetThemeSkinDefault;
  4. procedure SetThemeIconSetDefault;
  5.  
  6. function GetCurrentThemeName : String;
  7.  
  8. function CheckSharpEUserSettings : boolean;
  9. procedure CreateDefaultSharpeUserSe ttings;
  10.  
  11. procedure LoadIconSet;
  12. procedure LoadThemeSkin;
  13. procedure LoadThemeScheme;
  14. procedure LoadThemeInfo;




Exported

Theme dll controls
  1. procedure InitializeTheme;
  2. function LoadTheme : boolean;
  3. function LoadTheme(pName : PChar) : boolean;



Theme Info
  1. function GetThemeName: PChar;
  2. function GetThemeAuthor: PChar;
  3. function GetThemeComment: PChar;
  4. function GetThemeWebsite: PChar;



Theme Data
  1. function GetThemeDirectory: PChar;
  2. function GetThemeDirectory(pName : PChar): PChar



Theme Scheme
  1. function GetSchemeColorSet(pSet : integer) : TSharpEColorSet;
  2. function GetSchemeName : PChar;
  3. function SchemeCodeToColor(pCode : integer) : integer;
  4. function ColorToSchemeCode(pCode : integer) : integer



Theme Skin
  1. function GetSkinName : PChar;
  2. function GetSkinColorCount : integer;
  3. function GetSkinColor(pIndex : integer) : TSharpESkinColor; 



Theme Icon Set
  1. function GetIconSetName : PChar;
  2. function GetIconSetAuthor : PChar;
  3. function GetIconSetWebsite : PChar;
  4. function GetIconSetDirectory : PChar;
  5. function GetIconSetIconsCount : integer;
  6. function GetIconSetIcon(pIndex : integer) : TSharpEIcon; overload;
  7. function GetIconSetIcon(pTag : PChar); : TSharpEIcon; overload;
  8. function IsIconInIconSet(pTag : PChar) : boolean;
  9. function ValidateIcon(pFileName : PChar) : PChar;



[ Edited Wed Aug 23 2006, 05:02PM ]

BB - -email-
Lead developer (SharpBar, SharpDesk, SharpTheme, Skin System,)
Back to top
Website
 

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System




All trademarks are � their respective owners, all other content is � e107 powered website.
e107 is � e107.org 2002/2003 and is released under the GNU GPL license