Compare commits

...

548 commits

Author SHA1 Message Date
1468af2636 chore: Update README with notice of the fork status and build tags 2025-06-22 20:27:39 -04:00
d63f1b19df
chore: Fix module path 2025-06-22 17:48:18 -04:00
45473d7240
feature: Add DRM leasing code 2025-06-22 17:41:05 -04:00
3df816e2bf
chore: Remove broken CI workflows 2025-06-22 17:40:19 -04:00
d707d9e51c
chore: Initial attempt to migrate workflows
Some checks failed
Build / test-rgfw (1.21.x, docker) (push) Has been cancelled
Build / test-purego (1.21.x, docker) (push) Has been cancelled
Build / test-examples (1.21.x, docker) (push) Has been cancelled
Build / test-sdl (1.21.x, docker) (push) Has been cancelled
Build / test (1.21.x, docker) (push) Has been cancelled
Build / test-drm (1.21.x, docker) (push) Has been cancelled
2025-06-21 13:32:42 -04:00
bc3da009ef
fix: Fixes image URL
Some checks are pending
Build / test-rgfw (1.21.x, windows-latest) (push) Waiting to run
Build / test-purego (1.21.x, ubuntu-latest) (push) Waiting to run
Build / test-examples (1.21.x, ubuntu-latest) (push) Waiting to run
Build / test (1.21.x, macos-latest) (push) Waiting to run
Build / test (1.21.x, ubuntu-latest) (push) Waiting to run
Build / test (1.21.x, windows-latest) (push) Waiting to run
Build / test-drm (1.21.x, ubuntu-latest) (push) Waiting to run
Build / test-sdl (1.21.x, ubuntu-latest) (push) Waiting to run
Build / test-rgfw (1.21.x, macos-latest) (push) Waiting to run
Build / test-rgfw (1.21.x, ubuntu-latest) (push) Waiting to run
2025-06-21 13:24:38 -04:00
Milan Nikolic
eddd038123
Update README.md 2025-06-17 21:43:46 +02:00
Milan Nikolic
6039070d78
Merge pull request #505 from JupiterRider/raygui_return_values
raygui: fix Spinner() return value and fix possible misuse of unsafe.Pointer
2025-06-17 19:41:27 +02:00
JupiterRider
9a87dd6d60 raygui: Spinner returns true if clicked #503 2025-06-17 17:48:13 +02:00
JupiterRider
7e9246c069 raygui/cstring.go: "fix" possible misuse of unsafe.Pointer 2025-06-17 17:47:09 +02:00
Milan Nikolic
5d704708c4
Update bunnymark, issue #480 2025-06-09 19:36:06 +02:00
Milan Nikolic
3327fcaf9f
Update C sources 2025-06-09 15:53:56 +02:00
Milan Nikolic
e08c4cd054
Remove rres 2025-06-09 15:53:08 +02:00
Milan Nikolic
fca3bf26c5
Merge pull request #500 from lloydlobo/lloydlobo/examples-vertex-displacement
[examples] Add shader example: `vertex_displacement`
2025-05-21 23:03:03 +02:00
Lloyd Lobo
1d42dc5846 docs(examples): remove screenshot and screen recording artifacts
- remove screenshot PNG
- remove screenrec GIF
2025-05-18 15:02:12 +05:30
Lloyd Lobo
0380afdf21 docs(examples): create vertex_displacement example 2025-05-18 11:44:24 +05:30
Milan Nikolic
e6017e5fc4
Merge pull request #497 from SunnyFuji/patch-1
Create main.go
2025-05-04 04:26:11 +02:00
Milan Nikolic
5ca0e770e3
Merge pull request #486 from mohsengreen1388/pbr-example
example: I can add physic base render to example
2025-05-04 04:25:48 +02:00
SunnyFuji
761bde1e61
Create main.go
I created a pong Game and would like to submit it to the examples catalogue. I have debugged it and the only external dependencies are this projects and fmt.
2025-04-19 14:35:50 -05:00
Milan Nikolic
a4292f0f04
Merge pull request #495 from thearturca/feat/unload-sound-alias
feat(raylib): adds UnloadSoundAlias function
2025-04-09 07:28:54 +02:00
thearturca
ce20f0c639 feat(raylib): adds UnloadSoundAlias function
docs(raudio): adds function name to UnloadSoundAlias comment
2025-03-31 10:59:58 +03:00
Milan Nikolic
b542022337
Merge pull request #493 from jroimartin/wave-ptr
Change `WaveFormat` and `WaveCrop` signatures to accept a pointer to `Wave`
2025-03-27 11:37:58 +01:00
Roi Martin
705f704ecf Change WaveFormat and WaveCrop signatures to accept a pointer to Wave
The raylib functions `WaveFormat` and `WaveCrop` accept a pointer to
`Wave` because the wave is updated in-place. However, the current Go
bindings pass a copy of the wave to the C functions, so it is not
updated. This commit changes the signatures of the Go API so they also
accept a pointer to `Wave`.
2025-03-27 09:12:54 +01:00
Milan Nikolic
db8e47f0e5
Merge pull request #489 from JupiterRider/missing_rlgl_constants
missing constants from RLGL added
2025-02-15 05:22:52 +01:00
JupiterRider
3fd9012394 missing constants from RLGL added (fixes #488) 2025-02-14 22:42:09 +01:00
Mohsen Baghri
960a135c15 example: I can add physic base render to example 2025-01-26 21:57:23 +03:30
Milan Nikolic
6dbba4f81a
Merge pull request #484 from geo-stark/master
Add GetClipboardImage for drm platform.
2025-01-09 18:28:33 +01:00
George Stark
e31988d117 Add GetClipboardImage for drm platform.
Signed-off-by: George Stark <stark.georgy@gmail.com>
2025-01-09 19:07:59 +03:00
Milan Nikolic
d58ffe1a3a
Merge pull request #479 from sugarvoid/master
Add return value to `LoadTextureDepth`
2024-12-28 13:07:19 +01:00
sugarvoid
ff0ecd0e76 Add return value in rlgl_purego.go 2024-12-28 05:23:49 -06:00
sugarvoid
8e035f761c Add return value to LoadTextureDepth 2024-12-27 07:59:46 -06:00
Milan Nikolic
453bad2769
Merge pull request #477 from JupiterRider/rgfw_rumble
rcore_desktop_rgfw.c SetGamepadVibration added
2024-12-17 19:56:05 +01:00
JupiterRider
2040136e38 rcore_desktop_rgfw.c SetGamepadVibration added 2024-12-17 19:42:54 +01:00
Milan Nikolic
edb2c107b3
Merge pull request #476 from Alireza-Ta/android_enhancement
Android Compilation Enhancement
2024-12-17 12:51:49 +01:00
Milan Nikolic
078d0bec34
Merge pull request #475 from JupiterRider/audiostream_processor
fix purego version of DetachAudioStreamProcessor and DetachAudioMixedProcessor
2024-12-17 12:51:40 +01:00
Alireza-Ta
5dad257e8d Update androidcompile.bat file with minor tweaks. 2024-12-17 14:54:04 +03:30
Alireza-Ta
8490a60f72 Add GetClipboardImage for android platform. 2024-12-17 11:09:31 +03:30
JupiterRider
5868292fd5 fix purego version of DetachAudioStreamProcessor and DetachAudioMixedProcessor #425 2024-12-15 18:19:57 +01:00
Milan Nikolic
7a899c5e3a
Merge pull request #474 from JupiterRider/model_animation
ModelAnimation improvements
2024-12-15 05:38:39 +01:00
JupiterRider
c301540ef5 gltf_loading example shows the name of the current animation now 2024-12-14 22:04:59 +01:00
JupiterRider
041142d30c update another ModelAnimation example 2024-12-14 21:57:46 +01:00
JupiterRider
46524a8c46 Update examples for #466 2024-12-14 21:47:37 +01:00
JupiterRider
533c35110b ModelAnimation.GetName() added 2024-12-14 21:26:58 +01:00
JupiterRider
dce94f509d ModelAnimation.GetFramePose() added #466 2024-12-14 21:15:08 +01:00
JupiterRider
98ce816ab8 ModelAnimation.GetBones() added #466 2024-12-14 20:19:05 +01:00
Milan Nikolic
a9ad86d501
Update wayland headers 2024-12-07 12:43:08 +01:00
Milan Nikolic
659b0700ba
Add support for vendor 2024-12-07 11:37:19 +01:00
Milan Nikolic
3b89a24e68
Update README.md 2024-12-03 10:19:12 +01:00
Milan Nikolic
28ef2a891c
Update README.md 2024-12-03 09:25:44 +01:00
Milan Nikolic
b6bb8ec528
Export Wave data, issue #402 2024-12-03 09:17:34 +01:00
Milan Nikolic
ea071de5c2
Add support for SDL3 2024-12-03 09:06:39 +01:00
Milan Nikolic
5df9325f63
Add wayland build tag, issue #404 2024-12-03 08:00:59 +01:00
Milan Nikolic
aef24a2104
Update README.md 2024-12-03 07:15:50 +01:00
Milan Nikolic
c4ef7b53e9
Merge pull request #470 from Hultan/draw_cube_texture
New example: models/draw_cube_textured
2024-12-03 07:13:53 +01:00
Milan Nikolic
b6d58c5ba6
Merge pull request #469 from Hultan/yaw_pitch_roll
New example: models/yaw_pitch_roll
2024-12-03 07:13:38 +01:00
Milan Nikolic
db948137ee
Merge pull request #468 from Hultan/rlgl_solar_system
Models/rlgl_solar_system example
2024-12-03 07:13:24 +01:00
Milan Nikolic
04c9cea61b
Update modules 2024-12-02 11:59:55 +01:00
Milan Nikolic
8b5f8fe6bb
Update modules, issue #473 2024-12-02 11:54:24 +01:00
Milan Nikolic
a7ac43847a
Update modules 2024-12-02 11:45:37 +01:00
Milan Nikolic
4c05c52a4b
Update modules 2024-12-02 11:42:54 +01:00
Milan Nikolic
5d50abe7c6
Merge pull request #472 from JupiterRider/raylib_55
WIP: Update to raylib 5.5
2024-12-02 11:36:52 +01:00
JupiterRider
5ed790526c use android_run() 2024-11-29 19:45:51 +01:00
JupiterRider
c3489ebef8 fix "warning: 'ALIGN' macro redefined" on MacOS (same as 5943b16bad) 2024-11-29 19:28:34 +01:00
JupiterRider
4c9f2e5dd7 rlgl: rlSetUniform, rlSetUniformMatrix and rlSetUniformMatrices added 2024-11-29 18:43:53 +01:00
JupiterRider
574299012d rlgl: update rlLoadFramebuffer 2024-11-29 18:15:42 +01:00
JupiterRider
de01649968 rlgl: rlColorMask added 2024-11-29 18:01:24 +01:00
JupiterRider
e5537960f0 rlgl: rlBlitFramebuffer and rlBindFramebuffer added 2024-11-29 17:56:43 +01:00
JupiterRider
f10c42c14e rlgl: rlGetActiveFramebuffer added 2024-11-29 17:46:31 +01:00
JupiterRider
5d9fdd5313 rlgl: rlSetClipPlanes, rlGetCullDistanceNear and rlGetCullDistanceFar added 2024-11-29 17:42:27 +01:00
JupiterRider
692079f471 fix drm build (see 8a207901da) 2024-11-24 17:07:33 +01:00
JupiterRider
d054bd9043 LoadImageAnim functions: frames is a pointer, not a slice 2024-11-24 16:44:22 +01:00
JupiterRider
ffc0ab4fc6 fix GetScreenToWorldRay* cgo functions 2024-11-24 16:29:48 +01:00
JupiterRider
9e7c7db0ec fix "cannot use v (variable of type *Image) as Image value in return statement" 2024-11-24 16:29:09 +01:00
JupiterRider
aee70123d7 Additional ShaderUniformDataType constants + description added 2024-11-24 16:20:45 +01:00
JupiterRider
ccc9ef8662 rlgl: VertexBuffer has new field + descriptions added 2024-11-24 16:11:50 +01:00
JupiterRider
b922049f3b IsAudioStreamReady has been renamed 2024-11-24 16:02:37 +01:00
JupiterRider
24323485a0 IsMusicReady has been renamed 2024-11-24 16:00:10 +01:00
JupiterRider
0c2506a3cd WaveCrop parameters renamed 2024-11-24 15:58:13 +01:00
JupiterRider
3282ea28f2 IsSoundReady has been renamed 2024-11-24 15:54:51 +01:00
JupiterRider
f3553fea29 IsWaveReady has been renamed 2024-11-24 15:53:01 +01:00
JupiterRider
b09e22b6ad UpdateModelAnimationBones function added 2024-11-24 15:49:58 +01:00
JupiterRider
493260d376 IsMaterialReady has been renamed 2024-11-24 15:45:49 +01:00
JupiterRider
c9a7c5c130 DrawModelPoints() and DrawModelPointsEx() added 2024-11-24 15:43:30 +01:00
JupiterRider
22bfaf1652 DrawBillboard: size is scale 2024-11-24 15:35:41 +01:00
JupiterRider
47bd3b9420 IsModelReady has been renamed 2024-11-24 15:24:23 +01:00
JupiterRider
1d2d8d9350 IsFontReady has been renamed 2024-11-24 15:21:12 +01:00
JupiterRider
9d16da4548 ColorLerp function added 2024-11-24 15:00:38 +01:00
JupiterRider
090dbf62ef ColorToInt() comment updated 2024-11-24 14:49:41 +01:00
JupiterRider
36259e95a7 IsRenderTextureReady 2024-11-24 14:47:02 +01:00
JupiterRider
8d97c05afb IsRenderTextureReady has been renamed 2024-11-24 14:46:58 +01:00
JupiterRider
dbf9ed2bff IsTextureReady has been renamed 2024-11-24 14:44:41 +01:00
JupiterRider
d81d956c18 ImageDrawTriangle*-functions added 2024-11-24 14:41:13 +01:00
JupiterRider
07d2a6efde ImageDrawLineEx function added 2024-11-24 12:45:32 +01:00
JupiterRider
19bdd59547 ImageKernelConvolution function added 2024-11-24 12:39:13 +01:00
JupiterRider
bf03596ee4 ImageFromChannel function added 2024-11-24 12:28:19 +01:00
JupiterRider
23f1ab19b7 Update LoadImageAnim to match purego signature 2024-11-24 12:20:06 +01:00
JupiterRider
4da4ec54eb LoadImageAnimFromMemory function added 2024-11-24 12:17:59 +01:00
JupiterRider
77b59b8ebe GetMouseRay redirects to GetScreenToWorldRay 2024-11-23 21:48:43 +01:00
JupiterRider
873552f31a IsImageReady() is now IsImageValid() 2024-11-23 21:43:16 +01:00
JupiterRider
05860b8650 LoadImageSvg() has been removed 2024-11-23 21:40:07 +01:00
JupiterRider
cb6615f05b CheckCollisionCircleLine() added 2024-11-23 21:36:45 +01:00
JupiterRider
24c48cde91 DrawRectangleRoundedLinesEx function added (fixes #435) 2024-11-23 21:24:30 +01:00
JupiterRider
c364e5b3f5 Update DrawRectangleRoundedLines() (fixes #435) 2024-11-23 21:15:30 +01:00
JupiterRider
1b93816b90 DrawRectangleGradient*-functions parameter names modified 2024-11-23 21:09:13 +01:00
JupiterRider
1ad4e58c4f DrawRectangleGradient*-functions parameter names modified 2024-11-23 21:08:40 +01:00
JupiterRider
0f95293831 DrawCircleGradient() parameter names updated 2024-11-23 21:00:13 +01:00
JupiterRider
ff18bb497b GetShapesTexture() and GetShapesTextureRectangle() added 2024-11-23 20:56:02 +01:00
JupiterRider
972563ca1f SetGamepadVibration() added 2024-11-23 20:41:25 +01:00
JupiterRider
7275646a1d GetScreenToWorldRay() and GetScreenToWorldRayEx() added 2024-11-23 20:31:22 +01:00
JupiterRider
52954882a0 IsShaderReady() is now IsShaderValid() 2024-11-23 20:04:40 +01:00
JupiterRider
886e44de9c GetClipboardImage() added 2024-11-23 19:59:37 +01:00
JupiterRider
31abcc5ee4 GetCurrentMonitor() description fixed 2024-11-23 19:32:44 +01:00
JupiterRider
13942ea31b CubemapLayoutPanorama has been removed 2024-11-23 19:29:32 +01:00
JupiterRider
76be48cc11 Gamepad Buttons description fixed 2024-11-23 19:25:22 +01:00
JupiterRider
d7cae48c5a Value of KeyMenu has been changed 2024-11-23 19:22:25 +01:00
JupiterRider
7faf6e22e7 VrDeviceInfo.VScreenCenter field has been removed 2024-11-23 19:21:17 +01:00
JupiterRider
15e71af9da Mesh type has new fields 2024-11-23 19:19:11 +01:00
JupiterRider
11a0342061 update purego required dll version 2024-11-23 17:57:27 +01:00
JupiterRider
a0882a5b81 external c-sources updated 2024-11-23 17:27:55 +01:00
JupiterRider
2ad5a4babf remove svg sources (svg support has been moved to raylib-extras) 2024-11-23 17:25:20 +01:00
JupiterRider
724c790ff7 glfw sources updated 2024-11-23 17:21:57 +01:00
JupiterRider
fc50e055c0 platforms c-source files updated 2024-11-23 17:07:41 +01:00
JupiterRider
614ed9f942 utils.c updated 2024-11-23 17:05:01 +01:00
JupiterRider
e184faa15c rtextures.c updated 2024-11-23 17:04:44 +01:00
JupiterRider
c59907eea6 rtext.c updated 2024-11-23 16:59:00 +01:00
JupiterRider
4738b1467e rshapes.c updated 2024-11-23 16:57:42 +01:00
JupiterRider
37fd299f2a rmodels.c updated 2024-11-23 16:56:45 +01:00
JupiterRider
466f3e0804 rlgl.h updated 2024-11-23 16:53:25 +01:00
JupiterRider
3af3eea92a rgestures.h updated 2024-11-23 16:51:29 +01:00
JupiterRider
69cf3d30a4 rcore.c updated 2024-11-23 16:51:10 +01:00
JupiterRider
3e01b50698 update rcamera.h (has been rewritten in go as well) 2024-11-23 16:48:40 +01:00
JupiterRider
f293ef1482 raymath.h updated (not really required, because it has been rewritten in go) 2024-11-23 16:46:28 +01:00
JupiterRider
3b4a7104e2 raylib.h updated 2024-11-23 16:44:48 +01:00
JupiterRider
b1792a31d9 raudio.c updated 2024-11-23 16:43:26 +01:00
JupiterRider
c77be99ddc config.h updated 2024-11-23 16:38:51 +01:00
Per Hultqvist
8d54e15dc2 New example: models/draw_cube_textured 2024-11-18 14:18:05 +01:00
Per Hultqvist
bc9182ac34 New example: models/yaw_pitch_roll 2024-11-18 13:22:01 +01:00
Per Hultqvist
af2e6d755e New example: models/rlgl_solar_system 2024-11-18 12:41:48 +01:00
Per Hultqvist
5b33862cc1 Example fixed models/rlgl_solar_system 2024-11-18 12:19:33 +01:00
Milan Nikolic
01864c04b8
Merge pull request #467 from Hultan/obj_loading
Example fixed models/obj_loading
2024-11-17 16:30:00 +01:00
Milan Nikolic
b6c8a8e892
Merge pull request #465 from Hultan/m3d_loading
New example models/m3d_loading
2024-11-17 16:29:50 +01:00
Per Hultqvist
5eb8d9ded7 Example fixed models/obj_loading 2024-11-17 15:56:12 +01:00
Per Hultqvist
9782760778 New example models/m3d_loading 2024-11-16 18:23:44 +01:00
Milan Nikolic
f465c30447
Merge pull request #462 from Hultan/mesh_generation
Added a custom mesh to the example models/mesh_generation
2024-11-14 20:02:48 +01:00
Per Hultqvist
acf83f1ff9 New example models/mesh_picking 2024-11-11 18:42:02 +01:00
Per Hultqvist
e9aa553ec6 New example models/mesh_picking 2024-11-11 18:39:56 +01:00
Per Hultqvist
0ce1777bf3 New example models/mesh_picking 2024-11-11 16:46:28 +01:00
Milan Nikolic
60446bce15
Merge pull request #463 from Hultan/mesh_picking
New example models/mesh_picking
2024-11-11 15:44:50 +01:00
Milan Nikolic
4983e462e3
Merge pull request #461 from Hultan/billboard
Fixed example that differed : models/billboard
2024-11-11 15:43:21 +01:00
Milan Nikolic
bb09313fb5
Merge pull request #460 from Hultan/animation
Fixed example that differed : models/animations
2024-11-11 15:43:08 +01:00
Milan Nikolic
441f7fa504
Merge pull request #459 from Hultan/codepoints_loading
New example: text/codepoints_loading
2024-11-11 15:42:50 +01:00
Milan Nikolic
4b3433a06d
Merge pull request #458 from Hultan/draw_3d
New example: text/draw_3d
2024-11-11 15:42:28 +01:00
Per Hultqvist
de1c5d32ef New example models/mesh_picking 2024-11-11 15:02:05 +01:00
Per Hultqvist
0e82ab3a0d Added a custom mesh to the example models/mesh_generation 2024-11-11 08:53:10 +01:00
Per Hultqvist
6de5b09c62 Small path fix 2024-11-10 18:24:52 +01:00
Per Hultqvist
1073c97df9 Small path fix 2024-11-10 18:23:26 +01:00
Per Hultqvist
cac9dee8dd Fixed example that differed : models/billboard 2024-11-10 18:20:24 +01:00
Per Hultqvist
3f8ab9718f Fixed example that differed : models/animations 2024-11-10 18:05:33 +01:00
Per Hultqvist
7e465e47e2 New example (small change): text/codepoints_loading 2024-11-10 16:17:45 +01:00
Per Hultqvist
9108b3b7b0 New example: text/codepoints_loading 2024-11-10 16:06:52 +01:00
Per Hultqvist
a1df2e388e New example: text/draw_3d 2024-11-10 14:02:00 +01:00
Milan Nikolic
5e9516b94f
Merge pull request #456 from skullbulb/skybox-example
Added [models] example - skybox loading and drawing
2024-11-09 21:33:06 +01:00
skullbulb
382cbda3de Added [models] example - skybox loading and drawing 2024-11-09 19:34:09 +00:00
Milan Nikolic
553871567e
Merge pull request #455 from Hultan/unicode
New example: text/unicode
2024-11-08 14:55:34 +01:00
Milan Nikolic
ac16a0b3b6
Merge pull request #451 from Hultan/rectangle_bounds
New example: rectangle_bounds
2024-11-08 14:55:20 +01:00
Milan Nikolic
7a92d50d28
Merge pull request #452 from JupiterRider/DrawTextCodepoint
DrawTextCodepoint(s) functions added to cgo version
2024-11-08 14:53:46 +01:00
Per Hultqvist
afc255d0ca New example: text/unicode - small fix 2024-11-07 19:59:39 +01:00
Per Hultqvist
52946ea71d New example: text/unicode 2024-11-07 19:55:42 +01:00
JupiterRider
e171bb3751 DrawTextCodepoint(s) functions added to cgo version 2024-11-05 17:33:03 +01:00
Per Hultqvist
b7ac6957d3 New example: rectangle_bounds 2024-11-04 14:02:36 +01:00
Milan Nikolic
5100377cde
Merge pull request #449 from Hultan/input_box
New example: input_box
2024-11-03 18:12:47 +01:00
Milan Nikolic
3158dca464
Merge pull request #448 from JupiterRider/GenImageFontAtlas
GenImageFontAtlas added, font example added, LoadFontData function improved
2024-11-03 18:11:32 +01:00
Per Hultqvist
44e76696cc New example: input_box 2024-11-03 17:04:02 +01:00
JupiterRider
8c4ce9e206 remove trailing whitespace and carriage return in License file 2024-11-03 15:40:48 +01:00
JupiterRider
549dbcf4d8 SDF-font loading example added 2024-11-03 15:38:02 +01:00
JupiterRider
735af12e7f update LoadFontData: codePoints can now be nil, codepointCount defaults to 95 (like C raylib does) 2024-11-03 15:36:07 +01:00
JupiterRider
893dfa5f85 GenImageFontAtlas function added to cgo version as well 2024-11-03 15:13:14 +01:00
JupiterRider
8ea76a8e09 golang.org/x/exp is not in your go.mod file 2024-11-03 12:29:12 +01:00
Milan Nikolic
ab0d3a3fb2
Merge pull request #445 from Hultan/font_loading
New example: font_loading
2024-10-31 15:17:16 +01:00
Milan Nikolic
87d0d7185f
Merge pull request #444 from Hultan/font_filter
New example: font_filters
2024-10-31 15:17:06 +01:00
Per Hultqvist
c3e8a0f84a New example: font_loading 2024-10-31 13:34:37 +01:00
Per Hultqvist
8d78eefeee New example: font_filters 2024-10-31 13:06:59 +01:00
Milan Nikolic
8a6b23b2ed
Merge pull request #442 from Hultan/draw_ring
New example: Shapes/Draw_ring
2024-10-28 09:11:01 +01:00
Milan Nikolic
f8147233ca
Merge pull request #443 from Hultan/draw_circle_sector
New example: Shapes/draw_circle_sector
2024-10-28 09:10:44 +01:00
Per Hultqvist
1f7ddfca09 New example : shapes/draw_circle_sector 2024-10-24 17:21:11 +02:00
Per Hultqvist
bd66c8b623 New example : shapes/draw_ring 2024-10-24 17:15:30 +02:00
Hultan
6807b5cc47
Merge branch 'gen2brain:master' into master 2024-10-24 10:25:44 +02:00
Milan Nikolic
f2ab1b0c35
Merge pull request #438 from anasrar/master
feat(raymath): `MatrixDecompose`
2024-10-24 08:05:13 +02:00
Milan Nikolic
20a76b285d
Merge pull request #441 from JupiterRider/SetBlendMode
#437 take rl.BlendMode instead of int32
2024-10-24 07:58:50 +02:00
Milan Nikolic
d4e03b2d75
Merge pull request #440 from JupiterRider/DrawCircleLinesV
#436 DrawCircleLinesV to cgo-version added
2024-10-24 07:58:35 +02:00
Milan Nikolic
bb20d2da3e
Merge pull request #439 from JupiterRider/automationEvents
#431 AutomationEventList.GetEvents method added
2024-10-24 07:58:18 +02:00
JupiterRider
badf94c433 #437 take rl.BlendMode instead of int32 2024-10-23 21:36:14 +02:00
JupiterRider
5c0fc5c528 #436 DrawCircleLinesV to cgo-version added 2024-10-23 21:26:52 +02:00
JupiterRider
5268babfe0 #431 AutomationEventList.GetEvents method added 2024-10-23 20:48:36 +02:00
anasrar
f9b5993843
refactor(raymath): parameter typo 2024-10-23 01:44:47 +13:00
anasrar
da901b89c1
feat(raymath): MatrixDecompose 2024-10-23 01:10:52 +13:00
Per Hultqvist
d6c07f1bbf New example : core/vr_simulator 2024-10-19 18:08:02 +02:00
Milan Nikolic
b7833eeae8
Merge pull request #432 from Hultan/master
New example : Core/storage_values
2024-10-19 17:09:00 +02:00
Hultan
ec8840cdae
Merge branch 'gen2brain:master' into master 2024-10-19 16:28:15 +02:00
Per Hultqvist
f84ecd5b63 New example : core/storage_values 2024-10-19 16:27:24 +02:00
Milan Nikolic
0975c91121
Merge pull request #430 from Hultan/master
Small change in examples/texture/draw_tile
2024-10-19 11:21:48 +02:00
Hultan
077c9b9f63
Merge branch 'gen2brain:master' into master 2024-10-19 09:56:05 +02:00
Per Hultqvist
eb60c30db1 Textures/draw_tiled : Changed to the correct texture filter 2024-10-19 09:55:40 +02:00
Milan Nikolic
220865147a
Merge pull request #429 from JupiterRider/vr
vr functions added
2024-10-19 06:46:16 +02:00
JupiterRider
e9d222595d #428 BeginVrStereoMode and EndVrStereoMode purgo body added 2024-10-18 17:47:52 +02:00
JupiterRider
1eacaf732c #428 cgo vr functions added 2024-10-18 17:45:15 +02:00
Milan Nikolic
42a2d9159c
Merge pull request #423 from Hultan/master
3 more examples under texture
2024-10-17 18:35:16 +02:00
Per Hultqvist
8f5a54a530 Revert "New example : Textures/sprite_anim"
This reverts commit cf5c9f8b9a.
2024-10-17 16:35:11 +02:00
Per Hultqvist
3c0d4bcab6 New example : Textures/draw_tiled 2024-10-17 14:58:47 +02:00
Per Hultqvist
535ef37449 Merge remote-tracking branch 'origin/master' 2024-10-17 13:00:46 +02:00
Milan Nikolic
5c8466e15f
Merge pull request #422 from Hultan/master
Two new audio examples
2024-10-17 12:58:27 +02:00
Per Hultqvist
f1236640f9 New example : Textures/sprite_button 2024-10-17 12:44:25 +02:00
Per Hultqvist
cf5c9f8b9a New example : Textures/sprite_anim 2024-10-17 12:25:19 +02:00
Per Hultqvist
274a0b5854 New example : Textures/npatch_drawing 2024-10-17 11:54:12 +02:00
Per Hultqvist
a9a0a28119 New example : Audio/mixed processor 2024-10-17 11:04:50 +02:00
Per Hultqvist
5bed8af6d4 New example : Audio/sound_multi 2024-10-17 08:12:14 +02:00
Milan Nikolic
81eae2921a
Merge pull request #421 from Hultan/master
6 new raylib/core examples
2024-10-16 17:52:42 +02:00
Per Hultqvist
0a5dd6e49b Merge remote-tracking branch 'origin/master' 2024-10-16 16:07:19 +02:00
Per Hultqvist
d7bd66f339 New example : Window flags 2024-10-16 15:41:18 +02:00
Per Hultqvist
1ff1eefdf1 New example : Window letterbox 2024-10-16 14:52:18 +02:00
Per Hultqvist
c2b8b9ee3a New example : Custom Frame Control 2024-10-15 17:09:11 +02:00
Per Hultqvist
10a7b71ee0 New example : Custom Logging 2024-10-15 16:10:41 +02:00
Per Hultqvist
4e4f18a37c New example : Window should close 2024-10-15 15:19:15 +02:00
Per Hultqvist
afe70ad4c8 New example : 2d camera platform 2024-10-15 15:18:58 +02:00
Milan Nikolic
bf5ef18350
Merge pull request #420 from Hultan/master
Synced 3d camera splitscreen with raylib.com
2024-10-14 18:39:42 +02:00
Per Hultqvist
a33e6f490b Merge remote-tracking branch 'origin/master' 2024-10-14 18:18:11 +02:00
Per Hultqvist
5bf50a5c5b Synced up another raylib-go example with raylib:s example 2024-10-14 18:17:15 +02:00
Milan Nikolic
3039b26796
Merge pull request #419 from Hultan/master
Removed erroneous instructions
2024-10-14 17:30:18 +02:00
Per Hultqvist
e43e388549 Removed erroneous instructions 2024-10-14 17:15:36 +02:00
Milan Nikolic
f4adffe016
Merge pull request #418 from Hultan/master
3d camera first person example updated
2024-10-14 15:10:46 +02:00
Per Hultqvist
54b89f5a68 3d camera first person example updated to match https://www.raylib.com/examples/core/loader.html?name=core_3d_camera_first_person 2024-10-14 12:11:58 +02:00
Milan Nikolic
c66f9e2942
Merge pull request #415 from agrigoryan/feature/audio-mixed-processor
bindings for attaching/detaching mixed audio processor
2024-09-30 09:56:31 +02:00
agrigoryan
c2c8150de9 bindings for attaching/detaching mixed audio processor 2024-09-30 01:44:08 -04:00
Milan Nikolic
6bc3d79c96
Merge pull request #414 from imprity/NewImageFromImage-fix
Fix NewImageFromImage color converting
2024-09-16 07:06:33 +02:00
imprity
2053879bfb Fix NewImageFromImage color converting
Old version of NewImageFromImage converted colors incorrectly.
This commit fixes the issue.
2024-09-15 09:54:51 +09:00
Milan Nikolic
123ec7ae6b
Merge pull request #411 from JupiterRider/ColorFromNormalized-Fix
purego fix for ColorFromNormalized
2024-09-05 19:09:17 +02:00
JupiterRider
6c2499adff purego fix for ColorFromNormalized: Vector4 has to be passed as pointer (not by value) 2024-09-05 19:00:35 +02:00
Milan Nikolic
b4d0c52dc9
Merge pull request #406 from Aurora2500/mousebutton_newtype
[rcore] Added MouseButton newtype
2024-08-26 13:35:53 +02:00
Milan Nikolic
287f319ecb
Merge pull request #409 from JupiterRider/shaderfix
Some fixes for purego-version
2024-08-26 13:34:25 +02:00
JupiterRider
26bdccfe6f allow passing nil to LoadShader for purego as well (#172) 2024-08-21 22:54:05 +02:00
JupiterRider
d374f90b45 shader has to be passed as pointer 2024-08-21 22:49:35 +02:00
Aurora
a30a52c553 changed raylib_purego.go to use the new type 2024-08-13 12:27:47 +01:00
Aurora
afca9ac4b5 Added MouseButton newtype 2024-08-12 22:52:35 +01:00
Milan Nikolic
8861ee437d
Merge pull request #403 from elMuso/master
Android example: Added windows.bat and updated Readme
2024-08-07 13:16:36 +02:00
Arold
64b25f38d9 Android example: Added windows.bat and updated Readme 2024-08-06 22:53:40 -04:00
Milan Nikolic
62016ee92f
Merge pull request #396 from Palessan/palessan/raylib-go-sprite-gif-animations
Adding gif and sprite animation examples.
2024-06-28 14:51:41 +02:00
Palessan
ded439d849 rectangle will be renamed to textures_sprite_anim part 2/2
(using git mv to preserve git history)
2024-06-28 15:27:21 +03:00
Palessan
49d7e62303 rectangle will be renamed to textures_sprite_anim part 1/2 2024-06-28 15:18:23 +03:00
Palessan
6c3961f894 better to use the using existing method by passing the required []color.RGBA instead of the unsafe.Pointer 2024-06-28 15:11:11 +03:00
Palessan
f529bc2897 Adding gif and sprite animation examples.
-Added new UpdateTextureUnsafe method to support it.
2024-06-28 12:50:30 +03:00
Milan Nikolic
a997a44fb9
Support Windows 7, issue #392 2024-05-24 09:43:10 +02:00
Milan Nikolic
b7c9eeec1b
Merge pull request #391 from JupiterRider/GuiLoadIcons
[raygui] LoadIcons-, DrawIcon-function and example added
2024-05-22 22:09:53 +02:00
JupiterRider
d86638ae10 [raygui] LoadIcons-, DrawIcon-function and example added 2024-05-22 18:51:38 +02:00
Milan Nikolic
6c4349fd5c
Test purego 2024-05-22 17:12:50 +02:00
Milan Nikolic
b1a49c28b6
Merge pull request #384 from rocktavious/add-mul-matrix
Expose MultMatrix
2024-05-22 17:04:37 +02:00
Kyle
4a4f1ef82e
Remove purego implementation 2024-05-22 09:55:19 -05:00
Milan Nikolic
7430a4e0ef
Merge pull request #390 from JupiterRider/multmatrixf
MultMatrix for purego added
2024-05-22 16:30:10 +02:00
JupiterRider
9fe64ac4bd Fix MatrixToFloat 2024-05-22 16:23:31 +02:00
JupiterRider
86d08a7b86 MultMatrix for purego added 2024-05-22 15:37:00 +02:00
Kyle
426bcb3529
Fix typo 2024-05-22 07:12:22 -05:00
Kyle
b56bfca1e8
Update rlgl_purego.go correctly 2024-05-21 15:31:37 -05:00
Milan Nikolic
5314a4a209
Merge pull request #389 from JupiterRider/master
[raygui] don't trim leading and trailing white spaces (fix #351)
2024-05-18 18:08:52 +02:00
JupiterRider
a158bd444e [raygui] don't trim leading and trailing white spaces (fix #351) 2024-05-18 17:56:40 +02:00
Milan Nikolic
2915c1c582
Merge pull request #388 from JupiterRider/master
[raygui] use nil for empty strings
2024-05-16 21:26:30 +02:00
JupiterRider
7c239d1050 [raygui] use nil for empty strings; fixes #386 2024-05-16 20:41:28 +02:00
JupiterRider
c212c33886 [raygui] empty string will cause the draw of a title-bar, but nil doesn't 2024-05-16 19:05:18 +02:00
Milan Nikolic
e824a9b663
Merge pull request #387 from JupiterRider/master
TraceLog and TraceLogCallback fixes
2024-05-15 05:52:41 +02:00
JupiterRider
4c0391d217 comment fixed 2024-05-14 23:22:31 +02:00
JupiterRider
fa7e76c6a6 implement va_list for tracelog callbacks in purego 2024-05-14 23:17:31 +02:00
JupiterRider
6fd7907d31 Use fmt.Sprintf for TraceLog to match with cgo 2024-05-14 23:09:47 +02:00
JupiterRider
ac27873749 MAX_TRACELOG_BUFFER_SIZE is 256 since raylib 4.5 2024-05-14 22:49:48 +02:00
Kyle
49242a59c9
Update rlgl_purego.go 2024-05-13 07:15:11 -05:00
Kyle Rockman
da79f1d8b6 fix function to actually work 2024-05-11 19:38:23 -05:00
Kyle
032352a5ba
Update rlgl_cgo.go 2024-05-11 19:16:35 -05:00
Milan Nikolic
f68049cf26
Update darwin flags 2024-05-09 17:21:52 +02:00
Milan Nikolic
4b3ab504c8
Update RGFW 2024-05-09 17:21:05 +02:00
Milan Nikolic
9b53342ac0
Fix Android internal storage, issue #365 2024-05-09 08:27:51 +02:00
Milan Nikolic
c09c9462b4
Update README.md 2024-05-08 19:14:57 +02:00
Milan Nikolic
28722bb71f
Merge pull request #383 from zbednarke/raw-audio-example
Improve raw audio example
2024-05-08 14:26:20 +02:00
Milan Nikolic
48e419d11f
Update actions 2024-05-08 11:36:02 +02:00
Milan Nikolic
21775d2dee
Silence warnings 2024-05-08 11:26:39 +02:00
Milan Nikolic
451c14ce9f
Comment redefinitions 2024-05-08 11:25:08 +02:00
Milan Nikolic
64a63d5914
Update actions 2024-05-08 11:20:15 +02:00
Milan Nikolic
45279d6d25
Silence warnings 2024-05-08 11:19:01 +02:00
Milan Nikolic
6031600b18
Test RGFW 2024-05-08 11:09:31 +02:00
Milan Nikolic
7c4c1eed60
Update dependencies 2024-05-08 10:54:48 +02:00
Milan Nikolic
54ab84ca0c
Update README.md 2024-05-08 10:51:01 +02:00
Milan Nikolic
8a207901da
Fix DRM build 2024-05-08 10:50:08 +02:00
Milan Nikolic
6fa153fa53
Update dependencies 2024-05-08 10:31:41 +02:00
Milan Nikolic
7810550d63
Add RGFW backend 2024-05-08 10:30:05 +02:00
zbednarke
266797ff04 sine graphic 2024-05-07 20:42:31 -07:00
zbednarke
74d0b22ad1 lower sample rate 2024-05-07 20:38:52 -07:00
zbednarke
1a0035bfed make buffer bigger 2024-05-07 20:36:38 -07:00
zbednarke
a7fccc35a1 lower n samples per update to be on safe side 2024-05-07 20:20:12 -07:00
Zachary Bednarke
db4aa35b12 rename variables 2024-05-07 19:54:07 -07:00
Zachary Bednarke
65392e706d rename f t frequency 2024-05-07 19:51:43 -07:00
Zachary Bednarke
95c2f5679a pretty it up 2024-05-07 19:43:43 -07:00
Zachary Bednarke
18035cee69 first in fork 2024-05-07 19:37:13 -07:00
Milan Nikolic
1868520849
Update C sources 2024-05-07 21:54:39 +02:00
Milan Nikolic
2a66186c7d
Merge pull request #381 from ajsosa/borderless
Expose ToggleBorderlessWindowed() to golang.
2024-05-07 11:00:38 +02:00
Milan Nikolic
0b93fbfb6f
Merge pull request #382 from JFAexe/cgo-waittime
Add missing WaitTime
2024-05-07 11:00:21 +02:00
JFAexe
19429cd00d Add missing WaitTime 2024-05-05 10:21:22 +03:00
ajsosa
1c9f65903d
Expose ToggleBorderlessWindowed() to golang. 2024-04-28 18:30:46 -05:00
Milan Nikolic
f406ea403b
Merge pull request #379 from gabriel-marques/master
Added custom frame control functions to rcore.go
2024-04-24 19:27:46 +02:00
Gabriel Da Silva Marques
4523bcd71d Added custom frame control functions to rcore.go
Added SwapScreenBuffer() and PollInputEvents into rcore.go with corresponding comments
To use them it's necessary to build with CGO_CFLAGS="-DSUPPORT_CUSTOM_FRAME_CONTROL=1"
Also added more info in the raylib_purego.go file for theses two functions in order to inform that the dll must be recompiled
2024-04-24 18:10:35 +02:00
Milan Nikolic
278df68f40
Merge pull request #377 from JupiterRider/fix-return-values
Don't use struct return values
2024-04-21 21:10:56 +02:00
JupiterRider
8545220e18
Don't use struct return values
This fixes https://github.com/gen2brain/raylib-go/issues/376
2024-04-21 20:27:15 +02:00
Milan Nikolic
9548fadb54
Merge pull request #375 from alessandrojcm/master
feat: add DrawTextPro
2024-04-18 17:02:28 +02:00
Alessandro Cuppari
e717485867 fix: args should be pointers 2024-04-18 13:59:55 +01:00
Alessandro Cuppari
39b56ef013 feat: add DrawTextPro 2024-04-16 21:55:35 +01:00
Milan Nikolic
53f26d8a08
Merge pull request #371 from jdbann/fix-scroll-panel-view
Fix ScrollPanel view binding
2024-04-08 15:05:34 +02:00
John Bannister
0b4f8b1cc0 Fix ScrollPanel view binding
The values on the view parameter of ScrollPanel() should be updated with
the values set by the C method.
2024-04-07 14:12:03 +01:00
Milan Nikolic
c3665eb9ab
Add x11 build tag 2024-02-27 12:46:48 +01:00
Milan Nikolic
00f5f785e6
Update android example 2024-02-27 07:54:10 +01:00
Milan Nikolic
069b39e688
Fix android build 2024-02-27 07:48:19 +01:00
Milan Nikolic
468523fda4
Update README.md 2024-02-26 09:45:57 +01:00
Milan Nikolic
3889376dd3
Update actions 2024-02-26 09:38:46 +01:00
Milan Nikolic
cc776abd3b
Update actions 2024-02-26 09:35:31 +01:00
Milan Nikolic
caf96ad1c0
Update cgo 2024-02-26 09:29:23 +01:00
Milan Nikolic
83c4beb421
Add wayland files 2024-02-26 09:26:41 +01:00
Milan Nikolic
5abcc8b79c
Update wayland script 2024-02-26 09:26:12 +01:00
Milan Nikolic
8596a5db72
Rename wayland functions 2024-02-26 09:25:40 +01:00
Milan Nikolic
ce43cc1f10
Remove deps 2024-02-26 09:24:04 +01:00
Milan Nikolic
9a0e172ca7
Update GLFW 2024-02-26 09:23:08 +01:00
Milan Nikolic
0b7f0bb776
Merge pull request #352 from uprun/only-changes-2024-02-24
added LoadFontExByRunesNumber
2024-02-25 13:24:01 +01:00
Oleksandr Kryvonos
a870a09894 variadic parameter for runesNumber in LoadFontEx 2024-02-25 12:18:39 +01:00
Oleksandr Kryvonos
a490f10c86 copied only changes 2024-02-24 20:39:33 +01:00
Milan Nikolic
83d871a38f
Merge pull request #348 from unklnik/master
Update README.md
2024-01-25 12:10:08 +01:00
unkl nik
a5d0d71e50 Update README.md 2024-01-25 12:55:45 +02:00
Milan Nikolic
0e9c277161
Merge pull request #345 from shellfu/Issue-343
Add Compute Shader and SSBO Functions to raylib-go in `rlgl_purego.go`
2024-01-23 19:00:55 +01:00
ShellFu
74450e33c1
Merge pull request #1 from JupiterRider/Issue-343
Fixed  types and typos
2024-01-23 10:32:55 -07:00
JupiterRider
3bc33ec8b7 Update rlgl_cgo.go 2024-01-23 17:58:33 +01:00
JupiterRider
2a08e83ca4 Fix typo and data-types 2024-01-23 17:56:50 +01:00
Daniel 'ShellFu' Kendrick
0b58bcbe1b Add Compute Shader and SSBO Functions to raylib-go in rlgl_purego.go
This commit introduces functions related to compute shaders and
Shader Buffer Storage Objects (SSBOs) in raylib-go. It adds
bindings for loading, dispatching, and managing compute shaders
and SSBOs, aligning raylib-go more closely with the raylib C
library's capabilities. Specifically, the functions added are
`LoadComputeShaderProgram`, `ComputeShaderDispatch`, `LoadShaderBuffer`,
`UnloadShaderBuffer`, `UpdateShaderBuffer`, `BindShaderBuffer`,
`ReadShaderBuffer`, and `CopyShaderBuffer`. These additions enhance
raylib-go's utility for more advanced GPU operations.
2024-01-22 16:19:55 -07:00
Milan Nikolic
5cc3226b35
Merge pull request #344 from shellfu/Issue-343
Add Compute Shader and SSBO Functions to raylib-go
2024-01-22 14:23:02 +01:00
Daniel 'ShellFu' Kendrick
5c31cc3104 Add Compute Shader and SSBO Functions to raylib-go
This commit introduces functions related to compute shaders and
Shader Buffer Storage Objects (SSBOs) in raylib-go. It adds
bindings for loading, dispatching, and managing compute shaders
and SSBOs, aligning raylib-go more closely with the raylib C
library's capabilities. Specifically, the functions added are
`LoadComputeShaderProgram`, `ComputeShaderDispatch`, `LoadShaderBuffer`,
`UnloadShaderBuffer`, `UpdateShaderBuffer`, `BindShaderBuffer`,
`ReadShaderBuffer`, and `CopyShaderBuffer`. These additions enhance
raylib-go's utility for more advanced GPU operations.
2024-01-21 11:08:17 -07:00
Milan Nikolic
49aab27a9b
Merge pull request #342 from shellfu/Issue-341
Align raylib-go ExportImage with C Library Behavior
2024-01-16 13:05:07 +01:00
Daniel 'ShellFu' Kendrick
1f80c1e4c2 Removed test per maintainer instruction, added back in ImageFromImage and LoadTextureCubemap 2024-01-15 13:20:45 -07:00
Daniel 'ShellFu' Kendrick
509ad7da5c Align raylib-go ExportImage with C Library Behavior
The original raylib C library's ExportImage function returns a boolean to
indicate the success or failure of the export operation. This behavior was
missing in the raylib-go implementation, which provided no return value,
thereby limiting error handling capabilities.

This commit updates the ExportImage function in raylib-go to return a boolean
or an error, aligning it with its C counterpart and enabling idiomatic Go
error handling. The change includes updates to the function and tests to
reflect the new return type. This enhancement increases robustness and clarity
in error handling for Go developers using raylib-go.

The test suite has been updated and run to ensure the correct functioning of
the modified ExportImage function, with results confirming the expected
behavior in both successful and unsuccessful scenarios.

- Daniel "ShellFu" Kendrick
2024-01-15 12:20:40 -07:00
Milan Nikolic
483e94e4d9
Merge pull request #339 from pierrec/master
add ImageFromImage()
2024-01-10 11:28:18 +01:00
Pierre Curto
b63c9257c5 add ImageFromImage() 2024-01-10 10:22:54 +01:00
Milan Nikolic
b32467e017
Merge pull request #337 from JupiterRider/master
physics.GetBodies: return only non nil (active) bodies
2024-01-09 17:17:35 +01:00
JupiterRider
381d68b2a3 physics.GetBodies: return only non nil (active) bodies 2024-01-09 16:54:02 +01:00
Milan Nikolic
17ce081452
Merge pull request #332 from Gamerfiend/master
feat: update rtextures.go to have the func LoadTextureCubemap.
2023-12-30 16:04:16 +01:00
Snowminx
48241c48d2
fix: update purego signature to match 2023-12-29 20:42:43 -08:00
Snowminx
9553e2fd26
Merge branch 'gen2brain:master' into master 2023-12-29 20:40:08 -08:00
Milan Nikolic
6f8b5ec246
Merge pull request #334 from JupiterRider/master
Change signature of LoadFontFromMemory in raylib/rtext.go
2023-12-29 14:48:53 +01:00
JupiterRider
6656db4829 Change signature of LoadFontFromMemory in raylib/rtext.go to match with purego version 2023-12-28 16:06:40 +01:00
Snowminx
5c6d0848aa
Merge branch 'gen2brain:master' into master 2023-12-24 19:22:17 -08:00
Snowminx
1cee1d0534
fix: pass by value to c function 2023-12-24 19:21:57 -08:00
Snowminx
656b4a4a8d
fix: update to convert params to cgo 2023-12-24 18:36:56 -08:00
Milan Nikolic
6c3c38896e
Merge pull request #330 from Fluffy-Bean/master
Fix Grid mouseCell not updaing value
2023-12-25 03:18:19 +01:00
Milan Nikolic
ac28b4b4f1
Merge pull request #329 from CollCaz/master
Updated link to physac.h
2023-12-25 03:18:11 +01:00
Milan Nikolic
03d38e920f
Merge pull request #325 from jpgleeson/add-triangle-3d-binding
Add binding for DrawTriangle3D to rmodels.go
2023-12-25 03:18:02 +01:00
Snowminx
4bb9631420
feat: update rtextures.go to have the func LoadTextureCubemap. 2023-12-24 12:40:03 -08:00
Michał
cf285a20a1
Fix mouseCell pointer not updaing value 2023-12-19 14:38:36 +00:00
Yassen Tombokti
69512c77d6
Merge pull request #1 from CollCaz/CollCaz-patch-1
Updated the link to physac.h to point to the correct location.
2023-12-18 22:03:41 +00:00
Yassen Tombokti
2bee857547
Update README.md 2023-12-18 21:59:40 +00:00
jack gleeson
19dc46f86c Add binding for DrawTriangle3D to rmodels.go 2023-12-06 19:51:46 -08:00
Milan Nikolic
48309e2407
Merge pull request #322 from swazzles/master
Add flag for borderless windowed mode
2023-11-23 18:44:46 +01:00
Milan Nikolic
7ef92adf08
Merge pull request #321 from JupiterRider/master
Update purego
2023-11-23 18:39:35 +01:00
swazzles
34ea0cc7f5 Add flag for borderless windowed mode 2023-11-23 22:51:51 +11:00
JupiterRider
a5d2760b16 Remove obsolete comment 2023-11-22 19:06:35 +01:00
JupiterRider
f537de6ed9 go mod tidy 2023-11-22 16:29:10 +01:00
JupiterRider
f239fe2f67 Updat purego to 192c5e846faa64025fb8a6a94532c7a77fbd8dce 2023-11-22 16:26:21 +01:00
Milan Nikolic
a9659ea9c9
Merge pull request #318 from JupiterRider/master
Purego rlgl implemented
2023-11-18 19:18:07 +01:00
JupiterRider
db3e0be60e go mod tidy examples 2023-11-18 19:06:12 +01:00
JupiterRider
43d0a14b92
Merge branch 'master' into master 2023-11-18 18:56:48 +01:00
JupiterRider
2be56088ed Update modules 2023-11-18 18:50:49 +01:00
JupiterRider
fdd3d616da Update purego 2023-11-18 18:41:43 +01:00
JupiterRider
79286ba625 Make rlgl types public and add missung functions 2023-11-18 18:27:35 +01:00
JupiterRider
251b88bcb4 Purego rlgl implemented 2023-11-18 15:11:00 +01:00
Milan Nikolic
fed470e445
Update modules 2023-11-18 14:12:54 +01:00
Milan Nikolic
a1c890e8cb
Update C sources 2023-11-18 13:56:50 +01:00
Milan Nikolic
7637a03441
Update README.md 2023-11-17 08:09:16 +01:00
Milan Nikolic
c4b65589c7
Update README.md 2023-11-16 17:42:19 +01:00
Milan Nikolic
f09d79e85e
Merge pull request #315 from dusk125/v2-divide-by-0
Fix potential divide by 0 in vector2
2023-11-16 17:40:50 +01:00
Milan Nikolic
8c380e0735
Merge pull request #308 from JupiterRider/master
First approach for purego
2023-11-16 17:39:04 +01:00
Allen Ray
a70feefe17 Fix potential divide by 0 in vector2 2023-11-16 11:21:15 -05:00
JupiterRider
90f0980286 Remove comments. Change build tag. 2023-11-16 17:14:20 +01:00
JupiterRider
0e067872f8 Remove file/io functions. Make purego and CGO API match. 2023-11-16 17:05:29 +01:00
JupiterRider
3219556f38 Change functions to match with raylib-go (cgo version) 2023-11-16 14:35:55 +01:00
JupiterRider
81be9a803b Update README.md 2023-11-16 13:22:48 +01:00
JupiterRider
072413410f Update README.md 2023-11-16 13:18:54 +01:00
JupiterRider
efaf005350 implement version check 2023-11-16 13:06:56 +01:00
Milan Nikolic
5c837b68a5
Merge pull request #314 from unklnik/master
Add more examples
2023-11-15 22:30:08 +01:00
JupiterRider
c535f250e9
Fix typo in README.md 2023-11-15 22:22:37 +01:00
JupiterRider
7959c31cff
Update README.md 2023-11-15 22:19:56 +01:00
unkl nik
1c9c6cec66
Merge branch 'gen2brain:master' into master 2023-11-15 22:45:12 +02:00
unkl nik
1500124ca1 add more examples 2023-11-15 22:44:54 +02:00
JupiterRider
a013367ef2 Final purego functions implemented 2023-11-15 21:38:29 +01:00
JupiterRider
c290701005 More functions 2023-11-15 17:04:22 +01:00
JupiterRider
0421884b62 Typo fixed 2023-11-14 21:33:43 +01:00
JupiterRider
4bb11a7b06 More functions implemented 2023-11-14 21:31:29 +01:00
JupiterRider
b010adb6a2 More functions implemented 2023-11-14 20:44:44 +01:00
JupiterRider
c5cba9a408 Resolve merge conflicts -.- 2023-11-14 17:29:31 +01:00
Milan Nikolic
45c6718b99
Move TraceLogCallbackFun, add Vr structs 2023-11-12 22:15:19 +01:00
Milan Nikolic
f3383deda8
Merge pull request #312 from unklnik/master
Add more core examples
2023-11-12 21:23:20 +01:00
unkl nik
032749cff8 Merge branch 'master' of https://github.com/unklnik/raylib-go 2023-11-12 22:12:30 +02:00
unkl nik
34665bd091 add core examples 2023-11-12 22:12:17 +02:00
Milan Nikolic
6eb8c8c1f6
Update rcore 2023-11-12 20:43:27 +01:00
Milan Nikolic
1a9e976d4c
Move audio callback 2023-11-12 17:54:56 +01:00
Milan Nikolic
3d34b7e25a
Move audio structs 2023-11-12 17:51:38 +01:00
Milan Nikolic
61a393d4ce
Lint 2023-11-12 17:21:56 +01:00
Milan Nikolic
cca4bb4659
Use TraceLog instead of printf 2023-11-12 16:10:50 +01:00
Milan Nikolic
5a62d0591a
Update rcamera 2023-11-12 15:50:26 +01:00
Milan Nikolic
f7a84b3d10
Update raymath 2023-11-12 15:48:46 +01:00
Milan Nikolic
4e92726a47
Update raygui, issue #262 2023-11-12 15:44:49 +01:00
Milan Nikolic
f492eb5f2b
Update rres 2023-11-12 12:21:11 +01:00
Milan Nikolic
3c5dec7f24
Update C sources 2023-11-12 11:58:48 +01:00
Milan Nikolic
0d91e92a2f
Update example 2023-11-12 11:46:29 +01:00
Milan Nikolic
48115fd903
Update rlgl 2023-11-12 11:36:46 +01:00
Milan Nikolic
8e9d04aaec
Add math functions 2023-11-12 10:58:33 +01:00
Milan Nikolic
2142971835
Add math functions 2023-11-12 10:44:46 +01:00
Milan Nikolic
44e78ec5d1
Merge pull request #310 from rocktavious/kr/vector_rotate
Add method to rotate vector by quaternion
2023-11-11 22:55:54 +01:00
Milan Nikolic
a79a9b93b5
Merge pull request #311 from rocktavious/kr/quat_eular
Add Quaternion Euler methods
2023-11-11 22:55:46 +01:00
Kyle Rockman
2045c22530 Add Quaternion Euler methods 2023-11-11 12:58:54 -06:00
Kyle Rockman
94a602d292 Add method to rotate vector by quaternion 2023-11-11 12:41:47 -06:00
Milan Nikolic
a4ea6d49d9
Add Automation functions 2023-11-10 12:09:15 +01:00
Milan Nikolic
c61ef10346
Update examples 2023-11-10 10:57:07 +01:00
Milan Nikolic
5830da3d87
Add Spline functions 2023-11-10 09:57:03 +01:00
Milan Nikolic
61e85d2e51
Re-add functions 2023-11-10 08:59:49 +01:00
Milan Nikolic
e5c1864fd8
Reimplement camera in Go 2023-11-10 08:27:42 +01:00
Milan Nikolic
6f02771b52
Add some math functions 2023-11-10 08:26:46 +01:00
Milan Nikolic
93855022d7
Update definitions 2023-11-10 08:26:22 +01:00
Milan Nikolic
d0612c27b2
Update C sources 2023-11-09 14:32:33 +01:00
Milan Nikolic
07d1374c41
Add Automation structs 2023-11-09 12:07:41 +01:00
Milan Nikolic
0ed826cfa9
Update README.md 2023-11-09 11:01:27 +01:00
Milan Nikolic
85f651a3cd
Update README.md 2023-11-09 10:27:23 +01:00
Milan Nikolic
3c61a95ab0
Update cgo 2023-11-09 09:44:48 +01:00
Milan Nikolic
3274fb58ea
Add new math functions 2023-11-09 09:22:41 +01:00
Milan Nikolic
f953e65a3a
Move functions 2023-11-09 08:55:58 +01:00
Milan Nikolic
9f257fc589
Add SetAudioStreamCallback, issue #279 2023-11-09 00:45:46 +01:00
Milan Nikolic
b09590165d
Merge pull request #307 from Peternj42/Fix-for-UploadMesh
Fix for UnloadMesh per issue #303
2023-11-08 23:36:23 +01:00
Peter Johnson
5f92cb5067 Fix for UnloadMesh per issue #303 2023-11-08 13:53:20 -08:00
Peter Johnson
f8a694c149 Fix for UnloadMesh per issue #303 2023-11-08 13:33:57 -08:00
Peter Johnson
4c850b2472 Fix for UnloadMesh per issue #303 2023-11-08 13:28:48 -08:00
Milan Nikolic
d08f80c4b8
Update README.md 2023-11-08 22:24:21 +01:00
Peter Johnson
b2b81aefc9 Revert "Add binding for UploadMesh()"
This reverts commit bffb8baffd6d90dc29aaec33d35c75a2122ee967.
2023-11-08 13:20:41 -08:00
Milan Nikolic
94e162104c
Move functions 2023-11-08 21:44:41 +01:00
Milan Nikolic
22e56137c1
Add UpdateMeshBuffer 2023-11-08 21:14:00 +01:00
Milan Nikolic
d269b291f2
Add LoadTextureDepth 2023-11-08 21:00:58 +01:00
Milan Nikolic
8cadac2fbc
Add new text functions 2023-11-08 20:46:40 +01:00
Milan Nikolic
f75cc39078
Add new text functions 2023-11-08 20:16:56 +01:00
Milan Nikolic
635c63d7cc
Add new shapes functions 2023-11-08 19:34:50 +01:00
Milan Nikolic
3f31944caf
Enable SVG 2023-11-08 19:09:33 +01:00
Milan Nikolic
42fa435e0f
Add new textures functions 2023-11-08 19:08:52 +01:00
Milan Nikolic
c869c2069e
Update Android instructions 2023-11-07 14:58:44 +01:00
Milan Nikolic
5731069262
Add Name field to ModelAnimation 2023-11-07 14:43:17 +01:00
Milan Nikolic
4da19689d8
Add es3 build tag 2023-11-07 14:39:26 +01:00
Milan Nikolic
040d87fb79
Use unsafe Slice/SliceData 2023-11-07 14:25:51 +01:00
Milan Nikolic
e3d8d6dd12
Rename angle to es2 2023-11-07 14:06:19 +01:00
Milan Nikolic
c0b171213e
Add new core and audio functions 2023-11-07 13:56:05 +01:00
Milan Nikolic
1ffd9fb3ca
Merge pull request #305 from rocktavious/kr/fix-custom-mesh
Bugfix for UploadMesh and UnloadMesh based on #303
2023-11-07 13:00:46 +01:00
Milan Nikolic
a26d249d55
Update actions 2023-11-07 12:59:35 +01:00
Kyle Rockman
d03a809e9d Bugfix for UploadMesh and UnloadMesh based on #303 2023-11-07 05:15:15 -06:00
Milan Nikolic
a8f73b764b
Merge pull request #304 from unklnik/master
Easings Examples Added
2023-11-07 08:04:53 +01:00
unkl nik
3692bf3772
Merge branch 'gen2brain:master' into master 2023-11-06 22:04:23 +02:00
unkl nik
52ec197c4c easings examples added 2023-11-06 22:04:04 +02:00
Milan Nikolic
20ca90bb33
Merge pull request #302 from unklnik/master
add more shapes examples
2023-11-06 14:24:46 +01:00
unkl nik
64b853abaa Merge branch 'master' of https://github.com/unklnik/raylib-go 2023-11-06 06:52:34 +02:00
unkl nik
6597a94265 removed example 2023-11-06 06:52:27 +02:00
unkl nik
52699c0e87
Merge branch 'gen2brain:master' into master 2023-11-05 23:24:40 +02:00
unkl nik
1300701806 add more shapes examples 2023-11-05 23:24:20 +02:00
Milan Nikolic
30493ab2ab
Merge pull request #300 from JupiterRider/master
Update cgo_linux_sdl.go
2023-11-05 20:26:21 +01:00
JupiterRider
d3b09cb124
Update cgo_linux_sdl.go 2023-11-05 20:15:48 +01:00
Milan Nikolic
1e13bd47a6
Update Android instructions 2023-11-04 16:36:37 +01:00
Milan Nikolic
a01d6ec490
Fix Android build 2023-11-04 16:32:46 +01:00
Milan Nikolic
3120f5fb08
Update Android instructions, issue #235 2023-11-04 14:48:26 +01:00
Milan Nikolic
e8ff82b394
Fix Android build 2023-11-04 14:47:09 +01:00
Milan Nikolic
4ad2d2748d
Test Wayland build 2023-11-04 13:56:34 +01:00
Milan Nikolic
211d960bdd
Test DRM build 2023-11-04 13:48:29 +01:00
Milan Nikolic
51b429b408
Test SDL build 2023-11-04 13:41:07 +01:00
Milan Nikolic
6180532752
Fix flags for SDL backend 2023-11-04 13:39:59 +01:00
Milan Nikolic
7196155b6c
Silence warning 2023-11-04 13:30:57 +01:00
Milan Nikolic
48e1caae0a
Silence warning 2023-11-04 13:28:52 +01:00
Milan Nikolic
d8e3cf78fd
Silence warning 2023-11-04 13:21:07 +01:00
Milan Nikolic
3360650d39
Silence warning 2023-11-04 13:18:36 +01:00
Milan Nikolic
5943b16bad
Silence warning 2023-11-04 13:16:24 +01:00
Milan Nikolic
516d1378a4
Remove RPI 2023-11-04 13:10:05 +01:00
Milan Nikolic
af9daf8452
Add SDL backend 2023-11-04 13:08:38 +01:00
Milan Nikolic
15fba7e9ac
Update C sources 2023-11-04 13:06:19 +01:00
Milan Nikolic
443f35cfac
Merge pull request #298 from unklnik/master
add model examples
2023-11-04 11:22:11 +01:00
unkl nik
94df411e86
Merge branch 'gen2brain:master' into master 2023-10-30 22:07:16 +02:00
unkl nik
75001379dc add models examples 2023-10-30 22:06:52 +02:00
Milan Nikolic
0e306ce58c
Merge pull request #297 from unklnik/master
Adding more model & shader examples
2023-10-29 17:49:46 +01:00
unkl nik
2e1cd4fca0 add more models examples 2023-10-27 22:06:20 +02:00
unkl nik
aa476e0a1c
Merge branch 'gen2brain:master' into master 2023-10-25 21:54:19 +02:00
unkl nik
35682b2387 add more model & shader examples 2023-10-25 21:53:53 +02:00
Milan Nikolic
3f961a273f
Test gui examples 2023-10-22 01:16:20 +02:00
Milan Nikolic
2d673bb5f4
Merge pull request #294 from unklnik/master
add more texture & shader examples
2023-10-21 22:36:13 +02:00
unkl nik
32413f57ee
Merge branch 'gen2brain:master' into master 2023-10-21 22:23:52 +02:00
unkl nik
f121c0e386 add more texture & shader examples 2023-10-21 22:23:22 +02:00
Milan Nikolic
3167545b2b
Merge pull request #293 from dusk125/add-Unloadimagecolors
Add UnloadImageColors
2023-10-21 19:21:16 +02:00
Allen Ray
fac9477f84 Add UnloadImageColors 2023-10-21 12:15:35 -04:00
Milan Nikolic
02654bd48c
Merge pull request #292 from nellfs/fix-fruit-spawn
Fixing snake example fruit spawning
2023-10-21 10:45:36 +02:00
Milan Nikolic
0b40830c49
Merge pull request #291 from unklnik/master
add more textures examples
2023-10-21 10:36:00 +02:00
nellfs
a272669c53 Fixing snake example fruit spawn 2023-10-20 22:31:51 -03:00
unkl nik
0dda56d08d add more textures examples 2023-10-20 22:01:45 +02:00
Milan Nikolic
10c61020bc
Merge pull request #290 from JupiterRider/master
Getters for Model type added
2023-10-17 21:18:53 +02:00
JupiterRider
cbdedc5843
Merge branch 'gen2brain:master' into master 2023-10-17 20:59:11 +02:00
Milan Nikolic
f7f928dba6
Merge pull request #289 from unklnik/master
Added more Core & Shader examples
2023-10-17 20:20:54 +02:00
JupiterRider
a6238d7cd6 Getters for Model type added 2023-10-17 20:16:43 +02:00
unkl nik
6f0f7a0d03
Merge branch 'gen2brain:master' into master 2023-10-17 19:46:34 +02:00
unkl nik
3e96c7e9df add more Core examples 2023-10-17 19:46:08 +02:00
Milan Nikolic
429cdff4ee
Merge pull request #288 from JupiterRider/master
"KeyNull" added
2023-10-17 15:52:26 +02:00
JupiterRider
e9649c4ced "KeyNull" added 2023-10-17 15:35:18 +02:00
Milan Nikolic
fa2a4d6247
Merge pull request #286 from patrickReiis/master
fix: rand.Seed is deprecated
2023-10-16 11:41:08 +02:00
P. Reis
2e003fe385 fix: rand.Seed is deprecated, change to New(NewSource(seed)) 2023-10-15 19:43:40 -03:00
unkl nik
4847c62547 Merge branch 'master' of https://github.com/unklnik/raylib-go 2023-10-15 20:02:38 +02:00
unkl nik
4b88d9867b Add Color Mix Example 2023-10-15 20:02:24 +02:00
Milan Nikolic
e9da61431c
Merge pull request #285 from unklnik/master
Updated Light.go - reflect.SliceHeader Deprecated
2023-10-10 17:51:30 +02:00
unkl nik
e7668cd4cb Sprite Explosion Example 2023-10-10 17:34:38 +02:00
unkl nik
a163aa486d port new texture example
Port of the original example at this link https://www.raylib.com/examples/textures/textures_sprite_explosion.html to Go
2023-10-06 14:38:30 +02:00
unkl nik
da52debc9b Failing due to RayGui import not sure why
The example works however something to do with the RayGui import is causing it to fail, deleting.
2023-10-04 17:31:15 +02:00
unklnik
bbc8e558a5 shapes examples 2023-10-04 17:10:01 +02:00
unklnik
d3497d36da updated light.go added basic lighting example 2023-09-30 21:01:10 +02:00
Milan Nikolic
dc25841510
Merge pull request #284 from unklnik/master
More examples
2023-09-28 20:13:14 +02:00
unklnik
d97aa6e3f6 porting new examples to Go from raylib.com/examples.html 2023-09-28 20:00:13 +02:00
unklnik
ba70e484d0 Merge branch 'master' of https://github.com/unklnik/raylib-go 2023-09-28 19:20:04 +02:00
unklnik
d1ff37fc1c porting new examples to Go from https://www.raylib.com/examples.html 2023-09-28 19:18:53 +02:00
Milan Nikolic
60733cd63d
Merge pull request #282 from unklnik/master
Adding Raymarching Shaders Example
2023-09-26 18:29:06 +02:00
unklnik
3b62f9f7a4 Add existing file 2023-09-26 17:56:09 +02:00
Milan Nikolic
f770ca0981
Merge pull request #278 from MurilloBrand/master
Fixing TextBox issue and adding Trim to other inputs
2023-08-26 18:00:40 +02:00
Murillo Brandão
b80e660c8d
Fixing file with gofmt 2023-08-26 12:45:54 -03:00
Milan Nikolic
211002595f
Merge pull request #277 from wintermute-cell/master
bugfix: change raygui.SetStyle and raygui.GetStyle to use int64 for the value
2023-08-26 17:22:24 +02:00
Murillo Brandão
a99e6eea97
Fixing TextBox issue and adding Trim to other inputs 2023-08-26 11:31:43 -03:00
wintermute
305603f289 bugfix: change raygui.SetStyle and raygui.GetStyle to use int64 for the value 2023-08-20 23:53:08 +02:00
Milan Nikolic
30cfef01da
Merge pull request #268 from glitchland/master
Fix texture2d as it is deprecated name
2023-08-18 20:47:03 +02:00
Milan Nikolic
7de2ce59aa
Merge pull request #276 from worldwalker2000/fix_set_trace_log_level_name
rename SetTraceLog to SetTraceLogLevel
2023-08-18 19:59:21 +02:00
worldwalker2000
caa2f70fd5 updated comments 2023-08-18 10:03:04 -07:00
worldwalker2000
d90e3e4de5 rename SetTraceLog to SetTraceLogLevel 2023-08-17 22:50:58 -07:00
Milan Nikolic
1083eace20
Merge pull request #273 from nomad-software/add-drawbillboardpro
Added DrawBillboardPro function.
2023-07-19 23:10:22 +02:00
Gary Willoughby
a72c780123 Added DrawBillboardPro function. 2023-07-19 19:42:02 +01:00
glitch
06cc150dff fix deprecated texture loading function name in glsl 2023-06-30 18:37:46 -06:00
glitch
57adf66c58 fix deprecated texture loading function name in glsl 2023-06-30 18:32:59 -06:00
Milan Nikolic
9def9b04c9
Update Wayland 2023-06-21 13:11:37 +02:00
Milan Nikolic
ebac46345c
Update Wayland 2023-06-21 13:05:08 +02:00
Milan Nikolic
3ca5eae18e
Update modules 2023-06-21 11:36:35 +02:00
Milan Nikolic
a6644da243
Do not link GL when ANGLE is used 2023-06-21 11:19:43 +02:00
Milan Nikolic
048c1b598c
Merge pull request #264 from JupiterRider/master
Redesign of rres
2023-06-06 11:46:59 +02:00
JupiterRider
95469afaa3
Update README.md 2023-06-04 12:25:19 +02:00
JupiterRider
81ea8a7ab0 Add go functions for rres-raylib.h 2023-06-04 12:15:07 +02:00
JupiterRider
349288d189 Add more functions 2023-06-04 11:24:25 +02:00
JupiterRider
fb93c7c94b rres rewrite (update sources, create go-types, add some functions) 2023-06-02 21:31:11 +02:00
Peter Johnson
417130bd8e Add binding for UploadMesh 2022-12-15 00:00:48 -08:00
Peter Johnson
eefc9f5ff6 Add binding for UploadMesh 2022-12-14 23:12:21 -08:00
Peter Johnson
453c17ad66 Add binding for UploadMesh() 2022-12-14 23:09:58 -08:00
549 changed files with 103051 additions and 56354 deletions

View file

@ -1,57 +0,0 @@
on: [push, pull_request]
name: Build
jobs:
test:
strategy:
matrix:
go-version: [1.19.x]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Install package
run: |
sudo apt-get update -y; sudo apt-get -y install libxi-dev libxinerama-dev libxcursor-dev libxrandr-dev libgl1-mesa-dev
if: runner.os == 'Linux'
- name: Build
run: go build ./...
working-directory: raylib
- name: Verify dependencies
run: go mod verify
working-directory: raylib
- name: Build
run: go build -v ./...
working-directory: raylib
- name: Run go vet
run: go vet ./...
working-directory: raylib
- name: Install staticcheck
run: go install honnef.co/go/tools/cmd/staticcheck@latest
working-directory: raylib
- name: Run staticcheck
run: staticcheck ./...
working-directory: raylib
- name: Run tests
run: go test -race -vet=off ./...
working-directory: raylib
test-examples:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v3
- name: Install package
run: |
sudo apt-get update -y; sudo apt-get -y install libxi-dev libxinerama-dev libxcursor-dev libxrandr-dev libgl1-mesa-dev
- name: Build
run: go build ./...
working-directory: examples

102
README.md
View file

@ -1,80 +1,93 @@
![logo](https://goo.gl/XlIcXz)
![logo](https://git.terah.dev/UnrealXR/raylib-go/raw/branch/master/assets/raylib-go_256x256.png)
## raylib-go
[![Build Status](https://github.com/gen2brain/raylib-go/actions/workflows/build.yml/badge.svg)](https://github.com/gen2brain/raylib-go/actions)
[![GoDoc](https://godoc.org/github.com/gen2brain/raylib-go/raylib?status.svg)](https://godoc.org/github.com/gen2brain/raylib-go/raylib)
[![Go Report Card](https://goreportcard.com/badge/github.com/gen2brain/raylib-go/raylib)](https://goreportcard.com/report/github.com/gen2brain/raylib-go/raylib)
[![Examples](https://img.shields.io/badge/learn%20by-examples-0077b3.svg?style=flat-square)](https://github.com/gen2brain/raylib-go/tree/master/examples)
[![Build Status](https://git.terah.dev/UnrealXR/raylib-go/actions/workflows/build.yml/badge.svg)](https://git.terah.dev/UnrealXR/raylib-go/actions)
[![GoDoc](https://godoc.org/git.terah.dev/UnrealXR/raylib-go/raylib?status.svg)](https://godoc.org/git.terah.dev/UnrealXR/raylib-go/raylib)
[![Go Report Card](https://goreportcard.com/badge/git.terah.dev/UnrealXR/raylib-go/raylib)](https://goreportcard.com/report/git.terah.dev/UnrealXR/raylib-go/raylib)
[![Examples](https://img.shields.io/badge/learn%20by-examples-0077b3.svg?style=flat-square)](https://git.terah.dev/UnrealXR/raylib-go/src/branch/master/examples)
Golang bindings for [raylib](http://www.raylib.com/), a simple and easy-to-use library to enjoy videogames programming.
This is a fork of [gen2brain's `raylib-go` bindings](https://github.com/gen2brain/raylib-go) to add [DRM leasing](https://wayland.app/protocols/drm-lease-v1) support.
raylib C source code is included and compiled together with bindings. Note that the first build can take a few minutes.
It is also possible to use raylib-go without cgo (Windows only; see requirements below).
### Requirements
##### Ubuntu
###### X11
apt-get install libgl1-mesa-dev libxi-dev libxcursor-dev libxrandr-dev libxinerama-dev
###### Wayland
apt-get install libgl1-mesa-dev libwayland-dev libxkbcommon-dev
apt-get install libgl1-mesa-dev libxi-dev libxcursor-dev libxrandr-dev libxinerama-dev libwayland-dev libxkbcommon-dev
##### Fedora
###### X11
dnf install mesa-libGL-devel libXi-devel libXcursor-devel libXrandr-devel libXinerama-devel
###### Wayland
dnf install mesa-libGL-devel wayland-devel libxkbcommon-devel
dnf install mesa-libGL-devel libXi-devel libXcursor-devel libXrandr-devel libXinerama-devel wayland-devel libxkbcommon-devel
##### macOS
On macOS you need Xcode or Command Line Tools for Xcode.
On macOS, you need Xcode or Command Line Tools for Xcode (if you have `brew` installed, you already have this).
##### Windows
###### cgo
On Windows you need C compiler, like [Mingw-w64](https://mingw-w64.org) or [TDM-GCC](http://tdm-gcc.tdragon.net/).
You can also build binary in [MSYS2](https://msys2.github.io/) shell.
To remove console window, build with `-ldflags "-H=windowsgui"`.
###### purego (without cgo, i.e. CGO_ENABLED=0)
Download the raylib.dll from the assets on the [releases page](https://github.com/raysan5/raylib/releases). It is contained in the `raylib-*_win64_msvc*.zip`.
Put the raylib.dll into the root folder of your project or copy it into `C:\Windows\System32` for a system-wide installation.
It is also possible to build the DLL yourself. You can find more info at [raylib's wiki](https://github.com/raysan5/raylib/wiki/Working-on-Windows).
##### Android
[Android example](https://github.com/gen2brain/raylib-go/tree/master/examples/others/android/example).
[Android example](https://git.terah.dev/UnrealXR/raylib-go/tree/master/examples/others/android/example).
##### Raspberry Pi
##### Wasm
For web bindings, refer to [Raylib-Go-Wasm](https://github.com/BrownNPC/Raylib-Go-Wasm); it should be largely compatible with this repository.
[RPi example](https://github.com/gen2brain/raylib-go/tree/master/examples/others/rpi/basic_window).
### Installation
go get -v -u github.com/gen2brain/raylib-go/raylib
go get -v -u git.terah.dev/UnrealXR/raylib-go/raylib
### Build tags
* `drm` - build for Linux native mode, including Raspberry Pi 4 and other devices (PLATFORM_DRM)
* `rpi` - build for Raspberry Pi platform (PLATFORM_RPI)
* `wayland` - build against Wayland libraries
* `drm` - build for Linux native [DRM](https://en.wikipedia.org/wiki/Direct_Rendering_Manager) mode, including Raspberry Pi 4 and other devices (PLATFORM_DRM)
* `drm_disable_input` - disables keyboard input capabilities for the DRM backend. Requires the `drm` build tag as a prerequisite
* `drm_leasing` - enables Wayland DRM leasing capabilties. Requires the `drm` build tag as a prerequisite
* `sdl` - build for [SDL](https://github.com/libsdl-org/SDL) backend (PLATFORM_DESKTOP_SDL)
* `sdl3` - build for [SDL3](https://github.com/libsdl-org/SDL) backend (PLATFORM_DESKTOP_SDL3)
* `rgfw` - build for [RGFW](https://github.com/ColleagueRiley/RGFW) backend (PLATFORM_DESKTOP_RGFW)
* `noaudio` - disables audio functions
* `opengl43` - uses OpenGL 4.3 backend
* `opengl21` - uses OpenGL 2.1 backend (default is 3.3 on desktop)
* `opengl11` - uses OpenGL 1.1 backend (pseudo OpenGL 1.1 style)
* `angle` - uses OpenGL ES 2.0 backend (can be used to link against [Google's ANGLE](https://github.com/google/angle))
* `es2` - uses OpenGL ES 2.0 backend (can be used to link against [Google's ANGLE](https://github.com/google/angle))
* `es3` - experimental support for OpenGL ES 3.0
* `x11` - force X11 compatibility mode on Wayland (PLATFORM_DESKTOP/GLFW)
* `wayland` - force Wayland only mode (PLATFORM_DESKTOP/GLFW)
### Documentation
Documentation on [GoDoc](https://godoc.org/github.com/gen2brain/raylib-go/raylib). Also check raylib [cheatsheet](http://www.raylib.com/cheatsheet/cheatsheet.html).
Documentation on [GoDoc](https://godoc.org/git.terah.dev/UnrealXR/raylib-go/raylib). Also check raylib [cheatsheet](http://www.raylib.com/cheatsheet/cheatsheet.html). If you have problems or need assistance there is an active community in the #raylib-go channel of the [Raylib Discord Server](https://discord.gg/raylib) that can help.
### Example
```go
package main
import rl "github.com/gen2brain/raylib-go/raylib"
import rl "git.terah.dev/UnrealXR/raylib-go/raylib"
func main() {
rl.InitWindow(800, 450, "raylib [core] example - basic window")
defer rl.CloseWindow()
rl.SetTargetFPS(60)
for !rl.WindowShouldClose() {
@ -88,9 +101,34 @@ func main() {
}
```
Check more [examples](https://github.com/gen2brain/raylib-go/tree/master/examples) organized by raylib modules.
Check more [examples](https://git.terah.dev/UnrealXR/raylib-go/tree/master/examples) organized by raylib modules.
### Cross-compile (Linux)
To cross-compile for Windows install [MinGW](https://www.mingw-w64.org/) toolchain.
```
$ CGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc GOOS=windows GOARCH=amd64 go build -ldflags "-s -w"
$ file basic_window.exe
basic_window.exe: PE32+ executable (console) x86-64 (stripped to external PDB), for MS Windows, 11 sections
$ CGO_ENABLED=1 CC=i686-w64-mingw32-gcc GOOS=windows GOARCH=386 go build -ldflags "-s -w"
$ file basic_window.exe
basic_window.exe: PE32 executable (console) Intel 80386 (stripped to external PDB), for MS Windows, 9 sections
```
To cross-compile for macOS install [OSXCross](https://github.com/tpoechtrager/osxcross) toolchain.
```
$ CGO_ENABLED=1 CC=x86_64-apple-darwin21.1-clang GOOS=darwin GOARCH=amd64 go build -ldflags "-linkmode external -s -w '-extldflags=-mmacosx-version-min=10.15'"
$ file basic_window
basic_window: Mach-O 64-bit x86_64 executable, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL>
$ CGO_ENABLED=1 CC=aarch64-apple-darwin21.1-clang GOOS=darwin GOARCH=arm64 go build -ldflags "-linkmode external -s -w '-extldflags=-mmacosx-version-min=12.0.0'"
$ file basic_window
basic_window: Mach-O 64-bit arm64 executable, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|PIE>
```
### License
raylib-go is licensed under an unmodified zlib/libpng license. View [LICENSE](https://github.com/gen2brain/raylib-go/blob/master/LICENSE).
raylib-go is licensed under an unmodified zlib/libpng license. View [LICENSE](https://git.terah.dev/UnrealXR/raylib-go/blob/master/LICENSE).

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 KiB

View file

@ -1,4 +1,4 @@
## easings [![GoDoc](https://godoc.org/github.com/gen2brain/raylib-go/easings?status.svg)](https://godoc.org/github.com/gen2brain/raylib-go/easings)
## easings [![GoDoc](https://godoc.org/git.terah.dev/UnrealXR/raylib-go/easings?status.svg)](https://godoc.org/git.terah.dev/UnrealXR/raylib-go/easings)
Useful easing functions for values animation.

View file

@ -1,3 +1,3 @@
module github.com/gen2brain/raylib-go/easings
module git.terah.dev/UnrealXR/raylib-go/easings
go 1.19
go 1.21

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

View file

@ -1,90 +0,0 @@
package main
import (
"fmt"
"strings"
gui "github.com/gen2brain/raylib-go/raygui"
rl "github.com/gen2brain/raylib-go/raylib"
)
func main() {
screenWidth := int32(800)
screenHeight := int32(450)
rl.SetConfigFlags(rl.FlagVsyncHint)
rl.InitWindow(screenWidth, screenHeight, "raylib [gui] example - basic controls")
buttonToggle := true
buttonClicked := false
checkboxChecked := false
spinnerValue := int32(5)
sliderValue := float32(10)
sliderBarValue := float32(70)
progressValue := float32(0.5)
comboActive := int32(0)
comboLastActive := int32(0)
toggleActive := int32(0)
toggleText := "Item 1;Item 2;Item 3"
comboText := []string{
"ashes", "bluish", "candy", "cherry", "cyber", "dark",
"default", "enefete", "jungle", "lavanda", "sunny", "terminal",
}
comboList := strings.Join(comboText, ";")
rl.SetTargetFPS(60)
for !rl.WindowShouldClose() {
if buttonClicked {
progressValue += 0.1
if progressValue >= 1.1 {
progressValue = 0.0
}
}
rl.BeginDrawing()
rl.ClearBackground(rl.Beige)
gui.Label(rl.NewRectangle(50, 50, 80, 20), "Label")
buttonClicked = gui.Button(rl.NewRectangle(50, 70, 80, 40), "Button")
checkboxChecked = gui.CheckBox(rl.NewRectangle(50, 140, 20, 20), "Checkbox", checkboxChecked)
gui.ProgressBar(rl.NewRectangle(50, 210, 200, 20),
fmt.Sprintf("%.1f", progressValue),
"ProgressBar",
progressValue, 0, 1)
sliderValue = gui.Slider(rl.NewRectangle(50, 280, 200, 20), "Slider", "", sliderValue, 0, 100)
gui.Label(rl.NewRectangle(200+50+5, 280, 20, 20), fmt.Sprintf("%.0f", sliderValue))
buttonToggle = gui.Toggle(rl.NewRectangle(50, 350, 100, 40), "ButtonToggle", buttonToggle)
toggleActive = gui.ToggleGroup(rl.NewRectangle(500, 70, 60, 30), toggleText, toggleActive)
sliderBarValue = gui.SliderBar(rl.NewRectangle(500, 140, 200, 20), "SliderBar", "", sliderBarValue, 0, 100)
gui.Label(rl.NewRectangle(500+200+5, 140, 20, 20), fmt.Sprintf("%.0f", sliderBarValue))
_ = gui.Spinner(rl.NewRectangle(500, 210, 200, 20), "Spinner", &spinnerValue, 0, 100, true)
gui.Label(rl.NewRectangle(500, 260, 200, 20), "ComboBox")
comboActive = gui.ComboBox(rl.NewRectangle(500, 280, 200, 20), comboList, comboActive)
if comboLastActive != comboActive {
ch := comboText[comboActive] // choosed name
filename := fmt.Sprintf("styles/%s/%s.rgs", ch, ch)
gui.LoadStyle(filename)
comboLastActive = comboActive
}
rl.EndDrawing()
}
rl.CloseWindow()
}

View file

@ -1,50 +0,0 @@
# raygui styles
`raygui` comes with **12 custom styles** carefully designed for the best visual experience. Those styles have been created using [rGuiStyler](https://raylibtech.itch.io/rguistyler) tool and they complement internal [default style](default), always available by `raygui`.
## styles usage
To use those styles with your `raygui` development, you need to call `GuiLoadStyle()` function at initialization, passing the `.rgs` file to load. Note that `.rgs` is by default a binary file containing the style required font data (glyphs data + glyph atlas image data).
Styles can also be embedded in the code if desired, `.h` files are provided with every style containing all the required style data, including the font data. To embed those fonts just add the `.h` to your project and call the required function as specified in the header info.
Here it is a quick overview of those styles, you can navigate to each directory for additional information.
#### 1. style: [default](default)
![default style](default/style_table.png)
#### 2. style: [dark](dark)
![dark style](dark/style_table.png)
#### 3. style: [bluish](bluish)
![bluish style](bluish/style_table.png)
#### 4. style: [candy](candy)
![candy style](candy/style_table.png)
#### 5. style: [cherry](cherry)
![cherry style](cherry/style_table.png)
#### 6. style: [cyber](cyber)
![cyber style](cyber/style_table.png)
#### 7. style: [jungle](jungle)
![jungle style](jungle/style_table.png)
#### 8. style: [lavanda](lavanda)
![lavanda style](lavanda/style_table.png)
#### 9. style: [terminal](terminal)
![terminal style](terminal/style_table.png)
#### 10. style: [sunny](sunny)
![sunny style](sunny/style_table.png)
#### 11. style: [ashes](ashes)
![ashes style](ashes/style_table.png)
#### 12. enefete: [enefete](enefete)
![enefete style](enefete/style_table.png)
*NOTE: Those styles require raylib 4.0 and raygui 3.1.*

View file

@ -1,16 +0,0 @@
style: ashes
-------------
What once was life now is ashes, just as slight reminiscense covers the ground, a gray sequence of tones that reminds to a distant past.
![ashes style table](style_table.png)
screenshot
-----------
![ashes style screen](screenshot.png)
about font
-----------
"V5 Loxica Lixera" font by vFive Digital (Roberto Christen).
100% free font, downloaded from dafont.com: [v5loxica-lixera](https://www.dafont.com/v5loxica-lixera.font)

View file

@ -1,338 +0,0 @@
//////////////////////////////////////////////////////////////////////////////////
// //
// StyleAsCode exporter v1.2 - Style data exported as a values array //
// //
// USAGE: On init call: GuiLoadStyleAshes(); //
// //
// more info and bugs-report: github.com/raysan5/raygui //
// feedback and support: ray[at]raylibtech.com //
// //
// Copyright (c) 2020-2022 raylib technologies (@raylibtech) //
// //
//////////////////////////////////////////////////////////////////////////////////
#define ASHES_STYLE_PROPS_COUNT 15
// Custom style name: ashes
static const GuiStyleProp ashesStyleProps[ASHES_STYLE_PROPS_COUNT] = {
{ 0, 0, 0xf0f0f0ff }, // DEFAULT_BORDER_COLOR_NORMAL
{ 0, 1, 0x868686ff }, // DEFAULT_BASE_COLOR_NORMAL
{ 0, 2, 0xe6e6e6ff }, // DEFAULT_TEXT_COLOR_NORMAL
{ 0, 3, 0x929999ff }, // DEFAULT_BORDER_COLOR_FOCUSED
{ 0, 4, 0xeaeaeaff }, // DEFAULT_BASE_COLOR_FOCUSED
{ 0, 5, 0x98a1a8ff }, // DEFAULT_TEXT_COLOR_FOCUSED
{ 0, 6, 0x3f3f3fff }, // DEFAULT_BORDER_COLOR_PRESSED
{ 0, 7, 0xf6f6f6ff }, // DEFAULT_BASE_COLOR_PRESSED
{ 0, 8, 0x414141ff }, // DEFAULT_TEXT_COLOR_PRESSED
{ 0, 9, 0x8b8b8bff }, // DEFAULT_BORDER_COLOR_DISABLED
{ 0, 10, 0x777777ff }, // DEFAULT_BASE_COLOR_DISABLED
{ 0, 11, 0x959595ff }, // DEFAULT_TEXT_COLOR_DISABLED
{ 0, 16, 0x00000010 }, // DEFAULT_TEXT_SIZE
{ 0, 18, 0x9dadb1ff }, // DEFAULT_LINE_COLOR
{ 0, 19, 0x6b6b6bff }, // DEFAULT_BACKGROUND_COLOR
};
// WARNING: This style uses a custom font: (size: 16, spacing: 1)
#define ASHES_COMPRESSED_DATA_SIZE 999
// Font image pixels data compressed (DEFLATE)
// NOTE: Original pixel data simplified to GRAYSCALE
static unsigned char ashesFontData[ASHES_COMPRESSED_DATA_SIZE] = { 0xed,
0xdd, 0x4b, 0x96, 0x9b, 0x30, 0x10, 0x05, 0x50, 0xed, 0x7f, 0xd3, 0x95, 0x51, 0x4e, 0x3e, 0xa7, 0x31, 0x54, 0xa9, 0x64,
0x7e, 0x37, 0x77, 0xd6, 0xed, 0x60, 0x9a, 0x87, 0xc0, 0x36, 0x0f, 0x39, 0x06, 0x00, 0xc0, 0x7f, 0xe2, 0xc7, 0x9f, 0xc4,
0xe6, 0x23, 0xe3, 0xf0, 0x72, 0xfe, 0xfd, 0x79, 0x6c, 0xfc, 0x36, 0xb7, 0xbc, 0x38, 0xfc, 0xbc, 0x95, 0xdf, 0xc4, 0x8f,
0xeb, 0x17, 0xd3, 0xcf, 0x1a, 0x87, 0xff, 0x9a, 0x4f, 0x8f, 0xfd, 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 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x5b, 0xfa, 0x05 };
// Font characters rectangles data
static const Rectangle ashesFontRecs[95] = {
{ 4, 4, 4 , 16 },
{ 16, 4, 1 , 10 },
{ 25, 4, 3 , 3 },
{ 36, 4, 6 , 8 },
{ 50, 4, 5 , 11 },
{ 63, 4, 7 , 8 },
{ 78, 4, 6 , 9 },
{ 92, 4, 1 , 3 },
{ 101, 4, 3 , 12 },
{ 112, 4, 3 , 12 },
{ 123, 4, 5 , 5 },
{ 136, 4, 5 , 5 },
{ 149, 4, 2 , 2 },
{ 159, 4, 4 , 1 },
{ 171, 4, 1 , 1 },
{ 180, 4, 5 , 10 },
{ 193, 4, 4 , 8 },
{ 205, 4, 2 , 8 },
{ 215, 4, 4 , 8 },
{ 227, 4, 4 , 8 },
{ 239, 4, 6 , 8 },
{ 4, 28, 4 , 8 },
{ 16, 28, 4 , 8 },
{ 28, 28, 4 , 8 },
{ 40, 28, 4 , 8 },
{ 52, 28, 4 , 8 },
{ 64, 28, 1 , 5 },
{ 73, 28, 2 , 6 },
{ 83, 28, 4 , 7 },
{ 95, 28, 4 , 4 },
{ 107, 28, 4 , 7 },
{ 119, 28, 4 , 10 },
{ 131, 28, 8 , 7 },
{ 147, 28, 4 , 10 },
{ 159, 28, 4 , 10 },
{ 171, 28, 4 , 10 },
{ 183, 28, 4 , 10 },
{ 195, 28, 4 , 10 },
{ 207, 28, 5 , 10 },
{ 220, 28, 4 , 10 },
{ 232, 28, 4 , 10 },
{ 4, 52, 1 , 10 },
{ 13, 52, 3 , 10 },
{ 24, 52, 4 , 10 },
{ 36, 52, 4 , 10 },
{ 48, 52, 7 , 10 },
{ 63, 52, 4 , 10 },
{ 75, 52, 4 , 10 },
{ 87, 52, 4 , 10 },
{ 99, 52, 5 , 11 },
{ 112, 52, 4 , 10 },
{ 124, 52, 4 , 10 },
{ 136, 52, 5 , 10 },
{ 149, 52, 4 , 10 },
{ 161, 52, 4 , 10 },
{ 173, 52, 7 , 10 },
{ 188, 52, 4 , 10 },
{ 200, 52, 4 , 10 },
{ 212, 52, 4 , 10 },
{ 224, 52, 2 , 12 },
{ 234, 52, 5 , 10 },
{ 4, 76, 2 , 12 },
{ 14, 76, 5 , 3 },
{ 27, 76, 5 , 1 },
{ 40, 76, 2 , 2 },
{ 50, 76, 4 , 8 },
{ 62, 76, 4 , 10 },
{ 74, 76, 3 , 8 },
{ 85, 76, 4 , 10 },
{ 97, 76, 4 , 8 },
{ 109, 76, 3 , 10 },
{ 120, 76, 5 , 11 },
{ 133, 76, 4 , 10 },
{ 145, 76, 1 , 10 },
{ 154, 76, 3 , 13 },
{ 165, 76, 4 , 10 },
{ 177, 76, 2 , 10 },
{ 187, 76, 7 , 8 },
{ 202, 76, 4 , 8 },
{ 214, 76, 4 , 8 },
{ 226, 76, 4 , 11 },
{ 238, 76, 4 , 11 },
{ 4, 100, 3 , 8 },
{ 15, 100, 4 , 8 },
{ 27, 100, 3 , 10 },
{ 38, 100, 4 , 8 },
{ 50, 100, 5 , 8 },
{ 63, 100, 7 , 8 },
{ 78, 100, 4 , 8 },
{ 90, 100, 4 , 11 },
{ 102, 100, 4 , 8 },
{ 114, 100, 4 , 12 },
{ 126, 100, 1 , 10 },
{ 135, 100, 4 , 12 },
{ 147, 100, 4 , 2 },
};
// Font characters info data
// NOTE: No chars.image data provided
static const GlyphInfo ashesFontChars[95] = {
{ 32, 0, 13, 4, { 0 }},
{ 33, 0, 3, 4, { 0 }},
{ 34, 0, 1, 5, { 0 }},
{ 35, 0, 4, 8, { 0 }},
{ 36, 0, 2, 7, { 0 }},
{ 37, 0, 5, 9, { 0 }},
{ 38, 0, 4, 8, { 0 }},
{ 39, 0, 1, 3, { 0 }},
{ 40, 0, 2, 5, { 0 }},
{ 41, 0, 2, 5, { 0 }},
{ 42, 0, 3, 7, { 0 }},
{ 43, 0, 6, 7, { 0 }},
{ 44, 0, 12, 4, { 0 }},
{ 45, 0, 9, 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, 3, 7, { 0 }},
{ 95, 0, 12, 7, { 0 }},
{ 96, 0, 1, 4, { 0 }},
{ 97, 0, 5, 6, { 0 }},
{ 98, 0, 3, 6, { 0 }},
{ 99, 0, 5, 5, { 0 }},
{ 100, 0, 3, 6, { 0 }},
{ 101, 0, 5, 6, { 0 }},
{ 102, 0, 3, 5, { 0 }},
{ 103, 0, 5, 6, { 0 }},
{ 104, 0, 3, 6, { 0 }},
{ 105, 0, 3, 3, { 0 }},
{ 106, 0, 3, 5, { 0 }},
{ 107, 0, 3, 6, { 0 }},
{ 108, 0, 3, 4, { 0 }},
{ 109, 0, 5, 9, { 0 }},
{ 110, 0, 5, 6, { 0 }},
{ 111, 0, 5, 6, { 0 }},
{ 112, 0, 5, 6, { 0 }},
{ 113, 0, 5, 6, { 0 }},
{ 114, 0, 5, 5, { 0 }},
{ 115, 0, 5, 6, { 0 }},
{ 116, 0, 3, 5, { 0 }},
{ 117, 0, 5, 6, { 0 }},
{ 118, 0, 5, 7, { 0 }},
{ 119, 0, 5, 9, { 0 }},
{ 120, 0, 5, 6, { 0 }},
{ 121, 0, 5, 6, { 0 }},
{ 122, 0, 5, 6, { 0 }},
{ 123, 0, 2, 6, { 0 }},
{ 124, 0, 3, 3, { 0 }},
{ 125, 0, 2, 6, { 0 }},
{ 126, 0, 1, 6, { 0 }},
};
// Style loading function: ashes
static void GuiLoadStyleAshes(void)
{
// Load style properties provided
// NOTE: Default properties are propagated
for (int i = 0; i < ASHES_STYLE_PROPS_COUNT; i++)
{
GuiSetStyle(ashesStyleProps[i].controlId, ashesStyleProps[i].propertyId, ashesStyleProps[i].propertyValue);
}
// Custom font loading
// NOTE: Compressed font image data (DEFLATE), it requires DecompressData() function
int ashesFontDataSize = 0;
unsigned char *data = DecompressData(ashesFontData, ASHES_COMPRESSED_DATA_SIZE, &ashesFontDataSize);
Image imFont = { data, 256, 256, 1, 2 };
Font font = { 0 };
font.baseSize = 16;
font.glyphCount = 95;
// Load texture from image
font.texture = LoadTextureFromImage(imFont);
UnloadImage(imFont); // Uncompressed data can be unloaded from memory
// Copy char recs data from global fontRecs
// NOTE: Required to avoid issues if trying to free font
font.recs = (Rectangle *)malloc(font.glyphCount*sizeof(Rectangle));
memcpy(font.recs, ashesFontRecs, font.glyphCount*sizeof(Rectangle));
// Copy font char info data from global fontChars
// NOTE: Required to avoid issues if trying to free font
font.glyphs = (GlyphInfo *)malloc(font.glyphCount*sizeof(GlyphInfo));
memcpy(font.glyphs, ashesFontChars, font.glyphCount*sizeof(GlyphInfo));
GuiSetFont(font);
// Setup a white rectangle on the font to be used on shapes drawing,
// this way we make sure all gui can be drawn on a single pass because no texture change is required
// NOTE: Setting up this rectangle is a manual process (for the moment)
Rectangle whiteChar = { 37, 6, 1, 1 };
SetShapesTexture(font.texture, whiteChar);
//-----------------------------------------------------------------
// TODO: Custom user style setup: Set specific properties here (if required)
// i.e. Controls specific BORDER_WIDTH, TEXT_PADDING, TEXT_ALIGNMENT
}

View file

@ -1,24 +0,0 @@
#
# rgs style text file (v3.1) - raygui style file generated using rGuiStyler
#
# Style properties:
# f <gen_font_size> <charmap_file> <font_file>
# p <control_id> <property_id> <property_value> <property_name>
#
f 16 0 v5loxical.ttf
p 00 00 0xf0f0f0ff DEFAULT_BORDER_COLOR_NORMAL
p 00 01 0x868686ff DEFAULT_BASE_COLOR_NORMAL
p 00 02 0xe6e6e6ff DEFAULT_TEXT_COLOR_NORMAL
p 00 03 0x929999ff DEFAULT_BORDER_COLOR_FOCUSED
p 00 04 0xeaeaeaff DEFAULT_BASE_COLOR_FOCUSED
p 00 05 0x98a1a8ff DEFAULT_TEXT_COLOR_FOCUSED
p 00 06 0x3f3f3fff DEFAULT_BORDER_COLOR_PRESSED
p 00 07 0xf6f6f6ff DEFAULT_BASE_COLOR_PRESSED
p 00 08 0x414141ff DEFAULT_TEXT_COLOR_PRESSED
p 00 09 0x8b8b8bff DEFAULT_BORDER_COLOR_DISABLED
p 00 10 0x777777ff DEFAULT_BASE_COLOR_DISABLED
p 00 11 0x959595ff DEFAULT_TEXT_COLOR_DISABLED
p 00 16 0x00000010 TEXT_SIZE
p 00 17 0x00000001 TEXT_SPACING
p 00 18 0x9dadb1ff DEFAULT_LINE_COLOR
p 00 19 0x6b6b6bff DEFAULT_BACKGROUND_COLOR

View file

@ -1,51 +0,0 @@
V5 Loxica
---------------
Instructions:
++ Loxica (LIXERA) ++
For screen use, set at 16pt. Turn
antialiasing off. Set tracking to zero
for best results.
++ Loxica (ROBUSTA) ++
For screen use, set at 18pt. Turn
antialiasing off. Set tracking to zero
for best results.
Notes:
1. These faces do not contain any hinting
information since they were built for use
at the sizes listed above. Naturally, for
print use you are free to experiment.
2. Although the intended size for _lixera_
is 16pt (vs. 18pt for _robusta_), they share
the same optical size (where lixera is the
regular weight, and robusta is the bold).
3. Pronounciation: "lo-hee-ka lee-he-ra", and
"lo-hee-ka ro-bus-ta."
---------------
Usage: This is a free font--you may use
this and other V5 fonts at will. It may not
be sold, altered, or improperly credited,
however. All I ask is that you kindly inform
me if you find this font useful, and where
you've used it.
Enjoy,
©2000
Roberto Christen
rob@vfive.com

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

View file

@ -1,16 +0,0 @@
style: bluish
--------------
Like a breeze, a slight touch of color cover the clear sky, a spacious and relaxing feeling.
![bluish style table](style_table.png)
screenshot
-----------
![bluish style screen](screenshot.png)
about font
-----------
"Homespun BRK" font by AEnigma (Brian Kent).
100% free font, downloaded from dafont.com: [homespun-brk](https://www.dafont.com/homespun-brk.font)

View file

@ -1,359 +0,0 @@
//////////////////////////////////////////////////////////////////////////////////
// //
// StyleAsCode exporter v1.2 - Style data exported as a values array //
// //
// USAGE: On init call: GuiLoadStyleBluish(); //
// //
// more info and bugs-report: github.com/raysan5/raygui //
// feedback and support: ray[at]raylibtech.com //
// //
// Copyright (c) 2020-2022 raylib technologies (@raylibtech) //
// //
//////////////////////////////////////////////////////////////////////////////////
#define BLUISH_STYLE_PROPS_COUNT 14
// Custom style name: bluish
static const GuiStyleProp bluishStyleProps[BLUISH_STYLE_PROPS_COUNT] = {
{ 0, 0, 0x5ca6a6ff }, // DEFAULT_BORDER_COLOR_NORMAL
{ 0, 1, 0xb4e8f3ff }, // DEFAULT_BASE_COLOR_NORMAL
{ 0, 2, 0x447e77ff }, // DEFAULT_TEXT_COLOR_NORMAL
{ 0, 3, 0x5f8792ff }, // DEFAULT_BORDER_COLOR_FOCUSED
{ 0, 4, 0xcdeff7ff }, // DEFAULT_BASE_COLOR_FOCUSED
{ 0, 5, 0x4c6c74ff }, // DEFAULT_TEXT_COLOR_FOCUSED
{ 0, 6, 0x3b5b5fff }, // DEFAULT_BORDER_COLOR_PRESSED
{ 0, 7, 0xeaffffff }, // DEFAULT_BASE_COLOR_PRESSED
{ 0, 8, 0x275057ff }, // DEFAULT_TEXT_COLOR_PRESSED
{ 0, 9, 0x96aaacff }, // DEFAULT_BORDER_COLOR_DISABLED
{ 0, 10, 0xc8d7d9ff }, // DEFAULT_BASE_COLOR_DISABLED
{ 0, 11, 0x8c9c9eff }, // DEFAULT_TEXT_COLOR_DISABLED
{ 0, 18, 0x84adb7ff }, // DEFAULT_LINE_COLOR
{ 0, 19, 0xe8eef1ff }, // DEFAULT_BACKGROUND_COLOR
};
// WARNING: This style uses a custom font: (size: 10, spacing: 1)
#define BLUISH_COMPRESSED_DATA_SIZE 1423
// Font image pixels data compressed (DEFLATE)
// NOTE: Original pixel data simplified to GRAYSCALE
static unsigned char bluishFontData[BLUISH_COMPRESSED_DATA_SIZE] = { 0xed,
0xdd, 0xd1, 0x72, 0x9b, 0x3a, 0x10, 0x00, 0x50, 0xc4, 0xff, 0x7f, 0x72, 0x41, 0x77, 0x1a, 0x3b, 0x99, 0xb9, 0x2d, 0x2b,
0x58, 0x21, 0x08, 0x6d, 0x4f, 0xcf, 0xb4, 0x0f, 0x91, 0x51, 0x24, 0x2d, 0xe0, 0x34, 0x5a, 0x2f, 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 0xb7, 0x52, 0x65, 0x97, 0x51, 0x79, 0x3a, 0x4f,
0xf2, 0x94, 0x67, 0x9e, 0xf1, 0xa4, 0x73, 0xda, 0x1a, 0xfc, 0xdb, 0x59, 0x5e, 0xd6, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x2f,
0xf0, 0x1f };
// Font characters rectangles data
static const Rectangle bluishFontRecs[95] = {
{ 4, 4, 5 , 10 },
{ 17, 4, 2 , 8 },
{ 27, 4, 4 , 3 },
{ 39, 4, 6 , 8 },
{ 53, 4, 5 , 10 },
{ 66, 4, 6 , 8 },
{ 80, 4, 5 , 10 },
{ 93, 4, 2 , 3 },
{ 103, 4, 3 , 8 },
{ 114, 4, 3 , 8 },
{ 125, 4, 6 , 6 },
{ 139, 4, 6 , 6 },
{ 153, 4, 2 , 3 },
{ 163, 4, 5 , 2 },
{ 176, 4, 2 , 2 },
{ 186, 4, 6 , 8 },
{ 200, 4, 5 , 8 },
{ 213, 4, 3 , 8 },
{ 224, 4, 5 , 8 },
{ 237, 4, 5 , 8 },
{ 4, 22, 5 , 8 },
{ 17, 22, 5 , 8 },
{ 30, 22, 5 , 8 },
{ 43, 22, 5 , 8 },
{ 56, 22, 5 , 8 },
{ 69, 22, 5 , 8 },
{ 82, 22, 2 , 8 },
{ 92, 22, 2 , 9 },
{ 102, 22, 4 , 6 },
{ 114, 22, 5 , 4 },
{ 127, 22, 4 , 6 },
{ 139, 22, 5 , 8 },
{ 152, 22, 6 , 8 },
{ 166, 22, 5 , 8 },
{ 179, 22, 5 , 8 },
{ 192, 22, 5 , 8 },
{ 205, 22, 5 , 8 },
{ 218, 22, 5 , 8 },
{ 231, 22, 5 , 8 },
{ 4, 40, 5 , 8 },
{ 17, 40, 5 , 8 },
{ 30, 40, 4 , 8 },
{ 42, 40, 5 , 8 },
{ 55, 40, 5 , 8 },
{ 68, 40, 5 , 8 },
{ 81, 40, 8 , 8 },
{ 97, 40, 5 , 8 },
{ 110, 40, 5 , 8 },
{ 123, 40, 5 , 8 },
{ 136, 40, 5 , 9 },
{ 149, 40, 5 , 8 },
{ 162, 40, 5 , 8 },
{ 175, 40, 6 , 8 },
{ 189, 40, 5 , 8 },
{ 202, 40, 5 , 8 },
{ 215, 40, 8 , 8 },
{ 231, 40, 5 , 8 },
{ 4, 58, 5 , 8 },
{ 17, 58, 5 , 8 },
{ 30, 58, 3 , 8 },
{ 41, 58, 6 , 8 },
{ 55, 58, 3 , 8 },
{ 66, 58, 6 , 4 },
{ 80, 58, 5 , 1 },
{ 93, 58, 2 , 3 },
{ 103, 58, 5 , 6 },
{ 116, 58, 5 , 8 },
{ 129, 58, 5 , 6 },
{ 142, 58, 5 , 8 },
{ 155, 58, 5 , 6 },
{ 168, 58, 5 , 8 },
{ 181, 58, 5 , 7 },
{ 194, 58, 5 , 8 },
{ 207, 58, 2 , 8 },
{ 217, 58, 3 , 9 },
{ 228, 58, 5 , 8 },
{ 241, 58, 2 , 8 },
{ 4, 76, 8 , 6 },
{ 20, 76, 5 , 6 },
{ 33, 76, 5 , 6 },
{ 46, 76, 5 , 7 },
{ 59, 76, 5 , 7 },
{ 72, 76, 5 , 6 },
{ 85, 76, 5 , 6 },
{ 98, 76, 5 , 8 },
{ 111, 76, 5 , 6 },
{ 124, 76, 5 , 6 },
{ 137, 76, 8 , 6 },
{ 153, 76, 5 , 6 },
{ 166, 76, 5 , 7 },
{ 179, 76, 5 , 6 },
{ 192, 76, 4 , 8 },
{ 204, 76, 2 , 10 },
{ 214, 76, 4 , 8 },
{ 226, 76, 6 , 4 },
};
// Font characters info data
// NOTE: No chars.image data provided
static const GlyphInfo bluishFontChars[95] = {
{ 32, 0, 9, 5, { 0 }},
{ 33, 0, 1, 2, { 0 }},
{ 34, 0, 1, 4, { 0 }},
{ 35, 0, 1, 6, { 0 }},
{ 36, 0, 0, 5, { 0 }},
{ 37, 0, 1, 6, { 0 }},
{ 38, 0, 0, 5, { 0 }},
{ 39, 0, 1, 2, { 0 }},
{ 40, 0, 1, 3, { 0 }},
{ 41, 0, 1, 3, { 0 }},
{ 42, 0, 1, 6, { 0 }},
{ 43, 0, 2, 6, { 0 }},
{ 44, 0, 7, 2, { 0 }},
{ 45, 0, 4, 5, { 0 }},
{ 46, 0, 7, 2, { 0 }},
{ 47, 0, 1, 6, { 0 }},
{ 48, 0, 1, 5, { 0 }},
{ 49, 0, 1, 3, { 0 }},
{ 50, 0, 1, 5, { 0 }},
{ 51, 0, 1, 5, { 0 }},
{ 52, 0, 1, 5, { 0 }},
{ 53, 0, 1, 5, { 0 }},
{ 54, 0, 1, 5, { 0 }},
{ 55, 0, 1, 5, { 0 }},
{ 56, 0, 1, 5, { 0 }},
{ 57, 0, 1, 5, { 0 }},
{ 58, 0, 1, 2, { 0 }},
{ 59, 0, 1, 2, { 0 }},
{ 60, 0, 2, 4, { 0 }},
{ 61, 0, 3, 5, { 0 }},
{ 62, 0, 2, 4, { 0 }},
{ 63, 0, 1, 5, { 0 }},
{ 64, 0, 1, 6, { 0 }},
{ 65, 0, 1, 5, { 0 }},
{ 66, 0, 1, 5, { 0 }},
{ 67, 0, 1, 5, { 0 }},
{ 68, 0, 1, 5, { 0 }},
{ 69, 0, 1, 5, { 0 }},
{ 70, 0, 1, 5, { 0 }},
{ 71, 0, 1, 5, { 0 }},
{ 72, 0, 1, 5, { 0 }},
{ 73, 0, 1, 4, { 0 }},
{ 74, 0, 1, 5, { 0 }},
{ 75, 0, 1, 5, { 0 }},
{ 76, 0, 1, 5, { 0 }},
{ 77, 0, 1, 8, { 0 }},
{ 78, 0, 1, 5, { 0 }},
{ 79, 0, 1, 5, { 0 }},
{ 80, 0, 1, 5, { 0 }},
{ 81, 0, 1, 5, { 0 }},
{ 82, 0, 1, 5, { 0 }},
{ 83, 0, 1, 5, { 0 }},
{ 84, 0, 1, 6, { 0 }},
{ 85, 0, 1, 5, { 0 }},
{ 86, 0, 1, 5, { 0 }},
{ 87, 0, 1, 8, { 0 }},
{ 88, 0, 1, 5, { 0 }},
{ 89, 0, 1, 5, { 0 }},
{ 90, 0, 1, 5, { 0 }},
{ 91, 0, 1, 3, { 0 }},
{ 92, 0, 1, 6, { 0 }},
{ 93, 0, 1, 3, { 0 }},
{ 94, 0, 1, 6, { 0 }},
{ 95, 0, 9, 5, { 0 }},
{ 96, 0, 1, 2, { 0 }},
{ 97, 0, 3, 5, { 0 }},
{ 98, 0, 1, 5, { 0 }},
{ 99, 0, 3, 5, { 0 }},
{ 100, 0, 1, 5, { 0 }},
{ 101, 0, 3, 5, { 0 }},
{ 102, 0, 1, 5, { 0 }},
{ 103, 0, 3, 5, { 0 }},
{ 104, 0, 1, 5, { 0 }},
{ 105, 0, 1, 2, { 0 }},
{ 106, 0, 1, 3, { 0 }},
{ 107, 0, 1, 5, { 0 }},
{ 108, 0, 1, 2, { 0 }},
{ 109, 0, 3, 8, { 0 }},
{ 110, 0, 3, 5, { 0 }},
{ 111, 0, 3, 5, { 0 }},
{ 112, 0, 3, 5, { 0 }},
{ 113, 0, 3, 5, { 0 }},
{ 114, 0, 3, 5, { 0 }},
{ 115, 0, 3, 5, { 0 }},
{ 116, 0, 1, 5, { 0 }},
{ 117, 0, 3, 5, { 0 }},
{ 118, 0, 3, 5, { 0 }},
{ 119, 0, 3, 8, { 0 }},
{ 120, 0, 3, 5, { 0 }},
{ 121, 0, 3, 5, { 0 }},
{ 122, 0, 3, 5, { 0 }},
{ 123, 0, 1, 4, { 0 }},
{ 124, 0, 0, 2, { 0 }},
{ 125, 0, 1, 4, { 0 }},
{ 126, 0, 3, 6, { 0 }},
};
// Style loading function: bluish
static void GuiLoadStyleBluish(void)
{
// Load style properties provided
// NOTE: Default properties are propagated
for (int i = 0; i < BLUISH_STYLE_PROPS_COUNT; i++)
{
GuiSetStyle(bluishStyleProps[i].controlId, bluishStyleProps[i].propertyId, bluishStyleProps[i].propertyValue);
}
// Custom font loading
// NOTE: Compressed font image data (DEFLATE), it requires DecompressData() function
int bluishFontDataSize = 0;
unsigned char *data = DecompressData(bluishFontData, BLUISH_COMPRESSED_DATA_SIZE, &bluishFontDataSize);
Image imFont = { data, 256, 256, 1, 2 };
Font font = { 0 };
font.baseSize = 10;
font.glyphCount = 95;
// Load texture from image
font.texture = LoadTextureFromImage(imFont);
UnloadImage(imFont); // Uncompressed data can be unloaded from memory
// Copy char recs data from global fontRecs
// NOTE: Required to avoid issues if trying to free font
font.recs = (Rectangle *)malloc(font.glyphCount*sizeof(Rectangle));
memcpy(font.recs, bluishFontRecs, font.glyphCount*sizeof(Rectangle));
// Copy font char info data from global fontChars
// NOTE: Required to avoid issues if trying to free font
font.glyphs = (GlyphInfo *)malloc(font.glyphCount*sizeof(GlyphInfo));
memcpy(font.glyphs, bluishFontChars, font.glyphCount*sizeof(GlyphInfo));
GuiSetFont(font);
// Setup a white rectangle on the font to be used on shapes drawing,
// this way we make sure all gui can be drawn on a single pass because no texture change is required
// NOTE: Setting up this rectangle is a manual process (for the moment)
Rectangle whiteChar = { 66, 5, 2, 2 };
SetShapesTexture(font.texture, whiteChar);
//-----------------------------------------------------------------
// TODO: Custom user style setup: Set specific properties here (if required)
// i.e. Controls specific BORDER_WIDTH, TEXT_PADDING, TEXT_ALIGNMENT
}

View file

@ -1,24 +0,0 @@
#
# rgs style text file (v3.1) - raygui style file generated using rGuiStyler
#
# Style properties:
# f <gen_font_size> <charmap_file> <font_file>
# p <control_id> <property_id> <property_value> <property_name>
#
f 10 0 homespun.ttf
p 00 00 0x5ca6a6ff DEFAULT_BORDER_COLOR_NORMAL
p 00 01 0xb4e8f3ff DEFAULT_BASE_COLOR_NORMAL
p 00 02 0x447e77ff DEFAULT_TEXT_COLOR_NORMAL
p 00 03 0x5f8792ff DEFAULT_BORDER_COLOR_FOCUSED
p 00 04 0xcdeff7ff DEFAULT_BASE_COLOR_FOCUSED
p 00 05 0x4c6c74ff DEFAULT_TEXT_COLOR_FOCUSED
p 00 06 0x3b5b5fff DEFAULT_BORDER_COLOR_PRESSED
p 00 07 0xeaffffff DEFAULT_BASE_COLOR_PRESSED
p 00 08 0x275057ff DEFAULT_TEXT_COLOR_PRESSED
p 00 09 0x96aaacff DEFAULT_BORDER_COLOR_DISABLED
p 00 10 0xc8d7d9ff DEFAULT_BASE_COLOR_DISABLED
p 00 11 0x8c9c9eff DEFAULT_TEXT_COLOR_DISABLED
p 00 16 0x0000000a TEXT_SIZE
p 00 17 0x00000001 TEXT_SPACING
p 00 18 0x84adb7ff DEFAULT_LINE_COLOR
p 00 19 0xe8eef1ff DEFAULT_BACKGROUND_COLOR

View file

@ -1,76 +0,0 @@
_______________________________
Homespun Created by Brian Kent
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Thanks for Downloading Homespun.
Homespun TT [.ttf]
Homespun [8pt] [.fon]
'homespun.fon' is a Windows Bitmap Font (.fon). This font is best
used at 8pt. To use it at larger point sizes (for images), try using
a graphics program like Photoshop, Paint Shop Pro, or the Paint
program that comes with Windows. Type out your text at the recommended
point size [8pt], then resize the image. Set the color mode to 256
or 2 colors so the edges don't get blured when resizing, then after you
have the text to the size that you want, then change back to a higher
color mode and edit the image.
For programs that don't show Bitmap Fonts in the Font Selector, you
may be able to get the font to work by typing in:
homespun brk
When using the TTF version, try using it with anti-aliasing off.
If you have any questions or comments, you can e-mail me at
kentpw@norwich.net
You can visit my Webpage <ÆNIGMA GAMES & FONTS> at
http://www.aenigmafonts.com/
________________
INSTALLING FONTS
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
There's a couple of ways to install Fonts. The 'easy' way to
install fonts is to just Unzip/place the font file [.ttf] into your
Windows\Fonts directory (I always use this method). If you're unable
to do it the 'easy' way, then try to do it this way (for Windows
95/98/NT):
1] Unzip the Font(s) to a folder (or somewhere, just remember where
you unzipped it) on your Computer.
2] Next, click on the START button, then select SETTINGS then
CONTROL PANEL.
3] When the Control Panel Window pops up, Double Click on FONTS.
4] When the FONTS window pops up, select File then Install New Font...
5] A Add Fonts window will pop up, just go to the folder that you
unzipped the Font(s) to, select the Font(s) and then click on OK.
Now the Font(s) are installed.
Now you can use the Font(s) in programs that utilize Fonts. Make
sure that you install the font(s) first, then open up your apps
(so the app will recognize the font). Sometimes you'll have to
wait until your computer 'auto-refreshes' for programs to recognize
fonts (Windows is sometimes slow to do that). You can refresh your
computer quicker by going into Windows Explorer -or- My Computer and
press F5 (or in the menubar select VIEW then REFRESH).
__________
DISCLAIMER
¯¯¯¯¯¯¯¯¯¯
-The font(s) in this zip file were created by me (Brian Kent). All
of my Fonts are Freeware, you can use them any way you want to
(Personal use, Commercial use, or whatever).
-If you have a Font related site and would like to offer my fonts on
your site, go right ahead. All I ask is that you keep this text file
intact with the Font.
-You may not Sell or Distribute my Fonts for profit or alter them in
any way without asking me first. [e-mail - kentpw@norwich.net]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

View file

@ -1,16 +0,0 @@
style: candy
-------------
Sweet, colorful, tasty! Enjoy this funfair ride and be careful with the witch of the candy house!
![candy style table](style_table.png)
screenshot
-----------
![candy style screen](screenshot.png)
about font
-----------
"V5 Eastergothic" font by vFive Digital (Roberto Christen).
100% free font, downloaded from dafont.com: [v5eastergothic](https://www.dafont.com/v5eastergothic.font)

View file

@ -1,346 +0,0 @@
//////////////////////////////////////////////////////////////////////////////////
// //
// StyleAsCode exporter v1.2 - Style data exported as a values array //
// //
// USAGE: On init call: GuiLoadStyleCandy(); //
// //
// more info and bugs-report: github.com/raysan5/raygui //
// feedback and support: ray[at]raylibtech.com //
// //
// Copyright (c) 2020-2022 raylib technologies (@raylibtech) //
// //
//////////////////////////////////////////////////////////////////////////////////
#define CANDY_STYLE_PROPS_COUNT 16
// Custom style name: candy
static const GuiStyleProp candyStyleProps[CANDY_STYLE_PROPS_COUNT] = {
{ 0, 0, 0xe58b68ff }, // DEFAULT_BORDER_COLOR_NORMAL
{ 0, 1, 0xfeda96ff }, // DEFAULT_BASE_COLOR_NORMAL
{ 0, 2, 0xe59b5fff }, // DEFAULT_TEXT_COLOR_NORMAL
{ 0, 3, 0xee813fff }, // DEFAULT_BORDER_COLOR_FOCUSED
{ 0, 4, 0xfcd85bff }, // DEFAULT_BASE_COLOR_FOCUSED
{ 0, 5, 0xfc6955ff }, // DEFAULT_TEXT_COLOR_FOCUSED
{ 0, 6, 0xb34848ff }, // DEFAULT_BORDER_COLOR_PRESSED
{ 0, 7, 0xeb7272ff }, // DEFAULT_BASE_COLOR_PRESSED
{ 0, 8, 0xbd4a4aff }, // DEFAULT_TEXT_COLOR_PRESSED
{ 0, 9, 0x94795dff }, // DEFAULT_BORDER_COLOR_DISABLED
{ 0, 10, 0xc2a37aff }, // DEFAULT_BASE_COLOR_DISABLED
{ 0, 11, 0x9c8369ff }, // DEFAULT_TEXT_COLOR_DISABLED
{ 0, 16, 0x0000000f }, // DEFAULT_TEXT_SIZE
{ 0, 17, 0x00000000 }, // DEFAULT_TEXT_SPACING
{ 0, 18, 0xd77575ff }, // DEFAULT_LINE_COLOR
{ 0, 19, 0xfff5e1ff }, // DEFAULT_BACKGROUND_COLOR
};
// WARNING: This style uses a custom font: (size: 15, spacing: 0)
#define CANDY_COMPRESSED_DATA_SIZE 1129
// Font image pixels data compressed (DEFLATE)
// NOTE: Original pixel data simplified to GRAYSCALE
static unsigned char candyFontData[CANDY_COMPRESSED_DATA_SIZE] = { 0xed,
0xdd, 0xe1, 0x6e, 0xab, 0x38, 0x10, 0x06, 0x50, 0xbf, 0xff, 0x4b, 0x7b, 0xb5, 0xd2, 0x4a, 0x55, 0xef, 0xde, 0x80, 0x3d,
0x9e, 0x31, 0x4e, 0x72, 0x7a, 0xfe, 0x95, 0x36, 0x09, 0x0c, 0x36, 0x10, 0x3e, 0x9b, 0xde, 0x00, 0x00, 0x7e, 0xf9, 0xf7,
0xe7, 0xff, 0xbf, 0x6b, 0x7f, 0xf9, 0xed, 0xcf, 0xdf, 0xf6, 0xbf, 0x2e, 0xbd, 0x5a, 0x12, 0xff, 0xcf, 0xeb, 0x4f, 0x32,
0xf6, 0x0a, 0xed, 0x62, 0xc9, 0xfd, 0x67, 0xfe, 0xf3, 0x77, 0x3d, 0xe5, 0xdd, 0x5f, 0xbd, 0xce, 0xdd, 0x27, 0xea, 0x97,
0xeb, 0x52, 0x59, 0xff, 0x3f, 0x7f, 0x32, 0xeb, 0x7f, 0xfd, 0x9a, 0x2b, 0x15, 0xfb, 0x59, 0x9b, 0x9e, 0x50, 0xff, 0xf9,
0xbd, 0xe8, 0x7a, 0x0d, 0x5e, 0xef, 0x63, 0x91, 0x36, 0x94, 0x55, 0xff, 0xbb, 0xbf, 0x9d, 0xaf, 0x62, 0xff, 0xaf, 0x02,
0xd1, 0xde, 0x61, 0xb4, 0x35, 0x5f, 0x7d, 0xae, 0xab, 0x4f, 0xfc, 0x7a, 0xcf, 0xc9, 0xd8, 0xc2, 0xb3, 0x6b, 0x7c, 0xbd,
0x2f, 0x9d, 0x5a, 0xff, 0xf5, 0xa3, 0xc3, 0xca, 0x16, 0xbd, 0x6a, 0x69, 0xb1, 0x3e, 0x2b, 0x6f, 0x0b, 0x67, 0xd5, 0x7f,
0x57, 0xff, 0xbf, 0x56, 0xff, 0x68, 0x0f, 0x39,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 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x80, 0x37, 0xf7, 0x0f };
// Font characters rectangles data
static const Rectangle candyFontRecs[95] = {
{ 4, 4, 3 , 15 },
{ 15, 4, 2 , 9 },
{ 25, 4, 3 , 2 },
{ 36, 4, 8 , 9 },
{ 52, 4, 6 , 11 },
{ 66, 4, 7 , 9 },
{ 81, 4, 7 , 9 },
{ 96, 4, 1 , 2 },
{ 105, 4, 3 , 11 },
{ 116, 4, 3 , 11 },
{ 127, 4, 7 , 7 },
{ 142, 4, 6 , 5 },
{ 156, 4, 2 , 3 },
{ 166, 4, 5 , 1 },
{ 179, 4, 2 , 2 },
{ 189, 4, 5 , 10 },
{ 202, 4, 6 , 9 },
{ 216, 4, 4 , 9 },
{ 228, 4, 6 , 9 },
{ 4, 27, 6 , 9 },
{ 18, 27, 7 , 9 },
{ 33, 27, 6 , 9 },
{ 47, 27, 6 , 9 },
{ 61, 27, 6 , 9 },
{ 75, 27, 6 , 9 },
{ 89, 27, 6 , 9 },
{ 103, 27, 2 , 6 },
{ 113, 27, 2 , 7 },
{ 123, 27, 4 , 6 },
{ 135, 27, 5 , 3 },
{ 148, 27, 4 , 6 },
{ 160, 27, 6 , 9 },
{ 174, 27, 8 , 7 },
{ 190, 27, 6 , 9 },
{ 204, 27, 6 , 9 },
{ 218, 27, 6 , 9 },
{ 232, 27, 6 , 9 },
{ 4, 50, 6 , 9 },
{ 18, 50, 6 , 9 },
{ 32, 50, 6 , 9 },
{ 46, 50, 6 , 9 },
{ 60, 50, 2 , 9 },
{ 70, 50, 6 , 9 },
{ 84, 50, 6 , 9 },
{ 98, 50, 6 , 9 },
{ 112, 50, 8 , 9 },
{ 128, 50, 6 , 9 },
{ 142, 50, 6 , 9 },
{ 156, 50, 6 , 9 },
{ 170, 50, 6 , 9 },
{ 184, 50, 6 , 9 },
{ 198, 50, 6 , 9 },
{ 212, 50, 6 , 9 },
{ 226, 50, 6 , 9 },
{ 240, 50, 6 , 9 },
{ 4, 73, 8 , 9 },
{ 20, 73, 6 , 9 },
{ 34, 73, 6 , 9 },
{ 48, 73, 6 , 9 },
{ 62, 73, 3 , 11 },
{ 73, 73, 5 , 10 },
{ 86, 73, 3 , 11 },
{ 97, 73, 6 , 4 },
{ 111, 73, 6 , 1 },
{ 125, 73, 3 , 2 },
{ 136, 73, 6 , 7 },
{ 150, 73, 6 , 10 },
{ 164, 73, 6 , 7 },
{ 178, 73, 6 , 10 },
{ 192, 73, 6 , 7 },
{ 206, 73, 5 , 10 },
{ 219, 73, 7 , 10 },
{ 234, 73, 6 , 10 },
{ 4, 96, 2 , 10 },
{ 14, 96, 2 , 12 },
{ 24, 96, 6 , 10 },
{ 38, 96, 3 , 10 },
{ 49, 96, 8 , 7 },
{ 65, 96, 6 , 7 },
{ 79, 96, 6 , 7 },
{ 93, 96, 6 , 10 },
{ 107, 96, 6 , 10 },
{ 121, 96, 6 , 7 },
{ 135, 96, 6 , 7 },
{ 149, 96, 3 , 10 },
{ 160, 96, 6 , 7 },
{ 174, 96, 6 , 7 },
{ 188, 96, 8 , 7 },
{ 204, 96, 6 , 7 },
{ 218, 96, 6 , 10 },
{ 232, 96, 6 , 7 },
{ 4, 119, 4 , 11 },
{ 16, 119, 1 , 11 },
{ 25, 119, 4 , 11 },
{ 37, 119, 6 , 2 },
};
// Font characters info data
// NOTE: No chars.image data provided
static const GlyphInfo candyFontChars[95] = {
{ 32, 0, 12, 3, { 0 }},
{ 33, 0, 3, 3, { 0 }},
{ 34, 0, 2, 4, { 0 }},
{ 35, 0, 3, 9, { 0 }},
{ 36, 0, 2, 7, { 0 }},
{ 37, 0, 3, 8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 3, 7, { 0 }},
{ 87, 0, 3, 9, { 0 }},
{ 88, 0, 3, 7, { 0 }},
{ 89, 0, 3, 7, { 0 }},
{ 90, 0, 3, 7, { 0 }},
{ 91, 1, 2, 5, { 0 }},
{ 92, 1, 3, 7, { 0 }},
{ 93, 1, 2, 5, { 0 }},
{ 94, 0, 3, 7, { 0 }},
{ 95, 0, 11, 7, { 0 }},
{ 96, 0, 0, 4, { 0 }},
{ 97, 0, 5, 7, { 0 }},
{ 98, 0, 2, 7, { 0 }},
{ 99, 0, 5, 7, { 0 }},
{ 100, 0, 2, 7, { 0 }},
{ 101, 0, 5, 7, { 0 }},
{ 102, 0, 2, 6, { 0 }},
{ 103, 0, 5, 7, { 0 }},
{ 104, 0, 2, 7, { 0 }},
{ 105, 0, 2, 3, { 0 }},
{ 106, 0, 2, 3, { 0 }},
{ 107, 0, 2, 7, { 0 }},
{ 108, 0, 2, 4, { 0 }},
{ 109, 0, 5, 9, { 0 }},
{ 110, 0, 5, 7, { 0 }},
{ 111, 0, 5, 7, { 0 }},
{ 112, 0, 5, 7, { 0 }},
{ 113, 0, 5, 7, { 0 }},
{ 114, 0, 5, 7, { 0 }},
{ 115, 0, 5, 7, { 0 }},
{ 116, 0, 2, 4, { 0 }},
{ 117, 0, 5, 7, { 0 }},
{ 118, 0, 5, 7, { 0 }},
{ 119, 0, 5, 9, { 0 }},
{ 120, 0, 5, 7, { 0 }},
{ 121, 0, 5, 7, { 0 }},
{ 122, 0, 5, 7, { 0 }},
{ 123, 1, 2, 6, { 0 }},
{ 124, 1, 2, 3, { 0 }},
{ 125, 1, 2, 6, { 0 }},
{ 126, 0, 0, 7, { 0 }},
};
// Style loading function: candy
static void GuiLoadStyleCandy(void)
{
// Load style properties provided
// NOTE: Default properties are propagated
for (int i = 0; i < CANDY_STYLE_PROPS_COUNT; i++)
{
GuiSetStyle(candyStyleProps[i].controlId, candyStyleProps[i].propertyId, candyStyleProps[i].propertyValue);
}
// Custom font loading
// NOTE: Compressed font image data (DEFLATE), it requires DecompressData() function
int candyFontDataSize = 0;
unsigned char *data = DecompressData(candyFontData, CANDY_COMPRESSED_DATA_SIZE, &candyFontDataSize);
Image imFont = { data, 256, 256, 1, 2 };
Font font = { 0 };
font.baseSize = 15;
font.glyphCount = 95;
// Load texture from image
font.texture = LoadTextureFromImage(imFont);
UnloadImage(imFont); // Uncompressed data can be unloaded from memory
// Copy char recs data from global fontRecs
// NOTE: Required to avoid issues if trying to free font
font.recs = (Rectangle *)malloc(font.glyphCount*sizeof(Rectangle));
memcpy(font.recs, candyFontRecs, font.glyphCount*sizeof(Rectangle));
// Copy font char info data from global fontChars
// NOTE: Required to avoid issues if trying to free font
font.glyphs = (GlyphInfo *)malloc(font.glyphCount*sizeof(GlyphInfo));
memcpy(font.glyphs, candyFontChars, font.glyphCount*sizeof(GlyphInfo));
GuiSetFont(font);
// Setup a white rectangle on the font to be used on shapes drawing,
// this way we make sure all gui can be drawn on a single pass because no texture change is required
// NOTE: Setting up this rectangle is a manual process (for the moment)
Rectangle whiteChar = { 129, 6, 3, 3 };
SetShapesTexture(font.texture, whiteChar);
//-----------------------------------------------------------------
// TODO: Custom user style setup: Set specific properties here (if required)
// i.e. Controls specific BORDER_WIDTH, TEXT_PADDING, TEXT_ALIGNMENT
}

View file

@ -1,24 +0,0 @@
#
# rgs style text file (v3.1) - raygui style file generated using rGuiStyler
#
# Style properties:
# f <gen_font_size> <charmap_file> <font_file>
# p <control_id> <property_id> <property_value> <property_name>
#
f 15 0 v5easter.ttf
p 00 00 0xe58b68ff DEFAULT_BORDER_COLOR_NORMAL
p 00 01 0xfeda96ff DEFAULT_BASE_COLOR_NORMAL
p 00 02 0xe59b5fff DEFAULT_TEXT_COLOR_NORMAL
p 00 03 0xee813fff DEFAULT_BORDER_COLOR_FOCUSED
p 00 04 0xfcd85bff DEFAULT_BASE_COLOR_FOCUSED
p 00 05 0xfc6955ff DEFAULT_TEXT_COLOR_FOCUSED
p 00 06 0xb34848ff DEFAULT_BORDER_COLOR_PRESSED
p 00 07 0xeb7272ff DEFAULT_BASE_COLOR_PRESSED
p 00 08 0xbd4a4aff DEFAULT_TEXT_COLOR_PRESSED
p 00 09 0x94795dff DEFAULT_BORDER_COLOR_DISABLED
p 00 10 0xc2a37aff DEFAULT_BASE_COLOR_DISABLED
p 00 11 0x9c8369ff DEFAULT_TEXT_COLOR_DISABLED
p 00 16 0x0000000f TEXT_SIZE
p 00 17 0x00000000 TEXT_SPACING
p 00 18 0xd77575ff DEFAULT_LINE_COLOR
p 00 19 0xfff5e1ff DEFAULT_BACKGROUND_COLOR

View file

@ -1,27 +0,0 @@
V5 Easter Gothic
----------------
Instructions:
++ Easter Gothic ++
For screen use, set at 15pt or any multiple
of 15 (display). Turn antialiasing off. Set
tracking to 100 for best results.
---------------
Usage: This is a free font--you may use
this and other V5 fonts at will. It may not
be sold, altered, or improperly credited,
however. All I ask is that you kindly inform
me if you find this font useful, and where
you've used it.
Enjoy,
©2000
Roberto Christen
rob@vfive.com

Binary file not shown.

Before

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

View file

@ -1,16 +0,0 @@
style: cherry
--------------
Sweet with a touch of liquour, covered in chocolate, just give it a try! Not suitable for every palate, only the most demanding.
![cherry style table](style_table.png)
screenshot
-----------
![cherry style screen](screenshot.png)
about font
-----------
"Westington" font by Hazel Abbiati.
100% free font, downloaded from dafont.com: [westington](https://www.dafont.com/westington.font)

View file

@ -1,360 +0,0 @@
//////////////////////////////////////////////////////////////////////////////////
// //
// StyleAsCode exporter v1.2 - Style data exported as a values array //
// //
// USAGE: On init call: GuiLoadStyleCherry(); //
// //
// more info and bugs-report: github.com/raysan5/raygui //
// feedback and support: ray[at]raylibtech.com //
// //
// Copyright (c) 2020-2022 raylib technologies (@raylibtech) //
// //
//////////////////////////////////////////////////////////////////////////////////
#define CHERRY_STYLE_PROPS_COUNT 16
// Custom style name: cherry
static const GuiStyleProp cherryStyleProps[CHERRY_STYLE_PROPS_COUNT] = {
{ 0, 0, 0xda5757ff }, // DEFAULT_BORDER_COLOR_NORMAL
{ 0, 1, 0x753233ff }, // DEFAULT_BASE_COLOR_NORMAL
{ 0, 2, 0xe17373ff }, // DEFAULT_TEXT_COLOR_NORMAL
{ 0, 3, 0xfaaa97ff }, // DEFAULT_BORDER_COLOR_FOCUSED
{ 0, 4, 0xe06262ff }, // DEFAULT_BASE_COLOR_FOCUSED
{ 0, 5, 0xfdb4aaff }, // DEFAULT_TEXT_COLOR_FOCUSED
{ 0, 6, 0xe03c46ff }, // DEFAULT_BORDER_COLOR_PRESSED
{ 0, 7, 0x5b1e20ff }, // DEFAULT_BASE_COLOR_PRESSED
{ 0, 8, 0xc2474fff }, // DEFAULT_TEXT_COLOR_PRESSED
{ 0, 9, 0xa19292ff }, // DEFAULT_BORDER_COLOR_DISABLED
{ 0, 10, 0x706060ff }, // DEFAULT_BASE_COLOR_DISABLED
{ 0, 11, 0x9e8585ff }, // DEFAULT_TEXT_COLOR_DISABLED
{ 0, 16, 0x0000000f }, // DEFAULT_TEXT_SIZE
{ 0, 17, 0x00000000 }, // DEFAULT_TEXT_SPACING
{ 0, 18, 0xfb8170ff }, // DEFAULT_LINE_COLOR
{ 0, 19, 0x3a1720ff }, // DEFAULT_BACKGROUND_COLOR
};
// WARNING: This style uses a custom font: (size: 15, spacing: 0)
#define CHERRY_COMPRESSED_DATA_SIZE 1406
// Font image pixels data compressed (DEFLATE)
// NOTE: Original pixel data simplified to GRAYSCALE
static unsigned char cherryFontData[CHERRY_COMPRESSED_DATA_SIZE] = { 0xed,
0xdd, 0x4b, 0x76, 0xe3, 0x36, 0x10, 0x05, 0x50, 0xed, 0x7f, 0xd3, 0x2f, 0x27, 0x93, 0xa4, 0x4f, 0x3a, 0x26, 0x50, 0x85,
0xa2, 0xc4, 0xb6, 0xaf, 0xef, 0xcc, 0xb2, 0x28, 0x0a, 0x45, 0x82, 0xbf, 0x07, 0x38, 0x2f, 0x00, 0x80, 0xdf,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b, 0xff, 0xcf, 0x38,
0xfe, 0xeb, 0xff, 0xe5, 0x56, 0x2b, 0x89, 0xe7, 0x94, 0x92, 0xe1, 0x7c, 0xb7, 0x2d, 0xe7, 0x49, 0xb3, 0x72, 0x03, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x5f, 0xfa, 0x0b };
// Font characters rectangles data
static const Rectangle cherryFontRecs[95] = {
{ 4, 4, 5 , 15 },
{ 17, 4, 3 , 10 },
{ 28, 4, 5 , 2 },
{ 41, 4, 10 , 10 },
{ 59, 4, 7 , 11 },
{ 74, 4, 7 , 10 },
{ 89, 4, 8 , 10 },
{ 105, 4, 1 , 2 },
{ 114, 4, 3 , 10 },
{ 125, 4, 3 , 10 },
{ 136, 4, 3 , 3 },
{ 147, 4, 7 , 7 },
{ 162, 4, 2 , 2 },
{ 172, 4, 6 , 3 },
{ 186, 4, 1 , 1 },
{ 195, 4, 4 , 10 },
{ 207, 4, 5 , 8 },
{ 220, 4, 5 , 8 },
{ 233, 4, 5 , 8 },
{ 4, 27, 5 , 8 },
{ 17, 27, 5 , 8 },
{ 30, 27, 5 , 8 },
{ 43, 27, 5 , 8 },
{ 56, 27, 5 , 8 },
{ 69, 27, 5 , 8 },
{ 82, 27, 5 , 8 },
{ 95, 27, 3 , 10 },
{ 106, 27, 3 , 12 },
{ 117, 27, 6 , 7 },
{ 131, 27, 6 , 4 },
{ 145, 27, 6 , 7 },
{ 159, 27, 5 , 10 },
{ 172, 27, 8 , 10 },
{ 188, 27, 7 , 9 },
{ 203, 27, 7 , 9 },
{ 218, 27, 6 , 9 },
{ 232, 27, 6 , 9 },
{ 4, 50, 7 , 9 },
{ 19, 50, 6 , 9 },
{ 33, 50, 6 , 9 },
{ 47, 50, 7 , 9 },
{ 62, 50, 3 , 9 },
{ 73, 50, 6 , 9 },
{ 87, 50, 7 , 9 },
{ 102, 50, 7 , 9 },
{ 117, 50, 11 , 9 },
{ 136, 50, 8 , 9 },
{ 152, 50, 6 , 9 },
{ 166, 50, 6 , 9 },
{ 180, 50, 7 , 9 },
{ 195, 50, 7 , 9 },
{ 210, 50, 6 , 9 },
{ 224, 50, 7 , 9 },
{ 239, 50, 8 , 9 },
{ 4, 73, 9 , 9 },
{ 21, 73, 11 , 9 },
{ 40, 73, 7 , 9 },
{ 55, 73, 7 , 9 },
{ 70, 73, 7 , 9 },
{ 85, 73, 3 , 9 },
{ 96, 73, 4 , 10 },
{ 108, 73, 3 , 9 },
{ 119, 73, 3 , 3 },
{ 130, 73, 7 , 2 },
{ 145, 73, 2 , 2 },
{ 155, 73, 6 , 6 },
{ 169, 73, 6 , 9 },
{ 183, 73, 6 , 6 },
{ 197, 73, 6 , 9 },
{ 211, 73, 6 , 6 },
{ 225, 73, 5 , 9 },
{ 238, 73, 5 , 9 },
{ 4, 96, 7 , 9 },
{ 19, 96, 3 , 7 },
{ 30, 96, 3 , 8 },
{ 41, 96, 6 , 9 },
{ 55, 96, 4 , 9 },
{ 67, 96, 11 , 6 },
{ 86, 96, 7 , 6 },
{ 101, 96, 5 , 6 },
{ 114, 96, 6 , 8 },
{ 128, 96, 6 , 8 },
{ 142, 96, 5 , 6 },
{ 155, 96, 5 , 6 },
{ 168, 96, 5 , 9 },
{ 181, 96, 7 , 6 },
{ 196, 96, 7 , 6 },
{ 211, 96, 11 , 6 },
{ 230, 96, 7 , 6 },
{ 4, 119, 7 , 8 },
{ 19, 119, 6 , 6 },
{ 33, 119, 5 , 9 },
{ 46, 119, 1 , 9 },
{ 55, 119, 5 , 9 },
{ 68, 119, 7 , 3 },
};
// Font characters info data
// NOTE: No chars.image data provided
static const GlyphInfo cherryFontChars[95] = {
{ 32, 0, 12, 5, { 0 }},
{ 33, 0, 2, 4, { 0 }},
{ 34, 0, 2, 6, { 0 }},
{ 35, 0, 2, 11, { 0 }},
{ 36, 0, 2, 8, { 0 }},
{ 37, 0, 2, 8, { 0 }},
{ 38, 0, 2, 9, { 0 }},
{ 39, 0, 2, 2, { 0 }},
{ 40, 0, 2, 4, { 0 }},
{ 41, 0, 2, 4, { 0 }},
{ 42, 0, 2, 4, { 0 }},
{ 43, 0, 4, 8, { 0 }},
{ 44, 0, 11, 3, { 0 }},
{ 45, 0, 6, 7, { 0 }},
{ 46, 0, 11, 2, { 0 }},
{ 47, 0, 2, 5, { 0 }},
{ 48, 0, 4, 6, { 0 }},
{ 49, 0, 4, 6, { 0 }},
{ 50, 0, 4, 6, { 0 }},
{ 51, 0, 4, 6, { 0 }},
{ 52, 0, 4, 6, { 0 }},
{ 53, 0, 4, 6, { 0 }},
{ 54, 0, 4, 6, { 0 }},
{ 55, 0, 4, 6, { 0 }},
{ 56, 0, 4, 6, { 0 }},
{ 57, 0, 4, 6, { 0 }},
{ 58, 0, 2, 4, { 0 }},
{ 59, 0, 2, 4, { 0 }},
{ 60, 0, 4, 7, { 0 }},
{ 61, 0, 5, 7, { 0 }},
{ 62, 0, 4, 7, { 0 }},
{ 63, 0, 2, 6, { 0 }},
{ 64, 0, 2, 9, { 0 }},
{ 65, 0, 3, 8, { 0 }},
{ 66, 0, 3, 8, { 0 }},
{ 67, 0, 3, 7, { 0 }},
{ 68, 0, 3, 7, { 0 }},
{ 69, 0, 3, 8, { 0 }},
{ 70, 0, 3, 7, { 0 }},
{ 71, 0, 3, 7, { 0 }},
{ 72, 0, 3, 8, { 0 }},
{ 73, 0, 3, 4, { 0 }},
{ 74, 0, 3, 7, { 0 }},
{ 75, 0, 3, 8, { 0 }},
{ 76, 0, 3, 8, { 0 }},
{ 77, 0, 3, 12, { 0 }},
{ 78, 0, 3, 9, { 0 }},
{ 79, 0, 3, 7, { 0 }},
{ 80, 0, 3, 7, { 0 }},
{ 81, 0, 3, 8, { 0 }},
{ 82, 0, 3, 8, { 0 }},
{ 83, 0, 3, 7, { 0 }},
{ 84, 0, 3, 8, { 0 }},
{ 85, 0, 3, 9, { 0 }},
{ 86, 0, 3, 10, { 0 }},
{ 87, 0, 3, 12, { 0 }},
{ 88, 0, 3, 8, { 0 }},
{ 89, 0, 3, 8, { 0 }},
{ 90, 0, 3, 8, { 0 }},
{ 91, 0, 3, 4, { 0 }},
{ 92, 0, 2, 5, { 0 }},
{ 93, 0, 3, 4, { 0 }},
{ 94, 0, 3, 4, { 0 }},
{ 95, 0, 10, 8, { 0 }},
{ 96, 0, 2, 3, { 0 }},
{ 97, 0, 6, 7, { 0 }},
{ 98, 0, 3, 7, { 0 }},
{ 99, 0, 6, 7, { 0 }},
{ 100, 0, 3, 7, { 0 }},
{ 101, 0, 6, 7, { 0 }},
{ 102, 0, 3, 6, { 0 }},
{ 103, 0, 5, 6, { 0 }},
{ 104, 0, 3, 8, { 0 }},
{ 105, 0, 5, 4, { 0 }},
{ 106, 0, 5, 4, { 0 }},
{ 107, 0, 3, 7, { 0 }},
{ 108, 0, 3, 5, { 0 }},
{ 109, 0, 6, 12, { 0 }},
{ 110, 0, 6, 8, { 0 }},
{ 111, 0, 6, 6, { 0 }},
{ 112, 0, 6, 7, { 0 }},
{ 113, 0, 6, 7, { 0 }},
{ 114, 0, 6, 6, { 0 }},
{ 115, 0, 6, 6, { 0 }},
{ 116, 0, 3, 6, { 0 }},
{ 117, 0, 6, 8, { 0 }},
{ 118, 0, 6, 8, { 0 }},
{ 119, 0, 6, 12, { 0 }},
{ 120, 0, 6, 8, { 0 }},
{ 121, 0, 6, 8, { 0 }},
{ 122, 0, 6, 7, { 0 }},
{ 123, 0, 3, 6, { 0 }},
{ 124, 0, 3, 2, { 0 }},
{ 125, 0, 3, 6, { 0 }},
{ 126, 0, 6, 8, { 0 }},
};
// Style loading function: cherry
static void GuiLoadStyleCherry(void)
{
// Load style properties provided
// NOTE: Default properties are propagated
for (int i = 0; i < CHERRY_STYLE_PROPS_COUNT; i++)
{
GuiSetStyle(cherryStyleProps[i].controlId, cherryStyleProps[i].propertyId, cherryStyleProps[i].propertyValue);
}
// Custom font loading
// NOTE: Compressed font image data (DEFLATE), it requires DecompressData() function
int cherryFontDataSize = 0;
unsigned char *data = DecompressData(cherryFontData, CHERRY_COMPRESSED_DATA_SIZE, &cherryFontDataSize);
Image imFont = { data, 256, 256, 1, 2 };
Font font = { 0 };
font.baseSize = 15;
font.glyphCount = 95;
// Load texture from image
font.texture = LoadTextureFromImage(imFont);
UnloadImage(imFont); // Uncompressed data can be unloaded from memory
// Copy char recs data from global fontRecs
// NOTE: Required to avoid issues if trying to free font
font.recs = (Rectangle *)malloc(font.glyphCount*sizeof(Rectangle));
memcpy(font.recs, cherryFontRecs, font.glyphCount*sizeof(Rectangle));
// Copy font char info data from global fontChars
// NOTE: Required to avoid issues if trying to free font
font.glyphs = (GlyphInfo *)malloc(font.glyphCount*sizeof(GlyphInfo));
memcpy(font.glyphs, cherryFontChars, font.glyphCount*sizeof(GlyphInfo));
GuiSetFont(font);
// Setup a white rectangle on the font to be used on shapes drawing,
// this way we make sure all gui can be drawn on a single pass because no texture change is required
// NOTE: Setting up this rectangle is a manual process (for the moment)
Rectangle whiteChar = { 17, 30, 2, 2 };
SetShapesTexture(font.texture, whiteChar);
//-----------------------------------------------------------------
// TODO: Custom user style setup: Set specific properties here (if required)
// i.e. Controls specific BORDER_WIDTH, TEXT_PADDING, TEXT_ALIGNMENT
}

View file

@ -1,24 +0,0 @@
#
# rgs style text file (v3.1) - raygui style file generated using rGuiStyler
#
# Style properties:
# f <gen_font_size> <charmap_file> <font_file>
# p <control_id> <property_id> <property_value> <property_name>
#
f 15 0 Westington.ttf
p 00 00 0xda5757ff DEFAULT_BORDER_COLOR_NORMAL
p 00 01 0x753233ff DEFAULT_BASE_COLOR_NORMAL
p 00 02 0xe17373ff DEFAULT_TEXT_COLOR_NORMAL
p 00 03 0xfaaa97ff DEFAULT_BORDER_COLOR_FOCUSED
p 00 04 0xe06262ff DEFAULT_BASE_COLOR_FOCUSED
p 00 05 0xfdb4aaff DEFAULT_TEXT_COLOR_FOCUSED
p 00 06 0xe03c46ff DEFAULT_BORDER_COLOR_PRESSED
p 00 07 0x5b1e20ff DEFAULT_BASE_COLOR_PRESSED
p 00 08 0xc2474fff DEFAULT_TEXT_COLOR_PRESSED
p 00 09 0xa19292ff DEFAULT_BORDER_COLOR_DISABLED
p 00 10 0x706060ff DEFAULT_BASE_COLOR_DISABLED
p 00 11 0x9e8585ff DEFAULT_TEXT_COLOR_DISABLED
p 00 16 0x0000000f TEXT_SIZE
p 00 17 0x00000000 TEXT_SPACING
p 00 18 0xfb8170ff DEFAULT_LINE_COLOR
p 00 19 0x3a1720ff DEFAULT_BACKGROUND_COLOR

Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

View file

@ -1,16 +0,0 @@
style: cyber
-------------
Future is now! Neons and shadows, city never sleeps! Robots waiting in the corners and expensive vending machines! You got the style!
![cyber style table](style_table.png)
screenshot
-----------
![cyber style screen](screenshot.png)
about font
-----------
"Grixel Kyrou 7 Wide" font by [Nikos Giannakopoulos](http://www.grixel.gr/).
100% free font, downloaded from dafont.com: [grixel-kyrou-7-wide](https://www.dafont.com/grixel-kyrou-7-wide.font)

View file

@ -1,345 +0,0 @@
//////////////////////////////////////////////////////////////////////////////////
// //
// StyleAsCode exporter v1.2 - Style data exported as a values array //
// //
// USAGE: On init call: GuiLoadStyleCyber(); //
// //
// more info and bugs-report: github.com/raysan5/raygui //
// feedback and support: ray[at]raylibtech.com //
// //
// Copyright (c) 2020-2022 raylib technologies (@raylibtech) //
// //
//////////////////////////////////////////////////////////////////////////////////
#define CYBER_STYLE_PROPS_COUNT 16
// Custom style name: cyber
static const GuiStyleProp cyberStyleProps[CYBER_STYLE_PROPS_COUNT] = {
{ 0, 0, 0x2f7486ff }, // DEFAULT_BORDER_COLOR_NORMAL
{ 0, 1, 0x024658ff }, // DEFAULT_BASE_COLOR_NORMAL
{ 0, 2, 0x51bfd3ff }, // DEFAULT_TEXT_COLOR_NORMAL
{ 0, 3, 0x82cde0ff }, // DEFAULT_BORDER_COLOR_FOCUSED
{ 0, 4, 0x3299b4ff }, // DEFAULT_BASE_COLOR_FOCUSED
{ 0, 5, 0xb6e1eaff }, // DEFAULT_TEXT_COLOR_FOCUSED
{ 0, 6, 0xeb7630ff }, // DEFAULT_BORDER_COLOR_PRESSED
{ 0, 7, 0xffbc51ff }, // DEFAULT_BASE_COLOR_PRESSED
{ 0, 8, 0xd86f36ff }, // DEFAULT_TEXT_COLOR_PRESSED
{ 0, 9, 0x134b5aff }, // DEFAULT_BORDER_COLOR_DISABLED
{ 0, 10, 0x02313dff }, // DEFAULT_BASE_COLOR_DISABLED
{ 0, 11, 0x17505fff }, // DEFAULT_TEXT_COLOR_DISABLED
{ 0, 16, 0x0000000e }, // DEFAULT_TEXT_SIZE
{ 0, 17, 0x00000000 }, // DEFAULT_TEXT_SPACING
{ 0, 18, 0x81c0d0ff }, // DEFAULT_LINE_COLOR
{ 0, 19, 0x00222bff }, // DEFAULT_BACKGROUND_COLOR
};
// WARNING: This style uses a custom font: (size: 14, spacing: 0)
#define CYBER_COMPRESSED_DATA_SIZE 1104
// Font image pixels data compressed (DEFLATE)
// NOTE: Original pixel data simplified to GRAYSCALE
static unsigned char cyberFontData[CYBER_COMPRESSED_DATA_SIZE] = { 0xed,
0xdd, 0xe1, 0x6e, 0x9b, 0x30, 0x14, 0x05, 0x60, 0xb4, 0xf7, 0x7f, 0xe3, 0x8d, 0x9d, 0x49, 0x95, 0xb6, 0xa9, 0x9b, 0x02,
0xf6, 0xb5, 0x4d, 0x48, 0xfa, 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 0x00, 0x00, 0x00, 0x00, 0x80, 0xd9, 0xf3, 0x6e, 0x79, 0x42, 0x9a, 0xaa, 0x25, 0x4f, 0xd3, 0x96, 0x14, 0x39, 0x9e,
0x5b, 0x32, 0xc3, 0xb4, 0xaa, 0xfe, 0x47, 0xdf, 0x54, 0xdc, 0x9e, 0x50, 0xcb, 0x92, 0x9f, 0xaa, 0xfd, 0x15, 0xf5, 0xdf,
0x9a, 0x92, 0x6b, 0x99, 0x96, 0x7b, 0xbd, 0x53, 0x1e, 0xec, 0x7d, 0xce, 0x80, 0xfa, 0xea, 0x9d, 0xf5, 0xfe, 0x3f, 0x73,
0x3d, 0x67, 0xf5, 0x5f, 0x93, 0xbf, 0x68, 0x5f, 0xbd, 0xb1, 0xb2, 0x4a, 0xed, 0xcc, 0x75, 0xdb, 0x9d, 0x01, 0xef, 0x96,
0xef, 0xd2, 0xff, 0xbf, 0xea, 0xa7, 0x0b, 0xd5, 0x1f, 0xf5, 0x67, 0xfc, 0xf9, 0x1f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80,
0x0f, 0xbf, 0x00 };
// Font characters rectangles data
static const Rectangle cyberFontRecs[95] = {
{ 4, 4, 4 , 14 },
{ 16, 4, 1 , 8 },
{ 25, 4, 4 , 3 },
{ 37, 4, 8 , 8 },
{ 53, 4, 8 , 9 },
{ 69, 4, 8 , 8 },
{ 85, 4, 8 , 8 },
{ 101, 4, 1 , 3 },
{ 110, 4, 4 , 9 },
{ 122, 4, 4 , 9 },
{ 134, 4, 5 , 6 },
{ 147, 4, 5 , 6 },
{ 160, 4, 2 , 2 },
{ 170, 4, 4 , 1 },
{ 182, 4, 1 , 1 },
{ 191, 4, 8 , 8 },
{ 207, 4, 8 , 8 },
{ 223, 4, 2 , 8 },
{ 233, 4, 8 , 8 },
{ 4, 26, 8 , 8 },
{ 20, 26, 8 , 8 },
{ 36, 26, 8 , 8 },
{ 52, 26, 8 , 8 },
{ 68, 26, 7 , 8 },
{ 83, 26, 8 , 8 },
{ 99, 26, 8 , 8 },
{ 115, 26, 1 , 4 },
{ 124, 26, 2 , 5 },
{ 134, 26, 4 , 8 },
{ 146, 26, 5 , 3 },
{ 159, 26, 4 , 8 },
{ 171, 26, 7 , 8 },
{ 186, 26, 8 , 8 },
{ 202, 26, 8 , 8 },
{ 218, 26, 8 , 8 },
{ 234, 26, 8 , 8 },
{ 4, 48, 8 , 8 },
{ 20, 48, 7 , 8 },
{ 35, 48, 7 , 8 },
{ 50, 48, 8 , 8 },
{ 66, 48, 8 , 8 },
{ 82, 48, 5 , 8 },
{ 95, 48, 7 , 8 },
{ 110, 48, 8 , 8 },
{ 126, 48, 7 , 8 },
{ 141, 48, 8 , 8 },
{ 157, 48, 8 , 8 },
{ 173, 48, 8 , 8 },
{ 189, 48, 8 , 8 },
{ 205, 48, 8 , 9 },
{ 221, 48, 8 , 8 },
{ 237, 48, 8 , 8 },
{ 4, 70, 8 , 8 },
{ 20, 70, 8 , 8 },
{ 36, 70, 8 , 8 },
{ 52, 70, 9 , 8 },
{ 69, 70, 8 , 8 },
{ 85, 70, 8 , 8 },
{ 101, 70, 8 , 8 },
{ 117, 70, 4 , 9 },
{ 129, 70, 8 , 8 },
{ 145, 70, 4 , 9 },
{ 157, 70, 4 , 3 },
{ 169, 70, 7 , 1 },
{ 184, 70, 2 , 3 },
{ 194, 70, 7 , 5 },
{ 209, 70, 7 , 8 },
{ 224, 70, 7 , 5 },
{ 239, 70, 7 , 8 },
{ 4, 92, 7 , 5 },
{ 19, 92, 4 , 8 },
{ 31, 92, 7 , 7 },
{ 46, 92, 7 , 8 },
{ 61, 92, 1 , 8 },
{ 70, 92, 3 , 10 },
{ 81, 92, 7 , 8 },
{ 96, 92, 4 , 8 },
{ 108, 92, 9 , 5 },
{ 125, 92, 7 , 5 },
{ 140, 92, 7 , 5 },
{ 155, 92, 7 , 7 },
{ 170, 92, 7 , 7 },
{ 185, 92, 5 , 5 },
{ 198, 92, 7 , 5 },
{ 213, 92, 5 , 8 },
{ 226, 92, 7 , 5 },
{ 4, 114, 7 , 5 },
{ 19, 114, 9 , 5 },
{ 36, 114, 7 , 5 },
{ 51, 114, 7 , 7 },
{ 66, 114, 7 , 5 },
{ 81, 114, 4 , 9 },
{ 93, 114, 1 , 9 },
{ 102, 114, 4 , 9 },
{ 114, 114, 8 , 2 },
};
// Font characters info data
// NOTE: No chars.image data provided
static const GlyphInfo cyberFontChars[95] = {
{ 32, 0, 11, 4, { 0 }},
{ 33, 0, 3, 2, { 0 }},
{ 34, 0, 3, 4, { 0 }},
{ 35, 0, 3, 8, { 0 }},
{ 36, 0, 3, 8, { 0 }},
{ 37, 0, 3, 8, { 0 }},
{ 38, 0, 3, 8, { 0 }},
{ 39, 0, 3, 2, { 0 }},
{ 40, 0, 3, 4, { 0 }},
{ 41, 0, 3, 4, { 0 }},
{ 42, 0, 4, 6, { 0 }},
{ 43, 0, 4, 6, { 0 }},
{ 44, 0, 10, 3, { 0 }},
{ 45, 0, 7, 5, { 0 }},
{ 46, 0, 10, 2, { 0 }},
{ 47, 0, 3, 8, { 0 }},
{ 48, 0, 3, 8, { 0 }},
{ 49, 0, 3, 3, { 0 }},
{ 50, 0, 3, 8, { 0 }},
{ 51, 0, 3, 8, { 0 }},
{ 52, 0, 3, 8, { 0 }},
{ 53, 0, 3, 8, { 0 }},
{ 54, 0, 3, 8, { 0 }},
{ 55, 0, 3, 7, { 0 }},
{ 56, 0, 3, 8, { 0 }},
{ 57, 0, 3, 8, { 0 }},
{ 58, 0, 6, 2, { 0 }},
{ 59, 0, 6, 3, { 0 }},
{ 60, 0, 3, 5, { 0 }},
{ 61, 0, 6, 6, { 0 }},
{ 62, 0, 3, 5, { 0 }},
{ 63, 0, 3, 7, { 0 }},
{ 64, 0, 3, 8, { 0 }},
{ 65, 0, 3, 8, { 0 }},
{ 66, 0, 3, 8, { 0 }},
{ 67, 0, 3, 8, { 0 }},
{ 68, 0, 3, 8, { 0 }},
{ 69, 0, 3, 7, { 0 }},
{ 70, 0, 3, 7, { 0 }},
{ 71, 0, 3, 8, { 0 }},
{ 72, 0, 3, 8, { 0 }},
{ 73, 0, 3, 6, { 0 }},
{ 74, 0, 3, 7, { 0 }},
{ 75, 0, 3, 8, { 0 }},
{ 76, 0, 3, 7, { 0 }},
{ 77, 0, 3, 9, { 0 }},
{ 78, 0, 3, 8, { 0 }},
{ 79, 0, 3, 8, { 0 }},
{ 80, 0, 3, 8, { 0 }},
{ 81, 0, 3, 8, { 0 }},
{ 82, 0, 3, 8, { 0 }},
{ 83, 0, 3, 8, { 0 }},
{ 84, 0, 3, 8, { 0 }},
{ 85, 0, 3, 8, { 0 }},
{ 86, 0, 3, 8, { 0 }},
{ 87, 0, 3, 10, { 0 }},
{ 88, 0, 3, 8, { 0 }},
{ 89, 0, 3, 8, { 0 }},
{ 90, 0, 3, 8, { 0 }},
{ 91, 0, 3, 4, { 0 }},
{ 92, 0, 3, 8, { 0 }},
{ 93, 0, 3, 4, { 0 }},
{ 94, 0, 3, 4, { 0 }},
{ 95, 0, 11, 7, { 0 }},
{ 96, 0, 3, 3, { 0 }},
{ 97, 0, 6, 7, { 0 }},
{ 98, 0, 3, 7, { 0 }},
{ 99, 0, 6, 7, { 0 }},
{ 100, 0, 3, 7, { 0 }},
{ 101, 0, 6, 7, { 0 }},
{ 102, 0, 3, 5, { 0 }},
{ 103, 0, 6, 7, { 0 }},
{ 104, 0, 3, 7, { 0 }},
{ 105, 0, 3, 2, { 0 }},
{ 106, -2, 3, 2, { 0 }},
{ 107, 0, 3, 7, { 0 }},
{ 108, 0, 3, 4, { 0 }},
{ 109, 0, 6, 10, { 0 }},
{ 110, 0, 6, 7, { 0 }},
{ 111, 0, 6, 7, { 0 }},
{ 112, 0, 6, 7, { 0 }},
{ 113, 0, 6, 7, { 0 }},
{ 114, 0, 6, 6, { 0 }},
{ 115, 0, 6, 7, { 0 }},
{ 116, 0, 3, 6, { 0 }},
{ 117, 0, 6, 7, { 0 }},
{ 118, 0, 6, 7, { 0 }},
{ 119, 0, 6, 10, { 0 }},
{ 120, 0, 6, 7, { 0 }},
{ 121, 0, 6, 7, { 0 }},
{ 122, 0, 6, 7, { 0 }},
{ 123, 0, 3, 5, { 0 }},
{ 124, 0, 3, 2, { 0 }},
{ 125, 0, 3, 5, { 0 }},
{ 126, 0, 6, 8, { 0 }},
};
// Style loading function: cyber
static void GuiLoadStyleCyber(void)
{
// Load style properties provided
// NOTE: Default properties are propagated
for (int i = 0; i < CYBER_STYLE_PROPS_COUNT; i++)
{
GuiSetStyle(cyberStyleProps[i].controlId, cyberStyleProps[i].propertyId, cyberStyleProps[i].propertyValue);
}
// Custom font loading
// NOTE: Compressed font image data (DEFLATE), it requires DecompressData() function
int cyberFontDataSize = 0;
unsigned char *data = DecompressData(cyberFontData, CYBER_COMPRESSED_DATA_SIZE, &cyberFontDataSize);
Image imFont = { data, 256, 256, 1, 2 };
Font font = { 0 };
font.baseSize = 14;
font.glyphCount = 95;
// Load texture from image
font.texture = LoadTextureFromImage(imFont);
UnloadImage(imFont); // Uncompressed data can be unloaded from memory
// Copy char recs data from global fontRecs
// NOTE: Required to avoid issues if trying to free font
font.recs = (Rectangle *)malloc(font.glyphCount*sizeof(Rectangle));
memcpy(font.recs, cyberFontRecs, font.glyphCount*sizeof(Rectangle));
// Copy font char info data from global fontChars
// NOTE: Required to avoid issues if trying to free font
font.glyphs = (GlyphInfo *)malloc(font.glyphCount*sizeof(GlyphInfo));
memcpy(font.glyphs, cyberFontChars, font.glyphCount*sizeof(GlyphInfo));
GuiSetFont(font);
// Setup a white rectangle on the font to be used on shapes drawing,
// this way we make sure all gui can be drawn on a single pass because no texture change is required
// NOTE: Setting up this rectangle is a manual process (for the moment)
Rectangle whiteChar = { 89, 9, 2, 2 };
SetShapesTexture(font.texture, whiteChar);
//-----------------------------------------------------------------
// TODO: Custom user style setup: Set specific properties here (if required)
// i.e. Controls specific BORDER_WIDTH, TEXT_PADDING, TEXT_ALIGNMENT
}

View file

@ -1,24 +0,0 @@
#
# rgs style text file (v3.1) - raygui style file generated using rGuiStyler
#
# Style properties:
# f <gen_font_size> <charmap_file> <font_file>
# p <control_id> <property_id> <property_value> <property_name>
#
f 14 0 Kyrou 7 Wide.ttf
p 00 00 0x2f7486ff DEFAULT_BORDER_COLOR_NORMAL
p 00 01 0x024658ff DEFAULT_BASE_COLOR_NORMAL
p 00 02 0x51bfd3ff DEFAULT_TEXT_COLOR_NORMAL
p 00 03 0x82cde0ff DEFAULT_BORDER_COLOR_FOCUSED
p 00 04 0x3299b4ff DEFAULT_BASE_COLOR_FOCUSED
p 00 05 0xb6e1eaff DEFAULT_TEXT_COLOR_FOCUSED
p 00 06 0xeb7630ff DEFAULT_BORDER_COLOR_PRESSED
p 00 07 0xffbc51ff DEFAULT_BASE_COLOR_PRESSED
p 00 08 0xd86f36ff DEFAULT_TEXT_COLOR_PRESSED
p 00 09 0x134b5aff DEFAULT_BORDER_COLOR_DISABLED
p 00 10 0x02313dff DEFAULT_BASE_COLOR_DISABLED
p 00 11 0x17505fff DEFAULT_TEXT_COLOR_DISABLED
p 00 16 0x0000000e DEFAULT_TEXT_SIZE
p 00 17 0x00000000 DEFAULT_TEXT_SPACING
p 00 18 0x81c0d0ff DEFAULT_LINE_COLOR
p 00 19 0x00222bff DEFAULT_BACKGROUND_COLOR

View file

@ -1,36 +0,0 @@
Thank you for downloading the free Grixel fonts. You can use them in your personal and commercial projects too. They include Western European, Central European, Turkish and Greek characters. They are Unicode TrueType fonts and are optimized to work in both Windows XP and Mac OS X platforms using Adobe Photoshop CS2 and Macromedia Flash 8.
Grixel fonts are under Creative Commons Attribution-NoDerivs 2.5 License which can be found here:
http://creativecommons.org/licenses/by-nd/2.5/
===============================================================
Attribution-NoDerivs 2.5
You are free:
* to copy, distribute, display, and perform the work
* to make commercial use of the work
Under the following conditions:
by
Attribution. You must attribute the work in the manner specified by the author or licensor.
nd
No Derivative Works. You may not alter, transform, or build upon this work.
* For any reuse or distribution, you must make clear to others the license terms of this work.
* Any of these conditions can be waived if you get permission from the copyright holder.
Your fair use and other rights are in no way affected by the above.
===============================================================
In no event shall Nikos Giannakopoulos be held liable to you for any consequential or incidental damages, including any lost revenue, profits, goodwill or savings, or for any claim by any third party caused by using these fonts.
Please read the UsageGuides.pdf before you use them.
Grixel - Greek pixel fonts | Nikos Giannakopoulos | www.grixel.gr

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

View file

@ -1,16 +0,0 @@
style: dark
--------------
Classical dark style with an extra high-def colour touch! Elegant and professional, perfect for the expensive tools!
![dark style table](dark_table.png)
screenshot
-----------
![dark style screen](screenshot.png)
about font
-----------
"Pixel Operator" font by de Jayvee Enaguas.
CC0 1.0 Universal, downloaded from dafont.com: [pixel-operator](https://www.dafont.com/pixel-operator.font)

View file

@ -1,347 +0,0 @@
//////////////////////////////////////////////////////////////////////////////////
// //
// StyleAsCode exporter v1.2 - Style data exported as a values array //
// //
// USAGE: On init call: GuiLoadStyleDark(); //
// //
// more info and bugs-report: github.com/raysan5/raygui //
// feedback and support: ray[at]raylibtech.com //
// //
// Copyright (c) 2020-2022 raylib technologies (@raylibtech) //
// //
//////////////////////////////////////////////////////////////////////////////////
#define DARK_STYLE_PROPS_COUNT 22
// Custom style name: dark
static const GuiStyleProp darkStyleProps[DARK_STYLE_PROPS_COUNT] = {
{ 0, 0, 0x878787ff }, // DEFAULT_BORDER_COLOR_NORMAL
{ 0, 1, 0x2c2c2cff }, // DEFAULT_BASE_COLOR_NORMAL
{ 0, 2, 0xc3c3c3ff }, // DEFAULT_TEXT_COLOR_NORMAL
{ 0, 3, 0xe1e1e1ff }, // DEFAULT_BORDER_COLOR_FOCUSED
{ 0, 4, 0x848484ff }, // DEFAULT_BASE_COLOR_FOCUSED
{ 0, 5, 0x181818ff }, // DEFAULT_TEXT_COLOR_FOCUSED
{ 0, 6, 0x000000ff }, // DEFAULT_BORDER_COLOR_PRESSED
{ 0, 7, 0xefefefff }, // DEFAULT_BASE_COLOR_PRESSED
{ 0, 8, 0x202020ff }, // DEFAULT_TEXT_COLOR_PRESSED
{ 0, 9, 0x6a6a6aff }, // DEFAULT_BORDER_COLOR_DISABLED
{ 0, 10, 0x818181ff }, // DEFAULT_BASE_COLOR_DISABLED
{ 0, 11, 0x606060ff }, // DEFAULT_TEXT_COLOR_DISABLED
{ 0, 16, 0x00000010 }, // DEFAULT_TEXT_SIZE
{ 0, 17, 0x00000000 }, // DEFAULT_TEXT_SPACING
{ 0, 18, 0x9d9d9dff }, // DEFAULT_LINE_COLOR
{ 0, 19, 0x3c3c3cff }, // DEFAULT_BACKGROUND_COLOR
{ 1, 5, 0xf7f7f7ff }, // LABEL_TEXT_COLOR_FOCUSED
{ 1, 8, 0x898989ff }, // LABEL_TEXT_COLOR_PRESSED
{ 4, 5, 0xb0b0b0ff }, // SLIDER_TEXT_COLOR_FOCUSED
{ 5, 5, 0x848484ff }, // PROGRESSBAR_TEXT_COLOR_FOCUSED
{ 9, 5, 0xf5f5f5ff }, // TEXTBOX_TEXT_COLOR_FOCUSED
{ 10, 5, 0xf6f6f6ff }, // VALUEBOX_TEXT_COLOR_FOCUSED
};
// WARNING: This style uses a custom font: PixelOperator.ttf (size: 16, spacing: 0)
#define DARK_COMPRESSED_DATA_SIZE 1031
// Font image pixels data compressed (DEFLATE)
// NOTE: Original pixel data simplified to GRAYSCALE
static unsigned char darkFontData[DARK_CO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da, 0xeb, 0xef, 0x17, 0xff, 0xce, 0x8a, 0xab, 0x19, 0x6b, 0x69, 0xe7, 0xab, 0x3b, 0xdf,
0xbf, 0xff, 0x57, 0xe7, 0xff, 0x3d, 0xe3, 0xff, 0xea, 0xb5, 0xb4, 0xf3, 0xf3, 0xff, 0xcf, 0x18, 0xff, 0xef, 0xbc, 0x22,
0x73, 0xac, 0xbd, 0x5e, 0x5e, 0xae, 0xf8, 0x7f, 0x7a, 0x5e, 0xee, 0xdd, 0xeb, 0x7f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x46, 0xbf, 0x00 };
// Font characters rectangles data
static const Rectangle darkFontRecs[95] = {
{ 4, 4, 4 , 16 },
{ 16, 4, 1 , 9 },
{ 25, 4, 3 , 3 },
{ 36, 4, 6 , 9 },
{ 50, 4, 5 , 13 },
{ 63, 4, 7 , 9 },
{ 78, 4, 5 , 9 },
{ 91, 4, 1 , 3 },
{ 100, 4, 3 , 9 },
{ 111, 4, 3 , 9 },
{ 122, 4, 5 , 5 },
{ 135, 4, 5 , 5 },
{ 148, 4, 2 , 3 },
{ 158, 4, 4 , 1 },
{ 170, 4, 1 , 1 },
{ 179, 4, 3 , 9 },
{ 190, 4, 5 , 9 },
{ 203, 4, 3 , 9 },
{ 214, 4, 5 , 9 },
{ 227, 4, 5 , 9 },
{ 240, 4, 5 , 9 },
{ 4, 28, 5 , 9 },
{ 17, 28, 5 , 9 },
{ 30, 28, 5 , 9 },
{ 43, 28, 5 , 9 },
{ 56, 28, 5 , 9 },
{ 69, 28, 1 , 7 },
{ 78, 28, 2 , 9 },
{ 88, 28, 3 , 5 },
{ 99, 28, 4 , 3 },
{ 111, 28, 3 , 5 },
{ 122, 28, 5 , 9 },
{ 135, 28, 7 , 9 },
{ 150, 28, 5 , 9 },
{ 163, 28, 5 , 9 },
{ 176, 28, 5 , 9 },
{ 189, 28, 5 , 9 },
{ 202, 28, 5 , 9 },
{ 215, 28, 5 , 9 },
{ 228, 28, 5 , 9 },
{ 241, 28, 5 , 9 },
{ 4, 52, 1 , 9 },
{ 13, 52, 5 , 9 },
{ 26, 52, 5 , 9 },
{ 39, 52, 5 , 9 },
{ 52, 52, 7 , 9 },
{ 67, 52, 5 , 9 },
{ 80, 52, 5 , 9 },
{ 93, 52, 5 , 9 },
{ 106, 52, 5 , 9 },
{ 119, 52, 5 , 9 },
{ 132, 52, 5 , 9 },
{ 145, 52, 5 , 9 },
{ 158, 52, 5 , 9 },
{ 171, 52, 5 , 9 },
{ 184, 52, 7 , 9 },
{ 199, 52, 5 , 9 },
{ 212, 52, 5 , 9 },
{ 225, 52, 5 , 9 },
{ 238, 52, 3 , 9 },
{ 4, 76, 3 , 9 },
{ 15, 76, 3 , 9 },
{ 26, 76, 5 , 3 },
{ 39, 76, 5 , 1 },
{ 52, 76, 2 , 2 },
{ 62, 76, 5 , 7 },
{ 75, 76, 5 , 9 },
{ 88, 76, 5 , 7 },
{ 101, 76, 5 , 9 },
{ 114, 76, 5 , 7 },
{ 127, 76, 4 , 9 },
{ 139, 76, 5 , 9 },
{ 152, 76, 5 , 9 },
{ 165, 76, 1 , 9 },
{ 174, 76, 5 , 11 },
{ 187, 76, 5 , 9 },
{ 200, 76, 2 , 9 },
{ 210, 76, 7 , 7 },
{ 225, 76, 5 , 7 },
{ 238, 76, 5 , 7 },
{ 4, 100, 5 , 9 },
{ 17, 100, 5 , 9 },
{ 30, 100, 5 , 7 },
{ 43, 100, 5 , 7 },
{ 56, 100, 4 , 8 },
{ 68, 100, 5 , 7 },
{ 81, 100, 5 , 7 },
{ 94, 100, 7 , 7 },
{ 109, 100, 5 , 7 },
{ 122, 100, 5 , 9 },
{ 135, 100, 5 , 7 },
{ 148, 100, 4 , 9 },
{ 160, 100, 1 , 9 },
{ 169, 100, 4 , 9 },
{ 181, 100, 6 , 2 },
};
// Font glyphs info data
// NOTE: No glyphs.image data provided
static const GlyphInfo darkFontChars[95] = {
{ 32, 0, 13, 4, { 0 }},
{ 33, 2, 4, 5, { 0 }},
{ 34, 2, 4, 7, { 0 }},
{ 35, 1, 4, 8, { 0 }},
{ 36, 1, 2, 7, { 0 }},
{ 37, 1, 4, 9, { 0 }},
{ 38, 1, 4, 7, { 0 }},
{ 39, 2, 4, 5, { 0 }},
{ 40, 3, 4, 7, { 0 }},
{ 41, 1, 4, 7, { 0 }},
{ 42, 1, 4, 7, { 0 }},
{ 43, 1, 6, 7, { 0 }},
{ 44, 1, 12, 5, { 0 }},
{ 45, 1, 8, 6, { 0 }},
{ 46, 2, 12, 5, { 0 }},
{ 47, 1, 4, 5, { 0 }},
{ 48, 1, 4, 7, { 0 }},
{ 49, 2, 4, 7, { 0 }},
{ 50, 1, 4, 7, { 0 }},
{ 51, 1, 4, 7, { 0 }},
{ 52, 1, 4, 7, { 0 }},
{ 53, 1, 4, 7, { 0 }},
{ 54, 1, 4, 7, { 0 }},
{ 55, 1, 4, 7, { 0 }},
{ 56, 1, 4, 7, { 0 }},
{ 57, 1, 4, 7, { 0 }},
{ 58, 2, 6, 5, { 0 }},
{ 59, 1, 6, 5, { 0 }},
{ 60, 1, 6, 5, { 0 }},
{ 61, 1, 7, 6, { 0 }},
{ 62, 1, 6, 5, { 0 }},
{ 63, 1, 4, 7, { 0 }},
{ 64, 1, 4, 9, { 0 }},
{ 65, 1, 4, 7, { 0 }},
{ 66, 1, 4, 7, { 0 }},
{ 67, 1, 4, 7, { 0 }},
{ 68, 1, 4, 7, { 0 }},
{ 69, 1, 4, 7, { 0 }},
{ 70, 1, 4, 7, { 0 }},
{ 71, 1, 4, 7, { 0 }},
{ 72, 1, 4, 7, { 0 }},
{ 73, 2, 4, 5, { 0 }},
{ 74, 1, 4, 7, { 0 }},
{ 75, 1, 4, 7, { 0 }},
{ 76, 1, 4, 7, { 0 }},
{ 77, 1, 4, 9, { 0 }},
{ 78, 1, 4, 7, { 0 }},
{ 79, 1, 4, 7, { 0 }},
{ 80, 1, 4, 7, { 0 }},
{ 81, 1, 4, 7, { 0 }},
{ 82, 1, 4, 7, { 0 }},
{ 83, 1, 4, 7, { 0 }},
{ 84, 1, 4, 7, { 0 }},
{ 85, 1, 4, 7, { 0 }},
{ 86, 1, 4, 7, { 0 }},
{ 87, 1, 4, 9, { 0 }},
{ 88, 1, 4, 7, { 0 }},
{ 89, 1, 4, 7, { 0 }},
{ 90, 1, 4, 7, { 0 }},
{ 91, 3, 4, 7, { 0 }},
{ 92, 1, 4, 5, { 0 }},
{ 93, 1, 4, 7, { 0 }},
{ 94, 1, 4, 7, { 0 }},
{ 95, 0, 14, 5, { 0 }},
{ 96, 1, 4, 5, { 0 }},
{ 97, 1, 6, 7, { 0 }},
{ 98, 1, 4, 7, { 0 }},
{ 99, 1, 6, 7, { 0 }},
{ 100, 1, 4, 7, { 0 }},
{ 101, 1, 6, 7, { 0 }},
{ 102, 1, 4, 6, { 0 }},
{ 103, 1, 6, 7, { 0 }},
{ 104, 1, 4, 7, { 0 }},
{ 105, 2, 4, 5, { 0 }},
{ 106, 1, 4, 7, { 0 }},
{ 107, 1, 4, 7, { 0 }},
{ 108, 2, 4, 5, { 0 }},
{ 109, 1, 6, 9, { 0 }},
{ 110, 1, 6, 7, { 0 }},
{ 111, 1, 6, 7, { 0 }},
{ 112, 1, 6, 7, { 0 }},
{ 113, 1, 6, 7, { 0 }},
{ 114, 1, 6, 7, { 0 }},
{ 115, 1, 6, 7, { 0 }},
{ 116, 1, 5, 6, { 0 }},
{ 117, 1, 6, 7, { 0 }},
{ 118, 1, 6, 7, { 0 }},
{ 119, 1, 6, 9, { 0 }},
{ 120, 1, 6, 7, { 0 }},
{ 121, 1, 6, 7, { 0 }},
{ 122, 1, 6, 7, { 0 }},
{ 123, 2, 4, 7, { 0 }},
{ 124, 2, 4, 5, { 0 }},
{ 125, 1, 4, 7, { 0 }},
{ 126, 1, 4, 8, { 0 }},
};
// Style loading function: dark
static void GuiLoadStyleDark(void)
{
// Load style properties provided
// NOTE: Default properties are propagated
for (int i = 0; i < DARK_STYLE_PROPS_COUNT; i++)
{
GuiSetStyle(darkStyleProps[i].controlId, darkStyleProps[i].propertyId, darkStyleProps[i].propertyValue);
}
// Custom font loading
// NOTE: Compressed font image data (DEFLATE), it requires DecompressData() function
int darkFontDataSize = 0;
unsigned char *data = DecompressData(darkFontData, DARK_COMPRESSED_DATA_SIZE, &darkFontDataSize);
Image imFont = { data, 256, 256, 1, 2 };
Font font = { 0 };
font.baseSize = 16;
font.glyphCount = 95;
// Load texture from image
font.texture = LoadTextureFromImage(imFont);
UnloadImage(imFont); // Uncompressed data can be unloaded from memory
// Copy char recs data from global fontRecs
// NOTE: Required to avoid issues if trying to free font
font.recs = (Rectangle *)malloc(font.glyphCount*sizeof(Rectangle));
memcpy(font.recs, darkFontRecs, font.glyphCount*sizeof(Rectangle));
// Copy font char info data from global fontChars
// NOTE: Required to avoid issues if trying to free font
font.glyphs = (GlyphInfo *)malloc(font.glyphCount*sizeof(GlyphInfo));
memcpy(font.glyphs, darkFontChars, font.glyphCount*sizeof(GlyphInfo));
GuiSetFont(font);
// TODO: Setup a white rectangle on the font to be used on shapes drawing,
// this way we make sure all gui can be drawn on a single pass because no texture change is required
// NOTE: Setting up this rectangle is a manual process (for the moment)
Rectangle whiteChar = { 124, 6, 1, 1 };
SetShapesTexture(font.texture, whiteChar);
//-----------------------------------------------------------------
// TODO: Custom user style setup: Set specific properties here (if required)
// i.e. Controls specific BORDER_WIDTH, TEXT_PADDING, TEXT_ALIGNMENT
}

View file

@ -1,121 +0,0 @@
Creative Commons Legal Code
CC0 1.0 Universal
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
HEREUNDER.
Statement of Purpose
The laws of most jurisdictions throughout the world automatically confer
exclusive Copyright and Related Rights (defined below) upon the creator
and subsequent owner(s) (each and all, an "owner") of an original work of
authorship and/or a database (each, a "Work").
Certain owners wish to permanently relinquish those rights to a Work for
the purpose of contributing to a commons of creative, cultural and
scientific works ("Commons") that the public can reliably and without fear
of later claims of infringement build upon, modify, incorporate in other
works, reuse and redistribute as freely as possible in any form whatsoever
and for any purposes, including without limitation commercial purposes.
These owners may contribute to the Commons to promote the ideal of a free
culture and the further production of creative, cultural and scientific
works, or to gain reputation or greater distribution for their Work in
part through the use and efforts of others.
For these and/or other purposes and motivations, and without any
expectation of additional consideration or compensation, the person
associating CC0 with a Work (the "Affirmer"), to the extent that he or she
is an owner of Copyright and Related Rights in the Work, voluntarily
elects to apply CC0 to the Work and publicly distribute the Work under its
terms, with knowledge of his or her Copyright and Related Rights in the
Work and the meaning and intended legal effect of CC0 on those rights.
1. Copyright and Related Rights. A Work made available under CC0 may be
protected by copyright and related or neighboring rights ("Copyright and
Related Rights"). Copyright and Related Rights include, but are not
limited to, the following:
i. the right to reproduce, adapt, distribute, perform, display,
communicate, and translate a Work;
ii. moral rights retained by the original author(s) and/or performer(s);
iii. publicity and privacy rights pertaining to a person's image or
likeness depicted in a Work;
iv. rights protecting against unfair competition in regards to a Work,
subject to the limitations in paragraph 4(a), below;
v. rights protecting the extraction, dissemination, use and reuse of data
in a Work;
vi. database rights (such as those arising under Directive 96/9/EC of the
European Parliament and of the Council of 11 March 1996 on the legal
protection of databases, and under any national implementation
thereof, including any amended or successor version of such
directive); and
vii. other similar, equivalent or corresponding rights throughout the
world based on applicable law or treaty, and any national
implementations thereof.
2. Waiver. To the greatest extent permitted by, but not in contravention
of, applicable law, Affirmer hereby overtly, fully, permanently,
irrevocably and unconditionally waives, abandons, and surrenders all of
Affirmer's Copyright and Related Rights and associated claims and causes
of action, whether now known or unknown (including existing as well as
future claims and causes of action), in the Work (i) in all territories
worldwide, (ii) for the maximum duration provided by applicable law or
treaty (including future time extensions), (iii) in any current or future
medium and for any number of copies, and (iv) for any purpose whatsoever,
including without limitation commercial, advertising or promotional
purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
member of the public at large and to the detriment of Affirmer's heirs and
successors, fully intending that such Waiver shall not be subject to
revocation, rescission, cancellation, termination, or any other legal or
equitable action to disrupt the quiet enjoyment of the Work by the public
as contemplated by Affirmer's express Statement of Purpose.
3. Public License Fallback. Should any part of the Waiver for any reason
be judged legally invalid or ineffective under applicable law, then the
Waiver shall be preserved to the maximum extent permitted taking into
account Affirmer's express Statement of Purpose. In addition, to the
extent the Waiver is so judged Affirmer hereby grants to each affected
person a royalty-free, non transferable, non sublicensable, non exclusive,
irrevocable and unconditional license to exercise Affirmer's Copyright and
Related Rights in the Work (i) in all territories worldwide, (ii) for the
maximum duration provided by applicable law or treaty (including future
time extensions), (iii) in any current or future medium and for any number
of copies, and (iv) for any purpose whatsoever, including without
limitation commercial, advertising or promotional purposes (the
"License"). The License shall be deemed effective as of the date CC0 was
applied by Affirmer to the Work. Should any part of the License for any
reason be judged legally invalid or ineffective under applicable law, such
partial invalidity or ineffectiveness shall not invalidate the remainder
of the License, and in such case Affirmer hereby affirms that he or she
will not (i) exercise any of his or her remaining Copyright and Related
Rights in the Work or (ii) assert any associated claims and causes of
action with respect to the Work, in either case contrary to Affirmer's
express Statement of Purpose.
4. Limitations and Disclaimers.
a. No trademark or patent rights held by Affirmer are waived, abandoned,
surrendered, licensed or otherwise affected by this document.
b. Affirmer offers the Work as-is and makes no representations or
warranties of any kind concerning the Work, express, implied,
statutory or otherwise, including without limitation warranties of
title, merchantability, fitness for a particular purpose, non
infringement, or the absence of latent or other defects, accuracy, or
the present or absence of errors, whether or not discoverable, all to
the greatest extent permissible under applicable law.
c. Affirmer disclaims responsibility for clearing rights of other persons
that may apply to the Work or any use thereof, including without
limitation any person's Copyright and Related Rights in the Work.
Further, Affirmer disclaims responsibility for obtaining any necessary
consents, permissions or other rights required for any use of the
Work.
d. Affirmer understands and acknowledges that Creative Commons is not a
party to this document and has no duty or obligation with respect to
this CC0 or use of the Work.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

View file

@ -1,14 +0,0 @@
style: default
---------------
raylib style, simple and easy-to-use. Light colors, wide borders, a sophisticated touch.
![default style table](style_table.png)
screenshot
-----------
![default style screen](screenshot.png)
about font
-----------
raylib font by Ramon Santamaria ([@raysan5](https://twitter.com/raysan5)).

View file

@ -1,69 +0,0 @@
#
# rgs style text file (v3.1) - raygui style file generated using rGuiStyler
#
# Style properties:
# f <gen_font_size> <charmap_file> <font_file>
# p <control_id> <property_id> <property_value> <property_name>
#
p 00 00 0x838383ff DEFAULT_BORDER_COLOR_NORMAL
p 00 01 0xc9c9c9ff DEFAULT_BASE_COLOR_NORMAL
p 00 02 0x686868ff DEFAULT_TEXT_COLOR_NORMAL
p 00 03 0x5bb2d9ff DEFAULT_BORDER_COLOR_FOCUSED
p 00 04 0xc9effeff DEFAULT_BASE_COLOR_FOCUSED
p 00 05 0x6c9bbcff DEFAULT_TEXT_COLOR_FOCUSED
p 00 06 0x0492c7ff DEFAULT_BORDER_COLOR_PRESSED
p 00 07 0x97e8ffff DEFAULT_BASE_COLOR_PRESSED
p 00 08 0x368bafff DEFAULT_TEXT_COLOR_PRESSED
p 00 09 0xb5c1c2ff DEFAULT_BORDER_COLOR_DISABLED
p 00 10 0xe6e9e9ff DEFAULT_BASE_COLOR_DISABLED
p 00 11 0xaeb7b8ff DEFAULT_TEXT_COLOR_DISABLED
p 00 12 0x1 DEFAULT_BORDER_WIDTH
p 00 13 0x0 DEFAULT_TEXT_PADDING
p 00 14 0x1 DEFAULT_TEXT_ALIGNMENT
p 00 15 0x0 DEFAULT_RESERVED
p 00 16 0xa DEFAULT_TEXT_SIZE
p 00 17 0x1 DEFAULT_TEXT_SPACING
p 00 18 0x90abb5ff DEFAULT_LINE_COLOR
p 00 19 0xf5f5f5ff DEFAULT_BACKGROUND_COLOR
p 01 14 0x0 LABEL_TEXT_ALIGNMENT
p 02 12 0x2 BUTTON_BORDER_WIDTH
p 03 16 0x2 TOGGLE_GROUP_PADDING
p 04 16 0xf SLIDER_SLIDER_WIDTH
p 04 13 0x5 SLIDER_TEXT_PADDING
p 05 16 0x1 PROGRESSBAR_PROGRESS_PADDING
p 06 13 0x5 CHECKBOX_TEXT_PADDING
p 06 14 0x2 CHECKBOX_TEXT_ALIGNMENT
p 06 16 0x1 CHECKBOX_CHECK_PADDING
p 07 16 0x1e COMBOBOX_COMBO_BUTTON_WIDTH
p 07 17 0x2 COMBOBOX_COMBO_BUTTON_PADDING
p 08 16 0x10 DROPDOWNBOX_ARROW_PADDING
p 08 17 0x2 DROPDOWNBOX_DROPDOWN_ITEMS_PADDING
p 09 13 0x5 TEXTBOX_TEXT_PADDING
p 09 14 0x0 TEXTBOX_TEXT_ALIGNMENT
p 09 16 0x5 TEXTBOX_TEXT_LINES_PADDING
p 09 17 0xf0fffeff TEXTBOX_COLOR_SELECTED_FG
p 09 18 0x839affe0 TEXTBOX_COLOR_SELECTED_BG
p 10 13 0x4 VALUEBOX_TEXT_PADDING
p 10 14 0x0 VALUEBOX_TEXT_ALIGNMENT
p 11 13 0x4 SPINNER_TEXT_PADDING
p 11 14 0x0 SPINNER_TEXT_ALIGNMENT
p 11 16 0x14 SPINNER_SPIN_BUTTON_WIDTH
p 11 17 0x2 SPINNER_SPIN_BUTTON_PADDING
p 12 16 0x1e LISTVIEW_LIST_ITEMS_HEIGHT
p 12 17 0x2 LISTVIEW_LIST_ITEMS_PADDING
p 12 18 0xa LISTVIEW_SCROLLBAR_WIDTH
p 12 19 0x2 LISTVIEW_SCROLLBAR_SIDE
p 13 16 0x6 COLORPICKER_COLOR_SELECTOR_SIZE
p 13 17 0x14 COLORPICKER_HUEBAR_WIDTH
p 13 18 0xa COLORPICKER_HUEBAR_PADDING
p 13 19 0x6 COLORPICKER_HUEBAR_SELECTOR_HEIGHT
p 13 20 0x2 COLORPICKER_HUEBAR_SELECTOR_OVERFLOW
p 14 12 0x0 SCROLLBAR_BORDER_WIDTH
p 14 16 0x6 SCROLLBAR_ARROWS_SIZE
p 14 17 0x0 SCROLLBAR_ARROWS_VISIBLE
p 14 18 0x0 SCROLLBAR_SCROLL_SLIDER_PADDING
p 14 19 0x10 SCROLLBAR_SCROLL_SLIDER_SIZE
p 14 20 0x0 SCROLLBAR_SCROLL_PADDING
p 14 21 0xa SCROLLBAR_SCROLL_SPEED
p 15 13 0xa STATUSBAR_TEXT_PADDING
p 15 14 0x0 STATUSBAR_TEXT_ALIGNMENT

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

View file

@ -1,16 +0,0 @@
style: enefete
--------------
Inspired by money and pain, a desperate jump into the trendings train, a train to nowhere. Don't stare at it for too long!
![enefete style table](enefete_table.png)
screenshot
-----------
![enefete style screen](screenshot.png)
about font
-----------
"Generic Mobile System" font by de Jayvee Enaguas.
CC0 1.0 Universal, downloaded from dafont.com: [generic-mobile-system](https://www.dafont.com/generic-mobile-system.font)

View file

@ -1,353 +0,0 @@
//////////////////////////////////////////////////////////////////////////////////
// //
// StyleAsCode exporter v1.2 - Style data exported as a values array //
// //
// USAGE: On init call: GuiLoadStyleEnefete(); //
// //
// more info and bugs-report: github.com/raysan5/raygui //
// feedback and support: ray[at]raylibtech.com //
// //
// Copyright (c) 2020-2022 raylib technologies (@raylibtech) //
// //
//////////////////////////////////////////////////////////////////////////////////
#define ENEFETE_STYLE_PROPS_COUNT 16
// Custom style name: enefete
static const GuiStyleProp enefeteStyleProps[ENEFETE_STYLE_PROPS_COUNT] = {
{ 0, 0, 0x1980d5ff }, // DEFAULT_BORDER_COLOR_NORMAL
{ 0, 1, 0x4df3ebff }, // DEFAULT_BASE_COLOR_NORMAL
{ 0, 2, 0x103e60ff }, // DEFAULT_TEXT_COLOR_NORMAL
{ 0, 3, 0xe7e2f7ff }, // DEFAULT_BORDER_COLOR_FOCUSED
{ 0, 4, 0x23d4ddff }, // DEFAULT_BASE_COLOR_FOCUSED
{ 0, 5, 0xf1f1f1ff }, // DEFAULT_TEXT_COLOR_FOCUSED
{ 0, 6, 0x6413a6ff }, // DEFAULT_BORDER_COLOR_PRESSED
{ 0, 7, 0xea66d9ff }, // DEFAULT_BASE_COLOR_PRESSED
{ 0, 8, 0x9f00bbff }, // DEFAULT_TEXT_COLOR_PRESSED
{ 0, 9, 0x4b909eff }, // DEFAULT_BORDER_COLOR_DISABLED
{ 0, 10, 0x73c7d0ff }, // DEFAULT_BASE_COLOR_DISABLED
{ 0, 11, 0x448894ff }, // DEFAULT_TEXT_COLOR_DISABLED
{ 0, 16, 0x00000010 }, // DEFAULT_TEXT_SIZE
{ 0, 17, 0x00000000 }, // DEFAULT_TEXT_SPACING
{ 0, 18, 0x1d3f6cff }, // DEFAULT_LINE_COLOR
{ 0, 19, 0x29c9e5ff }, // DEFAULT_BACKGROUND_COLOR
};
// WARNING: This style uses a custom font: GenericMobileSystemNuevo.ttf (size: 16, spacing: 0)
#define ENEFETE_COMPRESSED_DATA_SIZE 1270
// Font image pixels data compressed (DEFLATE)
// NOTE: Original pixel data simplified to GRAYSCALE
static unsigned char enefeteFontData[ENEFETE_COMPRESSED_DATA_SIZE] = { 0xed,
0xdd, 0x51, 0x96, 0xe3, 0x26, 0x10, 0x05, 0x50, 0xf6, 0xbf, 0xe9, 0xca, 0xc9, 0x47, 0x72, 0x26, 0x93, 0x69, 0x01, 0x45,
0x21, 0x61, 0xf9, 0xf6, 0xfd, 0xb3, 0xda, 0xdd, 0x32, 0xcf, 0x12, 0x92, 0x29, 0x70, 0x34, 0x00, 0x80, 0xdf, 0xfc, 0xfd,
0xf3, 0xe7, 0xc7, 0xfe, 0xb4, 0xe5, 0x7a, 0xdb, 0x3f, 0xbf, 0xd1, 0xdb, 0x12, 0x3f, 0xee, 0x49, 0x5c, 0x6c, 0x1b, 0xfb,
0x5f, 0xb9, 0xfd, 0x8a, 0xa9, 0xb6, 0x89, 0x8b, 0x56, 0x6b, 0xcb, 0x8f, 0xb7, 0xcb, 0xb6, 0xbf, 0x7a, 0xd6, 0xf3, 0xf9,
0xc7, 0xc5, 0x3e, 0xc6, 0xbf, 0x19, 0xc4, 0xc5, 0x7e, 0xc4, 0xe5, 0xd6, 0x91, 0x44, 0xaf, 0xfe, 0x77, 0x5d, 0x42, 0xab,
0x7f, 0x25, 0xba, 0x47, 0xc2, 0x5c, 0x0b, 0x9d, 0x90, 0x7f, 0xfc, 0xd2, 0xce, 0x91, 0xcc, 0x60, 0x3c, 0xff, 0xba, 0xa3,
0xf6, 0xfa, 0x3d, 0xbb, 0xaf, 0x85, 0xaf, 0xda, 0x69, 0xfe, 0x6c, 0x55, 0xb7, 0x77, 0xd7, 0xbf, 0xdd, 0x3b, 0x03, 0xee,
0xc8, 0xbf, 0xe2, 0x78, 0xfb, 0xf9, 0x2f, 0xc7, 0xc4, 0x99, 0xa4, 0xa6, 0x7d, 0x7b, 0xaf, 0xf6, 0xd4, 0xfc, 0x47, 0x8f,
0xff, 0x9f, 0x7b, 0xe0, 0xe8, 0xbe, 0xb7, 0x76, 0x9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da, 0xf3, 0x7f, 0x76,
0x16, 0xc6, 0xea, 0xbb, 0x6d, 0x75, 0xb6, 0xe1, 0xf3, 0xc7, 0xff, 0x93, 0xd5, 0xa3, 0x95, 0xfb, 0x73, 0x4e, 0xe5, 0xe1,
0x67, 0xf5, 0xff, 0xf2, 0x3f, 0xa3, 0x72, 0xb6, 0x3d, 0xfc, 0x1d, 0x1d, 0xdf, 0x59, 0xaf, 0xfe, 0xc9, 0xaf, 0x54, 0xad,
0xf5, 0xb7, 0xd7, 0xe6, 0x6b, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x93, 0x47, 0x73, 0x62, 0x72, 0x75, 0xd7, 0xd9,
0xfa, 0x9f, 0xf8, 0x65, 0x74, 0x58, 0x9b, 0x7f, 0xce, 0x08, 0x76, 0xcd, 0xaa, 0x8e, 0xd1, 0x7d, 0x97, 0x71, 0x66, 0xfd,
0x42, 0x55, 0xfe, 0xdf, 0x56, 0x25, 0xf1, 0x96, 0xea, 0x95, 0xda, 0x55, 0x5d, 0x79, 0xcb, 0x0c, 0x40, 0xf9, 0x9b, 0xff,
0xf9, 0xed, 0x95, 0x70, 0xdf, 0x70, 0xfd, 0xef, 0xf8, 0xf7, 0xee, 0x90, 0xbf, 0xfc, 0xe5, 0x2f, 0x7f, 0xf9, 0xcb, 0x5f,
0xfe, 0xaa, 0xfd, 0x73, 0xf3, 0x3f, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x8f, 0xf3, 0x17 };
// Font characters rectangles data
static const Rectangle enefeteFontRecs[95] = {
{ 4, 4, 4 , 16 },
{ 16, 4, 2 , 10 },
{ 26, 4, 5 , 3 },
{ 39, 4, 7 , 10 },
{ 54, 4, 7 , 13 },
{ 69, 4, 7 , 10 },
{ 84, 4, 7 , 10 },
{ 99, 4, 2 , 3 },
{ 109, 4, 3 , 12 },
{ 120, 4, 3 , 12 },
{ 131, 4, 5 , 6 },
{ 144, 4, 6 , 5 },
{ 158, 4, 2 , 4 },
{ 168, 4, 5 , 1 },
{ 181, 4, 2 , 2 },
{ 191, 4, 4 , 10 },
{ 203, 4, 6 , 10 },
{ 217, 4, 4 , 10 },
{ 229, 4, 6 , 10 },
{ 4, 28, 6 , 10 },
{ 18, 28, 6 , 10 },
{ 32, 28, 6 , 10 },
{ 46, 28, 6 , 10 },
{ 60, 28, 6 , 10 },
{ 74, 28, 6 , 10 },
{ 88, 28, 6 , 10 },
{ 102, 28, 2 , 6 },
{ 112, 28, 2 , 8 },
{ 122, 28, 7 , 7 },
{ 137, 28, 5 , 3 },
{ 150, 28, 7 , 7 },
{ 165, 28, 6 , 10 },
{ 179, 28, 7 , 12 },
{ 194, 28, 7 , 10 },
{ 209, 28, 7 , 10 },
{ 224, 28, 7 , 10 },
{ 239, 28, 7 , 10 },
{ 4, 52, 7 , 10 },
{ 19, 52, 7 , 10 },
{ 34, 52, 7 , 10 },
{ 49, 52, 7 , 10 },
{ 64, 52, 2 , 10 },
{ 74, 52, 5 , 10 },
{ 87, 52, 7 , 10 },
{ 102, 52, 6 , 10 },
{ 116, 52, 9 , 10 },
{ 133, 52, 7 , 10 },
{ 148, 52, 7 , 10 },
{ 163, 52, 7 , 10 },
{ 178, 52, 7 , 12 },
{ 193, 52, 7 , 10 },
{ 208, 52, 7 , 10 },
{ 223, 52, 6 , 10 },
{ 237, 52, 7 , 10 },
{ 4, 76, 7 , 10 },
{ 19, 76, 8 , 10 },
{ 35, 76, 7 , 10 },
{ 50, 76, 6 , 10 },
{ 64, 76, 7 , 10 },
{ 79, 76, 4 , 12 },
{ 91, 76, 4 , 10 },
{ 103, 76, 4 , 12 },
{ 115, 76, 6 , 3 },
{ 129, 76, 7 , 1 },
{ 144, 76, 4 , 3 },
{ 156, 76, 6 , 7 },
{ 170, 76, 6 , 10 },
{ 184, 76, 6 , 7 },
{ 198, 76, 6 , 10 },
{ 212, 76, 6 , 7 },
{ 226, 76, 4 , 10 },
{ 238, 76, 6 , 9 },
{ 4, 100, 6 , 10 },
{ 18, 100, 2 , 10 },
{ 28, 100, 5 , 12 },
{ 41, 100, 6 , 10 },
{ 55, 100, 3 , 10 },
{ 66, 100, 8 , 7 },
{ 82, 100, 6 , 7 },
{ 96, 100, 6 , 7 },
{ 110, 100, 6 , 9 },
{ 124, 100, 6 , 9 },
{ 138, 100, 5 , 7 },
{ 151, 100, 6 , 7 },
{ 165, 100, 4 , 10 },
{ 177, 100, 6 , 7 },
{ 191, 100, 6 , 7 },
{ 205, 100, 8 , 7 },
{ 221, 100, 6 , 7 },
{ 235, 100, 6 , 9 },
{ 4, 124, 6 , 7 },
{ 18, 124, 5 , 12 },
{ 31, 124, 2 , 12 },
{ 41, 124, 5 , 12 },
{ 54, 124, 7 , 3 },
};
// Font glyphs info data
// NOTE: No glyphs.image data provided
static const GlyphInfo enefeteFontChars[95] = {
{ 32, 0, 12, 4, { 0 }},
{ 33, 0, 2, 3, { 0 }},
{ 34, 0, 2, 6, { 0 }},
{ 35, 0, 2, 8, { 0 }},
{ 36, 0, 1, 8, { 0 }},
{ 37, 0, 2, 8, { 0 }},
{ 38, 0, 2, 8, { 0 }},
{ 39, 0, 2, 3, { 0 }},
{ 40, 0, 2, 4, { 0 }},
{ 41, 0, 2, 4, { 0 }},
{ 42, 0, 4, 6, { 0 }},
{ 43, 0, 6, 7, { 0 }},
{ 44, 0, 10, 3, { 0 }},
{ 45, 0, 8, 6, { 0 }},
{ 46, 0, 10, 3, { 0 }},
{ 47, 0, 2, 5, { 0 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, { 0 }},
{ 97, 0, 5, 7, { 0 }},
{ 98, 0, 2, 7, { 0 }},
{ 99, 0, 5, 7, { 0 }},
{ 100, 0, 2, 7, { 0 }},
{ 101, 0, 5, 7, { 0 }},
{ 102, 0, 2, 5, { 0 }},
{ 103, 0, 5, 7, { 0 }},
{ 104, 0, 2, 7, { 0 }},
{ 105, 0, 2, 3, { 0 }},
{ 106, 0, 2, 6, { 0 }},
{ 107, 0, 2, 7, { 0 }},
{ 108, 0, 2, 4, { 0 }},
{ 109, 0, 5, 9, { 0 }},
{ 110, 0, 5, 7, { 0 }},
{ 111, 0, 5, 7, { 0 }},
{ 112, 0, 5, 7, { 0 }},
{ 113, 0, 5, 7, { 0 }},
{ 114, 0, 5, 6, { 0 }},
{ 115, 0, 5, 7, { 0 }},
{ 116, 0, 2, 5, { 0 }},
{ 117, 0, 5, 7, { 0 }},
{ 118, 0, 5, 7, { 0 }},
{ 119, 0, 5, 9, { 0 }},
{ 120, 0, 5, 7, { 0 }},
{ 121, 0, 5, 7, { 0 }},
{ 122, 0, 5, 7, { 0 }},
{ 123, 0, 2, 6, { 0 }},
{ 124, 0, 2, 3, { 0 }},
{ 125, 0, 2, 6, { 0 }},
{ 126, 0, 6, 8, { 0 }},
};
// Style loading function: enefete
static void GuiLoadStyleEnefete(void)
{
// Load style properties provided
// NOTE: Default properties are propagated
for (int i = 0; i < ENEFETE_STYLE_PROPS_COUNT; i++)
{
GuiSetStyle(enefeteStyleProps[i].controlId, enefeteStyleProps[i].propertyId, enefeteStyleProps[i].propertyValue);
}
// Custom font loading
// NOTE: Compressed font image data (DEFLATE), it requires DecompressData() function
int enefeteFontDataSize = 0;
unsigned char *data = DecompressData(enefeteFontData, ENEFETE_COMPRESSED_DATA_SIZE, &enefeteFontDataSize);
Image imFont = { data, 256, 256, 1, 2 };
Font font = { 0 };
font.baseSize = 16;
font.glyphCount = 95;
// Load texture from image
font.texture = LoadTextureFromImage(imFont);
UnloadImage(imFont); // Uncompressed data can be unloaded from memory
// Copy char recs data from global fontRecs
// NOTE: Required to avoid issues if trying to free font
font.recs = (Rectangle *)malloc(font.glyphCount*sizeof(Rectangle));
memcpy(font.recs, enefeteFontRecs, font.glyphCount*sizeof(Rectangle));
// Copy font char info data from global fontChars
// NOTE: Required to avoid issues if trying to free font
font.glyphs = (GlyphInfo *)malloc(font.glyphCount*sizeof(GlyphInfo));
memcpy(font.glyphs, enefeteFontChars, font.glyphCount*sizeof(GlyphInfo));
GuiSetFont(font);
// TODO: Setup a white rectangle on the font to be used on shapes drawing,
// this way we make sure all gui can be drawn on a single pass because no texture change is required
// NOTE: Setting up this rectangle is a manual process (for the moment)
Rectangle whiteChar = { 99, 4, 2, 2 };
SetShapesTexture(font.texture, whiteChar);
//-----------------------------------------------------------------
// TODO: Custom user style setup: Set specific properties here (if required)
// i.e. Controls specific BORDER_WIDTH, TEXT_PADDING, TEXT_ALIGNMENT
}

View file

@ -1,121 +0,0 @@
Creative Commons Legal Code
CC0 1.0 Universal
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
HEREUNDER.
Statement of Purpose
The laws of most jurisdictions throughout the world automatically confer
exclusive Copyright and Related Rights (defined below) upon the creator
and subsequent owner(s) (each and all, an "owner") of an original work of
authorship and/or a database (each, a "Work").
Certain owners wish to permanently relinquish those rights to a Work for
the purpose of contributing to a commons of creative, cultural and
scientific works ("Commons") that the public can reliably and without fear
of later claims of infringement build upon, modify, incorporate in other
works, reuse and redistribute as freely as possible in any form whatsoever
and for any purposes, including without limitation commercial purposes.
These owners may contribute to the Commons to promote the ideal of a free
culture and the further production of creative, cultural and scientific
works, or to gain reputation or greater distribution for their Work in
part through the use and efforts of others.
For these and/or other purposes and motivations, and without any
expectation of additional consideration or compensation, the person
associating CC0 with a Work (the "Affirmer"), to the extent that he or she
is an owner of Copyright and Related Rights in the Work, voluntarily
elects to apply CC0 to the Work and publicly distribute the Work under its
terms, with knowledge of his or her Copyright and Related Rights in the
Work and the meaning and intended legal effect of CC0 on those rights.
1. Copyright and Related Rights. A Work made available under CC0 may be
protected by copyright and related or neighboring rights ("Copyright and
Related Rights"). Copyright and Related Rights include, but are not
limited to, the following:
i. the right to reproduce, adapt, distribute, perform, display,
communicate, and translate a Work;
ii. moral rights retained by the original author(s) and/or performer(s);
iii. publicity and privacy rights pertaining to a person's image or
likeness depicted in a Work;
iv. rights protecting against unfair competition in regards to a Work,
subject to the limitations in paragraph 4(a), below;
v. rights protecting the extraction, dissemination, use and reuse of data
in a Work;
vi. database rights (such as those arising under Directive 96/9/EC of the
European Parliament and of the Council of 11 March 1996 on the legal
protection of databases, and under any national implementation
thereof, including any amended or successor version of such
directive); and
vii. other similar, equivalent or corresponding rights throughout the
world based on applicable law or treaty, and any national
implementations thereof.
2. Waiver. To the greatest extent permitted by, but not in contravention
of, applicable law, Affirmer hereby overtly, fully, permanently,
irrevocably and unconditionally waives, abandons, and surrenders all of
Affirmer's Copyright and Related Rights and associated claims and causes
of action, whether now known or unknown (including existing as well as
future claims and causes of action), in the Work (i) in all territories
worldwide, (ii) for the maximum duration provided by applicable law or
treaty (including future time extensions), (iii) in any current or future
medium and for any number of copies, and (iv) for any purpose whatsoever,
including without limitation commercial, advertising or promotional
purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
member of the public at large and to the detriment of Affirmer's heirs and
successors, fully intending that such Waiver shall not be subject to
revocation, rescission, cancellation, termination, or any other legal or
equitable action to disrupt the quiet enjoyment of the Work by the public
as contemplated by Affirmer's express Statement of Purpose.
3. Public License Fallback. Should any part of the Waiver for any reason
be judged legally invalid or ineffective under applicable law, then the
Waiver shall be preserved to the maximum extent permitted taking into
account Affirmer's express Statement of Purpose. In addition, to the
extent the Waiver is so judged Affirmer hereby grants to each affected
person a royalty-free, non transferable, non sublicensable, non exclusive,
irrevocable and unconditional license to exercise Affirmer's Copyright and
Related Rights in the Work (i) in all territories worldwide, (ii) for the
maximum duration provided by applicable law or treaty (including future
time extensions), (iii) in any current or future medium and for any number
of copies, and (iv) for any purpose whatsoever, including without
limitation commercial, advertising or promotional purposes (the
"License"). The License shall be deemed effective as of the date CC0 was
applied by Affirmer to the Work. Should any part of the License for any
reason be judged legally invalid or ineffective under applicable law, such
partial invalidity or ineffectiveness shall not invalidate the remainder
of the License, and in such case Affirmer hereby affirms that he or she
will not (i) exercise any of his or her remaining Copyright and Related
Rights in the Work or (ii) assert any associated claims and causes of
action with respect to the Work, in either case contrary to Affirmer's
express Statement of Purpose.
4. Limitations and Disclaimers.
a. No trademark or patent rights held by Affirmer are waived, abandoned,
surrendered, licensed or otherwise affected by this document.
b. Affirmer offers the Work as-is and makes no representations or
warranties of any kind concerning the Work, express, implied,
statutory or otherwise, including without limitation warranties of
title, merchantability, fitness for a particular purpose, non
infringement, or the absence of latent or other defects, accuracy, or
the present or absence of errors, whether or not discoverable, all to
the greatest extent permissible under applicable law.
c. Affirmer disclaims responsibility for clearing rights of other persons
that may apply to the Work or any use thereof, including without
limitation any person's Copyright and Related Rights in the Work.
Further, Affirmer disclaims responsibility for obtaining any necessary
consents, permissions or other rights required for any use of the
Work.
d. Affirmer understands and acknowledges that Creative Commons is not a
party to this document and has no duty or obligation with respect to
this CC0 or use of the Work.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

View file

@ -1,16 +0,0 @@
style: jungle
--------------
Sunset in the jungle, trees do not let to see the last rays of sun on the horizon, small creek in the path, mug on the shoes, a touch of danger and the adventure feeling, get into your jeep and drive with this style.
![jungle style table](style_table.png)
screenshot
-----------
![jungle style screen](screenshot.png)
about font
-----------
"Pixel Intv" font by [Pixel Sagas](http://www.pixelsagas.com) (Neale and Shayna Davidson).
100% free font, downloaded from dafont.com: [pixel-intv](https://www.dafont.com/pixel-intv.font)

View file

@ -1,47 +0,0 @@
Shareware/ Font License
Pixel Sagas Freeware Fonts EULA (End User License Agreement) and Software Inclusion Agreement
"Purchaser" and "User" may be used interchangeably in this agreement.
"Pixel Sagas" and "Neale Davidson" may be used interchangeably in this agreement. These all refer to the intellectual and legal property of Neale Davidson.
Usage
Pixel Saga's Shareware Fonts are free to use for personal, non-commercial purposes. No payment is necessary to use Pixel Saga's Freeware Fonts for personal use, and there is no limit to the amount of prints, pages, or other medium to be produced using them. However, you cannot offer the font for commercial sale, or offer for direct download. The inclusion othe font name and/or site URL in the credits or documentation when it is used is appreciated, but this is not mandatory.
Payment
Payment is not required for the use of Pixel Saga's Shareware Fonts. Commercial use requires a modest fee which can be paid through the pixelsagas.com web site through Paypal.com's services. The transaction receipt for any shareware "commercial license" purchase will suffice as proof of license.
Support
Font installation help is available at http://www.pixelsagas.com. If you experience problems with any Pixel Saga's Freeware font (such as spacing issues or missing characters), please verify that you have the correct and current version of the fonts. In the case of Freeware fonts, downloading the font directly from the Pixel Sagas site will ensure that the font files have not been altered.
Software Inclusion Agreement
Pixel Saga's software products are protected by copyright laws and International copyright treaties, as well as other intellectual property laws and treaties. All Pixel Saga's software products are licensed, not sold.
1) GRANT OF LICENSE
This document grants the user the following rights:
Installation and Use. The user may install and use an unlimited number of copies of the software product. The user may not offer Pixel Sagas freeware fonts for direct download unless the user has received explicit, written permission from Neale Davidson. Otherwise please direct users to the http://www.pixelsagas.com website. Pixel Sagas freeware fonts may, however, be embedded for web, publication, or general software use.
2) WARRANTIES
None
Pixel Sagas expressly disclaims any warranty for the software product. The software product and any related documentation is provided "as is" without warranty of any kind, either express or implied, including, without limitation, the implied warranties or merchantability, fitness for a particular purpose, or non-infringement. The entire risk arising out of use or performance of the software product remains with the user.
No Liability For Consequential Damages.
In no event shall Neale Davidson or Pixel Sagas be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or any other pecuniary loss) arising out of the use of or inability to use this product, even if Pixel Sagas has been advised of the possibility of such damages.
3) MISCELLANEOUS
Should the user have any questions concerning this document or you desire to contact Neale Davidson for any reason, please email jaynz@pixelsagas.com .
Governing Law
This agreement is governed by and subject to the laws of the United States of America.

View file

@ -1,342 +0,0 @@
//////////////////////////////////////////////////////////////////////////////////
// //
// StyleAsCode exporter v1.2 - Style data exported as a values array //
// //
// USAGE: On init call: GuiLoadStyleJungle(); //
// //
// more info and bugs-report: github.com/raysan5/raygui //
// feedback and support: ray[at]raylibtech.com //
// //
// Copyright (c) 2020-2022 raylib technologies (@raylibtech) //
// //
//////////////////////////////////////////////////////////////////////////////////
#define JUNGLE_STYLE_PROPS_COUNT 16
// Custom style name: jungle
static const GuiStyleProp jungleStyleProps[JUNGLE_STYLE_PROPS_COUNT] = {
{ 0, 0, 0x60827dff }, // DEFAULT_BORDER_COLOR_NORMAL
{ 0, 1, 0x2c3334ff }, // DEFAULT_BASE_COLOR_NORMAL
{ 0, 2, 0x82a29fff }, // DEFAULT_TEXT_COLOR_NORMAL
{ 0, 3, 0x5f9aa8ff }, // DEFAULT_BORDER_COLOR_FOCUSED
{ 0, 4, 0x334e57ff }, // DEFAULT_BASE_COLOR_FOCUSED
{ 0, 5, 0x6aa9b8ff }, // DEFAULT_TEXT_COLOR_FOCUSED
{ 0, 6, 0xa9cb8dff }, // DEFAULT_BORDER_COLOR_PRESSED
{ 0, 7, 0x3b6357ff }, // DEFAULT_BASE_COLOR_PRESSED
{ 0, 8, 0x97af81ff }, // DEFAULT_TEXT_COLOR_PRESSED
{ 0, 9, 0x5b6462ff }, // DEFAULT_BORDER_COLOR_DISABLED
{ 0, 10, 0x2c3334ff }, // DEFAULT_BASE_COLOR_DISABLED
{ 0, 11, 0x666b69ff }, // DEFAULT_TEXT_COLOR_DISABLED
{ 0, 16, 0x0000000c }, // DEFAULT_TEXT_SIZE
{ 0, 17, 0x00000000 }, // DEFAULT_TEXT_SPACING
{ 0, 18, 0x638465ff }, // DEFAULT_LINE_COLOR
{ 0, 19, 0x2b3a3aff }, // DEFAULT_BACKGROUND_COLOR
};
// WARNING: This style uses a custom font: (size: 12, spacing: 0)
#define JUNGLE_COMPRESSED_DATA_SIZE 1059
// Font image pixels data compressed (DEFLATE)
// NOTE: Original pixel data simplified to GRAYSCALE
static unsigned char jungleFontData[JUNGLE_COMPRESSED_DATA_SIZE] = { 0xed,
0xdd, 0xe1, 0x6e, 0xdb, 0x20, 0x14, 0x06, 0x50, 0x84, 0xfa, 0xfe, 0xaf, 0xcc, 0xd4, 0x6d, 0xdd, 0xb4, 0x35, 0xc6, 0xdc,
0x0b, 0xd8, 0x69, 0x7a, 0x7a, 0xd4, 0x3f, 0x71, 0xeb, 0xd8, 0x5c, 0x83, 0x53, 0xf1, 0x15, 0xb7, 0x02, 0x00, 0xf0, 0xc9,
0xfb, 0xd7, 0xe3, 0xd7, 0x1e, 0x6d, 0x29, 0xbf, 0xb7, 0x8c, 0xef, 0xeb, 0xe3, 0xf5, 0x5f, 0x5b, 0xea, 0xe1, 0x4f, 0x3c,
0xde, 0x63, 0x3d, 0x38, 0x86, 0xa3, 0xa3, 0x3e, 0x3e, 0xb2, 0x12, 0xda, 0x72, 0xbc, 0xff, 0xe3, 0xf6, 0x2a, 0x81, 0x73,
0xf8, 0xf7, 0xab, 0x04, 0xce, 0xa5, 0xff, 0x7b, 0xbb, 0xeb, 0xdf, 0x6f, 0x83, 0xe3, 0x6d, 0xbf, 0xbe, 0xdf, 0x5b, 0xa2,
0x06, 0xf6, 0x79, 0xfc, 0xf3, 0x25, 0x74, 0x05, 0xc6, 0xaf, 0x8c, 0x58, 0xeb, 0xf6, 0x7e, 0xfa, 0xec, 0x1c, 0x5a, 0xf0,
0x08, 0x3e, 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0xe4, 0x08, 0x57, 0xe7, 0xf0, 0xee, 0xaa, 0x7f,
0x4b, 0x3d, 0x3b, 0x77, 0xa6, 0xfe, 0x73, 0x79, 0xf9, 0xeb, 0xfa, 0x7f, 0xfe, 0x1d, 0xcb, 0x96, 0x27, 0xa3, 0xcf, 0xf6,
0xd6, 0xd8, 0x4a, 0x8d, 0x77, 0x24, 0xb5, 0xd6, 0xe7, 0xe5, 0x76, 0x25, 0xbb, 0xee, 0x4d, 0x2f, 0xae, 0xca, 0xaf, 0xce,
0xae, 0xfe, 0x7d, 0x47, 0xfd, 0x65, 0xc7, 0x5e, 0xfb, 0x2a, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf8, 0x6e, 0xf3, 0x38,
0xeb, 0x9e, 0x47, 0x15, 0x5d, 0xd5, 0xad, 0x85, 0x57, 0x68, 0x63, 0xd7, 0x0c, 0x70, 0xe9, 0x54, 0x69, 0x2e, 0xfd, 0x72,
0xf4, 0x6a, 0xed, 0x26, 0x45, 0xb8, 0xbb, 0xfe, 0x35, 0xbc, 0x56, 0x5b, 0x7c, 0x45, 0x33, 0x9e, 0xb5, 0xfe, 0xf9, 0x14,
0x97, 0x2b, 0xe0, 0x15, 0x92, 0x1c, 0x99, 0x9c, 0x9b, 0xfe, 0xff, 0x9a, 0xff, 0x07, 0xa2, 0xfe, 0x92, 0x5c, 0xea, 0xcf,
0xca, 0xbf, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x29, 0x3f, 0x00 };
// Font characters rectangles data
static const Rectangle jungleFontRecs[95] = {
{ 4, 4, 5 , 12 },
{ 17, 4, 2 , 7 },
{ 27, 4, 5 , 3 },
{ 40, 4, 5 , 5 },
{ 53, 4, 6 , 7 },
{ 67, 4, 7 , 7 },
{ 82, 4, 5 , 7 },
{ 95, 4, 3 , 3 },
{ 106, 4, 4 , 8 },
{ 118, 4, 4 , 8 },
{ 130, 4, 5 , 5 },
{ 143, 4, 5 , 5 },
{ 156, 4, 2 , 3 },
{ 166, 4, 5 , 1 },
{ 179, 4, 2 , 2 },
{ 189, 4, 7 , 7 },
{ 204, 4, 7 , 6 },
{ 219, 4, 6 , 6 },
{ 233, 4, 6 , 6 },
{ 4, 24, 6 , 6 },
{ 18, 24, 6 , 6 },
{ 32, 24, 6 , 6 },
{ 46, 24, 6 , 6 },
{ 60, 24, 6 , 6 },
{ 74, 24, 6 , 6 },
{ 88, 24, 6 , 6 },
{ 102, 24, 2 , 5 },
{ 112, 24, 2 , 6 },
{ 122, 24, 3 , 5 },
{ 133, 24, 5 , 3 },
{ 146, 24, 3 , 5 },
{ 157, 24, 6 , 7 },
{ 171, 24, 7 , 7 },
{ 186, 24, 6 , 7 },
{ 200, 24, 6 , 7 },
{ 214, 24, 6 , 7 },
{ 228, 24, 6 , 7 },
{ 4, 44, 6 , 7 },
{ 18, 44, 6 , 7 },
{ 32, 44, 6 , 7 },
{ 46, 44, 6 , 7 },
{ 60, 44, 6 , 7 },
{ 74, 44, 6 , 7 },
{ 88, 44, 6 , 7 },
{ 102, 44, 6 , 7 },
{ 116, 44, 7 , 7 },
{ 131, 44, 6 , 7 },
{ 145, 44, 6 , 7 },
{ 159, 44, 6 , 7 },
{ 173, 44, 7 , 8 },
{ 188, 44, 6 , 7 },
{ 202, 44, 6 , 7 },
{ 216, 44, 6 , 7 },
{ 230, 44, 6 , 7 },
{ 4, 64, 6 , 7 },
{ 18, 64, 7 , 7 },
{ 33, 64, 6 , 7 },
{ 47, 64, 6 , 7 },
{ 61, 64, 6 , 7 },
{ 75, 64, 4 , 8 },
{ 87, 64, 7 , 7 },
{ 102, 64, 4 , 8 },
{ 114, 64, 4 , 2 },
{ 126, 64, 6 , 1 },
{ 140, 64, 2 , 2 },
{ 150, 64, 6 , 5 },
{ 164, 64, 6 , 7 },
{ 178, 64, 6 , 5 },
{ 192, 64, 6 , 7 },
{ 206, 64, 6 , 5 },
{ 220, 64, 6 , 7 },
{ 234, 64, 6 , 7 },
{ 4, 84, 6 , 7 },
{ 18, 84, 6 , 7 },
{ 32, 84, 5 , 8 },
{ 45, 84, 6 , 7 },
{ 59, 84, 6 , 7 },
{ 73, 84, 7 , 5 },
{ 88, 84, 6 , 5 },
{ 102, 84, 6 , 5 },
{ 116, 84, 6 , 7 },
{ 130, 84, 6 , 7 },
{ 144, 84, 6 , 5 },
{ 158, 84, 6 , 5 },
{ 172, 84, 6 , 6 },
{ 186, 84, 6 , 5 },
{ 200, 84, 6 , 5 },
{ 214, 84, 7 , 5 },
{ 229, 84, 6 , 5 },
{ 4, 104, 6 , 7 },
{ 18, 104, 6 , 5 },
{ 32, 104, 4 , 8 },
{ 44, 104, 2 , 8 },
{ 54, 104, 4 , 8 },
{ 66, 104, 5 , 2 },
};
// Font characters info data
// NOTE: No chars.image data provided
static const GlyphInfo jungleFontChars[95] = {
{ 32, 0, 9, 5, { 0 }},
{ 33, 0, 2, 3, { 0 }},
{ 34, 0, 2, 6, { 0 }},
{ 35, 0, 3, 6, { 0 }},
{ 36, 0, 2, 7, { 0 }},
{ 37, 0, 2, 8, { 0 }},
{ 38, 0, 2, 6, { 0 }},
{ 39, 0, 2, 4, { 0 }},
{ 40, 0, 2, 5, { 0 }},
{ 41, 0, 2, 5, { 0 }},
{ 42, 0, 2, 6, { 0 }},
{ 43, 0, 3, 6, { 0 }},
{ 44, 0, 7, 3, { 0 }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{ 0 }},
{ 94, 0, -1, 5, { 0 }},
{ 95, 0, 10, 7, { 0 }},
{ 96, 0, -1, 3, { 0 }},
{ 97, 0, 4, 7, { 0 }},
{ 98, 0, 2, 7, { 0 }},
{ 99, 0, 4, 7, { 0 }},
{ 100, 0, 2, 7, { 0 }},
{ 101, 0, 4, 7, { 0 }},
{ 102, 0, 2, 7, { 0 }},
{ 103, 0, 4, 7, { 0 }},
{ 104, 0, 2, 7, { 0 }},
{ 105, 0, 2, 7, { 0 }},
{ 106, 0, 2, 6, { 0 }},
{ 107, 0, 2, 7, { 0 }},
{ 108, 0, 2, 7, { 0 }},
{ 109, 0, 4, 8, { 0 }},
{ 110, 0, 4, 7, { 0 }},
{ 111, 0, 4, 7, { 0 }},
{ 112, 0, 4, 7, { 0 }},
{ 113, 0, 4, 7, { 0 }},
{ 114, 0, 4, 7, { 0 }},
{ 115, 0, 4, 7, { 0 }},
{ 116, 0, 3, 7, { 0 }},
{ 117, 0, 4, 7, { 0 }},
{ 118, 0, 4, 7, { 0 }},
{ 119, 0, 4, 8, { 0 }},
{ 120, 0, 4, 7, { 0 }},
{ 121, 0, 4, 7, { 0 }},
{ 122, 0, 4, 7, { 0 }},
{ 123, 0, 2, 5, { 0 }},
{ 124, 0, 2, 3, { 0 }},
{ 125, 0, 2, 5, { 0 }},
{ 126, 0, -1, 6, { 0 }},
};
// Style loading function: jungle
static void GuiLoadStyleJungle(void)
{
// Load style properties provided
// NOTE: Default properties are propagated
for (int i = 0; i < JUNGLE_STYLE_PROPS_COUNT; i++)
{
GuiSetStyle(jungleStyleProps[i].controlId, jungleStyleProps[i].propertyId, jungleStyleProps[i].propertyValue);
}
// Custom font loading
// NOTE: Compressed font image data (DEFLATE), it requires DecompressData() function
int jungleFontDataSize = 0;
unsigned char *data = DecompressData(jungleFontData, JUNGLE_COMPRESSED_DATA_SIZE, &jungleFontDataSize);
Image imFont = { data, 256, 256, 1, 2 };
Font font = { 0 };
font.baseSize = 12;
font.glyphCount = 95;
// Load texture from image
font.texture = LoadTextureFromImage(imFont);
UnloadImage(imFont); // Uncompressed data can be unloaded from memory
// Copy char recs data from global fontRecs
// NOTE: Required to avoid issues if trying to free font
font.recs = (Rectangle *)malloc(font.glyphCount*sizeof(Rectangle));
memcpy(font.recs, jungleFontRecs, font.glyphCount*sizeof(Rectangle));
// Copy font char info data from global fontChars
// NOTE: Required to avoid issues if trying to free font
font.glyphs = (GlyphInfo *)malloc(font.glyphCount*sizeof(GlyphInfo));
memcpy(font.glyphs, jungleFontChars, font.glyphCount*sizeof(GlyphInfo));
GuiSetFont(font);
// Setup a white rectangle on the font to be used on shapes drawing,
// this way we make sure all gui can be drawn on a single pass because no texture change is required
// NOTE: Setting up this rectangle is a manual process (for the moment)
Rectangle whiteChar = { 27, 4, 2, 2 };
SetShapesTexture(font.texture, whiteChar);
//-----------------------------------------------------------------
// TODO: Custom user style setup: Set specific properties here (if required)
// i.e. Controls specific BORDER_WIDTH, TEXT_PADDING, TEXT_ALIGNMENT
}

View file

@ -1,24 +0,0 @@
#
# rgs style text file (v3.1) - raygui style file generated using rGuiStyler
#
# Style properties:
# f <gen_font_size> <charmap_file> <font_file>
# p <control_id> <property_id> <property_value> <property_name>
#
f 12 0 Pixel Intv.otf
p 00 00 0x60827dff DEFAULT_BORDER_COLOR_NORMAL
p 00 01 0x2c3334ff DEFAULT_BASE_COLOR_NORMAL
p 00 02 0x82a29fff DEFAULT_TEXT_COLOR_NORMAL
p 00 03 0x5f9aa8ff DEFAULT_BORDER_COLOR_FOCUSED
p 00 04 0x334e57ff DEFAULT_BASE_COLOR_FOCUSED
p 00 05 0x6aa9b8ff DEFAULT_TEXT_COLOR_FOCUSED
p 00 06 0xa9cb8dff DEFAULT_BORDER_COLOR_PRESSED
p 00 07 0x3b6357ff DEFAULT_BASE_COLOR_PRESSED
p 00 08 0x97af81ff DEFAULT_TEXT_COLOR_PRESSED
p 00 09 0x5b6462ff DEFAULT_BORDER_COLOR_DISABLED
p 00 10 0x2c3334ff DEFAULT_BASE_COLOR_DISABLED
p 00 11 0x666b69ff DEFAULT_TEXT_COLOR_DISABLED
p 00 16 0x0000000c TEXT_SIZE
p 00 17 0x00000000 TEXT_SPACING
p 00 18 0x638465ff DEFAULT_LINE_COLOR
p 00 19 0x2b3a3aff DEFAULT_BACKGROUND_COLOR

Binary file not shown.

Before

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

View file

@ -1,16 +0,0 @@
style: lavanda
---------------
Walk thought the fields full of lavanda, feels like a dream, a touch of fantasy, just relax and close your eyes, could you feel it?
![lavanda style table](style_table.png)
screenshot
-----------
![lavanda style screen](screenshot.png)
about font
-----------
"Cartridge" font by [jeti](https://fontenddev.com/)
Licensed under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/), downloaded from dafont.com: [cartridge](https://www.dafont.com/cartridge.font)

View file

@ -1,6 +0,0 @@
Cartridge by jeti: A decorative, Art Nouveau-inspired font with a dainty, fantastical hand-lettered feel.
You are free to use this font for personal or commercial projects, all I ask is that you include credit.
Licensed under CC BY 4.0: https://creativecommons.org/licenses/by/4.0/
More info: https://fontenddev.com/fonts/cartridge/

View file

@ -1,354 +0,0 @@
//////////////////////////////////////////////////////////////////////////////////
// //
// StyleAsCode exporter v1.2 - Style data exported as a values array //
// //
// USAGE: On init call: GuiLoadStyleLavanda(); //
// //
// more info and bugs-report: github.com/raysan5/raygui //
// feedback and support: ray[at]raylibtech.com //
// //
// Copyright (c) 2020-2022 raylib technologies (@raylibtech) //
// //
//////////////////////////////////////////////////////////////////////////////////
#define LAVANDA_STYLE_PROPS_COUNT 15
// Custom style name: lavanda
static const GuiStyleProp lavandaStyleProps[LAVANDA_STYLE_PROPS_COUNT] = {
{ 0, 0, 0xab9bd3ff }, // DEFAULT_BORDER_COLOR_NORMAL
{ 0, 1, 0x3e4350ff }, // DEFAULT_BASE_COLOR_NORMAL
{ 0, 2, 0xdadaf4ff }, // DEFAULT_TEXT_COLOR_NORMAL
{ 0, 3, 0xee84a0ff }, // DEFAULT_BORDER_COLOR_FOCUSED
{ 0, 4, 0xf4b7c7ff }, // DEFAULT_BASE_COLOR_FOCUSED
{ 0, 5, 0xb7657bff }, // DEFAULT_TEXT_COLOR_FOCUSED
{ 0, 6, 0xd5c8dbff }, // DEFAULT_BORDER_COLOR_PRESSED
{ 0, 7, 0x966ec0ff }, // DEFAULT_BASE_COLOR_PRESSED
{ 0, 8, 0xd7ccf7ff }, // DEFAULT_TEXT_COLOR_PRESSED
{ 0, 9, 0x8fa2bdff }, // DEFAULT_BORDER_COLOR_DISABLED
{ 0, 10, 0x6b798dff }, // DEFAULT_BASE_COLOR_DISABLED
{ 0, 11, 0x8292a9ff }, // DEFAULT_TEXT_COLOR_DISABLED
{ 0, 16, 0x00000010 }, // DEFAULT_TEXT_SIZE
{ 0, 18, 0x84adb7ff }, // DEFAULT_LINE_COLOR
{ 0, 19, 0x5b5b81ff }, // DEFAULT_BACKGROUND_COLOR
};
// WARNING: This style uses a custom font: (size: 16, spacing: 1)
#define LAVANDA_COMPRESSED_DATA_SIZE 1317
// Font image pixels data compressed (DEFLATE)
// NOTE: Original pixel data simplified to GRAYSCALE
static unsigned char lavandaFontData[LAVANDA_COMPRESSED_DATA_SIZE] = { 0xed,
0xdd, 0x4b, 0x96, 0xa3, 0x48, 0x0c, 0x05, 0x50, 0xf6, 0xbf, 0xe9, 0xd7, 0xa3, 0x3a, 0xdd, 0x7d, 0xaa, 0x0c, 0x21, 0x85,
0xc0, 0x76, 0xd6, 0xcd, 0x3b, 0x4b, 0xff, 0x00, 0x11, 0x80, 0xcd, 0x13, 0xe4, 0x00, 0x00, 0xf8, 0x4d, 0xfe, 0xf8, 0x9f,
0x9c, 0x3c, 0x37, 0xcb, 0xef, 0xf4, 0xeb, 0xff, 0xb9, 0x78, 0xc6, 0xff, 0x9f, 0xb5, 0xf6, 0xbe, 0x59, 0xfe, 0xfc, 0xce,
0x23, 0xf9, 0xe3, 0xf4, 0x65, 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x7f, 0xae, 0x47, 0x35, 0xb7, 0xf5, 0x0a, 0xf6, 0xeb, 0x7f, 0x14, 0xf7, 0xbf, 0xc7, 0xe2, 0x1d, 0x1c, 0x26, 0xba, 0x86,
0xfb, 0xdb, 0xe3, 0xd9, 0x63, 0xbc, 0xfa, 0xb4, 0x3f, 0x3d, 0xfe, 0xe7, 0x33, 0xaa, 0x79, 0x2c, 0x83, 0x7a, 0x47, 0xcf,
0x70, 0xef, 0x1a, 0xf2, 0x53, 0xd3, 0xfe, 0xde, 0xfa, 0x3f, 0x93, 0x50, 0xce, 0x1b, 0xeb, 0x3f, 0xff, 0x59, 0x69, 0xf7,
0x15, 0xfc, 0xdc, 0xcc, 0x74, 0x3e, 0xa8, 0x6e, 0xdf, 0xb5, 0x8c, 0x64, 0xe6, 0xd5, 0x5f, 0xfd, 0xff, 0xde, 0x3c, 0x7f,
0xa4, 0xfe, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x78, 0xed, 0x1f };
// Font characters rectangles data
static const Rectangle lavandaFontRecs[95] = {
{ 4, 4, 5 , 16 },
{ 17, 4, 1 , 9 },
{ 26, 4, 3 , 3 },
{ 37, 4, 7 , 8 },
{ 52, 4, 5 , 11 },
{ 65, 4, 10 , 8 },
{ 83, 4, 7 , 9 },
{ 98, 4, 1 , 3 },
{ 107, 4, 3 , 12 },
{ 118, 4, 3 , 12 },
{ 129, 4, 5 , 4 },
{ 142, 4, 5 , 5 },
{ 155, 4, 2 , 3 },
{ 165, 4, 3 , 1 },
{ 176, 4, 1 , 1 },
{ 185, 4, 4 , 12 },
{ 197, 4, 5 , 9 },
{ 210, 4, 3 , 9 },
{ 221, 4, 5 , 9 },
{ 234, 4, 5 , 9 },
{ 4, 28, 5 , 9 },
{ 17, 28, 5 , 9 },
{ 30, 28, 5 , 9 },
{ 43, 28, 5 , 9 },
{ 56, 28, 5 , 9 },
{ 69, 28, 5 , 9 },
{ 82, 28, 1 , 4 },
{ 91, 28, 2 , 6 },
{ 101, 28, 4 , 5 },
{ 113, 28, 4 , 3 },
{ 125, 28, 4 , 5 },
{ 137, 28, 5 , 9 },
{ 150, 28, 7 , 10 },
{ 165, 28, 7 , 9 },
{ 180, 28, 6 , 9 },
{ 194, 28, 5 , 9 },
{ 207, 28, 6 , 9 },
{ 221, 28, 5 , 9 },
{ 234, 28, 5 , 9 },
{ 4, 52, 6 , 9 },
{ 18, 52, 5 , 10 },
{ 31, 52, 1 , 9 },
{ 40, 52, 6 , 9 },
{ 54, 52, 6 , 9 },
{ 68, 52, 5 , 9 },
{ 81, 52, 8 , 11 },
{ 97, 52, 6 , 10 },
{ 111, 52, 7 , 9 },
{ 126, 52, 5 , 9 },
{ 139, 52, 7 , 11 },
{ 154, 52, 5 , 9 },
{ 167, 52, 6 , 9 },
{ 181, 52, 7 , 9 },
{ 196, 52, 6 , 9 },
{ 210, 52, 6 , 10 },
{ 224, 52, 9 , 10 },
{ 4, 76, 6 , 11 },
{ 18, 76, 5 , 10 },
{ 31, 76, 5 , 9 },
{ 44, 76, 3 , 12 },
{ 55, 76, 4 , 12 },
{ 67, 76, 3 , 12 },
{ 78, 76, 5 , 4 },
{ 91, 76, 6 , 1 },
{ 105, 76, 3 , 3 },
{ 116, 76, 6 , 7 },
{ 130, 76, 5 , 9 },
{ 143, 76, 4 , 7 },
{ 155, 76, 5 , 10 },
{ 168, 76, 4 , 7 },
{ 180, 76, 3 , 10 },
{ 191, 76, 4 , 11 },
{ 203, 76, 5 , 11 },
{ 216, 76, 1 , 9 },
{ 225, 76, 5 , 12 },
{ 238, 76, 5 , 9 },
{ 4, 100, 1 , 9 },
{ 13, 100, 8 , 9 },
{ 29, 100, 5 , 9 },
{ 42, 100, 4 , 7 },
{ 54, 100, 5 , 10 },
{ 67, 100, 5 , 10 },
{ 80, 100, 5 , 7 },
{ 93, 100, 5 , 7 },
{ 106, 100, 3 , 9 },
{ 117, 100, 5 , 7 },
{ 130, 100, 5 , 8 },
{ 143, 100, 9 , 8 },
{ 160, 100, 5 , 9 },
{ 173, 100, 6 , 9 },
{ 187, 100, 4 , 7 },
{ 199, 100, 5 , 12 },
{ 212, 100, 1 , 12 },
{ 221, 100, 5 , 12 },
{ 234, 100, 6 , 2 },
};
// Font characters info data
// NOTE: No chars.image data provided
static const GlyphInfo lavandaFontChars[95] = {
{ 32, 0, 12, 5, { 0 }},
{ 33, 0, 3, 2, { 0 }},
{ 34, 0, 3, 4, { 0 }},
{ 35, 0, 3, 8, { 0 }},
{ 36, 0, 2, 6, { 0 }},
{ 37, 0, 4, 11, { 0 }},
{ 38, 0, 3, 8, { 0 }},
{ 39, 0, 3, 2, { 0 }},
{ 40, 0, 2, 4, { 0 }},
{ 41, 0, 2, 4, { 0 }},
{ 42, 0, 3, 6, { 0 }},
{ 43, 0, 5, 6, { 0 }},
{ 44, 0, 10, 3, { 0 }},
{ 45, 0, 7, 4, { 0 }},
{ 46, 0, 11, 2, { 0 }},
{ 47, 0, 2, 5, { 0 }},
{ 48, 0, 3, 6, { 0 }},
{ 49, 0, 3, 4, { 0 }},
{ 50, 0, 3, 6, { 0 }},
{ 51, 0, 3, 6, { 0 }},
{ 52, 0, 3, 6, { 0 }},
{ 53, 0, 3, 6, { 0 }},
{ 54, 0, 3, 6, { 0 }},
{ 55, 0, 3, 6, { 0 }},
{ 56, 0, 3, 6, { 0 }},
{ 57, 0, 3, 6, { 0 }},
{ 58, 0, 7, 2, { 0 }},
{ 59, 0, 7, 3, { 0 }},
{ 60, 0, 5, 5, { 0 }},
{ 61, 0, 6, 5, { 0 }},
{ 62, 0, 5, 5, { 0 }},
{ 63, 0, 3, 6, { 0 }},
{ 64, 0, 4, 8, { 0 }},
{ 65, 0, 3, 8, { 0 }},
{ 66, 0, 3, 7, { 0 }},
{ 67, 0, 3, 6, { 0 }},
{ 68, 0, 3, 7, { 0 }},
{ 69, 0, 3, 6, { 0 }},
{ 70, 0, 3, 6, { 0 }},
{ 71, 0, 3, 7, { 0 }},
{ 72, 0, 2, 6, { 0 }},
{ 73, 0, 3, 2, { 0 }},
{ 74, 0, 3, 7, { 0 }},
{ 75, 0, 3, 7, { 0 }},
{ 76, 0, 3, 6, { 0 }},
{ 77, 0, 3, 9, { 0 }},
{ 78, 0, 2, 7, { 0 }},
{ 79, 0, 3, 8, { 0 }},
{ 80, 0, 3, 6, { 0 }},
{ 81, 0, 3, 8, { 0 }},
{ 82, 0, 3, 6, { 0 }},
{ 83, 0, 3, 7, { 0 }},
{ 84, 0, 3, 8, { 0 }},
{ 85, 0, 3, 7, { 0 }},
{ 86, 0, 2, 7, { 0 }},
{ 87, 0, 2, 10, { 0 }},
{ 88, 0, 3, 7, { 0 }},
{ 89, 0, 3, 6, { 0 }},
{ 90, 0, 3, 6, { 0 }},
{ 91, 0, 2, 4, { 0 }},
{ 92, 0, 2, 5, { 0 }},
{ 93, 0, 2, 4, { 0 }},
{ 94, 0, 3, 6, { 0 }},
{ 95, 0, 13, 7, { 0 }},
{ 96, 0, 3, 4, { 0 }},
{ 97, 0, 5, 7, { 0 }},
{ 98, 0, 3, 6, { 0 }},
{ 99, 0, 5, 5, { 0 }},
{ 100, 0, 2, 6, { 0 }},
{ 101, 0, 5, 5, { 0 }},
{ 102, 0, 2, 4, { 0 }},
{ 103, 0, 4, 5, { 0 }},
{ 104, 0, 3, 6, { 0 }},
{ 105, 0, 3, 2, { 0 }},
{ 106, -1, 3, 5, { 0 }},
{ 107, 0, 3, 6, { 0 }},
{ 108, 0, 3, 2, { 0 }},
{ 109, 0, 5, 9, { 0 }},
{ 110, 0, 5, 6, { 0 }},
{ 111, 0, 5, 5, { 0 }},
{ 112, 0, 5, 6, { 0 }},
{ 113, 0, 5, 6, { 0 }},
{ 114, 0, 5, 6, { 0 }},
{ 115, 0, 5, 6, { 0 }},
{ 116, 0, 3, 4, { 0 }},
{ 117, 0, 5, 6, { 0 }},
{ 118, 0, 4, 6, { 0 }},
{ 119, 0, 4, 10, { 0 }},
{ 120, 0, 5, 6, { 0 }},
{ 121, -1, 5, 6, { 0 }},
{ 122, 0, 5, 5, { 0 }},
{ 123, 0, 2, 6, { 0 }},
{ 124, 0, 2, 2, { 0 }},
{ 125, 0, 2, 6, { 0 }},
{ 126, 0, 7, 7, { 0 }},
};
// Style loading function: lavanda
static void GuiLoadStyleLavanda(void)
{
// Load style properties provided
// NOTE: Default properties are propagated
for (int i = 0; i < LAVANDA_STYLE_PROPS_COUNT; i++)
{
GuiSetStyle(lavandaStyleProps[i].controlId, lavandaStyleProps[i].propertyId, lavandaStyleProps[i].propertyValue);
}
// Custom font loading
// NOTE: Compressed font image data (DEFLATE), it requires DecompressData() function
int lavandaFontDataSize = 0;
unsigned char *data = DecompressData(lavandaFontData, LAVANDA_COMPRESSED_DATA_SIZE, &lavandaFontDataSize);
Image imFont = { data, 256, 256, 1, 2 };
Font font = { 0 };
font.baseSize = 16;
font.glyphCount = 95;
// Load texture from image
font.texture = LoadTextureFromImage(imFont);
UnloadImage(imFont); // Uncompressed data can be unloaded from memory
// Copy char recs data from global fontRecs
// NOTE: Required to avoid issues if trying to free font
font.recs = (Rectangle *)malloc(font.glyphCount*sizeof(Rectangle));
memcpy(font.recs, lavandaFontRecs, font.glyphCount*sizeof(Rectangle));
// Copy font char info data from global fontChars
// NOTE: Required to avoid issues if trying to free font
font.glyphs = (GlyphInfo *)malloc(font.glyphCount*sizeof(GlyphInfo));
memcpy(font.glyphs, lavandaFontChars, font.glyphCount*sizeof(GlyphInfo));
GuiSetFont(font);
// Setup a white rectangle on the font to be used on shapes drawing,
// this way we make sure all gui can be drawn on a single pass because no texture change is required
// NOTE: Setting up this rectangle is a manual process (for the moment)
Rectangle whiteChar = { 130, 5, 2, 2 };
SetShapesTexture(font.texture, whiteChar);
//-----------------------------------------------------------------
// TODO: Custom user style setup: Set specific properties here (if required)
// i.e. Controls specific BORDER_WIDTH, TEXT_PADDING, TEXT_ALIGNMENT
}

View file

@ -1,24 +0,0 @@
#
# rgs style text file (v3.1) - raygui style file generated using rGuiStyler
#
# Style properties:
# f <gen_font_size> <charmap_file> <font_file>
# p <control_id> <property_id> <property_value> <property_name>
#
f 16 0 Cartridge.ttf
p 00 00 0xab9bd3ff DEFAULT_BORDER_COLOR_NORMAL
p 00 01 0x3e4350ff DEFAULT_BASE_COLOR_NORMAL
p 00 02 0xdadaf4ff DEFAULT_TEXT_COLOR_NORMAL
p 00 03 0xee84a0ff DEFAULT_BORDER_COLOR_FOCUSED
p 00 04 0xf4b7c7ff DEFAULT_BASE_COLOR_FOCUSED
p 00 05 0xb7657bff DEFAULT_TEXT_COLOR_FOCUSED
p 00 06 0xd5c8dbff DEFAULT_BORDER_COLOR_PRESSED
p 00 07 0x966ec0ff DEFAULT_BASE_COLOR_PRESSED
p 00 08 0xd7ccf7ff DEFAULT_TEXT_COLOR_PRESSED
p 00 09 0x8fa2bdff DEFAULT_BORDER_COLOR_DISABLED
p 00 10 0x6b798dff DEFAULT_BASE_COLOR_DISABLED
p 00 11 0x8292a9ff DEFAULT_TEXT_COLOR_DISABLED
p 00 16 0x00000010 TEXT_SIZE
p 00 17 0x00000001 TEXT_SPACING
p 00 18 0x84adb7ff DEFAULT_LINE_COLOR
p 00 19 0x5b5b81ff DEFAULT_BACKGROUND_COLOR

Binary file not shown.

Before

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

View file

@ -1,16 +0,0 @@
style: sunny
-------------
Sweet, colorful, sunny! Inspired by the [Playdate](https://play.date/) console and its [pulp](https://play.date/pulp/) editor!
![sunny style table](style_table.png)
screenshot
-----------
![sunny style screen](screenshot.png)
about font
-----------
"Generic Mobile System" font by Jayvee Enaguas (HarvettFox96).
CC0 free font, downloaded from dafont.com: [generic-mobile-system](https://www.dafont.com/es/generic-mobile-system.font)

View file

@ -1,160 +0,0 @@
===| Description |===
Generic Mobile System is a raster proportional sans serif typeface, extracted from various generic/knockoff mobile devices, created with libre/free font editor software FontForge.
Source files: https://notabug.org/HarvettFox96/ttf-genericmobile/
===| Update log |===
Version 20190323.02:
- OS/2 and TeX metric fixes.
- Updated Panose.
Version 20190323.01:
- Added outline variant.
- Minor fixes.
Version 20190103.03:
- Minor bearing tweaks. (Clásico only)
- Minor fixes.
Version 20190103.02:
- Bearing tweaks from the different generic mobile phone as Cherry Mobile S5. (Clásico only)
- Minor fixes.
Version 20190103.01:
- Initial public release.
===| Copyright/attribution notice |===
© 2009-2019 Jayvee Enaguas (HarvettFox96). Released under a libre/free public domain licence as Creative Commons Zero (CC0) 1.0. Applies worldwide countries including the Philippines, Spain, etc.
-------------------------------------------------------------------------------
Creative Commons Legal Code
CC0 1.0 Universal
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
HEREUNDER.
Statement of Purpose
The laws of most jurisdictions throughout the world automatically confer
exclusive Copyright and Related Rights (defined below) upon the creator
and subsequent owner(s) (each and all, an "owner") of an original work of
authorship and/or a database (each, a "Work").
Certain owners wish to permanently relinquish those rights to a Work for
the purpose of contributing to a commons of creative, cultural and
scientific works ("Commons") that the public can reliably and without fear
of later claims of infringement build upon, modify, incorporate in other
works, reuse and redistribute as freely as possible in any form whatsoever
and for any purposes, including without limitation commercial purposes.
These owners may contribute to the Commons to promote the ideal of a free
culture and the further production of creative, cultural and scientific
works, or to gain reputation or greater distribution for their Work in
part through the use and efforts of others.
For these and/or other purposes and motivations, and without any
expectation of additional consideration or compensation, the person
associating CC0 with a Work (the "Affirmer"), to the extent that he or she
is an owner of Copyright and Related Rights in the Work, voluntarily
elects to apply CC0 to the Work and publicly distribute the Work under its
terms, with knowledge of his or her Copyright and Related Rights in the
Work and the meaning and intended legal effect of CC0 on those rights.
1. Copyright and Related Rights. A Work made available under CC0 may be
protected by copyright and related or neighboring rights ("Copyright and
Related Rights"). Copyright and Related Rights include, but are not
limited to, the following:
i. the right to reproduce, adapt, distribute, perform, display,
communicate, and translate a Work;
ii. moral rights retained by the original author(s) and/or performer(s);
iii. publicity and privacy rights pertaining to a person's image or
likeness depicted in a Work;
iv. rights protecting against unfair competition in regards to a Work,
subject to the limitations in paragraph 4(a), below;
v. rights protecting the extraction, dissemination, use and reuse of data
in a Work;
vi. database rights (such as those arising under Directive 96/9/EC of the
European Parliament and of the Council of 11 March 1996 on the legal
protection of databases, and under any national implementation
thereof, including any amended or successor version of such
directive); and
vii. other similar, equivalent or corresponding rights throughout the
world based on applicable law or treaty, and any national
implementations thereof.
2. Waiver. To the greatest extent permitted by, but not in contravention
of, applicable law, Affirmer hereby overtly, fully, permanently,
irrevocably and unconditionally waives, abandons, and surrenders all of
Affirmer's Copyright and Related Rights and associated claims and causes
of action, whether now known or unknown (including existing as well as
future claims and causes of action), in the Work (i) in all territories
worldwide, (ii) for the maximum duration provided by applicable law or
treaty (including future time extensions), (iii) in any current or future
medium and for any number of copies, and (iv) for any purpose whatsoever,
including without limitation commercial, advertising or promotional
purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
member of the public at large and to the detriment of Affirmer's heirs and
successors, fully intending that such Waiver shall not be subject to
revocation, rescission, cancellation, termination, or any other legal or
equitable action to disrupt the quiet enjoyment of the Work by the public
as contemplated by Affirmer's express Statement of Purpose.
3. Public License Fallback. Should any part of the Waiver for any reason
be judged legally invalid or ineffective under applicable law, then the
Waiver shall be preserved to the maximum extent permitted taking into
account Affirmer's express Statement of Purpose. In addition, to the
extent the Waiver is so judged Affirmer hereby grants to each affected
person a royalty-free, non transferable, non sublicensable, non exclusive,
irrevocable and unconditional license to exercise Affirmer's Copyright and
Related Rights in the Work (i) in all territories worldwide, (ii) for the
maximum duration provided by applicable law or treaty (including future
time extensions), (iii) in any current or future medium and for any number
of copies, and (iv) for any purpose whatsoever, including without
limitation commercial, advertising or promotional purposes (the
"License"). The License shall be deemed effective as of the date CC0 was
applied by Affirmer to the Work. Should any part of the License for any
reason be judged legally invalid or ineffective under applicable law, such
partial invalidity or ineffectiveness shall not invalidate the remainder
of the License, and in such case Affirmer hereby affirms that he or she
will not (i) exercise any of his or her remaining Copyright and Related
Rights in the Work or (ii) assert any associated claims and causes of
action with respect to the Work, in either case contrary to Affirmer's
express Statement of Purpose.
4. Limitations and Disclaimers.
a. No trademark or patent rights held by Affirmer are waived, abandoned,
surrendered, licensed or otherwise affected by this document.
b. Affirmer offers the Work as-is and makes no representations or
warranties of any kind concerning the Work, express, implied,
statutory or otherwise, including without limitation warranties of
title, merchantability, fitness for a particular purpose, non
infringement, or the absence of latent or other defects, accuracy, or
the present or absence of errors, whether or not discoverable, all to
the greatest extent permissible under applicable law.
c. Affirmer disclaims responsibility for clearing rights of other persons
that may apply to the Work or any use thereof, including without
limitation any person's Copyright and Related Rights in the Work.
Further, Affirmer disclaims responsibility for obtaining any necessary
consents, permissions or other rights required for any use of the
Work.
d. Affirmer understands and acknowledges that Creative Commons is not a
party to this document and has no duty or obligation with respect to
this CC0 or use of the Work.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

View file

@ -1,369 +0,0 @@
//////////////////////////////////////////////////////////////////////////////////
// //
// StyleAsCode exporter v1.2 - Style data exported as a values array //
// //
// USAGE: On init call: GuiLoadStyleSunny(); //
// //
// more info and bugs-report: github.com/raysan5/raygui //
// feedback and support: ray[at]raylibtech.com //
// //
// Copyright (c) 2020-2022 raylib technologies (@raylibtech) //
// //
//////////////////////////////////////////////////////////////////////////////////
#define SUNNY_STYLE_PROPS_COUNT 32
// Custom style name: sunny
static const GuiStyleProp sunnyStyleProps[SUNNY_STYLE_PROPS_COUNT] = {
{ 0, 0, 0x9c760aff }, // DEFAULT_BORDER_COLOR_NORMAL
{ 0, 1, 0x594006ff }, // DEFAULT_BASE_COLOR_NORMAL
{ 0, 2, 0xf6d519ff }, // DEFAULT_TEXT_COLOR_NORMAL
{ 0, 3, 0xf6ee89ff }, // DEFAULT_BORDER_COLOR_FOCUSED
{ 0, 4, 0xf5f3d1ff }, // DEFAULT_BASE_COLOR_FOCUSED
{ 0, 5, 0xf4cd19ff }, // DEFAULT_TEXT_COLOR_FOCUSED
{ 0, 6, 0xf7e580ff }, // DEFAULT_BORDER_COLOR_PRESSED
{ 0, 7, 0xf7f2c1ff }, // DEFAULT_BASE_COLOR_PRESSED
{ 0, 8, 0x52470aff }, // DEFAULT_TEXT_COLOR_PRESSED
{ 0, 9, 0xc0be92ff }, // DEFAULT_BORDER_COLOR_DISABLED
{ 0, 10, 0xd3d3a1ff }, // DEFAULT_BASE_COLOR_DISABLED
{ 0, 11, 0xbcbc89ff }, // DEFAULT_TEXT_COLOR_DISABLED
{ 0, 16, 0x00000010 }, // DEFAULT_TEXT_SIZE
{ 0, 17, 0x00000000 }, // DEFAULT_TEXT_SPACING
{ 0, 18, 0x725706ff }, // DEFAULT_LINE_COLOR
{ 0, 19, 0xf0be4bff }, // DEFAULT_BACKGROUND_COLOR
{ 1, 2, 0x504506ff }, // LABEL_TEXT_COLOR_NORMAL
{ 1, 5, 0xfdeb9bff }, // LABEL_TEXT_COLOR_FOCUSED
{ 1, 8, 0xf5e8a4ff }, // LABEL_TEXT_COLOR_PRESSED
{ 2, 2, 0xebc21fff }, // BUTTON_TEXT_COLOR_NORMAL
{ 3, 2, 0xebc21fff }, // TOGGLE_TEXT_COLOR_NORMAL
{ 4, 2, 0x81700fff }, // SLIDER_TEXT_COLOR_NORMAL
{ 4, 5, 0xf4e49aff }, // SLIDER_TEXT_COLOR_FOCUSED
{ 7, 2, 0xebc21fff }, // COMBOBOX_TEXT_COLOR_NORMAL
{ 8, 2, 0xefd87bff }, // DROPDOWNBOX_TEXT_COLOR_NORMAL
{ 8, 5, 0xd4b219ff }, // DROPDOWNBOX_TEXT_COLOR_FOCUSED
{ 9, 2, 0x7a680bff }, // TEXTBOX_TEXT_COLOR_NORMAL
{ 9, 5, 0xad931fff }, // TEXTBOX_TEXT_COLOR_FOCUSED
{ 10, 2, 0x62570eff }, // VALUEBOX_TEXT_COLOR_NORMAL
{ 10, 5, 0xf2df88ff }, // VALUEBOX_TEXT_COLOR_FOCUSED
{ 12, 2, 0xf4e798ff }, // LISTVIEW_TEXT_COLOR_NORMAL
{ 15, 2, 0xebc21fff }, // STATUSBAR_TEXT_COLOR_NORMAL
};
// WARNING: This style uses a custom font: (size: 16, spacing: 0)
#define SUNNY_COMPRESSED_DATA_SIZE 1270
// Font image pixels data compressed (DEFLATE)
// NOTE: Original pixel data simplified to GRAYSCALE
static unsigned char sunnyFontData[SUNNY_COMPRESSED_DATA_SIZE] = { 0xed,
0xdd, 0x51, 0x96, 0xe3, 0x26, 0x10, 0x05, 0x50, 0xf6, 0xbf, 0xe9, 0xca, 0xc9, 0x47, 0x72, 0x26, 0x93, 0x69, 0x01, 0x45,
0x21, 0x61, 0xf9, 0xf6, 0xfd, 0xb3, 0xda, 0xdd, 0x32, 0xcf, 0x12, 0x92, 0x29, 0x70, 0x34, 0x00, 0x80, 0xdf, 0xfc, 0xfd,
0xf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x00, 0x00, 0x00, 0x00, 0x80, 0x93, 0x47, 0x73, 0x62, 0x72, 0x75, 0xd7, 0xd9,
0xfa, 0x9f, 0xf8, 0x65, 0x74, 0x58, 0x9b, 0x7f, 0xce, 0x08, 0x76, 0xcd, 0xaa, 0x8e, 0xd1, 0x7d, 0x97, 0x71, 0x66, 0xfd,
0x42, 0x55, 0xfe, 0xdf, 0x56, 0x25, 0xf1, 0x96, 0xea, 0x95, 0xda, 0x55, 0x5d, 0x79, 0xcb, 0x0c, 0x40, 0xf9, 0x9b, 0xff,
0xf9, 0xed, 0x95, 0x70, 0xdf, 0x70, 0xfd, 0xef, 0xf8, 0xf7, 0xee, 0x90, 0xbf, 0xfc, 0xe5, 0x2f, 0x7f, 0xf9, 0xcb, 0x5f,
0xfe, 0xaa, 0xfd, 0x73, 0xf3, 0x3f, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x8f, 0xf3, 0x17 };
// Font characters rectangles data
static const Rectangle sunnyFontRecs[95] = {
{ 4, 4, 4 , 16 },
{ 16, 4, 2 , 10 },
{ 26, 4, 5 , 3 },
{ 39, 4, 7 , 10 },
{ 54, 4, 7 , 13 },
{ 69, 4, 7 , 10 },
{ 84, 4, 7 , 10 },
{ 99, 4, 2 , 3 },
{ 109, 4, 3 , 12 },
{ 120, 4, 3 , 12 },
{ 131, 4, 5 , 6 },
{ 144, 4, 6 , 5 },
{ 158, 4, 2 , 4 },
{ 168, 4, 5 , 1 },
{ 181, 4, 2 , 2 },
{ 191, 4, 4 , 10 },
{ 203, 4, 6 , 10 },
{ 217, 4, 4 , 10 },
{ 229, 4, 6 , 10 },
{ 4, 28, 6 , 10 },
{ 18, 28, 6 , 10 },
{ 32, 28, 6 , 10 },
{ 46, 28, 6 , 10 },
{ 60, 28, 6 , 10 },
{ 74, 28, 6 , 10 },
{ 88, 28, 6 , 10 },
{ 102, 28, 2 , 6 },
{ 112, 28, 2 , 8 },
{ 122, 28, 7 , 7 },
{ 137, 28, 5 , 3 },
{ 150, 28, 7 , 7 },
{ 165, 28, 6 , 10 },
{ 179, 28, 7 , 12 },
{ 194, 28, 7 , 10 },
{ 209, 28, 7 , 10 },
{ 224, 28, 7 , 10 },
{ 239, 28, 7 , 10 },
{ 4, 52, 7 , 10 },
{ 19, 52, 7 , 10 },
{ 34, 52, 7 , 10 },
{ 49, 52, 7 , 10 },
{ 64, 52, 2 , 10 },
{ 74, 52, 5 , 10 },
{ 87, 52, 7 , 10 },
{ 102, 52, 6 , 10 },
{ 116, 52, 9 , 10 },
{ 133, 52, 7 , 10 },
{ 148, 52, 7 , 10 },
{ 163, 52, 7 , 10 },
{ 178, 52, 7 , 12 },
{ 193, 52, 7 , 10 },
{ 208, 52, 7 , 10 },
{ 223, 52, 6 , 10 },
{ 237, 52, 7 , 10 },
{ 4, 76, 7 , 10 },
{ 19, 76, 8 , 10 },
{ 35, 76, 7 , 10 },
{ 50, 76, 6 , 10 },
{ 64, 76, 7 , 10 },
{ 79, 76, 4 , 12 },
{ 91, 76, 4 , 10 },
{ 103, 76, 4 , 12 },
{ 115, 76, 6 , 3 },
{ 129, 76, 7 , 1 },
{ 144, 76, 4 , 3 },
{ 156, 76, 6 , 7 },
{ 170, 76, 6 , 10 },
{ 184, 76, 6 , 7 },
{ 198, 76, 6 , 10 },
{ 212, 76, 6 , 7 },
{ 226, 76, 4 , 10 },
{ 238, 76, 6 , 9 },
{ 4, 100, 6 , 10 },
{ 18, 100, 2 , 10 },
{ 28, 100, 5 , 12 },
{ 41, 100, 6 , 10 },
{ 55, 100, 3 , 10 },
{ 66, 100, 8 , 7 },
{ 82, 100, 6 , 7 },
{ 96, 100, 6 , 7 },
{ 110, 100, 6 , 9 },
{ 124, 100, 6 , 9 },
{ 138, 100, 5 , 7 },
{ 151, 100, 6 , 7 },
{ 165, 100, 4 , 10 },
{ 177, 100, 6 , 7 },
{ 191, 100, 6 , 7 },
{ 205, 100, 8 , 7 },
{ 221, 100, 6 , 7 },
{ 235, 100, 6 , 9 },
{ 4, 124, 6 , 7 },
{ 18, 124, 5 , 12 },
{ 31, 124, 2 , 12 },
{ 41, 124, 5 , 12 },
{ 54, 124, 7 , 3 },
};
// Font characters info data
// NOTE: No chars.image data provided
static const GlyphInfo sunnyFontChars[95] = {
{ 32, 0, 12, 4, { 0 }},
{ 33, 0, 2, 3, { 0 }},
{ 34, 0, 2, 6, { 0 }},
{ 35, 0, 2, 8, { 0 }},
{ 36, 0, 1, 8, { 0 }},
{ 37, 0, 2, 8, { 0 }},
{ 38, 0, 2, 8, { 0 }},
{ 39, 0, 2, 3, { 0 }},
{ 40, 0, 2, 4, { 0 }},
{ 41, 0, 2, 4, { 0 }},
{ 42, 0, 4, 6, { 0 }},
{ 43, 0, 6, 7, { 0 }},
{ 44, 0, 10, 3, { 0 }},
{ 45, 0, 8, 6, { 0 }},
{ 46, 0, 10, 3, { 0 }},
{ 47, 0, 2, 5, { 0 }},
{ 48, 0, 2, 7, { 0 }},
{ 49, 0, 2, 7, { 0 }},
{ 50, 0, 2, 7, { 0 }},
{ 51, 0, 2, 7, { 0 }},
{ 52, 0, 2, 7, { 0 }},
{ 53, 0, 2, 7, { 0 }},
{ 54, 0, 2, 7, { 0 }},
{ 55, 0, 2, 7, { 0 }},
{ 56, 0, 2, 7, { 0 }},
{ 57, 0, 2, 7, { 0 }},
{ 58, 0, 4, 3, { 0 }},
{ 59, 0, 4, 3, { 0 }},
{ 60, 0, 4, 8, { 0 }},
{ 61, 0, 6, 6, { 0 }},
{ 62, 0, 4, 8, { 0 }},
{ 63, 0, 2, 7, { 0 }},
{ 64, 0, 2, 8, { 0 }},
{ 65, 0, 2, 8, { 0 }},
{ 66, 0, 2, 8, { 0 }},
{ 67, 0, 2, 8, { 0 }},
{ 68, 0, 2, 8, { 0 }},
{ 69, 0, 2, 8, { 0 }},
{ 70, 0, 2, 8, { 0 }},
{ 71, 0, 2, 8, { 0 }},
{ 72, 0, 2, 8, { 0 }},
{ 73, 0, 2, 3, { 0 }},
{ 74, 0, 2, 6, { 0 }},
{ 75, 0, 2, 8, { 0 }},
{ 76, 0, 2, 7, { 0 }},
{ 77, 0, 2, 10, { 0 }},
{ 78, 0, 2, 8, { 0 }},
{ 79, 0, 2, 8, { 0 }},
{ 80, 0, 2, 8, { 0 }},
{ 81, 0, 2, 8, { 0 }},
{ 82, 0, 2, 8, { 0 }},
{ 83, 0, 2, 8, { 0 }},
{ 84, 0, 2, 7, { 0 }},
{ 85, 0, 2, 8, { 0 }},
{ 86, 0, 2, 8, { 0 }},
{ 87, 0, 2, 9, { 0 }},
{ 88, 0, 2, 8, { 0 }},
{ 89, 0, 2, 7, { 0 }},
{ 90, 0, 2, 8, { 0 }},
{ 91, 0, 2, 5, { 0 }},
{ 92, 0, 2, 5, { 0 }},
{ 93, 0, 2, 5, { 0 }},
{ 94, 0, 2, 7, { 0 }},
{ 95, 0, 14, 8, { 0 }},
{ 96, 0, 2, 5, { 0 }},
{ 97, 0, 5, 7, { 0 }},
{ 98, 0, 2, 7, { 0 }},
{ 99, 0, 5, 7, { 0 }},
{ 100, 0, 2, 7, { 0 }},
{ 101, 0, 5, 7, { 0 }},
{ 102, 0, 2, 5, { 0 }},
{ 103, 0, 5, 7, { 0 }},
{ 104, 0, 2, 7, { 0 }},
{ 105, 0, 2, 3, { 0 }},
{ 106, 0, 2, 6, { 0 }},
{ 107, 0, 2, 7, { 0 }},
{ 108, 0, 2, 4, { 0 }},
{ 109, 0, 5, 9, { 0 }},
{ 110, 0, 5, 7, { 0 }},
{ 111, 0, 5, 7, { 0 }},
{ 112, 0, 5, 7, { 0 }},
{ 113, 0, 5, 7, { 0 }},
{ 114, 0, 5, 6, { 0 }},
{ 115, 0, 5, 7, { 0 }},
{ 116, 0, 2, 5, { 0 }},
{ 117, 0, 5, 7, { 0 }},
{ 118, 0, 5, 7, { 0 }},
{ 119, 0, 5, 9, { 0 }},
{ 120, 0, 5, 7, { 0 }},
{ 121, 0, 5, 7, { 0 }},
{ 122, 0, 5, 7, { 0 }},
{ 123, 0, 2, 6, { 0 }},
{ 124, 0, 2, 3, { 0 }},
{ 125, 0, 2, 6, { 0 }},
{ 126, 0, 6, 8, { 0 }},
};
// Style loading function: sunny
static void GuiLoadStyleSunny(void)
{
// Load style properties provided
// NOTE: Default properties are propagated
for (int i = 0; i < SUNNY_STYLE_PROPS_COUNT; i++)
{
GuiSetStyle(sunnyStyleProps[i].controlId, sunnyStyleProps[i].propertyId, sunnyStyleProps[i].propertyValue);
}
// Custom font loading
// NOTE: Compressed font image data (DEFLATE), it requires DecompressData() function
int sunnyFontDataSize = 0;
unsigned char *data = DecompressData(sunnyFontData, SUNNY_COMPRESSED_DATA_SIZE, &sunnyFontDataSize);
Image imFont = { data, 256, 256, 1, 2 };
Font font = { 0 };
font.baseSize = 16;
font.glyphCount = 95;
// Load texture from image
font.texture = LoadTextureFromImage(imFont);
UnloadImage(imFont); // Uncompressed data can be unloaded from memory
// Copy char recs data from global fontRecs
// NOTE: Required to avoid issues if trying to free font
font.recs = (Rectangle *)malloc(font.glyphCount*sizeof(Rectangle));
memcpy(font.recs, sunnyFontRecs, font.glyphCount*sizeof(Rectangle));
// Copy font char info data from global fontChars
// NOTE: Required to avoid issues if trying to free font
font.glyphs = (GlyphInfo *)malloc(font.glyphCount*sizeof(GlyphInfo));
memcpy(font.glyphs, sunnyFontChars, font.glyphCount*sizeof(GlyphInfo));
GuiSetFont(font);
// TODO: Setup a white rectangle on the font to be used on shapes drawing,
// this way we make sure all gui can be drawn on a single pass because no texture change is required
// NOTE: Setting up this rectangle is a manual process (for the moment)
//Rectangle whiteChar = { 0, 0, 0, 0 };
//SetShapesTexture(font.texture, whiteChar);
//-----------------------------------------------------------------
// TODO: Custom user style setup: Set specific properties here (if required)
// i.e. Controls specific BORDER_WIDTH, TEXT_PADDING, TEXT_ALIGNMENT
}

View file

@ -1,16 +0,0 @@
style: terminal
----------------
Start your terminal and type your commands! Feel the connection the data flow, that's your style!
![terminal style table](style_table.png)
screenshot
-----------
![terminal style screen](screenshot.png)
about font
-----------
"Mecha" font by Captain Falcon.
100% free font, downloaded from dafont.com: [mecha-cf](https://www.dafont.com/mecha-cf.font)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

View file

@ -1,338 +0,0 @@
//////////////////////////////////////////////////////////////////////////////////
// //
// StyleAsCode exporter v1.2 - Style data exported as a values array //
// //
// USAGE: On init call: GuiLoadStyleTerminal(); //
// //
// more info and bugs-report: github.com/raysan5/raygui //
// feedback and support: ray[at]raylibtech.com //
// //
// Copyright (c) 2020-2022 raylib technologies (@raylibtech) //
// //
//////////////////////////////////////////////////////////////////////////////////
#define TERMINAL_STYLE_PROPS_COUNT 16
// Custom style name: terminal
static const GuiStyleProp terminalStyleProps[TERMINAL_STYLE_PROPS_COUNT] = {
{ 0, 0, 0x1c8d00ff }, // DEFAULT_BORDER_COLOR_NORMAL
{ 0, 1, 0x161313ff }, // DEFAULT_BASE_COLOR_NORMAL
{ 0, 2, 0x38f620ff }, // DEFAULT_TEXT_COLOR_NORMAL
{ 0, 3, 0xc3fbc6ff }, // DEFAULT_BORDER_COLOR_FOCUSED
{ 0, 4, 0x43bf2eff }, // DEFAULT_BASE_COLOR_FOCUSED
{ 0, 5, 0xdcfadcff }, // DEFAULT_TEXT_COLOR_FOCUSED
{ 0, 6, 0x1f5b19ff }, // DEFAULT_BORDER_COLOR_PRESSED
{ 0, 7, 0x43ff28ff }, // DEFAULT_BASE_COLOR_PRESSED
{ 0, 8, 0x1e6f15ff }, // DEFAULT_TEXT_COLOR_PRESSED
{ 0, 9, 0x223b22ff }, // DEFAULT_BORDER_COLOR_DISABLED
{ 0, 10, 0x182c18ff }, // DEFAULT_BASE_COLOR_DISABLED
{ 0, 11, 0x244125ff }, // DEFAULT_TEXT_COLOR_DISABLED
{ 0, 16, 0x00000010 }, // DEFAULT_TEXT_SIZE
{ 0, 17, 0x00000000 }, // DEFAULT_TEXT_SPACING
{ 0, 18, 0xe6fce3ff }, // DEFAULT_LINE_COLOR
{ 0, 19, 0x0c1505ff }, // DEFAULT_BACKGROUND_COLOR
};
// WARNING: This style uses a custom font: (size: 16, spacing: 0)
#define TERMINAL_COMPRESSED_DATA_SIZE 964
// Font image pixels data compressed (DEFLATE)
// NOTE: Original pixel data simplified to GRAYSCALE
static unsigned char terminalFontData[TERMINAL_COMPRESSED_DATA_SIZE] = { 0xed,
0xdd, 0x41, 0xb6, 0x9b, 0x30, 0x0c, 0x05, 0x50, 0xf6, 0xbf, 0x69, 0x75, 0xd0, 0xd3, 0x41, 0x7b, 0x9a, 0x0f, 0x92, 0x65,
0xc7, 0xc0, 0xed, 0x9d, 0xa5, 0x09, 0x9f, 0xf0, 0x02, 0x38, 0xb6, 0xec, 0xc4, 0x01, 0x00, 0xf0, 0x8f, 0xf8, 0xef, 0x23,
0xf1, 0xf1, 0x99, 0x71, 0x79, 0x3b, 0xbf, 0x1f, 0x8d, 0x8f, 0x7f, 0xe5, 0xcf, 0xbf, 0x2b, 0x5b, 0xba, 0xfe, 0xac, 0x48,
0xed, 0xdd, 0xd8, 0x5e, 0xd5, 0xb6, 0x93, 0x7d, 0xf6, 0xcf, 0xfb, 0x13, 0x1b, 0xe4, 0x7f, 0xfe, 0x6e, 0x33, 0xc7, 0x33,
0xca, 0xe9, 0xe5, 0x3f, 0x9d, 0x33, 0xcf, 0xa1, 0xec, 0x3e, 0xd6, 0x8e, 0xc9, 0x1e, 0xf9, 0x67, 0x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 0x4d, 0xdf, 0xff, 0x8e, 0x86, 0x79, 0xe0, 0xe7, 0x6b, 0x2f, 0x77, 0xaf,
0xa3, 0x5c, 0xf9, 0xfe, 0xf7, 0xf4, 0x6a, 0xc9, 0x58, 0x52, 0xcf, 0xb6, 0xcf, 0xf1, 0x89, 0x29, 0xf3, 0xe6, 0xe5, 0xbf,
0x7b, 0xfe, 0xb5, 0x6f, 0xe3, 0xcf, 0xcf, 0x7f, 0xe5, 0xd1, 0x7f, 0xc6, 0xd9, 0x21, 0xff, 0x77, 0xd7, 0x72, 0xcb, 0xff,
0x5d, 0xd7, 0xad, 0xd1, 0xfe, 0x7f, 0xcc, 0xef, 0x40, 0xfe, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x0d, 0x7e, 0x01 };
// Font characters rectangles data
static const Rectangle terminalFontRecs[95] = {
{ 4, 4, 4 , 16 },
{ 16, 4, 1 , 11 },
{ 25, 4, 3 , 3 },
{ 36, 4, 6 , 11 },
{ 50, 4, 5 , 11 },
{ 63, 4, 5 , 11 },
{ 76, 4, 5 , 11 },
{ 89, 4, 1 , 2 },
{ 98, 4, 2 , 13 },
{ 108, 4, 2 , 13 },
{ 118, 4, 3 , 3 },
{ 129, 4, 5 , 5 },
{ 142, 4, 1 , 3 },
{ 151, 4, 5 , 1 },
{ 164, 4, 1 , 1 },
{ 173, 4, 6 , 12 },
{ 187, 4, 5 , 11 },
{ 200, 4, 2 , 11 },
{ 210, 4, 5 , 11 },
{ 223, 4, 5 , 11 },
{ 236, 4, 5 , 11 },
{ 4, 28, 5 , 11 },
{ 17, 28, 5 , 11 },
{ 30, 28, 5 , 11 },
{ 43, 28, 5 , 11 },
{ 56, 28, 5 , 11 },
{ 69, 28, 1 , 8 },
{ 78, 28, 1 , 10 },
{ 87, 28, 4 , 5 },
{ 99, 28, 5 , 3 },
{ 112, 28, 4 , 5 },
{ 124, 28, 5 , 11 },
{ 137, 28, 11 , 11 },
{ 156, 28, 5 , 11 },
{ 169, 28, 5 , 11 },
{ 182, 28, 5 , 11 },
{ 195, 28, 5 , 11 },
{ 208, 28, 5 , 11 },
{ 221, 28, 5 , 11 },
{ 234, 28, 5 , 11 },
{ 4, 52, 5 , 11 },
{ 17, 52, 1 , 11 },
{ 26, 52, 5 , 11 },
{ 39, 52, 5 , 11 },
{ 52, 52, 5 , 11 },
{ 65, 52, 7 , 11 },
{ 80, 52, 5 , 11 },
{ 93, 52, 5 , 11 },
{ 106, 52, 5 , 11 },
{ 119, 52, 5 , 13 },
{ 132, 52, 5 , 11 },
{ 145, 52, 5 , 11 },
{ 158, 52, 5 , 11 },
{ 171, 52, 5 , 11 },
{ 184, 52, 5 , 11 },
{ 197, 52, 7 , 11 },
{ 212, 52, 5 , 11 },
{ 225, 52, 5 , 11 },
{ 238, 52, 5 , 11 },
{ 4, 76, 2 , 13 },
{ 14, 76, 6 , 12 },
{ 28, 76, 2 , 13 },
{ 38, 76, 5 , 4 },
{ 51, 76, 5 , 1 },
{ 64, 76, 2 , 2 },
{ 74, 76, 5 , 8 },
{ 87, 76, 5 , 11 },
{ 100, 76, 5 , 8 },
{ 113, 76, 5 , 11 },
{ 126, 76, 5 , 8 },
{ 139, 76, 4 , 11 },
{ 151, 76, 5 , 10 },
{ 164, 76, 5 , 11 },
{ 177, 76, 1 , 11 },
{ 186, 76, 1 , 13 },
{ 195, 76, 5 , 11 },
{ 208, 76, 1 , 11 },
{ 217, 76, 7 , 8 },
{ 232, 76, 5 , 8 },
{ 4, 100, 5 , 8 },
{ 17, 100, 5 , 10 },
{ 30, 100, 5 , 10 },
{ 43, 100, 4 , 8 },
{ 55, 100, 5 , 8 },
{ 68, 100, 3 , 11 },
{ 79, 100, 5 , 8 },
{ 92, 100, 5 , 8 },
{ 105, 100, 7 , 8 },
{ 120, 100, 5 , 8 },
{ 133, 100, 5 , 10 },
{ 146, 100, 5 , 8 },
{ 159, 100, 3 , 13 },
{ 170, 100, 1 , 15 },
{ 179, 100, 3 , 13 },
{ 190, 100, 5 , 3 },
};
// Font characters info data
// NOTE: No chars.image data provided
static const GlyphInfo terminalFontChars[95] = {
{ 32, 0, 14, 4, { 0 }},
{ 33, 1, 3, 3, { 0 }},
{ 34, 1, 3, 5, { 0 }},
{ 35, 1, 3, 8, { 0 }},
{ 36, 1, 3, 7, { 0 }},
{ 37, 1, 3, 7, { 0 }},
{ 38, 1, 3, 7, { 0 }},
{ 39, 1, 3, 3, { 0 }},
{ 40, 1, 2, 4, { 0 }},
{ 41, 1, 2, 4, { 0 }},
{ 42, 1, 3, 5, { 0 }},
{ 43, 1, 7, 7, { 0 }},
{ 44, 1, 13, 3, { 0 }},
{ 45, 1, 9, 7, { 0 }},
{ 46, 1, 13, 3, { 0 }},
{ 47, 1, 2, 8, { 0 }},
{ 48, 1, 3, 7, { 0 }},
{ 49, 1, 3, 4, { 0 }},
{ 50, 1, 3, 7, { 0 }},
{ 51, 1, 3, 7, { 0 }},
{ 52, 1, 3, 7, { 0 }},
{ 53, 1, 3, 7, { 0 }},
{ 54, 1, 3, 7, { 0 }},
{ 55, 1, 3, 7, { 0 }},
{ 56, 1, 3, 7, { 0 }},
{ 57, 1, 3, 7, { 0 }},
{ 58, 1, 6, 3, { 0 }},
{ 59, 1, 6, 3, { 0 }},
{ 60, 1, 7, 6, { 0 }},
{ 61, 1, 8, 7, { 0 }},
{ 62, 1, 7, 6, { 0 }},
{ 63, 1, 3, 7, { 0 }},
{ 64, 2, 3, 15, { 0 }},
{ 65, 1, 3, 7, { 0 }},
{ 66, 1, 3, 7, { 0 }},
{ 67, 1, 3, 7, { 0 }},
{ 68, 1, 3, 7, { 0 }},
{ 69, 1, 3, 7, { 0 }},
{ 70, 1, 3, 7, { 0 }},
{ 71, 1, 3, 7, { 0 }},
{ 72, 1, 3, 7, { 0 }},
{ 73, 1, 3, 3, { 0 }},
{ 74, 1, 3, 7, { 0 }},
{ 75, 1, 3, 7, { 0 }},
{ 76, 1, 3, 7, { 0 }},
{ 77, 1, 3, 9, { 0 }},
{ 78, 1, 3, 7, { 0 }},
{ 79, 1, 3, 7, { 0 }},
{ 80, 1, 3, 7, { 0 }},
{ 81, 1, 3, 7, { 0 }},
{ 82, 1, 3, 7, { 0 }},
{ 83, 1, 3, 7, { 0 }},
{ 84, 1, 3, 7, { 0 }},
{ 85, 1, 3, 7, { 0 }},
{ 86, 1, 3, 7, { 0 }},
{ 87, 1, 3, 9, { 0 }},
{ 88, 1, 3, 7, { 0 }},
{ 89, 1, 3, 7, { 0 }},
{ 90, 1, 3, 7, { 0 }},
{ 91, 1, 2, 4, { 0 }},
{ 92, 1, 2, 8, { 0 }},
{ 93, 1, 2, 4, { 0 }},
{ 94, 1, 3, 7, { 0 }},
{ 95, 1, 15, 7, { 0 }},
{ 96, 1, 0, 4, { 0 }},
{ 97, 1, 6, 7, { 0 }},
{ 98, 1, 3, 7, { 0 }},
{ 99, 1, 6, 7, { 0 }},
{ 100, 1, 3, 7, { 0 }},
{ 101, 1, 6, 7, { 0 }},
{ 102, 1, 3, 6, { 0 }},
{ 103, 1, 6, 7, { 0 }},
{ 104, 1, 3, 7, { 0 }},
{ 105, 1, 3, 3, { 0 }},
{ 106, 1, 3, 3, { 0 }},
{ 107, 1, 3, 7, { 0 }},
{ 108, 1, 3, 3, { 0 }},
{ 109, 1, 6, 9, { 0 }},
{ 110, 1, 6, 7, { 0 }},
{ 111, 1, 6, 7, { 0 }},
{ 112, 1, 6, 7, { 0 }},
{ 113, 1, 6, 7, { 0 }},
{ 114, 1, 6, 6, { 0 }},
{ 115, 1, 6, 7, { 0 }},
{ 116, 1, 3, 5, { 0 }},
{ 117, 1, 6, 7, { 0 }},
{ 118, 1, 6, 7, { 0 }},
{ 119, 1, 6, 9, { 0 }},
{ 120, 1, 6, 7, { 0 }},
{ 121, 1, 6, 7, { 0 }},
{ 122, 1, 6, 7, { 0 }},
{ 123, 1, 2, 5, { 0 }},
{ 124, 1, 1, 3, { 0 }},
{ 125, 1, 2, 5, { 0 }},
{ 126, 1, 8, 7, { 0 }},
};
// Style loading function: terminal
static void GuiLoadStyleTerminal(void)
{
// Load style properties provided
// NOTE: Default properties are propagated
for (int i = 0; i < TERMINAL_STYLE_PROPS_COUNT; i++)
{
GuiSetStyle(terminalStyleProps[i].controlId, terminalStyleProps[i].propertyId, terminalStyleProps[i].propertyValue);
}
// Custom font loading
// NOTE: Compressed font image data (DEFLATE), it requires DecompressData() function
int terminalFontDataSize = 0;
unsigned char *data = DecompressData(terminalFontData, TERMINAL_COMPRESSED_DATA_SIZE, &terminalFontDataSize);
Image imFont = { data, 256, 256, 1, 2 };
Font font = { 0 };
font.baseSize = 16;
font.glyphCount = 95;
// Load texture from image
font.texture = LoadTextureFromImage(imFont);
UnloadImage(imFont); // Uncompressed data can be unloaded from memory
// Copy char recs data from global fontRecs
// NOTE: Required to avoid issues if trying to free font
font.recs = (Rectangle *)malloc(font.glyphCount*sizeof(Rectangle));
memcpy(font.recs, terminalFontRecs, font.glyphCount*sizeof(Rectangle));
// Copy font char info data from global fontChars
// NOTE: Required to avoid issues if trying to free font
font.glyphs = (GlyphInfo *)malloc(font.glyphCount*sizeof(GlyphInfo));
memcpy(font.glyphs, terminalFontChars, font.glyphCount*sizeof(GlyphInfo));
GuiSetFont(font);
// TODO: Setup a white rectangle on the font to be used on shapes drawing,
// this way we make sure all gui can be drawn on a single pass because no texture change is required
// NOTE: Setting up this rectangle is a manual process (for the moment)
Rectangle whiteChar = { 63, 4, 2, 2 };
SetShapesTexture(font.texture, whiteChar);
//-----------------------------------------------------------------
// TODO: Custom user style setup: Set specific properties here (if required)
// i.e. Controls specific BORDER_WIDTH, TEXT_PADDING, TEXT_ALIGNMENT
}

View file

@ -1,24 +0,0 @@
#
# rgs style text file (v3.1) - raygui style file generated using rGuiStyler
#
# Style properties:
# f <gen_font_size> <charmap_file> <font_file>
# p <control_id> <property_id> <property_value> <property_name>
#
f 16 0 Mecha.ttf
p 00 00 0x1c8d00ff DEFAULT_BORDER_COLOR_NORMAL
p 00 01 0x161313ff DEFAULT_BASE_COLOR_NORMAL
p 00 02 0x38f620ff DEFAULT_TEXT_COLOR_NORMAL
p 00 03 0xc3fbc6ff DEFAULT_BORDER_COLOR_FOCUSED
p 00 04 0x43bf2eff DEFAULT_BASE_COLOR_FOCUSED
p 00 05 0xdcfadcff DEFAULT_TEXT_COLOR_FOCUSED
p 00 06 0x1f5b19ff DEFAULT_BORDER_COLOR_PRESSED
p 00 07 0x43ff28ff DEFAULT_BASE_COLOR_PRESSED
p 00 08 0x1e6f15ff DEFAULT_TEXT_COLOR_PRESSED
p 00 09 0x223b22ff DEFAULT_BORDER_COLOR_DISABLED
p 00 10 0x182c18ff DEFAULT_BASE_COLOR_DISABLED
p 00 11 0x244125ff DEFAULT_TEXT_COLOR_DISABLED
p 00 16 0x00000010 TEXT_SIZE
p 00 17 0x00000000 TEXT_SPACING
p 00 18 0xe6fce3ff DEFAULT_LINE_COLOR
p 00 19 0x0c1505ff DEFAULT_BACKGROUND_COLOR

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,155 @@
/*******************************************************************************************
*
* raylib [audio] example - Mixed audio processing
*
* Example originally created with raylib 4.2, last time updated with raylib 4.2
*
* Example contributed by hkc (@hatkidchan) and reviewed by Ramon Santamaria (@raysan5)
*
* Example licensed under an unmodified zlib/libpng license, which is an OSI-certified,
* BSD-like license that allows static linking with closed source software
*
* Copyright (c) 2023 hkc (@hatkidchan)
*
********************************************************************************************/
package main
import (
"fmt"
"math"
rl "git.terah.dev/UnrealXR/raylib-go/raylib"
)
const (
screenWidth = 800
screenHeight = 450
)
var exponent float32 = 1.0 // Audio exponentiation value
var averageVolume [400]float32 // Average volume history
func main() {
rl.InitWindow(screenWidth, screenHeight, "raylib [audio] example - processing mixed output")
rl.InitAudioDevice() // Initialize audio device
rl.AttachAudioMixedProcessor(ProcessAudio)
music := rl.LoadMusicStream("country.mp3")
sound := rl.LoadSound("coin.wav")
rl.PlayMusicStream(music)
rl.SetTargetFPS(60) // Set our game to run at 60 frames-per-second
// Main game loop
for !rl.WindowShouldClose() { // Detect window close button or ESC key
rl.UpdateMusicStream(music) // Update music buffer with new stream data
// Modify processing variables
if rl.IsKeyPressed(rl.KeyLeft) {
exponent -= 0.05
}
if rl.IsKeyPressed(rl.KeyRight) {
exponent += 0.05
}
if rl.IsKeyPressed(rl.KeyDown) {
exponent -= 0.25
}
if rl.IsKeyPressed(rl.KeyUp) {
exponent += 0.25
}
// Make sure that exponent stays between 0.5 and 3
exponent = clamp(exponent, 0.5, 3)
if rl.IsKeyPressed(rl.KeySpace) {
rl.PlaySound(sound)
}
// Draw
rl.BeginDrawing()
rl.ClearBackground(rl.RayWhite)
rl.DrawText("MUSIC SHOULD BE PLAYING!", 255, 150, 20, rl.LightGray)
rl.DrawText(fmt.Sprintf("EXPONENT = %.2f", exponent), 215, 180, 20, rl.LightGray)
rl.DrawRectangle(199, 199, 402, 34, rl.LightGray)
for i := int32(0); i < 400; i++ {
rl.DrawLine(201+i, 232-int32(averageVolume[i]*32), 201+i, 232, rl.Maroon)
}
rl.DrawRectangleLines(199, 199, 402, 34, rl.Gray)
rl.DrawText("PRESS SPACE TO PLAY OTHER SOUND", 200, 250, 20, rl.LightGray)
rl.DrawText("USE LEFT AND RIGHT ARROWS TO ALTER DISTORTION", 140, 280, 20, rl.LightGray)
rl.EndDrawing()
}
// De-Initialization
rl.UnloadMusicStream(music) // Unload music stream buffers from RAM
rl.DetachAudioMixedProcessor(ProcessAudio) // Disconnect audio processor
rl.CloseAudioDevice() // Close audio device (music streaming is automatically stopped)
rl.CloseWindow() // Close window and OpenGL context
}
// ProcessAudio is the audio processing function
func ProcessAudio(buffer []float32, frames int) {
var average float32 // Temporary average volume
maxFrame := frames / 2
// Each frame has 2 samples (left and right),
// so we should loop `frames / 2` times
for frame := 0; frame < maxFrame; frame++ {
left := &buffer[frame*2+0] // Left channel
right := &buffer[frame*2+1] // Right channel
// Modify left and right channel samples with exponent
*left = pow(abs(*left), exponent) * sgn(*left)
*right = pow(abs(*right), exponent) * sgn(*right)
// Accumulating average volume
average += abs(*left) / float32(maxFrame)
average += abs(*right) / float32(maxFrame)
}
// Shift average volume history buffer to the left
for i := 0; i < 399; i++ {
averageVolume[i] = averageVolume[i+1]
}
// Add the new average value
averageVolume[399] = average
}
// Helper functions to make the code shorter
// (using less type conversions)
// (Golang: Please make the `math` package generic! This is ridiculous :-)
func abs(value float32) float32 {
return float32(math.Abs(float64(value)))
}
func pow(value, exponent float32) float32 {
return float32(math.Pow(float64(value), float64(exponent)))
}
func sgn(value float32) float32 {
if value < 0 {
return -1
} else if value > 0 {
return 1
}
return 0
}
func clamp(value, min, max float32) float32 {
if value < min {
return min
}
if value > max {
return max
}
return value
}

Some files were not shown because too many files have changed in this diff Show more