Ray
4676578063
BIG REFACTOR! Simplified all controls drawing!
...
Most drawing code was almos the same for all control states, only change was colors. Drawing was simplified to automatically pick right color in function of state and control property style element.
This change adds some complexity to drawing code but really removes lot of duplicate code.
2019-02-12 17:55:36 +01:00
Demizdor
04d441604e
Fixed bug in GuiScrollBar()
2019-02-12 18:47:00 +02:00
Demizdor
db3753dd94
Update Scroll Panel Example
2019-02-12 18:38:47 +02:00
Ray
af7a2d1993
Some code review
...
- Renamed some properties
- Reviewed GuiScrollBar()
- Reviewed GuiPanel()
2019-02-12 16:45:40 +01:00
Ray
87295a1fca
Reviewed GuiStatusBar()
2019-02-12 13:49:49 +01:00
Ray
73565b1907
Added GuiTextSplit()
2019-02-12 12:54:26 +01:00
Ray
a09c3cd5bb
Reviewed GuiScrollPanel()
...
Added example
2019-02-11 09:28:05 +01:00
Ray
7228260ef6
Merge pull request #26 from Demizdor/improved_scroll_panel
...
Improved GuiScrollPanel()
2019-02-11 09:12:07 +01:00
Demizdor
75adea8245
Improved GuiScrollPanel()
2019-02-10 22:03:57 +02:00
Ray
8a13b16246
Working on issue #22 -WIP-
...
Trying to remove styling elements from functions
2019-02-08 12:52:26 +01:00
Ray
d0f6f6c89d
Update ricons.h
2019-02-07 13:52:56 +01:00
Ray
a71bc820c3
REMOVE: GuiLabelEx()
...
Text alignment and padding styling moved out
2019-02-06 19:55:20 +01:00
Ray
33f033add3
ADDED: Custom icons support -WIP-
...
RICONS already working with GuiButton()... but other controls should be adapted for this amazing feature!
2019-02-06 19:50:49 +01:00
Ray
f6fee61aa8
Update controls_test_suite.c
2019-02-05 19:20:34 +01:00
Ray
4f9a660c33
Merge pull request #25 from Demizdor/adding_scrollbar
...
Added GuiScrollBar()
2019-02-03 20:35:47 +01:00
Ray
f53cdb737b
Keep NUM_CONTROLS as a define
...
Despite proposed solution is probably better, I prefer old approximation to be more simple and clear.
2019-02-03 20:35:25 +01:00
Ray
ebf0a78005
Update raygui.h
2019-02-03 20:32:40 +01:00
Demizdor
a9813feb66
Added GuiScrollBar()
2019-02-03 10:26:23 +02:00
Ray
08d31730f6
Update raygui.h
2019-01-17 15:55:34 +01:00
Ray
b28acea720
Removed GuiSlider() and GuiSLiderBarEx()
2019-01-17 13:47:40 +01:00
Ray
3bf1d5d7c3
Renamed variable
2019-01-17 10:36:28 +01:00
Ray
972e7f403b
Updated GuiListView()
2019-01-16 17:21:11 +01:00
Ray
9419a600d7
Review GuiScrollPanel() and GuiListViewEx()
2019-01-16 09:58:13 +01:00
Ray
adf03f9877
Try to support grid lines sub-pixel positioning
...
No simple solution to this issue...
2019-01-15 16:28:54 +01:00
Ray
947c1abb48
Update README.md
2019-01-11 15:27:31 +01:00
Ray
25b784f6cc
Remove old style files
2019-01-09 23:46:01 +01:00
Ray
f437ded181
Create raygui_style_table_cyber_REV0.png
2019-01-09 23:45:22 +01:00
Ray
ef9eb883d9
Implementing GuiScrollPanel() -WIP-
2019-01-09 00:43:33 +01:00
raysan5
0adc948ec1
Update function names
2018-12-26 14:31:15 +01:00
raysan5
2956e4aa7b
GuiTextBox(): Support european characters
...
New issue detected, european characters size is not properly detected.
2018-12-25 15:20:54 +01:00
raysan5
5f978ca5df
Review spacing
2018-12-24 11:47:23 +01:00
raysan5
8a3a1020dc
Change parameters order
...
to be consistent with other controls
2018-12-23 15:49:16 +01:00
raysan5
a67c2745bf
WARNING: BREAKING CHANGES
...
REMOVED: GuiCheckBoxEx()
REDESIGNED: GuiCheckBox()
REDESIGNED: GuiComboBox()
REDESIGNED: GuiDropdownBox()
REDESIGNED: GuiToggleGroup()
2018-12-23 14:23:56 +01:00
Ray
52f62c2208
Testing a possible controls improvement
...
Applicable to ToggleGroup, ComboBox, DropdownBox
2018-12-21 12:43:12 +01:00
Ray
46ddc88856
Update raygui.h
2018-12-19 15:31:55 +01:00
Ray
c93dbd1af4
Remove comment
...
TEXT_SIZE and TEXT_SPACING are global values, common for all controls
2018-12-12 11:52:47 +01:00
Ray
5e903329af
Some minor tweaks
2018-12-04 00:42:47 +01:00
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
Sergio Martínez
773c895af9
GuiValueBox, GuiTextBox, GuiTextBoxMulti minor changes.
2018-10-10 17:12:01 +02:00
Sergio Martínez
e545995375
GuiTextBoxMulti review
2018-10-10 13:58:16 +02:00
Sergio Martínez
29b6071d94
GuiSpinner, GuiValueBox and GuiTextBox review
2018-10-09 13:46:13 +02:00
Sergio Martínez
c1b60fe6b1
Starting controls_review.
2018-10-09 11:58:04 +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
04c509bb2d
Merge pull request #18 from ChrisDill/patch-2
...
Fix dropOpen reset and added dllexport
2018-09-26 16:39:54 +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
ChrisDill
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
ChrisDill
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
Ray
012628a94a
Merge pull request #17 from ChrisDill/patch-1
...
Only run dropdown collision check if dropdown open
2018-09-26 15:57:44 +02:00
ChrisDill
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