mirror of
https://github.com/Kapendev/parin.git
synced 2025-04-26 04:59:54 +03:00
Parin can be used from C.
This commit is contained in:
parent
1f9a4c797d
commit
a905c602fd
3 changed files with 284 additions and 103 deletions
17
.closed
Normal file
17
.closed
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
# This file is used by: https://github.com/Kapendev/closed
|
||||||
|
|
||||||
|
[default]
|
||||||
|
-t=lib
|
||||||
|
-L=-lraylib
|
||||||
|
# TODO: Make -J=source work by default maybe.
|
||||||
|
-J=source
|
||||||
|
-D=-betterC
|
||||||
|
# Those lines work for me. Use -s=custom to fix any errors.
|
||||||
|
-I=../joka/source
|
||||||
|
-L=-L../raylib/lib
|
||||||
|
|
||||||
|
[custom]
|
||||||
|
-t=lib
|
||||||
|
-L=-lraylib
|
||||||
|
-J=source
|
||||||
|
-D=-betterC
|
File diff suppressed because it is too large
Load diff
|
@ -40,14 +40,14 @@ enum UiDragLimit: ubyte {
|
||||||
|
|
||||||
struct UiOptions {
|
struct UiOptions {
|
||||||
FontId font = FontId();
|
FontId font = FontId();
|
||||||
Color fontColor = white;
|
Rgba fontColor = white;
|
||||||
ubyte fontScale = 1;
|
ubyte fontScale = 1;
|
||||||
ubyte fontAlphaOffset = defaultUiFontAlphaOffset;
|
ubyte fontAlphaOffset = defaultUiFontAlphaOffset;
|
||||||
|
|
||||||
Color disabledColor = defaultUiDisabledColor;
|
Rgba disabledColor = defaultUiDisabledColor;
|
||||||
Color idleColor = defaultUiIdleColor;
|
Rgba idleColor = defaultUiIdleColor;
|
||||||
Color hotColor = defaultUiHotColor;
|
Rgba hotColor = defaultUiHotColor;
|
||||||
Color activeColor = defaultUiActiveColor;
|
Rgba activeColor = defaultUiActiveColor;
|
||||||
|
|
||||||
Alignment alignment = Alignment.center;
|
Alignment alignment = Alignment.center;
|
||||||
short alignmentOffset = 0;
|
short alignmentOffset = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue