This commit is contained in:
parent
c0bfb51601
commit
37bba97508
2 changed files with 1 additions and 5 deletions
|
|
@ -1276,7 +1276,7 @@ static void MwLLEndStateChangeImpl(MwLL handle) {
|
|||
}
|
||||
|
||||
static int MwLLX11CallInitImpl(void) {
|
||||
MwBool loadX11;
|
||||
MwBool loadX11 = MwFALSE;
|
||||
if(getenv("MILSKO_BACKEND")) {
|
||||
loadX11 |=
|
||||
(strcmp(getenv("MILSKO_BACKEND"), "x11") == 0);
|
||||
|
|
|
|||
|
|
@ -39,10 +39,6 @@ static int ft2_MwDrawText(MwWidget handle, MwFLFont ttf, MwPoint* point, const c
|
|||
MwLLPixmap p;
|
||||
MwRect r;
|
||||
int x = 0, y = 0;
|
||||
float l1 = ttf->face->bbox.xMax - ttf->face->bbox.xMin;
|
||||
float l2 =
|
||||
ttf->face->bbox.yMax - ttf->face->bbox.yMin;
|
||||
float length = ttf->face->bbox.xMax;
|
||||
|
||||
tw = MwTextWidth(handle, ttf, text);
|
||||
th = MwTextHeight(handle, ttf, text);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue