mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Add return value docs to DoEditBox*
This commit is contained in:
parent
259ed751ad
commit
9a95f3b1fd
|
@ -527,6 +527,8 @@ public:
|
|||
* @param FontSize Size of the font (`10.0f`, `12.0f` and `14.0f` are commonly used here)
|
||||
* @param Corners Number of corners (default: `IGraphics::CORNER_ALL`)
|
||||
* @param vColorSplits Sets color splits of the `CTextCursor` to allow multicolored text
|
||||
*
|
||||
* @return true if the value of the input field changed since the last call.
|
||||
*/
|
||||
bool DoEditBox(CLineInput *pLineInput, const CUIRect *pRect, float FontSize, int Corners = IGraphics::CORNER_ALL, const std::vector<STextColorSplit> &vColorSplits = {});
|
||||
|
||||
|
@ -543,6 +545,8 @@ public:
|
|||
* @param FontSize Size of the font (`10.0f`, `12.0f` and `14.0f` are commonly used here)
|
||||
* @param Corners Number of corners (default: `IGraphics::CORNER_ALL`)
|
||||
* @param vColorSplits Sets color splits of the `CTextCursor` to allow multicolored text
|
||||
*
|
||||
* @return true if the value of the input field changed since the last call.
|
||||
*/
|
||||
bool DoClearableEditBox(CLineInput *pLineInput, const CUIRect *pRect, float FontSize, int Corners = IGraphics::CORNER_ALL, const std::vector<STextColorSplit> &vColorSplits = {});
|
||||
|
||||
|
|
Loading…
Reference in a new issue