Commit Graph

111 Commits

Author SHA1 Message Date
a0f763e702 Dropdown bug fixed: When select an active item, the dropdown didn't close. 2018-10-24 14:05:55 +02:00
dbb75f37b0 GuiDropdownBox usage changed 2018-10-24 12:51:14 +02:00
d185ec65bc GuiListElement & GuiDropdownBox review. Another little changes in other functions. 2018-10-24 12:45:04 +02:00
70c6eef9d1 GuiCheckBoxEx and GuiLabelButton review 2018-10-23 17:44:44 +02:00
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
60e8122b80 GuiListView improvements 2018-10-17 18:40:08 +02:00
4f0205e650 GuiListView review!!! WIP yet... 2018-10-17 12:22:12 +02:00
4e9f22db11 Merge 2018-10-16 17:44:01 +02:00
10601cc223 GuiListView wip 2018-10-16 17:43:46 +02:00
296bc577f5 Custom_font WIP 2018-10-16 13:07:34 +02:00
8c9b654fbb Dropdown review and new state LOCKED, new functions GuiLock(), GuiUnlock(). 2018-10-16 12:34:45 +02:00
a126b883b0 GuiListView: Start to review WIP 2018-10-10 18:14:53 +02:00
773c895af9 GuiValueBox, GuiTextBox, GuiTextBoxMulti minor changes. 2018-10-10 17:12:01 +02:00
e545995375 GuiTextBoxMulti review 2018-10-10 13:58:16 +02:00
29b6071d94 GuiSpinner, GuiValueBox and GuiTextBox review 2018-10-09 13:46:13 +02:00
Ray
6e207931a1 Updated GuiGrid()
Now returns current selected cell
2018-10-03 00:07:47 +02:00
Ray
f567e34d58 Updated GuiGuid(): snap mode and lines color 2018-10-02 19:44:50 +02:00
Ray
40095dd7cc Merge branch 'master' into patch-2 2018-09-26 16:39:40 +02:00
Ray
1c92241aad Reviewed GuiDropdownBox()
It still uses a static variable... that's a problem when using multiple GuiDropdownBox() controls, when on dropdown is open, all will be open... need to find a better way to solve this...
2018-09-26 16:36:06 +02:00
f43a7bdddf Added dllexport to help with binding the library
- Added __declspec(dllexport) when compiled as c without RAYGUI_STATIC defined to test. Not sure if there is a better way but it works for what I need.
2018-09-26 15:19:54 +01:00
72f9950ce9 Forgot to include dropOpen reset
Reset dropOpen when dropdown closed. Forgot to add in previous commit
2018-09-26 15:06:03 +01:00
25f1730ae3 Only run dropdown collision check if dropdown open
- Added static bool dropOpen to track if the dropdown is currently open.
- Fixes bug where dropdown would change when closed if a element that overlaps is pressed.
2018-09-26 14:23:28 +01:00
Ray
0d16721b4d Code tweak
Solves issue with C++
2018-09-20 17:55:49 +02:00
Ray
b3f3a9fcc9 Corrected issue with grid bounds 2018-09-18 20:18:50 +02:00
61b34b1542 Some cleaning and tweaks
- Some code cleaning of unused variables
- Renamed GuiLoadStyleImage() to GuiLoadStylePaletteImage()
- Redesigned GuiLoadStylePalette() to load int values array
2018-08-26 20:58:00 +02:00
487c924807 update raygui to use GetFontDefault() 2018-07-10 11:15:42 -05:00
Ray
ffd66b3a90 raygui: Multiple changes
- Changed how GuiSlider() works
- GuiSliderEx() and GuiSliderBarEx() have focused/pressed feedback
2018-05-29 09:58:07 +02:00
Ray
0612b57389 Multiple raygui improvements
- Fixed GuiToggleGroup() round decimals when calculating  width
- Fixed ValueBox() Default color
- Changed how slider works -WIP-
2018-05-28 13:53:50 +02:00
Ray
a87663e16d Corrected some errors with styles 2018-05-24 13:56:55 +02:00
Ray
88d57b51e6 Renamed Spinner properties to ValueBox 2018-05-23 13:51:08 +02:00
Ray
77e9b3472c Added multiple changes
- Added GuiSliderEx and GuiProgressBarEx functions
- Text Edit: Support text delete while pressing backspace.
2018-05-23 12:13:23 +02:00
Ray
687fb283af Renamed some functions 2018-05-22 12:48:53 +02:00
Ray
5bf7e6da49 Fixed some errors
- Fixed GuiCheckBoxEx and GuiSliderBarEx text errors
- Removed alphaBar from colorPicker
2018-05-17 14:03:44 +02:00
Ray
c7d6bc3516 Added GuiCheckBoxEx() and GuiSliderBarEx()
- Added an extended version of checkBox that includes text
- Added an extended version of sliderBar that includes text and a bool to show its value
2018-05-15 14:01:53 +02:00
Ray
8242c27c95 Review definition 2018-05-10 18:44:12 +02:00
Ray
8a6e8ecd5e Added GuiTextBoxMultiline 2018-05-08 13:06:17 +02:00
8d8f4bf486 Updated comments 2018-05-07 10:08:48 +02:00
Ray
69cc3aa4c0 Review due to Rectangle float types 2018-05-04 23:54:14 +02:00
Ray
63401be1fd Code tweaks 2018-05-03 00:47:01 +02:00
c138713d23 Added, removed, moved funcs
- Added GuiScrollBar() and GuiGrid() -WIP-
- Removed GuiGet*Color() funcs, use GuiGetStyleProperty() instead
- Exposed GuiGetStyleProperty() and GuiSetStyleProperty()
2018-05-02 12:45:13 +02:00
Ray
04ae380349 Changed GuiPanel() color 2018-04-26 13:55:35 +02:00
Ray
a6cbf1eb24 Added controls, reorganize controls
- Added GuiLine()
- Added GuiPanel()
- Reorganized controls
- Renamed GuiBackgroundColor() and similar funcs
2018-04-25 14:02:21 +02:00
Ray
7c0dc38179 Updated border drawing, updated GuiFade(), improved GuiTextBox() 2018-04-24 13:56:47 +02:00
Ray
9d0f1a1236 Added GuiFade() - WIP - 2018-04-23 13:55:44 +02:00
Ray
e386248750 GuiTextBox() returns a bool 2018-04-19 13:58:40 +02:00
Ray
fbb11c9bf5 Changed GuiWindowBox() minimum height 2018-04-18 13:50:22 +02:00
Ray
203ed29b8c Added TextBox condition for writing 2018-04-18 10:44:03 +02:00