Lines 239-245
Link Here
|
239 |
|
239 |
|
240 |
void Panel::Cursor(int visible) { |
240 |
void Panel::Cursor(int visible) { |
241 |
char* text; |
241 |
char* text; |
242 |
int xx, yy, x2,y2, cheight; |
242 |
int xx, yy, y2, cheight; |
243 |
char* txth = "Wj"; // used to get cursor height |
243 |
char* txth = "Wj"; // used to get cursor height |
244 |
|
244 |
|
245 |
switch(In->GetField()) { |
245 |
switch(In->GetField()) { |
Lines 254-259
Link Here
|
254 |
xx = input_name_x; |
254 |
xx = input_name_x; |
255 |
yy = input_name_y; |
255 |
yy = input_name_y; |
256 |
break; |
256 |
break; |
|
|
257 |
|
258 |
default: /* Origin & NULL string as default values. */ |
259 |
text = (char *)NULL; |
260 |
xx = (int)0; |
261 |
yy = (int)0; |
262 |
break; |
257 |
} |
263 |
} |
258 |
|
264 |
|
259 |
|
265 |
|
Lines 347-353
Link Here
|
347 |
del = In->Key(buffer, keysym, singleInputMode); |
353 |
del = In->Key(buffer, keysym, singleInputMode); |
348 |
Action = In->GetAction(); |
354 |
Action = In->GetAction(); |
349 |
|
355 |
|
350 |
XGlyphInfo extents, delextents; |
356 |
XGlyphInfo extents; |
351 |
XftDraw *draw = XftDrawCreate(Dpy, Win, |
357 |
XftDraw *draw = XftDrawCreate(Dpy, Win, |
352 |
DefaultVisual(Dpy, Scr), DefaultColormap(Dpy, Scr)); |
358 |
DefaultVisual(Dpy, Scr), DefaultColormap(Dpy, Scr)); |
353 |
|
359 |
|
Lines 397-402
Link Here
|
397 |
xx = input_name_x; |
403 |
xx = input_name_x; |
398 |
yy = input_name_y; |
404 |
yy = input_name_y; |
399 |
break; |
405 |
break; |
|
|
406 |
|
407 |
default: /* Origin & NULL string as default values. */ |
408 |
text = (char *)NULL; |
409 |
xx = (int)0; |
410 |
yy = (int)0; |
411 |
break; |
400 |
} |
412 |
} |
401 |
|
413 |
|
402 |
char* txth = "Wj"; // get proper maximum height ? |
414 |
char* txth = "Wj"; // get proper maximum height ? |
Lines 431-437
Link Here
|
431 |
// Draw welcome and "enter username" message |
443 |
// Draw welcome and "enter username" message |
432 |
void Panel::ShowText(){ |
444 |
void Panel::ShowText(){ |
433 |
string cfgX, cfgY; |
445 |
string cfgX, cfgY; |
434 |
int n=-1; |
|
|
435 |
XGlyphInfo extents; |
446 |
XGlyphInfo extents; |
436 |
|
447 |
|
437 |
bool singleInputMode = |
448 |
bool singleInputMode = |