Difference between revisions of "Unit GlobalConst"

From Ultibo.org
Jump to: navigation, search
Line 2,344: Line 2,344:
 
<br />
 
<br />
  
 +
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;">
 +
<div style="font-size: 14px; padding-left: 12px;">'''Universal color constants''' <code> COLOR_* </code></div>
 +
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">
 +
{| class="wikitable" style="font-size: 14px; background: white;"
 +
|-
 +
|colspan="2"|Basic 32 bit RGB colors (8 bit Transparency, 8 bit Red, 8 bit Green, 8 bit Blue)
 +
|-
 +
| <code>COLOR_NONE = $00000000;</code>
 +
| &nbsp;
 +
|-
 +
| <code>COLOR_BLACK = $FF000000;</code>
 +
| &nbsp;
 +
|-
 +
| <code>COLOR_RED = $FFFF0000;</code>
 +
| &nbsp;
 +
|-
 +
| <code>COLOR_ORANGE = $FFFF8500;</code>
 +
| &nbsp;
 +
|-
 +
| <code>COLOR_LEAFGREEN = $FF009900;</code>
 +
| &nbsp;
 +
|-
 +
| <code>COLOR_GREEN = $FF00FF00;</code>
 +
| &nbsp;
 +
|-
 +
| <code>COLOR_YELLOW = $FFFFFF00;</code>
 +
| &nbsp;
 +
|-
 +
| <code>COLOR_DARKGREEN = $FF254117;</code>
 +
| &nbsp;
 +
|-
 +
| <code>COLOR_DARKGRAY = $FF595959;</code>
 +
| &nbsp;
 +
|-
 +
| <code>COLOR_BROWN = $FF6F4E37;</code>
 +
| &nbsp;
 +
|-
 +
| <code>COLOR_INDIGO = $FF2E0854;</code>
 +
| &nbsp;
 +
|-
 +
| <code>COLOR_RASPBERRY = $FFE30B5C;</code>
 +
| &nbsp;
 +
|-
 +
| <code>COLOR_GRAY = $FF808080;</code>
 +
| &nbsp;
 +
|-
 +
| <code>COLOR_PURPLE = $FF4B0082;</code>
 +
| &nbsp;
 +
|-
 +
| <code>COLOR_PINK = $FFFF0090;</code>
 +
| &nbsp;
 +
|-
 +
| <code>COLOR_DARKBLUE = $FF0000A0;</code>
 +
| &nbsp;
 +
|-
 +
| <code>COLOR_SILVER = $FFC0C0C0;</code>
 +
| &nbsp;
 +
|-
 +
| <code>COLOR_BLUEIVY = $FF3090C7;</code>
 +
| &nbsp;
 +
|-
 +
| <code>COLOR_MIDGRAY = $FFE0E0E0;</code>
 +
| &nbsp;
 +
|-
 +
| <code>COLOR_LIGHTGRAY = $FFF7F7F7;</code>
 +
| &nbsp;
 +
|-
 +
| <code>COLOR_BLUE = $FF0000FF;</code>
 +
| &nbsp;
 +
|-
 +
| <code>COLOR_MAGENTA = $FFFF00FF;</code>
 +
| &nbsp;
 +
|-
 +
| <code>COLOR_CYAN = $FF00FFFF;</code>
 +
| &nbsp;
 +
|-
 +
| <code>COLOR_WHITE = $FFFFFFFF;</code>
 +
| &nbsp;
 +
|-
 +
|colspan="2"|&nbsp;
 +
|-
 +
|colspan="2"|''Color format constants''
 +
|-
 +
| <code>COLOR_FORMAT_ARGB32 = 0;</code>
 +
| 32 bits per pixel Alpha/Red/Green/Blue (ARGB8888)
 +
|-
 +
| <code>COLOR_FORMAT_ABGR32 = 1;</code>
 +
| 32 bits per pixel Alpha/Blue/Green/Red (ABGR8888)
 +
|-
 +
| <code>COLOR_FORMAT_RGBA32 = 2;</code>
 +
| 32 bits per pixel Red/Green/Blue/Alpha (RGBA8888)
 +
|-
 +
| <code>COLOR_FORMAT_BGRA32 = 3;</code>
 +
| 32 bits per pixel Blue/Green/Red/Alpha (BGRA8888)
 +
|-
 +
| <code>COLOR_FORMAT_RGB24 = 4;</code>
 +
| 24 bits per pixel Red/Green/Blue (RGB888)
 +
|-
 +
| <code>COLOR_FORMAT_BGR24 = 5;</code>
 +
| 24 bits per pixel Blue/Green/Red (BGR888)
 +
|-
 +
| <code>COLOR_FORMAT_RGB18 = 6;</code>
 +
| 18 bits per pixel Red/Green/Blue (RGB666)
 +
|-
 +
| <code>COLOR_FORMAT_RGB16 = 7;</code>
 +
| 16 bits per pixel Red/Green/Blue (RGB565)
 +
|-
 +
| <code>COLOR_FORMAT_RGB15 = 8;</code>
 +
| 15 bits per pixel Red/Green/Blue (RGB555)
 +
|-
 +
| <code>COLOR_FORMAT_RGB8 = 9;</code>
 +
| 8 bits per pixel Red/Green/Blue (RGB332)
 +
|-
 +
|colspan="2"|&nbsp;
 +
|-
 +
| <code>COLOR_FORMAT_UNKNOWN = LongWord(-1);</code>
 +
| &nbsp;
 +
|-
 +
|}
 +
</div></div>
 +
<br />
  
 
=== Type definitions ===
 
=== Type definitions ===

Revision as of 03:24, 26 September 2016

Return to Unit Reference


Description


To be documented

Constants



[Expand]
Universal error constants ERROR_*


[Expand]
Universal value constants INVALID_*


[Expand]
File position constants FILE_*


[Expand]
File open/create constants CREATE_*


[Expand]
File creation flag constants FILE_FLAG_*


[Expand]
File attribute constants FILE_ATTRIBUTE_*


[Expand]
Filesystem attribute constants FS_*


[Expand]
Timeout constants INFINITE =*


[Expand]
TLS constants TLS_*


[Expand]
Wait constants WAIT_*


[Expand]
Thread state constants STILL_*


[Expand]
TimeZone constants TIME_ZONE_*


[Expand]
Universal key code constants KEY_CODE_*


[Expand]
Universal scan code constants SCAN_CODE_*


[Expand]
Universal color constants COLOR_*


Type definitions


None defined

Public variables


None defined

Function declarations


None defined


Return to Unit Reference