sp4cerat / game-gui Goto Github PK
View Code? Open in Web Editor NEWGame GUI is a skin-able GL based Widget Class for Games
Home Page: http://voxels.blogspot.de/2015/07/opengl-game-gui-widgets-with-source.html
License: MIT License
Game GUI is a skin-able GL based Widget Class for Games
Home Page: http://voxels.blogspot.de/2015/07/opengl-game-gui-widgets-with-source.html
License: MIT License
how to install the program?
Hello - I have a problem with a code of extend_rect method, I think: it causes second and third Radio to be drawn very large. I have changed the code as below:
void extend_rect(Rect &r)
{
r.sx = std::max(r.sx, /_x + */sx);
r.sy = std::max(r.sy, /_y + */sy);
}
and it is now ok, but I wondering how does it worked before?
Regards
Pawel
What's the status of the framework? Is there a plan to keep working on it?
I spent quite a bit of time to get it working on Windows 10 and I can report the following:
How does it compare to https://blogs.gnome.org/clutter/ ? If one was to add widgets to cluter, what would be the difference? I am mostly interested to compare ease of use from a "business" level application perspective, not a game.
I think all in all it is a very nice library. Very easy to follow even if I my OpenGL background is very weak.
Thanks
Hi. i'm on void linux and try to compile your SDL_gui/tests/0100_GUI_App sample via cmake. first create makefiles via: cmake .
, and then make:
╰ make
Scanning dependencies of target app
[ 2%] Building CXX object CMakeFiles/app.dir/home/linarcx/Temp/SDL_gui/tests/0100_GUI_App/src/main.cpp.o
[ 5%] Building CXX object CMakeFiles/app.dir/home/linarcx/Temp/SDL_gui/SDL2_ttf_HarfBuzz/SDL_ttf.cpp.o
[ 8%] Building C object CMakeFiles/app.dir/home/linarcx/Temp/SDL_gui/SDL2_gfx/SDL2_gfxPrimitives.c.o
[ 11%] Building C object CMakeFiles/app.dir/home/linarcx/Temp/SDL_gui/SDL2_gfx/SDL2_rotozoom.c.o
[ 14%] Building CXX object CMakeFiles/app.dir/home/linarcx/Temp/SDL_gui/SDL2_gui/SDL_gui.cpp.o
[ 17%] Building CXX object CMakeFiles/app.dir/home/linarcx/Temp/SDL_gui/SDL2_gui/GUI_Utils.cpp.o
[ 20%] Building CXX object CMakeFiles/app.dir/home/linarcx/Temp/SDL_gui/SDL2_gui/GUI_shapes.cpp.o
[ 23%] Building CXX object CMakeFiles/app.dir/home/linarcx/Temp/SDL_gui/SDL2_gui/GUI_View.cpp.o
[ 26%] Building CXX object CMakeFiles/app.dir/home/linarcx/Temp/SDL_gui/SDL2_gui/GUI_ImageView.cpp.o
[ 29%] Building CXX object CMakeFiles/app.dir/home/linarcx/Temp/SDL_gui/SDL2_gui/GUI_image.cpp.o
[ 32%] Building CXX object CMakeFiles/app.dir/home/linarcx/Temp/SDL_gui/SDL2_gui/GUI_TextView.cpp.o
[ 35%] Building CXX object CMakeFiles/app.dir/home/linarcx/Temp/SDL_gui/SDL2_gui/GUI_Fonts.cpp.o
[ 38%] Building CXX object CMakeFiles/app.dir/home/linarcx/Temp/SDL_gui/SDL2_gui/GUI_IconView.cpp.o
[ 41%] Building CXX object CMakeFiles/app.dir/home/linarcx/Temp/SDL_gui/SDL2_gui/GUI_Label.cpp.o
[ 44%] Building CXX object CMakeFiles/app.dir/home/linarcx/Temp/SDL_gui/SDL2_gui/GUI_Button.cpp.o
[ 47%] Building CXX object CMakeFiles/app.dir/home/linarcx/Temp/SDL_gui/SDL2_gui/GUI_CheckBox.cpp.o
[ 50%] Building CXX object CMakeFiles/app.dir/home/linarcx/Temp/SDL_gui/SDL2_gui/GUI_RadioButton.cpp.o
[ 52%] Building CXX object CMakeFiles/app.dir/home/linarcx/Temp/SDL_gui/SDL2_gui/GUI_RadioButtonGroup.cpp.o
[ 55%] Building CXX object CMakeFiles/app.dir/home/linarcx/Temp/SDL_gui/SDL2_gui/GUI_List.cpp.o
[ 58%] Building CXX object CMakeFiles/app.dir/home/linarcx/Temp/SDL_gui/SDL2_gui/GUI_ScrollView.cpp.o
[ 61%] Building CXX object CMakeFiles/app.dir/home/linarcx/Temp/SDL_gui/SDL2_gui/GUI_EditText.cpp.o
[ 64%] Building CXX object CMakeFiles/app.dir/home/linarcx/Temp/SDL_gui/SDL2_gui/GUI_TextUtil.cpp.o
[ 67%] Building CXX object CMakeFiles/app.dir/home/linarcx/Temp/SDL_gui/SDL2_gui/GUI_App.cpp.o
[ 70%] Building CXX object CMakeFiles/app.dir/home/linarcx/Temp/SDL_gui/SDL2_gui/GUI_TopBar.cpp.o
[ 73%] Building CXX object CMakeFiles/app.dir/home/linarcx/Temp/SDL_gui/SDL2_gui/GUI_StatusBar.cpp.o
[ 76%] Building CXX object CMakeFiles/app.dir/home/linarcx/Temp/SDL_gui/SDL2_gui/GUI_Menu.cpp.o
[ 79%] Building CXX object CMakeFiles/app.dir/home/linarcx/Temp/SDL_gui/SDL2_gui/GUI_MenuBar.cpp.o
[ 82%] Building CXX object CMakeFiles/app.dir/home/linarcx/Temp/SDL_gui/SDL2_gui/GUI_PopupView.cpp.o
[ 85%] Building CXX object CMakeFiles/app.dir/home/linarcx/Temp/SDL_gui/SDL2_gui/GUI_MessageBox.cpp.o
[ 88%] Building CXX object CMakeFiles/app.dir/home/linarcx/Temp/SDL_gui/SDL2_gui/GUI_Switch.cpp.o
[ 91%] Building CXX object CMakeFiles/app.dir/home/linarcx/Temp/SDL_gui/SDL2_gui/GUI_ComboBox.cpp.o
[ 94%] Building CXX object CMakeFiles/app.dir/home/linarcx/Temp/SDL_gui/SDL2_gui/GUI_Slider.cpp.o
[ 97%] Building CXX object CMakeFiles/app.dir/home/linarcx/Temp/SDL_gui/SDL2_gui/GUI_Config.cpp.o
[100%] Linking CXX executable app
/bin/ld: CMakeFiles/app.dir/home/linarcx/Temp/SDL_gui/SDL2_gfx/SDL2_gfxPrimitives.c.o: relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/bin/ld: CMakeFiles/app.dir/home/linarcx/Temp/SDL_gui/SDL2_gfx/SDL2_rotozoom.c.o: relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/bin/ld: final link failed: nonrepresentable section on output
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/app.dir/build.make:569: app] Error 1
make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/app.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.