744 Commits

Author SHA1 Message Date
Ray
40575978b2 Update controls_test_suite.c 2018-12-03 16:17:31 +01:00
Ray
619eecd157 Avoid memory leak...
...by allocating style as a global array (on heap memory by default).

When trying to access guiStyle, if default style was not previously loaded, it loads automatically (RAII)
2018-12-03 16:17:24 +01:00
Ray
4c81641aba Added GuiToggleGroupEx()
Improved GuiToggleGroup()
2018-11-28 17:17:14 +01:00
Sergio Martínez
330a8db463 WINDOW_STATUSBAR_HEIGHT 2018-11-27 13:30:46 +01:00
Ray
00cecf4bc0 Removed GuiLoadPaletteImage()
After lot of thinking and despite being an interesting functionality, I decide to remove this function, it was quite limited (only default style, no value properties...) and not that useful. It also added additional dependencies on Image loading/unloading functions. Let users implement this function if they want it...
2018-11-26 01:16:05 +01:00
Ray
009913c408 Some code tweaks 2018-11-26 00:58:48 +01:00
Ray
5473b79da1 Create GuiSliderPro() to be usde on all GuiSlider*() 2018-11-26 00:27:42 +01:00
Ray
1dfc2882ef Redesigned GuiLoadStylePalette()
- Renamed to GuiLoadStyleProps()
 - Support style properties array loading
2018-11-21 17:42:43 +01:00
Ray
13b78e8149 Corrected issue with DEFAULT_TEXT_SIZE 2018-11-20 23:27:26 +01:00
Ray
f167ca0370 Support custom font loading 2018-11-20 19:05:15 +01:00
Ray
1ce8b64a65 Rename some defines 2018-11-20 13:07:01 +01:00
Ray
493022be66 Move some properties to default 2018-11-20 12:18:34 +01:00
Ray
49ca08db05 Review some controls
- GuiComboBox() - Define selector width and spacing
 - GuiTextBox() - Review cursor size
2018-11-20 11:58:54 +01:00
Sergio Martínez
a48b74cde0 Added guicombobox to controls_test_suite.c 2018-11-20 11:21:41 +01:00
Ray
1f1a28eda3 Remove gui style file saving
Format is being redesigned and functionality moved to rGuiStyler tool
2018-11-14 16:20:26 +01:00
Sergio Martínez
b0c36d29c3 Drag window corrected issue 2018-11-14 12:15:45 +01:00
Ray
0764d3de04 Update some code 2018-11-14 11:20:53 +01:00
Ray
6f12e81ee7 Review SaveStyle() and tweaks 2018-11-13 18:16:37 +01:00
Ray
a14a2f2989 Complete redesign of styling system 2018-11-13 12:56:12 +01:00
Ray
1fa1e001ff Minor tweaks to correct issues 2018-11-09 18:58:15 +01:00
Ray
166c534c62 Added GuiLabelEx() 2018-11-08 14:44:15 +01:00
Ray
740d253bc5 Review version numbering
After some thinking and considering that library is still being reviewed and current version suppose a complete redesign comparing to previous versions, we considered that NEW version deserves a major number change instead of minor. So, next raygui will be 2.0.
2018-11-08 10:53:24 +01:00
Ray
d19474ea1e Increase software version to 2.1-dev 2018-11-08 10:45:42 +01:00
Ray
76d5234858 Reviewed raygui examples 2018-11-08 10:41:31 +01:00
Ray
6e0798fb18 Review GuiCheckBox()
- GuiCheckBox() uses GuiCheckBoxEx()
2018-11-08 10:04:36 +01:00
Ray
e75bf28195 Reuse code properly
- GuiSlider() uses GuiSliderEx()
 - GuiSliderBar() uses GuiSLiderBarEx()
 - GuiProgressBar() uses GuiProgressBarEx()
2018-11-08 09:44:29 +01:00
Ray
91a8e28695 Corrected issue 2018-11-07 18:12:39 +01:00
Sergio Martínez
f8d4d4620b GuiListViewEx updated 2018-11-07 17:55:09 +01:00
Ray
da19c6305a Spacing and code tweaks 2018-11-06 15:50:31 +01:00
Sergio Martínez
1052e6a4cb GuiListViewEx return focused element. Changing how the active elements draws when you are not editing the listview. 2018-10-31 14:36:36 +01:00
Ray
18e27a0020 Corrected detail for compilation with C++ 2018-10-31 13:26:59 +01:00
Sergio Martínez
7ec15c58e8 GuiListViewEx: Use a elements enable list.
controls_review.c updated
2018-10-30 12:55:48 +01:00
Sergio Martínez
82ccf18759 GuiListViewEx WIP 2018-10-29 19:41:51 +01:00
Ray
a85979661f REviewed functions definition modifiers 2018-10-24 22:28:57 +02:00
Sergio Martínez
37634a5ec4 GuiListView background 2018-10-24 19:30:53 +02:00
Sergio Martínez
a0f763e702 Dropdown bug fixed: When select an active item, the dropdown didn't close. 2018-10-24 14:05:55 +02:00
Sergio Martínez
dbb75f37b0 GuiDropdownBox usage changed 2018-10-24 12:51:14 +02:00
Sergio Martínez
d185ec65bc GuiListElement & GuiDropdownBox review. Another little changes in other functions. 2018-10-24 12:45:04 +02:00
Sergio Martínez
70c6eef9d1 GuiCheckBoxEx and GuiLabelButton review 2018-10-23 17:44:44 +02:00
Sergio Martínez
f4c043f302 remove LOCKED state. Create guiLocked boolean. Improve FOCUSED state. 2018-10-23 13:11:22 +02:00
Ray
16193a35b0 Some security checks on font loading 2018-10-18 17:48:01 +02:00
Ray
8c7bd96b19 Testing fonts
Some minor tweaks
2018-10-18 17:19:09 +02:00
Ray
7caf85c2aa Added support for custom fonts 2018-10-18 16:05:16 +02:00
Sergio Martínez
60e8122b80 GuiListView improvements 2018-10-17 18:40:08 +02:00
Sergio Martínez
4f0205e650 GuiListView review!!! WIP yet... 2018-10-17 12:22:12 +02:00
Sergio Martínez
4e9f22db11 Merge 2018-10-16 17:44:01 +02:00
Sergio Martínez
10601cc223 GuiListView wip 2018-10-16 17:43:46 +02:00
Sergio Martínez
296bc577f5 Custom_font WIP 2018-10-16 13:07:34 +02:00
Sergio Martínez
8c9b654fbb Dropdown review and new state LOCKED, new functions GuiLock(), GuiUnlock(). 2018-10-16 12:34:45 +02:00
Sergio Martínez
a126b883b0 GuiListView: Start to review WIP 2018-10-10 18:14:53 +02:00