github.com/elves/Elvish@v0.12.0/sys/types_src_windows.go (about)

     1  // +build ignore
     2  
     3  package sys
     4  
     5  /*
     6  #include <windows.h>
     7  */
     8  import "C"
     9  
    10  type (
    11  	Coord       C.COORD
    12  	InputRecord C.INPUT_RECORD
    13  
    14  	KeyEvent              C.KEY_EVENT_RECORD
    15  	MouseEvent            C.MOUSE_EVENT_RECORD
    16  	WindowBufferSizeEvent C.WINDOW_BUFFER_SIZE_RECORD
    17  	MenuEvent             C.MENU_EVENT_RECORD
    18  	FocusEvent            C.FOCUS_EVENT_RECORD
    19  )
    20  
    21  const (
    22  	KEY_EVENT                = C.KEY_EVENT
    23  	MOUSE_EVENT              = C.MOUSE_EVENT
    24  	WINDOW_BUFFER_SIZE_EVENT = C.WINDOW_BUFFER_SIZE_EVENT
    25  	MENU_EVENT               = C.MENU_EVENT
    26  	FOCUS_EVENT              = C.FOCUS_EVENT
    27  )