github.com/secoba/wails/v2@v2.6.4/internal/frontend/desktop/windows/winc/eventdata.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  	"github.com/secoba/wails/v2/internal/frontend/desktop/windows/winc/w32"
    12  )
    13  
    14  type RawMsg struct {
    15  	Hwnd           w32.HWND
    16  	Msg            uint32
    17  	WParam, LParam uintptr
    18  }
    19  
    20  type MouseEventData struct {
    21  	X, Y   int
    22  	Button int
    23  	Wheel  int
    24  }
    25  
    26  type DropFilesEventData struct {
    27  	X, Y  int
    28  	Files []string
    29  }
    30  
    31  type PaintEventData struct {
    32  	Canvas *Canvas
    33  }
    34  
    35  type LabelEditEventData struct {
    36  	Item ListItem
    37  	Text string
    38  	//PszText *uint16
    39  }
    40  
    41  /*type LVDBLClickEventData struct {
    42  	NmItem *w32.NMITEMACTIVATE
    43  }*/
    44  
    45  type KeyUpEventData struct {
    46  	VKey, Code int
    47  }
    48  
    49  type SizeEventData struct {
    50  	Type uint
    51  	X, Y int
    52  }