mirror of
https://github.com/nothings/stb.git
synced 2026-02-27 21:14:58 +00:00
Merge branch 'textedit'
This commit is contained in:
@@ -48,7 +48,8 @@ int insert_chars(STB_TEXTEDIT_STRING *str, int pos, STB_TEXTEDIT_CHARTYPE *newte
|
||||
|
||||
// define all the #defines needed
|
||||
|
||||
#define KEYDOWN_BIT 0x80000000
|
||||
#define KEYDOWN_BIT 0x80000000
|
||||
|
||||
#define STB_TEXTEDIT_STRINGLEN(tc) ((tc)->stringlen)
|
||||
#define STB_TEXTEDIT_LAYOUTROW layout_func
|
||||
#define STB_TEXTEDIT_GETWIDTH(tc,n,i) (1) // quick hack for monospaced
|
||||
|
||||
Reference in New Issue
Block a user