示例#1
0
void Menu::OnLeftMouseButtonDown(MouseEventArgs& args)
{
	// Check in buffer if the pixel if transparent or not.
	unsigned int pixel = GetPixelValue(args.x, args.y);

	awe_webview_inject_mouse_down( mWebView, AWE_MB_LEFT );
	args.handled = pixel != 0;
}
示例#2
0
void WebRender::injectMousePressed(){
	awe_webview_inject_mouse_down (webView,AWE_MB_LEFT);
}
void GameEditor::LeftMouseDown(int x, int y )
{
	awe_webview_inject_mouse_down(_uiview->GetWebview(), AWE_MB_LEFT);
}
void GameEditor::RightMouseDown(int x, int y )
{
	awe_webview_inject_mouse_down(_uiview->GetWebview(), AWE_MB_RIGHT);
}
示例#5
0
	void Awesomium::injectMouseClick()
	{
		awe_webview_focus( webView );		
		awe_webview_inject_mouse_down(webView, AWE_MB_LEFT);		
		awe_webview_inject_mouse_up(webView, AWE_MB_LEFT);				
	}