mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
ide: Ids completion, X11: removed DLOGs
git-svn-id: svn://ultimatepp.org/upp/trunk@6599 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
425f43f05e
commit
04dd18097a
6 changed files with 47 additions and 7 deletions
|
|
@ -229,14 +229,12 @@ void SystemDraw::DrawTextOp(int x, int y, int angle, const wchar *text, Font fon
|
|||
}
|
||||
else {
|
||||
// if(dx) {
|
||||
DLOG("------------");
|
||||
int xpos = ox;
|
||||
Buffer<XftCharSpec> ch(n);
|
||||
for(int i = 0; i < n; i++) {
|
||||
ch[i].ucs4 = text[i];
|
||||
ch[i].x = xpos;
|
||||
ch[i].y = oy + ascent;
|
||||
DLOG((char)text[i] << ", " << font[text[i]] << ", " << xpos);
|
||||
xpos += dx ? dx[i] : font[text[i]];
|
||||
}
|
||||
XftDrawCharSpec(xftdraw, &c, xftfont, ch, n);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue