Add return value docs to DoEditBox*

This commit is contained in:
heinrich5991 2024-02-19 22:51:55 +01:00
parent 259ed751ad
commit 9a95f3b1fd

View file

@ -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 = {});