summaryrefslogtreecommitdiffhomepage
path: root/examples/text/text_input_box.c
AgeCommit message (Collapse)Author
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-04-22Remove trail spacesRay
2021-03-19Update text_input_box.cRay
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-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()
2019-11-24Review key input queue PR #1012raysan5
Keeping original API
2019-05-20Review ALL examplesRay
2017-12-31Reviewed text inputraysan5
2017-04-14new example: text_input_boxraysan5