Copyright © 2002-2009 MultiMedia Soft 
Return to index  
 
How to manage button templates 
The definition of "button template" is very simple: a collection of settings, stored inside a file with .3BT extension, that will be applied to the button all at the same time. The use of button templates can speed up your button developments. 
There are two kinds of button templates: 
  • Normal template: Inside this kind of template all the button settings are stored apart from binaries file paths (for pictures, textures, sounds and cursor). 
  • Extended template: Inside this template all the settings are stored, including also extra information about the pathnames of pictures and textures files. 
  • Templates can be loaded at runtime using the abmLoadTemplate function.  
    Templates can be easily created using our 3D Button Visual Editor, a powerful WYSIWYG 3D button design application installed with this SDK: after launching this application, a button template can be saved/loaded from the application's main menu, selecting the Button item and then selecting one of the "template-related" sub-items. 
     
    Note that 3D Button Visual Editor allows the use of a set of predefined templates. Simply select one of the available Templates samples Tabs below and click the template you prefer: its settings will be automatically transferred to the button under editing. 
     
     
     
    a set of templates for Vista's "Aero" style is provided 
     
     
    and a set of templates for Office 2003 and Office 2007 styles are provided as well 
     
     
     
    You can also define a set of templates for future uses through the Your templates Tab. 
    This Tab can work in both Load Mode and Save Mode, depending upon the selected radio button: 
  • In Load Mode, clicking one of the available templates will force the button under editing to change its settings accordingly. 
  • In Save Mode, clicking one of the available templates will force the clicked template to receive the settings from the button under editing for future uses. 
  • -- -- --  
     
     
     
     
     
     
     
     
     
    Copyright © 2002-2009 MultiMedia Soft 
    Return to index