Commit Graph

601 Commits

Author SHA1 Message Date
Ray
5c8848c2c6 GuiMessageBox() -WIP- 2019-02-22 17:14:20 +01:00
Ray
705c3c47bd Change ternary operator formatting 2019-02-22 13:12:02 +01:00
Ray
87c9119dd4 Some tweaks and removed tabs 2019-02-22 12:11:44 +01:00
Ray
62514f2d6d Remove end-line spaces 2019-02-21 18:44:46 +01:00
Ray
ed0ed131b0 Review GuiWindowBox() 2019-02-21 12:09:47 +01:00
Ray
9ad9729fd8 Reviewed GuiCheckBox() 2019-02-21 11:24:26 +01:00
Ray
c8f4530f16 Redesigned RICON_INFO 2019-02-21 11:24:13 +01:00
Ray
8e8094aca9 Update ricons.h 2019-02-20 19:01:33 +01:00
Ray
174d5cf8bf Some code tweaks on GuiScrollPanel() 2019-02-20 19:01:21 +01:00
Ray
13eb597ae8 Some code tweaks 2019-02-18 18:06:36 +01:00
Ray
3eb7e57ee0 Added name identifier to rIcons 2019-02-15 12:45:18 +01:00
Ray
d51438d910 Some tweaks 2019-02-14 17:56:02 +01:00
Ray
1e730686c9 Some corrections and improvements 2019-02-14 17:02:02 +01:00
Ray
c357392577 Convert TEXT_ALIGNMENT into a control property
Now text alignment could be set by basic control type
2019-02-14 16:25:33 +01:00
Ray
70cf22dec8 REVIEWED: GuiLine(), GuiGroupBox() -WIP-
- GuiLine(): Removed thick style property parameter
 - GuiGroupBox(): Use new GuiLine()
2019-02-14 13:16:43 +01:00
Ray
5b1e5b747f Support rIcons drawing on all controls
A part of the rIcon support, also support custom text alignment... but I don't like current solution using a global guiTextAlign variable, probably it can be moved to a per-control property... but it would require passing that value to GuiDrawText()

Also GetTextWidth() should be modified to support rIcon size properly... current implementation could be improved...
2019-02-14 12:51:16 +01:00
Ray
28d565599e Merge pull request #28 from Demizdor/add_scrollbar_to_listview
Added GuiScrollBar() to GuiListViewEx()
2019-02-14 12:23:30 +01:00
52391d8e9a Added GuiScrollBar() to GuiListViewEx() 2019-02-13 20:26:55 +02:00
Ray
7a0335896c Improve rIcons support -WIP-
Some controls refactored
2019-02-12 18:38:55 +01:00
Ray
027ecb35f1 Merge pull request #27 from Demizdor/update_scrollpanel_example
Updated the scroll panel example
2019-02-12 18:30:06 +01:00
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
04d441604e Fixed bug in GuiScrollBar() 2019-02-12 18:47:00 +02:00
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
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
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
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