• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mlange-42 / ark-pixel / 13708837715

06 Mar 2025 09:48PM CUT coverage: 79.07%. First build
13708837715

push

github

web-flow
Add OpenGL window (#2)

68 of 86 new or added lines in 3 files covered. (79.07%)

68 of 86 relevant lines covered (79.07%)

32.02 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/window/run.go
1
package window
2

3
import (
4
        "github.com/gopxl/pixel/v2/backends/opengl"
5
        "github.com/mlange-42/ark-tools/app"
6
)
7

8
// Run is essential to run simulations that feature arche-pixel UI components.
9
// Call this function from the main function of your application, with a Model as argument.
10
// This is necessary, so that App.Run runs on the main thread.
NEW
11
func Run(app *app.App) {
×
NEW
12
        opengl.Run(app.Run)
×
NEW
13
}
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc