1171 Commits

Author SHA1 Message Date
raysan5
845cf9559e Update raygui 2019-07-28 16:20:00 +02:00
Leandro Gabriel
79b49afe17 Update year of copyright notices and fix typo (#46)
* Update year of copyright notices

And add missing license information to image_exporter.c

* Fix typo ("immedite")
2019-07-24 01:09:06 +02:00
raysan5
2172192a73 Review spacing to follow raylib conventions
Renamed CURLY_INIT to CLITERAL (same as raylib)
2019-07-15 12:52:22 +02:00
Ray
f099d904c5
Merge pull request #44 from SasLuca/master
Patched raygui to make it both C and C++ compliant
2019-07-15 12:44:31 +02:00
SasLuca
2ec850b692 Patched raygui to make it both C and C++ compliant by fixing errors regarding curly initialisation and int to float conversions. 2019-07-14 22:33:15 +03:00
Ray
f157062acd Review examples 2019-07-05 20:47:15 +02:00
Ray
511c2254c9 Update examples 2019-07-03 01:29:18 +02:00
Ray
a33d53cd75 Simplify STANDALONE mode dependencies 2019-07-03 01:29:06 +02:00
Ray
5377c93dad
Merge pull request #42 from yashrk/master
GuiTextBoxGetState() and GuiTextBoxSetState() types fixed
2019-07-01 18:07:32 +02:00
Yuriy Shirokov
400ab96d99 GuiTextBoxGetState() and GuiTextBoxSetState() types fixed 2019-07-01 10:22:49 +03:00
Ray
9440a2d502
Merge pull request #41 from simonwashere/color-panel-hue
Color panel hue
2019-06-30 18:30:23 +02:00
Simon
4096ed02b5 set hue on color panel 2019-06-30 11:13:26 +01:00
Simon
c20fc9f486
Merge pull request #1 from raysan5/master
update
2019-06-28 10:29:23 +01:00
Ray
9c32d6cc13
Merge pull request #38 from simonwashere/standalone-changes
standalone integration improvements
2019-06-27 23:04:37 +02:00
Simon
1266a81360 removed dummy function implementations 2019-06-27 20:27:39 +01:00
Ray
e50ffd9242
Merge pull request #37 from simonwashere/fix-textbox-bug
fix textbox bug
2019-06-27 20:39:06 +02:00
Simon
c5c7afa293 fix textbox bug 2019-06-27 19:26:15 +01:00
Ray
4401da21f0 Support styles loading with drag and drop 2019-06-25 18:40:02 +02:00
Ray
75769bdd6b Support font loading on text RGS 2019-06-25 18:39:46 +02:00
Ray
26b7709f86 Some tweaks and comments 2019-06-25 12:46:20 +02:00
Ray
213f74148d Review guiFont usage 2019-06-19 15:32:07 +02:00
Ray
3fbcd6d9bc Review binary rgs file loading
Including font support
2019-06-19 00:58:34 +02:00
Ray
a479c74d4c Review styles 2019-06-18 17:59:43 +02:00
Ray
4112e846c4 Review style usage on SLIDERS and TEXTBOX 2019-06-18 17:59:22 +02:00
Ray
ce4d487642 Reorder some controls info for consistency 2019-06-18 13:30:26 +02:00
Ray
88972a52b0 Corrected issue on properties reading 2019-06-17 19:20:07 +02:00
Ray
14670bc30f Propagate DEFAULT properties on loading 2019-06-17 18:49:41 +02:00
Ray
7c580ffd01 Reviewed style loading code 2019-06-16 12:29:45 +02:00
Ray
a392f059fa Support text rgs file loading 2019-06-14 18:42:14 +02:00
Ray
c921ac88b8 Remove tabs 2019-06-14 17:32:24 +02:00
Ray
fa387dab37 New control proposal: GuiTextInputBox() 2019-06-14 13:57:25 +02:00
Ray
70d9192915
Merge pull request #35 from mrjbq7/mrjbq7-patch-1
Fix typo in README.md.
2019-06-12 08:38:44 +02:00
John Benediktsson
21358e111b
Fix typo in README.md. 2019-06-11 20:04:54 -07:00
Ray
18a09a583f Updated versions with a more comprehensive scheme 2019-06-04 19:10:03 +02:00
Ray
9a9f5bcca3
Update README.md 2019-06-04 17:00:14 +02:00
Ray
f0fb642501
Update .gitignore 2019-06-04 15:49:35 +02:00
Ray
f9a7f29889
Merge pull request #34 from benbeshara/master
Fixed crash when editing textbox at non-end pos
2019-06-04 13:40:30 +02:00
Ben Beshara
308f916d9d Fixed crash when editing textbox at non-end pos 2019-06-04 21:16:29 +10:00
Ray
f4d243ea88 Added extended GuiTextBox() example 2019-05-29 18:21:10 +02:00
Ray
b0f3f49b28 Corrected potential issue 2019-05-28 17:02:39 +02:00
Ray
10cc55548a Review latest PR
GuiTextBox() redesign is a huge addition and extends old text box capabilities a lot... but it implied a big amount of new functions and code. Some user could not require that extended functionality, so, I allowed enabling it with a flag while keeping the old (and simpler) implementations.

I reviewed all the code formating but it requires a deeper analysis, probably some functions could be moved to raylib text module.
2019-05-28 16:59:43 +02:00
Ray
afb8bae96f
Merge pull request #32 from Demizdor/gui_textbox_wip2
WIP modified GuiTextBox(), GuiSpinner() and GuiValueBox()
2019-05-28 16:05:53 +02:00
Demizdor
c146b2d950 Right clicking outside the textbox bounds will deactivate it 2019-05-11 11:18:40 +03:00
Demizdor
5c54c464d0 Improved GuiSpinner() responsiveness when buttons are held 2019-05-10 18:35:27 +03:00
Demizdor
10a8ab6dff WIP modified GuiTextBox(), GuiSpinner() and GuiValueBox() 2019-05-10 15:06:26 +03:00
Ray
c87d801ac5 Move example to folder 2019-05-09 17:53:53 +02:00
Ray
1eae19f183 TEXT_SIZE is a global style property 2019-05-09 12:24:15 +02:00
Ray
2ebb9ddde1 Remove comments 2019-05-08 18:52:53 +02:00
Ray
3a172583de Remove trail spaces 2019-05-08 18:41:59 +02:00
Ray
e70706da41 Separate VALUEBOX, SPINNER properties 2019-05-06 23:13:52 +02:00
Ray
8b9e1ee94b Avoid rIcons code if not supported 2019-05-06 09:22:26 +02:00
Ray
a3a8e3dd5a Corrected issue with forced property 2019-05-05 12:51:27 +02:00
Ray
a2a3af31de Code review and formatting 2019-04-30 18:46:44 +02:00
Ray
c45e7ee524 Review Scrollbar properties name for consistency 2019-04-30 18:33:05 +02:00
Ray
4554fe571b
Update README.md 2019-04-29 10:13:36 +02:00
Ray
4925bbabe8 Added note 2019-04-11 00:19:12 +02:00
Ray
3aebab1029 Some small issues corrected
Make sure default style is not randomly changed by any control, every required GuiSetStyle() is reverted before leaving the control.
2019-04-01 23:58:47 +02:00
Ray
3bc66fe108 Added 2 new icons 2019-04-01 19:14:59 +02:00
Ray
b710c8ff79 Review detail 2019-03-27 17:50:28 +01:00
Ray
0c88d7c17b Corrected wrong style usage in BUTTON 2019-03-27 10:04:24 +01:00
Ray
ac88a7891e Added comment 2019-03-26 12:41:51 +01:00
Ray
7c9cdd0886 ADDED: GuiIconText()
Useful to retrieve text with icon just using icon enum id
2019-03-11 15:13:57 +01:00
Ray
e9e05fcb2d Added some icons and moved others 2019-03-11 15:12:53 +01:00
raysan5
6b7352bc6c Added mouse wheel scroll to GuiScrollPanel()
Reviewed GuiWindow() top status bar
2019-03-04 12:45:55 +01:00
Ray
498cea4ad3 Review GuiSliderPro() 2019-02-28 23:07:06 +01:00
Ray
14182fe475 Added functions definition placeholder 2019-02-28 12:10:47 +01:00
Ray
bbcf2e9507 Review standalone mode
Still, Font management is very specific to raylib...
2019-02-28 11:34:43 +01:00
Ray
7cd660176b Update GuiStatusBar() 2019-02-25 02:06:46 +01:00
Ray
283f599c4b Update controls_test_suite.c 2019-02-22 19:18:09 +01:00
Ray
732edd9764 REDESIGNED: GuiMessageBox() 2019-02-22 18:33:35 +01:00
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
Demizdor
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
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