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

time: move pure V function from time.c.v

This commit is contained in:
Alexander Medvednikov
2021-10-19 16:03:45 +03:00
parent f2cda1a529
commit 45534b512b
6 changed files with 187 additions and 158 deletions

View File

@@ -432,6 +432,7 @@ pub fn (gg &Context) end() {
pub fn (mut ctx Context) resize(width int, height int) {
ctx.width = width
ctx.height = height
// C.sapp_resize_window(width, height)
}
// draw_line draws a line between the points provided