提交 d9c52a5e 编写于 作者: yanghye's avatar yanghye

增加屏幕截取简单示例

上级 80e63b6b
......@@ -55,7 +55,7 @@ func browserInit(event *cef.BrowserEvent, window cef.IBrowserWindow) {
image.SetAlign(types.AlClient)
// 可以使用一些事件来处理截图.
image.SetOnMouseMove(func(sender lcl.IObject, shift types.TShiftState, x, y int32) {
println("MouseMove")
})
image.SetOnMouseDown(func(sender lcl.IObject, button types.TMouseButton, shift types.TShiftState, x, y int32) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册