PolycodeWebView.h 395 B

1234567891011121314151617181920212223
  1. #include <Polycode.h>
  2. #include <Awesomium/WebCore.h>
  3. using namespace Polycode;
  4. class PolycodeWebView {
  5. public:
  6. PolycodeWebView(unsigned int width, unsigned int height, String url);
  7. ~PolycodeWebView();
  8. void Update();
  9. Texture *getRenderTexture();
  10. protected:
  11. int width, height;
  12. Texture *renderTexture;
  13. Awesomium::WebView* webView;
  14. Awesomium::WebCore* webCore;
  15. };