14 #define HTMLRENDERER_CLASS_ID 0x200A20 19 class ParaEmbeddedBrowser;
20 class ParaEmbeddedBrowserWindow;
28 mEventWindowId( eventWindowIdIn ),
35 mEventWindowId( eventWindowIdIn ),
43 mEventWindowId( eventWindowIdIn ),
45 mStringVal( stringValIn )
51 mEventWindowId( eventWindowIdIn ),
53 mStringVal( stringValIn ),
60 mEventWindowId( eventWindowIdIn ),
65 mHeightVal( heightIn )
73 int getEventWindowId()
const 75 return mEventWindowId;
78 std::string getEventUri()
const 83 int getIntValue()
const 88 std::string getStringValue()
const 93 void getRectValue(
int& xOut,
int& yOut,
int& widthOut,
int& heightOut )
const 98 heightOut = mHeightVal;
103 std::string mEventUri;
105 std::string mStringVal;
120 virtual void onPageChanged(
const EventType& eventIn ) { };
121 virtual void onNavigateBegin(
const EventType& eventIn ) { };
122 virtual void onNavigateComplete(
const EventType& eventIn ) { };
123 virtual void onUpdateProgress(
const EventType& eventIn ) { };
124 virtual void onStatusTextChange(
const EventType& eventIn ) { };
125 virtual void onLocationChange(
const EventType& eventIn ) { };
126 virtual void onClickLinkHref(
const EventType& eventIn ) { };
138 virtual void DeleteThis()=0;
141 virtual bool init( std::string appBaseDirIn, std::string profileDirNameIn )=0;
142 virtual bool reset()=0;
143 virtual bool clearCache()=0;
144 virtual int getLastError()=0;
145 virtual const std::string getVersion()=0;
146 virtual void setBrowserAgentId( std::string idIn )=0;
149 virtual int createBrowserWindow(
void* nativeWindowHandleIn,
int browserWindowWidthIn,
int browserWindowHeightIn )=0;
150 virtual bool destroyBrowserWindow(
int browserWindowIdIn )=0;
151 virtual bool setSize(
int browserWindowIdIn,
int widthIn,
int heightIn )=0;
152 virtual bool scrollByLines(
int browserWindowIdIn,
int linesIn )=0;
153 virtual bool setBackgroundColor(
int browserWindowIdIn,
const int redIn,
const int greenIn,
const int blueIn )=0;
154 virtual bool setEnabled(
int browserWindowIdIn,
bool enabledIn )=0;
161 virtual bool navigateTo(
int browserWindowIdIn,
const std::string uriIn )=0;
162 virtual bool navigateStop(
int browserWindowIdIn )=0;
163 virtual bool canNavigateBack(
int browserWindowIdIn )=0;
164 virtual bool navigateBack(
int browserWindowIdIn )=0;
165 virtual bool canNavigateForward(
int browserWindowIdIn )=0;
166 virtual bool navigateForward(
int browserWindowIdIn )=0;
169 virtual const unsigned char* grabBrowserWindow(
int browserWindowIdIn )=0;
170 virtual const unsigned char* getBrowserWindowPixels(
int browserWindowIdIn )=0;
171 virtual const int getBrowserWidth(
int browserWindowIdIn )=0;
172 virtual const int getBrowserHeight(
int browserWindowIdIn )=0;
173 virtual const int getBrowserDepth(
int browserWindowIdIn )=0;
174 virtual const int getBrowserRowSpan(
int browserWindowIdIn )=0;
177 virtual bool mouseDown(
int browserWindowIdIn,
int xPosIn,
int yPosIn )=0;
178 virtual bool mouseUp(
int browserWindowIdIn,
int xPosIn,
int yPosIn )=0;
179 virtual bool mouseMove(
int browserWindowIdIn,
int xPosIn,
int yPosIn )=0;
180 virtual bool keyPress(
int browserWindowIdIn,
int keyCodeIn )=0;
181 virtual bool focusBrowser(
int browserWindowIdIn,
bool focusBrowserIn )=0;
184 virtual void setNoFollowScheme(
int browserWindowIdIn, std::string schemeIn )=0;
185 virtual std::string getNoFollowScheme(
int browserWindowIdIn )=0;
Definition: IHTMLRenderer.h:24
different physics engine has different winding order.
Definition: EventBinding.h:32
Definition: IHTMLRenderer.h:114
NPL interface of a XML Web service client proxy this class is implemented by ParaEngine.Net plug-in.
Definition: IHTMLRenderer.h:134
EventType
event type
Definition: PEtypes.h:184