Using raygui in large C++ project. #3772
-
I am using raylib + raygui in a c++ project consisting of several files and classes. I include libraries in the main *.cpp file: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@SourceOfDeath I'm afraid that function is not exposed, you can use the raylib equivalent |
Beta Was this translation helpful? Give feedback.
-
I created a structure with static fields to store pointers to functions. These fields are filled in in the main file at startup. And the structure itself is then available everywhere. It works, but it looks weird. |
Beta Was this translation helpful? Give feedback.
@SourceOfDeath I'm afraid that function is not exposed, you can use the raylib equivalent
MeasureTextEx()
or just expose it for your needs.