Initial example update
- Updating examples with new changes.
This commit is contained in:
parent
796b4997a1
commit
b841a28177
45 changed files with 419 additions and 389 deletions
|
|
@ -57,7 +57,7 @@ public partial class text_input_box
|
|||
letterCount++;
|
||||
}
|
||||
|
||||
if (IsKeyPressed(KEY_BACKSPACE))
|
||||
if (IsKeyPressed(KeyboardKey.KEY_BACKSPACE))
|
||||
{
|
||||
letterCount--;
|
||||
if (letterCount < 0) letterCount = 0;
|
||||
|
|
@ -109,7 +109,7 @@ public partial class text_input_box
|
|||
}
|
||||
|
||||
// Check if any key is pressed
|
||||
// NOTE: We limit keys check to keys between 32 (KEY_SPACE) and 126
|
||||
// NOTE: We limit keys check to keys between 32 (KeyboardKey.KEY_SPACE) and 126
|
||||
bool IsAnyKeyPressed()
|
||||
{
|
||||
bool keyPressed = false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue