CustomWidgets.Variables: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "== List of available Variables for CustomWidgets == *'''CONTENT''' - ''resource'' name, where located all content - files of images and fonts; *'''pane''' - directory of imag...")
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
== List of available Variables for CustomWidgets ==
== List of available Variables for CustomWidgets ==


=== Default Variables ===
*'''CONTENT''' - ''resource'' name, where located all content - files of images and fonts;
*'''CONTENT''' - ''resource'' name, where located all content - files of images and fonts;
*'''pane''' - directory of image 1x1 pixels;
*'''pane''' - directory of image 1x1 pixels;


*'''Width, Height''' - default user screen size ([[guiGetScreenSize]]);
*'''Width, Height''' - default user screen size ([[guiGetScreenSize]]);
*'''DefaultColors''' - default theme of all elements of Custom Widgets (without [[CustomWidget:setColorScheme]])
*'''CustomWidget.ClassName''' - class name of custom widget


=== Images ===
=== Images ===
Line 15: Line 21:
*'''Image.Prev''' - Default arrow left for Custom Number Scrollers;
*'''Image.Prev''' - Default arrow left for Custom Number Scrollers;
*'''Image.Loading''' - Default point for Loading Widget;
*'''Image.Loading''' - Default point for Loading Widget;


=== Fonts ===
=== Fonts ===
Line 43: Line 50:
=== Themes ===  
=== Themes ===  
*'''Themes.Dark.Red''' - Dark Red Theme;
*'''Themes.Dark.Red''' - Dark Red Theme;
*'''Themes.Dark.Green''' - Dark Green Theme;
*'''Themes.Dark.Blue''' - Dark Blue Theme;
*'''Themes.Dark.Blue''' - Dark Blue Theme;
*'''Themes.Dark.Purple''' - Dark Purple Theme;
*'''Themes.Dark.Purple''' - Dark Purple Theme;
*'''Themes.Dark.Gray''' - Dark Gray Theme;


*'''Themes.Light.Red''' - Light Red Theme;
*'''Themes.Light.Red''' - Light Red Theme;
*'''Themes.Light.Green''' - Light Green Theme;
*'''Themes.Light.Blue''' - Light Blue Theme;
*'''Themes.Light.Blue''' - Light Blue Theme;
*'''Themes.Light.Purple''' - Light Purple Theme;
*'''Themes.Light.Purple''' - Light Purple Theme;
*'''Themes.Light.Gray''' - Light Gray Theme;
== See Also ==
__NOTOC__
{{CWSFUNCS}}

Latest revision as of 07:46, 13 September 2018

List of available Variables for CustomWidgets

Default Variables

  • CONTENT - resource name, where located all content - files of images and fonts;
  • pane - directory of image 1x1 pixels;
  • CustomWidget.ClassName - class name of custom widget


Images

  • Image.Cross - Default Window cross button back (round);
  • Image.Point - Default Window cross button front (circle);
  • Image.Check - Default Check box background;
  • Image.Round - Default round for Check Box;
  • Image.Down - Default arrow down for Combo Boxes;
  • Image.Next - Default arrow right for Custom Number Scrollers;
  • Image.Prev - Default arrow left for Custom Number Scrollers;
  • Image.Loading - Default point for Loading Widget;


Fonts

  • Fonts.OpenSansBold - Open Sans Bold;
  • Fonts.OpenSansBoldItalic - Open Sans Bold Italic;
  • Fonts.OpenSansSemiBold - Open Sans Semi Bold;
  • Fonts.OpenSansSemiBoldItalic - Open Sans Semi Bold Italic;
  • Fonts.OpenSansExtraBold - Open Sans Extra Bold;
  • Fonts.OpenSansExtraBoldItalic - Open Sans Extra Bold Italic;
  • Fonts.OpenSansItalic - Open Sans Italic;
  • Fonts.OpenSansLight - Open Sans Light;
  • Fonts.OpenSansLightItalic - Open Sans Light Italic;
  • Fonts.OpenSansRegular - Open Sans Regular;
  • Fonts.SeguiReg - Segoe UI Regular;
  • Fonts.SeguiLig - Segoe UI Light;
  • Fonts.HelvetRegular - Helvetica Regular;
  • Fonts.HelvetThin - Helvetica Thin;
  • Fonts.RobotoThin - Roboto Thin;


Themes

  • Themes.Dark.Red - Dark Red Theme;
  • Themes.Dark.Green - Dark Green Theme;
  • Themes.Dark.Blue - Dark Blue Theme;
  • Themes.Dark.Purple - Dark Purple Theme;
  • Themes.Dark.Gray - Dark Gray Theme;
  • Themes.Light.Red - Light Red Theme;
  • Themes.Light.Green - Light Green Theme;
  • Themes.Light.Blue - Light Blue Theme;
  • Themes.Light.Purple - Light Purple Theme;
  • Themes.Light.Gray - Light Gray Theme;

See Also

Resource Wiki with content located here: Resource:CustomWidgets

Custom Widgets

This methods working for all elements except CustomDialogs and CustomTooltips

Set Functions

Get Functions

Event Functions


Custom Windows

Create Function

Set Functions

Get Functions

Event Functions


Custom Buttons

Create Function

Set Functions

Get Functions

Event Functions


Custom Progress Bars

Create Function

Set Functions

Get Functions

Event Functions


Custom Scroll Bars

Create Function

Set Functions

Get Functions


Custom Edit Boxes

All functions, what has mark CustomEditBox available for CustomEdit, CustomMemo and CustomSpinner.

Create Functions

Set Functions

Get Functions

Event Functions


Custom Check Boxes

Create Function

Set Functions

Get Functions

Event Functions


Custom Combo Boxes

Create Function

Set Functions

Get Functions

Event Functions


Custom Tabbed Panels

Create Function

Set Functions

Get Functions

Event Functions


Custom Labels

Create Function

Set Functions

Get Functions

Event Functions


Custom Dialogs

Create Function

Event Functions


Custom Tool Tips

Create Function

Set Function

Get Function


Custom Loadings

Create Function

Set Functions

Get Functions


Custom Scroll Panes

Create Function

Set Functions

Get Functions

Event Functions


Custom Table Views

Create Function

Set Functions

Get Functions

Event Functions


Custom Static Images

Create Function

Set Function

Get Function

Event Functions


Custom Text Boxes

Create Function

Set Function

Get Function


Custom Events


Other about Custom Widgets