UI tweaks

slava 2006-04-02 00:51:48 +00:00
parent cfdefab518
commit 717cba001c
2 changed files with 4 additions and 2 deletions

View File

@ -27,7 +27,6 @@ M: label pref-dim* ( label -- dim ) label-size ;
: draw-label ( label -- )
dup label-color gl-color
dup label-font* dup world get font-sprites rot
label-text draw-string ;
dup label-font* swap label-text draw-string ;
M: label draw-gadget* ( label -- ) draw-label ;

View File

@ -45,3 +45,6 @@ M: world pref-dim* ( world -- dim )
: focused-ancestors ( world -- seq )
world-focus parents reverse-slice ;
: draw-string ( open-fonts string -- )
>r dup world get font-sprites r> (draw-string) ;