1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

gg: minor fixes

This commit is contained in:
Alexander Medvednikov
2020-07-06 20:40:54 +02:00
parent 0ed8199da2
commit 48f1f814d2
2 changed files with 4 additions and 5 deletions

View File

@@ -11,7 +11,7 @@ const (
)
pub struct FT {
pub:
pub:
fons &C.FONScontext
font_normal int
@@ -84,15 +84,15 @@ pub fn (ft &FT) flush(){
sfons.flush(ft.fons)
}
pub fn (ft &FT) text_width(s string) int {
pub fn (ft &Context) text_width(s string) int {
return 0
}
pub fn (ft &FT) text_height(s string) int {
pub fn (ft &Context) text_height(s string) int {
return 0
}
pub fn (ft &FT) text_size(s string) (int, int) {
pub fn (ft &Context) text_size(s string) (int, int) {
return 0,0
}