mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 14:01:49 +00:00
mouse caret movement
This commit is contained in:
parent
c674bd4ec5
commit
90057e1f30
4 changed files with 31 additions and 11 deletions
|
|
@ -23,7 +23,7 @@ public:
|
|||
|
||||
int getLineHeight() const;
|
||||
int getYOffset() const;
|
||||
int calcWidth(std::wstring text);
|
||||
int calcWidth(std::wstring text, size_t length=-1);
|
||||
// int getGlyphWidth(char c);
|
||||
bool isPrintableChar(int c);
|
||||
void draw(Batch2D* batch, std::wstring text, int x, int y);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue