Ray
f9426912f6
Update text_font_filters.c
2022-06-12 00:52:15 +02:00
Ray
b8f67c6285
WARNING: BREAKING: REDESIGNED: Filepath loading API
...
REDESIGNED: `LoadDirectoryFiles()`
ADDED: `LoadDirectoryFilesEx()`
REDESIGNED: `LoadDroppedFiles()`
ADDED: `IsPathFile()`
This BIG BREAKING change simplifies the functions and gives more control to the user:
- A new `struct FilePathList` has been added to avoid exposing complex pointers.
- User is responsible of memory loading/unloading
- Filepaths loading support recursive directories and file extension filters
2022-06-11 23:24:13 +02:00
Ray
e6bc401c93
WARNING: RENAMED: GetDroppedFiles()
to LoadDroppedFiles()
...
RENAMED: `ClearDroppedFiles()` to `UnloadDroppedFiles()`
2022-06-06 20:39:37 +02:00
Ray
91af3a3152
Update text_draw_3d.c
2022-06-02 19:22:31 +02:00
Tobias Berger
7c6adc5d97
Update LICENSE.md ( #2179 )
...
Fix typo in link
2021-12-01 15:12:56 +01:00
Jeffery Myers
daeccd03ac
Fix VC warnings for examples ( #2085 )
2021-10-25 10:21:16 +02:00
raysan5
fec0ce34c5
Remove trailing spaces
2021-10-19 14:57:12 +02:00
raysan5
f437f7b405
Reviewed makefile and examples building
2021-10-17 21:00:52 +02:00
Ray
59e7275464
REVIEWED: Glyphs
2021-09-02 00:35:55 +02:00
Ray
9362eaf9c6
REVIEWED: Naming: length vs size
2021-09-01 23:40:51 +02:00
Ray
6e76baa6a9
WARNING: BREAKING: RENAMED: Font struct variables
...
RENAMED: GetCodepointsCount() -> GetCodepointCount()
RENAMED: GetTouchPointsCount() -> GetTouchPointCount()
2021-09-01 23:11:31 +02:00
Ray
3d33c559e7
REVIEWED: Examples compilation
2021-08-26 00:14:34 +02:00
Ray
913f185f82
Renamed some static functions for more consistent naming
2021-08-25 00:22:16 +02:00
raysan5
5a259fa10f
WARNING: REMOVED: DrawTextRec() and DrawTextRecEx()
...
- DrawTextRec() and DrawTextRecEx() have been moved to example, those functions could be very specific depending on user needs so it's better to give the user the full source in case of special requirements instead of allowing a function with +10 input parameters.
2021-08-11 18:31:32 +02:00
raysan5
0352aa2094
Replace TABS by 4 spaces
2021-07-28 12:55:38 +02:00
raysan5
7d2845a661
Improve assets license information
2021-07-16 14:29:20 +02:00
raysan5
2f75657350
WARNING: REMOVED: Some deprecated function names mapping
...
Some functions/values have been deprecated for long time but some mapping was kept for convenience. Some of those mappings have been removed...
2021-06-26 21:07:00 +02:00
Ray
3db26f82ea
WARNING: BREAKING: Functions renamed!
...
RENAMED: GetCodepoints() -> LoadCodepoints(), now codepoint array data is loaded dynamically instead of reusing a limited static buffer.
ADDED: UnloadCodepoints() to safely free loaded codepoints
RENAMED: GetNextCodepoint() -> GetCodepoint()
2021-06-23 09:58:49 +02:00
Francisco Javier Andrés Casas Barrientos
4dd5643402
Added missing null terminator ( #1820 )
...
Added missing null terminator when adding characters to the string, otherwise garbage values are read (often zeros which are equal to '\0', but not every time).
This error results in random characters appearing in the text box every one in a while:
```
asdfg??? ll??
```
It is corrected with the proposed fix.
This problem was observed by my student, Gonzalo Rivera Lazo.
2021-06-10 20:24:08 +02:00
Ray
9cc2cee936
Update text_draw_3d.c
2021-05-31 18:32:35 +02:00
Lambert Wang
2545f62565
Added support for additional mouse buttons ( #1753 )
...
* Added support for additional mouse buttons
* Renamed mouse button enum
Co-authored-by: Lambert Wang <lambert.ww@gmail.com>
2021-05-08 18:26:24 +02:00
Jeffery Myers
6c518008a5
Fixes for 64 bit typecast warnings ( #1733 )
2021-04-25 18:50:26 +02:00
Ray
dcf52c132f
Remove trail spaces
2021-04-22 18:55:24 +02:00
Stephan Soller
7f1068ef96
Added zoom independent sharp edges to the SDF text example. ( #1727 )
2021-04-19 19:40:34 +02:00
raysan5
00e71faed6
REVIEWED: text_draw_3d, code formatting
2021-03-28 21:09:34 +02:00
Vlad Adrian
668ba870e4
Added draw 3d text example ( #1689 )
2021-03-28 16:08:14 +02:00
Ray
71fe0bff95
Update text_raylib_fonts.c
2021-03-23 12:20:28 +01:00
Ray
89278953ae
Update text_raylib_fonts.c
2021-03-23 12:20:11 +01:00
Jeffery Myers
e48b9a6da1
[Examples] Warning fixes (pt 1) ( #1668 )
...
* Fix some warnings in examples.
* cleanups from review
Co-authored-by: Jeffery Myers <JefMyers@blizzard.com>
2021-03-23 07:51:52 +01:00
Ray
7a566a07ea
Update text_input_box.c
2021-03-19 19:12:08 +01:00
Ray
c8ed231eca
Update text_font_filters.c
2021-03-03 23:05:52 +01:00
raysan5
b68e522ffc
Updated several files while porting examples to web
2020-12-24 13:51:24 +01:00
Ray
96542269d0
WARNING: GetKeyPressed() <-> GetCharPressed() #1336
...
Previous GetKeyPressed() method was actually returning unicode codepoints equivalent values instead of the key-code of the pressed key. So, it has been replaced by GetCharPressed(), returning unicode codepoints and GetKeyPressed() now returns key-codes.
2020-12-18 18:58:02 +01:00
Alexander Buhl
a798fd401f
Fixed #1455 ( #1456 )
...
* Fixed #1455
Fixed writing out of array bounds
Adjusted FPS comment to match value
Deleted unused function at the end, which has never been in use in the history of this file
* Fixed #1455
Readded the function
2020-12-13 16:06:55 +01:00
Ray
f12db180cd
Reviewed PR #1407
2020-10-21 11:08:37 +02:00
Chance Snow
9833fe45eb
Added desktop cursor getter and setter functions ( #1407 )
...
* [core] Added desktop cursor getter and setter functions
* Example: Set mouse cursor in text input box
* Setup standard cursors _after_ GLFW window initialization
* Remove old `int GetMouseWheelMove` declaration
2020-10-21 10:55:52 +02:00
Ray
8cf0be4b6c
Review memory loading functions signesness
2020-09-14 19:20:38 +02:00
raysan5
f1ed8be5d7
REDESIGNED: ColorFromHSV()
...
Replaced Vector3 by direct values, easier to use and understand
2020-09-07 19:33:06 +02:00
raysan5
c32ae480af
RENAMED: FormatText() -> TextFormat()
...
This function was renamed for consistency in raylib 3.0, just unified all examples to use TextFormat() instead of FormatText()
2020-08-16 11:28:15 +02:00
raysan5
b00ab118c6
[examples] text_font_sdf - Corrected bug
2020-06-02 23:07:11 +02:00
raysan5
fed4716c3b
resources PNG chunks cleaning
2020-05-28 21:18:58 +02:00
raysan5
64747478fe
Renamed some resources for naming consistency
2020-05-28 21:17:16 +02:00
raysan5
36a15a745c
Remove unused font
2020-05-28 21:16:13 +02:00
Ray
9ce2331cc1
[build] Makefile examples modularization
...
Now examples can be compiled by module, that's useful when compilation fails at some point
2020-01-30 13:47:39 +01:00
raysan5
793977db4a
Review resources LICENSE
2020-01-06 19:50:26 +01:00
Ray
3ffe34f9bb
ADDED: DrawTextCodepoint()
...
- Renamed GetGlyphIndex() parameter
- Review DrawTextEx() implementation
- Review DrawTextRecEx() implementation
2019-12-01 13:28:14 +01:00
raysan5
1d3f230c92
Review key input queue PR #1012
...
Keeping original API
2019-11-24 13:39:45 +01:00
Ray
6bf746d531
Corrected issue with function renamed
2019-10-28 20:39:39 +01:00
Ray
d9d9c6111b
RENAMED: text_sprite_font > text_font_spritefont
2019-09-12 16:30:39 +02:00
Ray
8d6f179062
RENAMED: text_ttf_loading > text_font_filters
2019-09-12 16:29:26 +02:00