include/df/webwindow.hpp

00001 struct WebWindowData;
00002 
00003 class WebWindowCallback {
00004   public:
00005     virtual void Navigated(char *);
00006     virtual BOOL BeforeNavigate(char *);  //return TRUE to allow, FALSE to cancel
00007 };
00008 
00009 class WebWindow : public Window {
00010   private:
00011     WebWindowData *wwd;
00012   public:
00013     BOOL webValid;
00014     WebWindow();
00015     ~WebWindow();
00016     BOOL Create(int _xpos,int _ypos,int _x,int _y,int _Style,Element *_Parent);
00017     void Destroy();
00018     void SetSize(uint32,uint32);
00019     void SetPos(int,int);
00020     void Show();
00021     void Hide();
00022 //WebWindow Interace members
00023     void SetCallback(WebWindowCallback *);
00024     BOOL Navigate(char *url);
00025     BOOL LoadHTML(char *html);
00026     BOOL Home();
00027     BOOL Back();
00028     BOOL Forward();
00029     BOOL Refresh();
00030     BOOL Stop();
00031 };
00032 
00033 

Generated on Mon Mar 5 09:49:14 2007 for DigiForce by  doxygen 1.4.7