ColleagueRiley/RGFW
A lightweight single-header cross-platform library for general windowing
12 Releases
Latest: 6mo ago
RGFW 1.8.11.8.1Latest
📦 RGFW 1.8.1
- I also took inspiration from aspects of SDL’s user level API design that I found particularly well thought out.
- state checking functions renamed `RGFW_isPressed` -> `RGFW_keyPressed`
- RGFW_isKeyPressed / RGFW_isKeyReleased only checks if the key is pressed in that frame, is `RGFW_isKeyDown` if you want to know the current state.
- removed `RGFW_wasMousePressed` (`RGFW_isMouseReleased` / `RGFW_isMouseDown` should be used now)
- removed `RGFW_wasPressed` (`RGFW_isKeyReleased` / `RGFW_isKeyDown` should be used now)
- removed `RGFW_isClicked` (`RGFW_isKeyReleased` should be used now)
- removed `RGFW_sleep`
- removed `RGFW_checkFPS`
- + 176 more
📋 What's Changed
- Add win->exitKey by @ColleagueRiley in https://github.com/ColleagueRiley/RGFW/pull/146
- C++ fixes by @ColleagueRiley in https://github.com/ColleagueRiley/RGFW/pull/147
- fix set max/min window size (X11) by @ColleagueRiley in https://github.com/ColleagueRiley/RGFW/pull/150
- fix typo by @ColleagueRiley in https://github.com/ColleagueRiley/RGFW/pull/151
- minor changes by @ColleagueRiley in https://github.com/ColleagueRiley/RGFW/pull/152
- add RGFW_extensionSupported by @ColleagueRiley in https://github.com/ColleagueRiley/RGFW/pull/153
- replace the CVDisplayLink fallback with IOKit by @ColleagueRiley in https://github.com/ColleagueRiley/RGFW/pull/155
- reset keypress data on refocus and make sure mouse is regrabbed on refocus by @ColleagueRiley in https://github.com/ColleagueRiley/RGFW/pull/157
- + 191 more
✨ New Contributors
- @M374LX made their first contribution in https://github.com/ColleagueRiley/RGFW/pull/168
- @therealmarrakesh made their first contribution in https://github.com/ColleagueRiley/RGFW/pull/174
- @m-doescode made their first contribution in https://github.com/ColleagueRiley/RGFW/pull/178
- @uni-dos made their first contribution in https://github.com/ColleagueRiley/RGFW/pull/185
- @yehoravramenko made their first contribution in https://github.com/ColleagueRiley/RGFW/pull/193
- @CrackedPixel made their first contribution in https://github.com/ColleagueRiley/RGFW/pull/218
- @sleeptightAnsiC made their first contribution in https://github.com/ColleagueRiley/RGFW/pull/221
- @a740g made their first contribution in https://github.com/ColleagueRiley/RGFW/pull/264
- + 12 more
1.8.0 (pre-release)1.8.0-prePre-release
🐛 This is a pre-release so that way more bugs can be found and fixed for the real release.
- This release focuses on improving RGFW’s API while making its internals more stable and less prone to bugs.
- It also cleans up inconsistencies, reworks poor design choices, and removes non-essential features.
- I also took inspiration from aspects of SDL’s user level API design that I found particularly well thought out.
- state checking functions renamed `RGFW_isPressed` -> `RGFW_keyPressed`
- RGFW_isKeyPressed / RGFW_isKeyReleased only checks if the key is pressed in that frame, is `RGFW_isKeyDown` if you want to know the current state.
- removed `RGFW_wasMousePressed` (`RGFW_isMouseReleased` / `RGFW_isMouseDown` should be used now)
- removed `RGFW_wasPressed` (`RGFW_isKeyReleased` / `RGFW_isKeyDown` should be used now)
- removed `RGFW_isClicked` (`RGFW_isKeyReleased` should be used now)
- + 178 more
📋 What's Changed (auto gen)
- Add win->exitKey by @ColleagueRiley in https://github.com/ColleagueRiley/RGFW/pull/146
- C++ fixes by @ColleagueRiley in https://github.com/ColleagueRiley/RGFW/pull/147
- fix set max/min window size (X11) by @ColleagueRiley in https://github.com/ColleagueRiley/RGFW/pull/150
- fix typo by @ColleagueRiley in https://github.com/ColleagueRiley/RGFW/pull/151
- minor changes by @ColleagueRiley in https://github.com/ColleagueRiley/RGFW/pull/152
- add RGFW_extensionSupported by @ColleagueRiley in https://github.com/ColleagueRiley/RGFW/pull/153
- replace the CVDisplayLink fallback with IOKit by @ColleagueRiley in https://github.com/ColleagueRiley/RGFW/pull/155
- reset keypress data on refocus and make sure mouse is regrabbed on refocus by @ColleagueRiley in https://github.com/ColleagueRiley/RGFW/pull/157
- + 158 more
✨ New Contributors
- @M374LX made their first contribution in https://github.com/ColleagueRiley/RGFW/pull/168
- @therealmarrakesh made their first contribution in https://github.com/ColleagueRiley/RGFW/pull/174
- @m-doescode made their first contribution in https://github.com/ColleagueRiley/RGFW/pull/178
- @uni-dos made their first contribution in https://github.com/ColleagueRiley/RGFW/pull/185
- @yehoravramenko made their first contribution in https://github.com/ColleagueRiley/RGFW/pull/193
- @CrackedPixel made their first contribution in https://github.com/ColleagueRiley/RGFW/pull/218
- @sleeptightAnsiC made their first contribution in https://github.com/ColleagueRiley/RGFW/pull/221
- @a740g made their first contribution in https://github.com/ColleagueRiley/RGFW/pull/264
- + 9 more
RGFW v1.7.01.70
📋 Changes
- Rename `RGFW_window_checkFPS` to `RGFW_checkFPS`
- Change `RGFW_window_setShouldClose(RGFW_window)` to `RGFW_window_setShouldClose(RGFW_window, RGFW_BOOL)`
- Rename `RGFW_setMouseNotifyCallBack` → `RGFW_setMouseNotifyCallback`
- Rename `windowResizeCallback` → `windowResizedCallback`
- Rename `windowMoveCallback` → `windowMovedCallback`
- Change return type of `RGFW_getProcAddress` to `RGFW_proc`
- `event.inFocus` removed — use `RGFW_window_isInFocus()` instead
- Event Queue Rewrite
- + 67 more
RGFW v1.6.01.60
📋 Changes
- RGFW_monitorMode, allows gives the user more control the monitor's mode (size, refreshRate, RGB)
- lots of bug fixes
- more windowing functions and checking functions (floating, focus, aspectRatio, etc)
- RGFW_glHints and more OpenGL hint options (RGB, depth, robustness, release behavior, etc)
- more examples
- Replace `RGFW_window_setBufferPtr` and `RGFW_setBufferSize` with `RGFW_window_initBuffer`, `RGFW_window_initBufferSize` and `RGFW_window_initBufferPtr`
- add `vector` for raw mouse data (so `point` can be used to get the regular mouse point)
- RGFW_setGLHint and RGFW_glHints enum
- + 74 more
📋 What's Changed
- Debug Callback Implementation by @konopimi in https://github.com/ColleagueRiley/RGFW/pull/69
- Kpm vulkan pass mouse data to shader by @konopimi in https://github.com/ColleagueRiley/RGFW/pull/71
- X11 Clipboard rewrite by @ColleagueRiley in https://github.com/ColleagueRiley/RGFW/pull/72
- add support for extra mouse buttons by @ColleagueRiley in https://github.com/ColleagueRiley/RGFW/pull/77
- Window behavior review by @ColleagueRiley in https://github.com/ColleagueRiley/RGFW/pull/79
- review windowing by @ColleagueRiley in https://github.com/ColleagueRiley/RGFW/pull/80
- review opengl context creation by @ColleagueRiley in https://github.com/ColleagueRiley/RGFW/pull/82
- review monitor functions by @ColleagueRiley in https://github.com/ColleagueRiley/RGFW/pull/81
✨ New Contributors
- @konopimi made their first contribution in https://github.com/ColleagueRiley/RGFW/pull/69
- Full Changelog: https://github.com/ColleagueRiley/RGFW/compare/1.50...1.60
RGFW v1.5.01.50
📋 Changes
- gamepad rewrite
- keycode rewrite
- macOS gamepad support
- RGFW_allocator, RGFW_createWindowPtr, and better memory control
- monitor refinement
- A lot of bug fixes
- gamepad rewrite changes JS/Joystick -> gamepad
- clipboard is now freed by RGFW
- + 72 more
📋 What's Changed (pull requests)
- Fix casting warnings when building in MSVC by @JeffM2501 in https://github.com/ColleagueRiley/RGFW/pull/43
- fixed cross initialization with a jump to label in cpp by @DarekParodia in https://github.com/ColleagueRiley/RGFW/pull/44
- a more polished README.md by @TheYahton in https://github.com/ColleagueRiley/RGFW/pull/52
- unnecessary `static` keywords by @TheYahton in https://github.com/ColleagueRiley/RGFW/pull/54
- keycode rewrite by @ColleagueRiley in https://github.com/ColleagueRiley/RGFW/pull/53
- update RGFW gamepad support by @ColleagueRiley in https://github.com/ColleagueRiley/RGFW/pull/60
- Update simple example to add scancode by @zenitsuy in https://github.com/ColleagueRiley/RGFW/pull/61
- Gamepad update 2 by @ColleagueRiley in https://github.com/ColleagueRiley/RGFW/pull/62
- + 1 more
✨ New Contributors
- @meshula made their first contribution in https://github.com/ColleagueRiley/RGFW/pull/38
- @TheLastVoyager made their first contribution in https://github.com/ColleagueRiley/RGFW/pull/42
- @JeffM2501 made their first contribution in https://github.com/ColleagueRiley/RGFW/pull/43
- @DarekParodia made their first contribution in https://github.com/ColleagueRiley/RGFW/pull/44
- @TheYahton made their first contribution in https://github.com/ColleagueRiley/RGFW/pull/52
- @ColleagueRiley made their first contribution in https://github.com/ColleagueRiley/RGFW/pull/53
- @zenitsuy made their first contribution in https://github.com/ColleagueRiley/RGFW/pull/61
- Full Changelog: https://github.com/ColleagueRiley/RGFW/compare/1.06...1.50
RGFW 1.061.06
📋 Changes
- more opengl options (core vs comp, disable double buffer, samples defaults to 0)
- deleted unneeded functions
- Experimental Wayland support
- re-done Makefile, with
- More MSVC support
- c++ support
- nuklear example
- Metal example
- + 1 more
📋 What's Changed
- fix: window not at the front on macOS by @omnisci3nce in https://github.com/ColleagueRiley/RGFW/pull/29
- fix(msvc): cpp cast error, .rh header redefinition warnings by @lesleyrs in https://github.com/ColleagueRiley/RGFW/pull/30
- fix: gl33 example by @lesleyrs in https://github.com/ColleagueRiley/RGFW/pull/31
- fix(windows): don't show dummy window on start by @lesleyrs in https://github.com/ColleagueRiley/RGFW/pull/32
✨ New Contributors
- @omnisci3nce made their first contribution in https://github.com/ColleagueRiley/RGFW/pull/29
- @lesleyrs made their first contribution in https://github.com/ColleagueRiley/RGFW/pull/30
- Full Changelog: https://github.com/ColleagueRiley/RGFW/compare/1.05...1.06
RGFW 1.051.05
📋 Changes
- fixes a lot of bugs
- general quality of life/code updates
- HTML5 backend
- raw mouse input
RGFW 1.01.00
📋 What's Changed
- Update RGFW.h by @robrohan in https://github.com/ColleagueRiley/RGFW/pull/19
- Full Changelog: https://github.com/ColleagueRiley/RGFW/compare/0.99...1.00
RGFW binaries0.99
📋 What's Changed
- fixed issue with move and resize event on X11 by @Code-Nycticebus in https://github.com/ColleagueRiley/RGFW/pull/17
- Update RGFW.h by @robrohan in https://github.com/ColleagueRiley/RGFW/pull/18 (fixes bug with drag and drop data (X11))
- Keycodes are abstracted into an enum and a lookup table
- new events are added
✨ New Contributors
- @Code-Nycticebus made their first contribution in https://github.com/ColleagueRiley/RGFW/pull/17
- @robrohan made their first contribution in https://github.com/ColleagueRiley/RGFW/pull/18
- Full Changelog: https://github.com/ColleagueRiley/RGFW/compare/0.98...0.99
RGFW binaries0.98
**Full Changelog**: https://github.com/ColleagueRiley/RGFW/compare/0.91...0.98
RGFW binaries0.91
**Full Changelog**: https://github.com/ColleagueRiley/RGFW/compare/0.90...0.91
RGFW binaries0.90
