-
Notifications
You must be signed in to change notification settings - Fork 0
ButtonO Class Constructors
Alex Ricciardi edited this page Feb 8, 2023
·
4 revisions
/*---------------------------------------------------
Default construtor (empty)
- raylib default font
----------------------------------------------------*/
ButtonO();
/*---------------------------------------------------
Constructor-1
- raylib default font
text, position
----------------------------------------------------*/
ButtonO(string text, float x, float y);
/*------------------------------------------------------------
Constructor-2
- raylib default font
text, position, font size
Note: the font size will modify the size of the button
-------------------------------------------------------------*/
ButtonO(string text, float x, float y, float fontSize);
/*---------------------------------------------------
Constructor-3
- raylib default font
text, position, font size, font color,
button color
----------------------------------------------------*/
ButtonO(string text, float x, float y, float fontSize, Color fontColor, Color btnColor);
/*---------------------------------------------------
Constructor-4
- raylib default font
text, position, font size, font color,
button color, border color
----------------------------------------------------*/
ButtonO(string text, float x, float y, float fontSize, Color fontColor, Color btnColor, Color borderColor);
/*---------------------------------------------------
Constructor-5
- loaded font
text, position, font
----------------------------------------------------*/
ButtonO(string text, float x, float y, Font &font);
/*---------------------------------------------------
Constructor-6
- loaded font
text, position, font, font size
----------------------------------------------------*/
ButtonO(string text, float x, float y, Font &font, float fontSize);
/*---------------------------------------------------
Constructor-7
- loaded font
text, position, font, font size, font color,
button color
----------------------------------------------------*/
ButtonO(string text, float x, float y, Font &font, float fontSize, Color fontColor, Color btnColor);
/*---------------------------------------------------
Constructor-8
- loaded font
text, position, font, font size, font color,
button color, border-color
----------------------------------------------------*/
ButtonO(string text, float x, float y, Font &font, float fontSize, Color fontColor, Color btnColor, Color borderColor);
/*---------------------------------------------------
constructor-9
- loaded font
text, font, font size
----------------------------------------------------*/
ButtonO(string text, Font &font, float fontSize);