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
af7a2d1993
Some code review
...
- Renamed some properties
- Reviewed GuiScrollBar()
- Reviewed GuiPanel()
2019-02-12 16:45:40 +01:00
87295a1fca
Reviewed GuiStatusBar()
2019-02-12 13:49:49 +01:00
73565b1907
Added GuiTextSplit()
2019-02-12 12:54:26 +01:00
a09c3cd5bb
Reviewed GuiScrollPanel()
...
Added example
2019-02-11 09:28:05 +01:00
75adea8245
Improved GuiScrollPanel()
2019-02-10 22:03:57 +02:00
8a13b16246
Working on issue #22 -WIP-
...
Trying to remove styling elements from functions
2019-02-08 12:52:26 +01:00
d0f6f6c89d
Update ricons.h
2019-02-07 13:52:56 +01:00
a71bc820c3
REMOVE: GuiLabelEx()
...
Text alignment and padding styling moved out
2019-02-06 19:55:20 +01:00
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
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
ebf0a78005
Update raygui.h
2019-02-03 20:32:40 +01:00
a9813feb66
Added GuiScrollBar()
2019-02-03 10:26:23 +02:00
08d31730f6
Update raygui.h
2019-01-17 15:55:34 +01:00
b28acea720
Removed GuiSlider() and GuiSLiderBarEx()
2019-01-17 13:47:40 +01:00
3bf1d5d7c3
Renamed variable
2019-01-17 10:36:28 +01:00
972e7f403b
Updated GuiListView()
2019-01-16 17:21:11 +01:00
9419a600d7
Review GuiScrollPanel() and GuiListViewEx()
2019-01-16 09:58:13 +01:00
adf03f9877
Try to support grid lines sub-pixel positioning
...
No simple solution to this issue...
2019-01-15 16:28:54 +01:00
ef9eb883d9
Implementing GuiScrollPanel() -WIP-
2019-01-09 00:43:33 +01:00
0adc948ec1
Update function names
2018-12-26 14:31:15 +01:00
2956e4aa7b
GuiTextBox(): Support european characters
...
New issue detected, european characters size is not properly detected.
2018-12-25 15:20:54 +01:00
5f978ca5df
Review spacing
2018-12-24 11:47:23 +01:00
8a3a1020dc
Change parameters order
...
to be consistent with other controls
2018-12-23 15:49:16 +01:00
a67c2745bf
WARNING: BREAKING CHANGES
...
REMOVED: GuiCheckBoxEx()
REDESIGNED: GuiCheckBox()
REDESIGNED: GuiComboBox()
REDESIGNED: GuiDropdownBox()
REDESIGNED: GuiToggleGroup()
2018-12-23 14:23:56 +01:00
52f62c2208
Testing a possible controls improvement
...
Applicable to ToggleGroup, ComboBox, DropdownBox
2018-12-21 12:43:12 +01:00
46ddc88856
Update raygui.h
2018-12-19 15:31:55 +01:00
c93dbd1af4
Remove comment
...
TEXT_SIZE and TEXT_SPACING are global values, common for all controls
2018-12-12 11:52:47 +01:00
5e903329af
Some minor tweaks
2018-12-04 00:42:47 +01:00
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
4c81641aba
Added GuiToggleGroupEx()
...
Improved GuiToggleGroup()
2018-11-28 17:17:14 +01:00
330a8db463
WINDOW_STATUSBAR_HEIGHT
2018-11-27 13:30:46 +01:00
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
009913c408
Some code tweaks
2018-11-26 00:58:48 +01:00
5473b79da1
Create GuiSliderPro() to be usde on all GuiSlider*()
2018-11-26 00:27:42 +01:00
1dfc2882ef
Redesigned GuiLoadStylePalette()
...
- Renamed to GuiLoadStyleProps()
- Support style properties array loading
2018-11-21 17:42:43 +01:00
13b78e8149
Corrected issue with DEFAULT_TEXT_SIZE
2018-11-20 23:27:26 +01:00
f167ca0370
Support custom font loading
2018-11-20 19:05:15 +01:00
1ce8b64a65
Rename some defines
2018-11-20 13:07:01 +01:00
493022be66
Move some properties to default
2018-11-20 12:18:34 +01:00
49ca08db05
Review some controls
...
- GuiComboBox() - Define selector width and spacing
- GuiTextBox() - Review cursor size
2018-11-20 11:58:54 +01:00
1f1a28eda3
Remove gui style file saving
...
Format is being redesigned and functionality moved to rGuiStyler tool
2018-11-14 16:20:26 +01:00
0764d3de04
Update some code
2018-11-14 11:20:53 +01:00
6f12e81ee7
Review SaveStyle() and tweaks
2018-11-13 18:16:37 +01:00
a14a2f2989
Complete redesign of styling system
2018-11-13 12:56:12 +01:00
1fa1e001ff
Minor tweaks to correct issues
2018-11-09 18:58:15 +01:00
166c534c62
Added GuiLabelEx()
2018-11-08 14:44:15 +01:00
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
d19474ea1e
Increase software version to 2.1-dev
2018-11-08 10:45:42 +01:00
6e0798fb18
Review GuiCheckBox()
...
- GuiCheckBox() uses GuiCheckBoxEx()
2018-11-08 10:04:36 +01:00