Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mzprog/sgk
a new tools for GUI under SDL
https://github.com/mzprog/sgk
c gui sdl2
Last synced: about 2 months ago
JSON representation
a new tools for GUI under SDL
- Host: GitHub
- URL: https://github.com/mzprog/sgk
- Owner: mzprog
- License: gpl-2.0
- Created: 2018-01-04T15:53:05.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-07-13T12:51:18.000Z (over 4 years ago)
- Last Synced: 2023-10-20T08:14:11.638Z (about 1 year ago)
- Topics: c, gui, sdl2
- Language: C
- Homepage:
- Size: 581 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Welcome to the SGK wiki!
### SGK is a Simple GUI Kit, used to create forms.
## Brief Introduction
you can use `SGK_Container` to represent some widgets in a specific layout,
we have defined some Widgets:
`SGK_Button`, `SGK_InputBox`, `SGK_RadioButton`, `SGK_CheckBox`## How to use it
library is still under development and testing, so you can read the header files, it's still easy to understand with comments.
also you can read test files from `test` directory, it will help a lot.
## Install and test
to compile the library, just simply type :
make
make intall
to test the library type for example:make test/system-test.out # or another target
cd test # because ttf file is inside the test directory, we will fix it later
./system-test.out
read `Makefile` to get the target available
# TODO list
1. Add events structure and event handler.
2. Add and Update more Containers Layout.
3. Add System global variable to save current Data like Active input texts and running states.