app.mx raw

   1  //go:build !wasm
   2  
   3  package app
   4  
   5  func CreateFullscreenCanvas()             { panic("app: not wasm") }
   6  func CreateWebGLContext() int32           { panic("app: not wasm") }
   7  func GetDevicePixelRatio() float32        { panic("app: not wasm") }
   8  func GetCanvasCSSSize(w, h *int32)        { panic("app: not wasm") }
   9  func SetCanvasBacking(w, h int32)         { panic("app: not wasm") }
  10  func RequestRAF()                         { panic("app: not wasm") }
  11  func SetCursor(s string)                  { panic("app: not wasm") }
  12  func SetTitle(s string)                   { panic("app: not wasm") }
  13  func SetFullscreen(full bool)             { panic("app: not wasm") }
  14  func RegisterPointerEvents()              { panic("app: not wasm") }
  15  func RegisterKeyEvents()                  { panic("app: not wasm") }
  16  func RegisterResizeEvents()               { panic("app: not wasm") }
  17  func RegisterTextEvents()                 { panic("app: not wasm") }
  18  func FocusTextArea()                      { panic("app: not wasm") }
  19  func BlurTextArea()                       { panic("app: not wasm") }
  20  func RegisterContextLossEvents()          { panic("app: not wasm") }
  21  func WriteClipboard(s string)             { panic("app: not wasm") }
  22  func ReadClipboard()                      { panic("app: not wasm") }
  23