github.com/secoba/wails/v2@v2.6.4/internal/frontend/desktop/windows/winc/globalvars.go (about)

     1  //go:build windows
     2  
     3  /*
     4   * Copyright (C) 2019 The Winc Authors. All Rights Reserved.
     5   * Copyright (C) 2010-2013 Allen Dang. All Rights Reserved.
     6   */
     7  
     8  package winc
     9  
    10  import (
    11  	"syscall"
    12  
    13  	"github.com/secoba/wails/v2/internal/frontend/desktop/windows/winc/w32"
    14  )
    15  
    16  // Private global variables.
    17  var (
    18  	gAppInstance        w32.HINSTANCE
    19  	gControllerRegistry map[w32.HWND]Controller
    20  	gRegisteredClasses  []string
    21  )
    22  
    23  // Public global variables.
    24  var (
    25  	GeneralWndprocCallBack = syscall.NewCallback(generalWndProc)
    26  	DefaultFont            *Font
    27  )