229 Commits

Author SHA1 Message Date
Ray
78f24a3868 Update text_editor.c 2021-06-23 09:59:37 +02:00
raysan5
d2752e9a47 Reviewed examples 2021-04-02 16:32:14 +02:00
Ray
6b216626ec Remove trailing spaces 2021-03-19 20:12:50 +01:00
Ray
a11fb5f38d Update image_raw_importer.c 2021-03-14 13:11:35 +01:00
Ray
ef99aafee9 Renamed some functions 2021-03-12 18:01:14 +01:00
Wirgiliusz
0cbbb48410
Fixed bug with stuck slide bars (#122)
Corrected arguments taken by GuiSliderBar functions that correspond to panelContentRec dimensions
2021-02-24 09:28:21 +01:00
Ray
f5bd6c08f8 Update gui_file_dialog.h 2020-12-18 20:06:38 +01:00
Ray
3b44da667b Updated to raylib 3.5
Use GetCharPressed() instead of GetKeyPressed()
2020-12-18 19:50:57 +01:00
Jaedeok Kim
7eda4008e2
Add missing examples in Makefile (#111)
Co-authored-by: epsimatt <epsimatt@protonmail.com>
2020-11-20 23:16:06 +01:00
Ray
b73eb56f3c Update image_exporter.c 2020-10-05 20:08:47 +02:00
Rob Loach
fa8b958a91
Move CMake files to projects/CMake (#87)
Fixes #86
2020-05-01 13:31:15 +02:00
Rob Loach
0fdacc87f6
Add CMake definitions (#79) 2020-04-16 13:24:03 +02:00
Rob Loach
5191022a6b
Fix unknown stack array size (#80)
Compiler expected a static value. Writing 64 directly in the declaration should fix it up.
2020-04-16 13:22:28 +02:00
raysan5
3e1d420e60 Review examples copyright 2020-04-07 23:04:39 +02:00
raysan5
7f4794c31d Review gui_file_dialog with proposed improvements
Proposed improvements in: https://github.com/raysan5/raylib/issues/1101
2020-04-06 23:20:38 +02:00
Ray
d3c810311c REVIEWED: GuiTextBoxMulti() #54
Simplified code, avoid line breaking.

WARNING: If a line is longer than box width, it crashes... word-wrap implementation requires some review...
2020-03-11 16:00:09 +01:00
Vlad Adrian
d878d38e40
Added new example for a property list control (#76) 2020-03-11 12:32:56 +01:00
Ray
ffdeef8d17 Experimenting with a tooltips API
Found several limitations:
 - Tooltip timming can not be properly set on imgui mode
 - Tooltip underlap to controls drawn after current control

Still, a quite interesting feature for further analysis.
2020-02-20 16:36:18 +01:00
Ray
d297b5d7d9 GuiTextEditor() control example -WIP- 2020-02-10 23:57:51 +01:00
hagna
fd349ca95c
Fix parameters and guess at constants (#70) 2020-02-08 01:13:04 +01:00
Ray
8d5f8f28a4 Review LIST_ITEMS_HEIGHT property 2020-02-07 11:40:59 +01:00
Ray
146068751c Improved standalone support and example 2020-01-22 13:43:46 +01:00
Ray
f296f53a1c Review defines 2019-11-26 00:54:13 +01:00
Ray
9fd0f91dea Rename and review textbox_extended_demo 2019-11-25 19:41:40 +01:00
Ray
a2c5ffc272 Move text box extended to separate module 2019-11-25 19:07:40 +01:00
Ray
54fcb03380 RENAMED: GuiState() > GuiSetState()
ADDED: GuiGetState()
2019-09-03 15:45:14 +02:00
Ray
ad3531609c Review some functions
- GetTextBounds(), adapted to new TEXT_PADDING property, it probably still requires some work...
 - GuiDropdownBox(), reviewed and corrected some issues on item selection.
 - GuiLoadStyle(), adapted binary file loading code
 - Reviewed some default style properties
2019-09-02 23:18:25 +02:00
raysan5
1adfb6cef5 Review properties naming
Replaced INNER_PADDING by TEXT_PADDING -WIP-
2019-09-01 11:49:56 +02:00
Ray
462ba6b373 RENAMED: GuiFont() to GuiSetFont()
ADDED: GuiGetFont()
2019-08-26 00:56:58 +02:00
raysan5
177f345afb REDESIGNED: GuiTextInputBox()
Support text message (if provided).
2019-08-21 21:18:38 +02:00
raysan5
4ec4419635 Review GuiStatusBar() and GuiWindowBox() 2019-08-21 20:02:21 +02:00
Ray
737e866ec2 Redesigning GuiTextInputBox() -WIP- 2019-08-19 15:22:29 +02:00
Ray
6986d2217b REDESIGNED: GuiSpinner(), GuiValueBox() 2019-08-18 17:59:00 +02:00
Ray
a0f8268529 REVIEW: GuiCheckBox() text alignment 2019-08-16 17:23:18 +02:00
Ray
473109bfa8 WARNING: Breaking changes
REDESIGNED: GuiSlider()
REDESIGNED: GuiSliderBar()
REDESIGNED: GuiProgressBar()

Avoiding the infamous `showValue` parameter, now left-right text could be directly provided by the user.
2019-08-16 16:59:27 +02:00
Ray
4dc742d4d3 Added examples Makefile 2019-08-16 16:30:37 +02:00
Ray
4ac6419e7e Review examples to latest raygui 2019-08-16 16:07:07 +02:00
Ray
1114400fe1 Added some tweaks and comments 2019-08-15 13:59:18 +02:00
raysan5
d2d370ef41 new example: custom_file_dialog 2019-08-11 12:02:43 +02:00
raysan5
9e02b9b51f Move gui_file_dialogs to another example 2019-08-11 12:02:18 +02:00
raysan5
7e971886b0 REVIEW: GuiTextInputBox() 2019-08-10 13:12:40 +02:00
Ray
2ecc35ba05 Added gui_file_dialog -WIP- 2019-08-08 22:56:56 +02:00
Ray
ca81d6251d WARNING: Redesigned controls
- GuiListVIew(), GuiListViewEx() redesigned, code simplified, avoiding GuiListElement()
 - GuiDropdownBox() redesigned, avoiding GuiListElement()
 - REMOVED: GuiListElement()
2019-08-07 00:37:54 +02:00
Ray
b2b7528709 ADDED: GuiTextInputBox() 2019-08-02 17:19:00 +02:00
raysan5
32d6ba6f5a Renamed flag RAYGUI_RICONS_SUPPORT > RAYGUI_SUPPORT_RICONS 2019-07-29 13:59:15 +02:00
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
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
4401da21f0 Support styles loading with drag and drop 2019-06-25 18:40:02 +02:00
Ray
f4d243ea88 Added extended GuiTextBox() example 2019-05-29 18:21:10 +02:00
Ray
c87d801ac5 Move example to folder 2019-05-09 17:53:53 +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
7c9cdd0886 ADDED: GuiIconText()
Useful to retrieve text with icon just using icon enum id
2019-03-11 15:13:57 +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
13eb597ae8 Some code tweaks 2019-02-18 18:06:36 +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
Demizdor
db3753dd94 Update Scroll Panel Example 2019-02-12 18:38:47 +02: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
8a13b16246 Working on issue #22 -WIP-
Trying to remove styling elements from functions
2019-02-08 12:52:26 +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
972e7f403b Updated GuiListView() 2019-01-16 17:21:11 +01:00
Ray
ef9eb883d9 Implementing GuiScrollPanel() -WIP- 2019-01-09 00:43:33 +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
40575978b2 Update controls_test_suite.c 2018-12-03 16:17:31 +01:00
Ray
4c81641aba Added GuiToggleGroupEx()
Improved GuiToggleGroup()
2018-11-28 17:17:14 +01:00
Ray
009913c408 Some code tweaks 2018-11-26 00:58:48 +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
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
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
76d5234858 Reviewed raygui examples 2018-11-08 10:41: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
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
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
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
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
4d0499c793 PNG size optimization 2018-09-25 14:18:55 +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
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 San
13e5dae316 Renamed folder and reviewed sample
Working on generated raw importer
2018-05-23 13:24:54 +02:00
Ray
2be7c7be1a Controls test sample 2018-05-22 12:58:26 +02:00
Ray
29c37e1435 Updated -WIP- 2018-04-27 14:14:04 +02:00
Ray San
a0400b6ff7 Review layouts and examples 2018-04-09 09:05:13 +02:00
Ray San
09f72d741f Review and clean code 2018-04-06 12:24:10 +02:00
Ray San
4ea606afe2 Added window_mockup 2018-03-19 10:00:14 +01:00
Ray San
6618e2aa67 Corrected some issues 2018-03-15 13:46:15 +01:00
Ray San
96a787eb4d Added groupBox to rGuiLayout 2018-03-14 13:54:38 +01:00
Ray San
e69921cd7f Image Exporter basic UI implemented
DropdownBox() example is here.
2018-02-14 14:00:44 +01:00
raysan5
4987d385c9 Updated to latest raygui 2018-01-05 13:27:09 +01:00
raysan5
a316d4e031 Testing dark style loading 2017-12-25 17:23:40 +01:00
raysan5
f599ae67ab Reviewed example 2017-12-24 18:55:01 +01:00
raysan5
d077f4f18a Added GuiColorPicker() -IN PROGRESS- 2017-09-08 09:37:08 +02:00
Ray
e2788e483e Scale imported raw data 2017-06-21 00:37:33 +02:00
Ray
84f062d23d Some code tweaks 2017-06-19 18:52:08 +02:00
Ray
73d3ea9ca6 Review GuiTextBox() back color 2017-06-19 18:43:10 +02:00
Ray
49093116b7 Added test tool: raw_importer 2017-06-19 18:22:07 +02:00