mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
tools: format most examples and tutorials, add them to v test-cleancode
(#9826)
This commit is contained in:
@ -19,7 +19,7 @@ fn main() {
|
||||
mut app := &App{
|
||||
gg: 0
|
||||
}
|
||||
app.gg = gg.new_context({
|
||||
app.gg = gg.new_context(
|
||||
bg_color: gx.white
|
||||
width: win_width
|
||||
height: win_height
|
||||
@ -29,7 +29,7 @@ fn main() {
|
||||
frame_fn: frame
|
||||
user_data: app
|
||||
init_fn: init_images
|
||||
})
|
||||
)
|
||||
app.image = app.gg.create_image(os.resource_abs_path('logo.png'))
|
||||
app.gg.run()
|
||||
}
|
||||
|
Reference in New Issue
Block a user