636 Commits

Author SHA1 Message Date
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
Ray
4d0499c793 PNG size optimization 2018-09-25 14:18:55 +02: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
Ray
d00ec5219c
Update README.md 2018-09-05 23:49:44 +02:00
Ray
07113763e7 Reorganize folders and designs 2018-09-05 23:46:03 +02:00
raysan5
d4dcbb3bf0 Remove simple palette styles
Actually they can not be directly loaded...
2018-08-26 21:14:42 +02:00
raysan5
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
Ray
1656fd09ba Reviewed license formatting 2018-08-17 20:47:48 +02:00
Ray
e65923fc05 Remove tools folder 2018-08-17 20:47:36 +02:00
Ray
70bc8d47b3 Remove rGuiLayout tool
Moved to own repo: https://github.com/raysan5/rguilayout
2018-08-17 20:46:54 +02:00
Ray
c9b2ef9164 Remove rGuiStyler tool
Moved to own repo: https://github.com/raysan5/rguistyler
2018-08-17 20:45:29 +02:00
Ray
8d559d3d75 Removed release from repo 2018-08-16 12:34:02 +02:00
Ray
8a4818df01 Add support for controls table generation
This way you can just generate controls table to check your styling in a more visual way
2018-08-16 12:33:41 +02:00
Ray
4162202e4d
Update README.md 2018-08-16 10:57:39 +02:00
Ray
a117cc01ba Updated screenshots 2018-08-14 12:47:29 +02:00
Ray
424248d543 Updated version number 2018-08-14 12:19:53 +02:00
Ray
a6190b00a6
Update README.md 2018-07-21 13:47:07 +02:00
Ray
c82d5bffa8 Added new styles 2018-07-12 11:28:34 +02:00
Ray
18f41ba3cd Added table export functionality 2018-07-12 11:28:20 +02:00
Ray
9e6c19dd78 Renamed dev styles 2018-07-12 11:27:59 +02:00
Ray
2a8eb1c56f Merge branch 'master' of https://github.com/raysan5/raygui 2018-07-11 17:20:15 +02:00
Ray
290711f47b Review logo colors
Softer gray color
2018-07-11 17:19:55 +02:00
Ray
045c9d434e
Merge pull request #11 from 0xFireball/master
update raygui to use GetFontDefault()
2018-07-10 18:18:38 +02:00
0xFireball
487c924807
update raygui to use GetFontDefault() 2018-07-10 11:15:42 -05:00
Ray
2252aa54b7
Update README.md 2018-06-14 10:45:29 +02:00
Ray San
2fd66229b6 Some styles in development... 2018-06-12 18:01:34 +02:00
Ray San
ed058721a7 Reviewed layouts 2018-06-12 17:52:10 +02:00
Ray
fa8916faea Created own window test file
- Still in progress. Dragging it with mouse works but position is not recalculated properly.
2018-06-07 14:02:16 +02:00
Ray
c6d48e9611 rGuiLayout: Fixed errors
- Code export: GuiComboBox() -> Additional space in front of parameter *List
- Code export: Additional variable *Count not required (!fullVariables mode)
2018-06-04 13:46:20 +02:00
Ray
640de96d41 Uploaded latest version v1.1 2018-06-02 19:51:26 +02:00
Ray
09b611c11e Review comments 2018-06-02 18:28:07 +02:00
Ray
651322600a Some tweaks and details
Added image border on mouse hover
2018-05-30 23:49:59 +02:00
Ray
865c4192cd Reviewed issue with import path
Removed old file version
2018-05-30 23:49:19 +02:00
Ray
79b5f1efcf Fixed custom options order
- The custom option is the first one to appear, followed by pressets
2018-05-30 13:55:45 +02:00
Ray
1f1d4afdf0 Image exporter: multiple tool improvements
- Created multiple functions to export to: .png, .raw and .h
- Image loading
- Image zoom
- Created resources folder with some images(for testing)
2018-05-30 13:54:28 +02:00
Ray
471c200b06 image exporter: Improving tool -WIP-
- Working on settings change for exporting to different formats
2018-05-29 14:00:16 +02:00
Ray
3cb6a9ba92 raw importer: Improved tool
- Added pixel formats supported
- Added button functions
2018-05-29 13:57:50 +02:00
Ray
6894f7dcf3 rGuiLayout: replaced tabs by spaces 2018-05-29 09:58:58 +02: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
37f52b71f4 Reviewed layout desing 2018-05-29 09:54:54 +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
4b1d00109c Palette panel collision
- Preview control now hides if is colliding with the palette panel
2018-05-28 13:50:20 +02:00
Ray
9717a11942 Fixed exitWindow error 2018-05-28 13:48:33 +02:00
Ray
18fd0cbc80 Added array navigation for text edition
- Navigation through array with arrows
- When writting in a position, array moves forward
- Delete removes current character and moves array backwards
2018-05-24 14:13:14 +02:00
Ray
4017e48b1a Implemented new layout design 2018-05-24 14:10:10 +02:00