From f5b723519f8dd9358db15ac5f366f6646905715f Mon Sep 17 00:00:00 2001 From: jussi Date: Wed, 30 Mar 2022 22:15:57 +0300 Subject: Gui Icons. --- API.md | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) (limited to 'API.md') diff --git a/API.md b/API.md index 697d91a..82f5599 100644 --- a/API.md +++ b/API.md @@ -3381,6 +3381,21 @@ Get one style property --- +> success = RL_GuiLoadStyle( int control, int property ) + +Load style file over global style variable ( .rgs ) + +- Failure return false +- Success return true + +--- + +> RL_GuiLoadStyleDefault() + +Load style default over global style + +--- + ## Gui - Container --- @@ -3626,3 +3641,52 @@ Color Bar Hue control - Success return float --- + +## Gui - Icons + +--- + +> success = RL_GuiDrawIcon( int iconId, Vector2 pos, int pixelSize, Color color ) + +Draw icon + +- Failure return false +- Success return true + +--- + +> success = RL_GuiSetIconScale( int scale ) + +Set icon scale ( 1 by default ) + +- Failure return false +- Success return true + +--- + +> success = RL_GuiSetIconPixel( int iconId, Vector2 pos ) + +Set icon pixel value + +- Failure return false +- Success return true + +--- + +> success = RL_GuiClearIconPixel( int iconId, Vector2 pos ) + +Clear icon pixel value + +- Failure return false +- Success return true + +--- + +> value = RL_GuiCheckIconPixel( int iconId, Vector2 pos ) + +Check icon pixel value + +- Failure return nil +- Success return bool + +--- -- cgit v1.2.3