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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user