Comments (9)
oh, I see! Some user added it to build on MSVC I think... Thanks for reporting!
Actually, I haven't tested raygui on RPI just yet...
from raygui.
Just note that controls_review.c
example has been reviewed for a better look and cleaner code.
Closing this issue for now.
from raygui.
Actually, raygui is intended to be just manually added to your raylib project. Just copy the raygui.h file into your project folder and include it using:
#define RAYGUI_IMPLEMENTATION
#include "raygui.h"
Those two lines, include the library header + implementation into your code. Super simple.
To build the example, you can use the same method used to build any raylib example.
Lately we're working hard on raygui... but I agree there is a bit lack of documentation.
from raygui.
It was failing to build on Raspberry Pi Linux because of the __declspec(dllexport)
in RAYGUIDEF
. After removing that, the examples compiled smoothly.
from raygui.
No worries. I got it figured out after an hour or so. The controls_review.c
example worked well on the RPI 3B with the official 7" touchscreen. I just redefined it to 800x480 instead of 800x600, and one or two controls overlapped, but all in all it was functional. Great work!
from raygui.
oh! that's great! Thanks for the feedback! :D
controls_review.c
is the latest test bench, controls overlapping was for testing... the rest of the examples need to be reviewed... well, several things need review... keep working on it...
Please, keep me updated with your progress!
from raygui.
Will do. I'm planning to build a shared library on the RPI to use with the C# bindings (raylib-cs).
Does that appear to be correct? I haven't even run the controls_review test on a desktop yet for a baseline lol.
from raygui.
Yes, it is, same as desktop, well, a couple of controls are out of the window... Actually, it's a quite ugly testing sample... sorry...
Wow! raylib-cs
running on the RPI? Is that possible? what about performance?
from raygui.
Should be possible as long as I have a .so to PInvoke to. Not sure about performance yet which is why I wanted to try it out first :D
from raygui.
Related Issues (20)
- `GuiColorBarHue` bug when selecting a color HOT 5
- `GuiToggle()` always returns 0 HOT 6
- Multiple `GuiTextInputBox()` not supported HOT 2
- [`rGuiStyler`] Support for substepping font rasterization HOT 3
- examples build issue HOT 1
- `GuiButton()` not considering mouse state as exclusive mode HOT 2
- Dynamic depth management HOT 4
- Input blocking / input event consuming HOT 2
- [Feature Request] Keyboard Navigation HOT 2
- Error - cannot convert bool* to int* HOT 1
- [Feature Request] Accessibility support? HOT 5
- Problem with Installation HOT 1
- Problem when define HOT 2
- Documentation on the `rgs` format HOT 2
- Issue with Unicode input on `GuiTextBox()` HOT 1
- Compile for Rapberry Pi 2B HOT 3
- Raspberry Pi - touch does not works. HOT 3
- Define a consistent convention on controls return values
- missing .c file in src ? HOT 2
- GuiLoadIcons example? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from raygui.