My Project
ParaScriptingHTMLBrowser.h
1 #pragma once
2 
3 namespace ParaScripting
4 {
5  using namespace ParaEngine;
6 
11  class PE_CORE_DECL ParaHTMLBrowser
12  {
13  public:
14  ParaHTMLBrowser(){ m_nID = -1; };
15  ParaHTMLBrowser(int nID){ m_nID = nID; };
16 
17  int m_nID;
18 
22  bool IsValid();
23 
25  const char* GetName();
26 
28  const char* GetLastNavURL();
29 
31  void Release();
32 
33  bool setSize(int widthIn, int heightIn);
34  // current browser width (can vary slightly after page is rendered)
35  int getBrowserWidth();
36  // current height
37  int getBrowserHeight();
38  bool scrollByLines(int linesIn);
39  bool setBackgroundColor(int red, int green, int blue);
40  bool setEnabled(bool enabled);
41 
42  // navigation - self explanatory
43  bool navigateTo(const char* url);
44  bool navigateStop();
45  bool canNavigateBack();
46  bool navigateBack();
47  bool canNavigateForward();
48  bool navigateForward();
49 
50  // mouse/keyboard interaction
51  bool mouseDown(int xPos, int yPos); // send a mouse down event to a browser window at given XY in browser space
52  bool mouseUp(int xPos, int yPos); // send a mouse up event to a browser window at given XY in browser space
53  bool mouseMove(int xPos, int yPos); // send a mouse move event to a browser window at given XY in browser space
54  bool keyPress(int keyCode); // send a key press event to a browser window
55  bool focusBrowser(bool focusBrowser); // set/remove focus to given browser window
56  };
57 }
different physics engine has different winding order.
Definition: EventBinding.h:32
a HTML browser control and texture
Definition: ParaScriptingHTMLBrowser.h:11
for luabind, The main drawback of this approach is that the compilation time will increase for the fi...
Definition: luaSQLite.cpp:1971