mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-06-04 22:03:29 -06:00
CtrlCore: Ctrl::GetEventLevel
This commit is contained in:
parent
fc6946e016
commit
198e8114a6
8 changed files with 25 additions and 6 deletions
|
|
@ -69,7 +69,7 @@ void GLDrawText(const GLContext2D& dd, Pointf pos, double angle, const wchar *te
|
|||
if(angle)
|
||||
u = Polar(-angle);
|
||||
if(n < 0)
|
||||
n = wstrlen(text);
|
||||
n = strlen__(text);
|
||||
for(int i = 0; i < n; i++) {
|
||||
GLTexture m = GetGlyphGLTextureCached(-angle, text[i], font, ink);
|
||||
Point h = m.GetHotSpot();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue