mirror of
https://github.com/vlang/v.git
synced 2025-09-11 16:36:20 -04:00
gg: minor fixes
This commit is contained in:
parent
0ed8199da2
commit
48f1f814d2
@ -73,7 +73,6 @@ fn main() {
|
|||||||
window_title: 'Empty window'
|
window_title: 'Empty window'
|
||||||
user_data: app
|
user_data: app
|
||||||
bg_color: bg_color
|
bg_color: bg_color
|
||||||
init_fn: init_gui
|
|
||||||
frame_fn: frame
|
frame_fn: frame
|
||||||
font_path: os.resource_abs_path('../assets/fonts/RobotoMono-Regular.ttf')
|
font_path: os.resource_abs_path('../assets/fonts/RobotoMono-Regular.ttf')
|
||||||
//window_user_ptr: ctx
|
//window_user_ptr: ctx
|
||||||
|
@ -84,15 +84,15 @@ pub fn (ft &FT) flush(){
|
|||||||
sfons.flush(ft.fons)
|
sfons.flush(ft.fons)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn (ft &FT) text_width(s string) int {
|
pub fn (ft &Context) text_width(s string) int {
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn (ft &FT) text_height(s string) int {
|
pub fn (ft &Context) text_height(s string) int {
|
||||||
return 0
|
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
|
return 0,0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user