summaryrefslogtreecommitdiffhomepage
path: root/examples/text
AgeCommit message (Collapse)Author
2021-06-26WARNING: REMOVED: Some deprecated function names mappingraysan5
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-23WARNING: BREAKING: Functions renamed!Ray
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-10Added missing null terminator (#1820)Francisco Javier Andrés Casas Barrientos
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-05-31Update text_draw_3d.cRay
2021-05-08Added support for additional mouse buttons (#1753)Lambert Wang
* Added support for additional mouse buttons * Renamed mouse button enum Co-authored-by: Lambert Wang <[email protected]>
2021-04-25Fixes for 64 bit typecast warnings (#1733)Jeffery Myers
2021-04-22Remove trail spacesRay
2021-04-19Added zoom independent sharp edges to the SDF text example. (#1727)Stephan Soller
2021-03-28REVIEWED: text_draw_3d, code formattingraysan5
2021-03-28Added draw 3d text example (#1689)Vlad Adrian
2021-03-23Update text_raylib_fonts.cRay
2021-03-23Update text_raylib_fonts.cRay
2021-03-23[Examples] Warning fixes (pt 1) (#1668)Jeffery Myers
* Fix some warnings in examples. * cleanups from review Co-authored-by: Jeffery Myers <[email protected]>
2021-03-19Update text_input_box.cRay
2021-03-03Update text_font_filters.cRay
2020-12-24Updated several files while porting examples to webraysan5
2020-12-18WARNING: GetKeyPressed() <-> GetCharPressed() #1336Ray
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-13Fixed #1455 (#1456)Alexander Buhl
* 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-10-21Reviewed PR #1407Ray
2020-10-21Added desktop cursor getter and setter functions (#1407)Chance Snow
* [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-09-14Review memory loading functions signesnessRay
2020-09-07REDESIGNED: ColorFromHSV()raysan5
Replaced Vector3 by direct values, easier to use and understand
2020-08-16RENAMED: FormatText() -> TextFormat()raysan5
This function was renamed for consistency in raylib 3.0, just unified all examples to use TextFormat() instead of FormatText()
2020-06-02[examples] text_font_sdf - Corrected bugraysan5
2020-05-28resources PNG chunks cleaningraysan5
2020-05-28Renamed some resources for naming consistencyraysan5
2020-05-28Remove unused fontraysan5
2020-01-30[build] Makefile examples modularizationRay
Now examples can be compiled by module, that's useful when compilation fails at some point
2020-01-06Review resources LICENSEraysan5
2019-12-01ADDED: DrawTextCodepoint()Ray
- Renamed GetGlyphIndex() parameter - Review DrawTextEx() implementation - Review DrawTextRecEx() implementation
2019-11-24Review key input queue PR #1012raysan5
Keeping original API
2019-10-28Corrected issue with function renamedRay
2019-09-12RENAMED: text_sprite_font > text_font_spritefontRay
2019-09-12RENAMED: text_ttf_loading > text_font_filtersRay
2019-09-12RENAMED: text_bmfont_ttf > text_font_loadingRay
2019-07-24BREAKING CHANGE: Read descriptionRay
Changes: - Font structure has been redesigned, CharInfo structure contained character rectangle within font texture, it has not much sense, considering that it was an information relative to the font atlas generated and not the character itself, so character rectangles have been moved out from CharInfo to Font. - CharInfo included a data parameters to contain character pixel data (usually grayscale), generated on TTF font generation. It was inconsistent with other fonts types, so, now CharInfo includes directly an Image of the glyph. - REDESIGNED: GenImageFontAtlas(), additional recs parameter added, loaded and filled inside the function to export atlas characters rectangles, instead of silently modify the input CharInfo data. - REVIEWED: ImageTextEx(), funtion retrieved the font atlas image from the GPU, that was slow and problematic in several platforms. Now it uses directly the CharInfo image. Support for unicode codepoints has also been added. - REDESIGNED: ImageDraw(), now it includes an additional parameter, the color tint, not only it could be useful for several situations but also function signature is more consistent with similar functions. - ADDED: ImageFromImage() to generate a new image from a piece of another image. - REVIEWED: GetNextCodepoint(), renamed parameters to be more clear. Also all examples and games that were affected by those changes have been reviewed.
2019-06-05Review fontRay
2019-05-31Example instructions tweak for clarityRay
2019-05-27Review variables initializationRay
2019-05-20Review ALL examplesRay
2019-05-17examples reviewRay
2019-05-14examples reviewRay
Redesigns, deletes and renames Also noted authors propertly on contributed examples
2019-05-06Update text_unicode.cRay
2019-05-06Review example formattingRay
2019-04-23Fix for DrawRectangleRoundedDemizdor
2019-04-21Fix formatting ...not very good at thisVlad Adrian
2019-04-21Fixed formatting! Grumble, grumble...Vlad Adrian
2019-04-21Added unicode exampleDemizdor
2018-12-29ADDED: DrawTextRec() and exampleraysan5
2018-12-26WARNING: BREAKING CHANGEraysan5
Added a bunch of useful text management functions. Consequently, some already available functions like `FormatText()` and `SubText()` has been renamed for consistency. Created temporal fallbacks for old names. raylib version bumped to 2.3.