-
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
58 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
[//]: # (This file is automatically generated by Cute Framework's docs parser.) | ||
[//]: # (Do not edit this file by hand!) | ||
[//]: # (See: https://github.com/RandyGaul/cute_framework/blob/master/samples/docs_parser.cpp) | ||
[](../header.md ':include') | ||
|
||
# cf_input_text_get_buffer | ||
|
||
Category: [input](/api_reference?id=input) | ||
GitHub: [cute_input.h](https://github.com/RandyGaul/cute_framework/blob/master/include/cute_input.h) | ||
--- | ||
|
||
Returns the content of the text input buffer. | ||
|
||
```cpp | ||
bool cf_input_text_get_buffer(CF_InputTextBuffer* buffer); | ||
``` | ||
## Return Value | ||
Returns true if the input buffer of the application has any text within. | ||
## Remarks | ||
The input text functions are for dealing with text input. Not all text inputs come from a single key-stroke, as some are comprised of | ||
multiple keystrokes, especially when dealing with non-Latin based inputs. | ||
## Related Pages | ||
[cf_input_enable_ime](/input/cf_input_enable_ime.md) | ||
[cf_input_disable_ime](/input/cf_input_disable_ime.md) | ||
[cf_input_text_clear](/input/cf_input_text_clear.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
[//]: # (This file is automatically generated by Cute Framework's docs parser.) | ||
[//]: # (Do not edit this file by hand!) | ||
[//]: # (See: https://github.com/RandyGaul/cute_framework/blob/master/samples/docs_parser.cpp) | ||
[](../header.md ':include') | ||
|
||
# CF_InputTextBuffer | ||
|
||
Category: [input](/api_reference?id=input) | ||
GitHub: [cute_input.h](https://github.com/RandyGaul/cute_framework/blob/master/include/cute_input.h) | ||
--- | ||
|
||
Represents the application's input text buffer. | ||
|
||
Struct Members | Description | ||
--- | --- | ||
`int len` | The length of the buffer. | ||
`const int* codepoints` | The buffer's data which is a sequence of utf32 codepoints. | ||
|
||
## Related Pages | ||
|
||
[cf_input_enable_ime](/input/cf_input_enable_ime.md) | ||
[cf_input_disable_ime](/input/cf_input_disable_ime.md) | ||
[cf_input_text_get_buffer](/input/cf_input_text_get_buffer.md) | ||
[cf_input_text_clear](/input/cf_input_text_clear.md) |