Changeset 3699 for pjproject/trunk/pjsip-apps/src/vidgui/vidwin.h
- Timestamp:
- Aug 15, 2011 10:29:14 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/vidgui/vidwin.h
r3686 r3699 10 10 11 11 public: 12 // hwnd Handle of the video rendering window. 13 VidWin(pjmedia_vid_dev_hwnd *hwnd = NULL, 12 VidWin(const pjmedia_vid_dev_hwnd *hwnd, 14 13 QWidget* parent = 0, 15 14 Qt::WindowFlags f = 0); 16 15 virtual ~VidWin(); 16 QSize sizeHint() const { return size_hint; } 17 17 18 18 protected: 19 v oid resizeEvent(QResizeEvent *e);19 virtual bool event(QEvent *e); 20 20 21 21 private: 22 22 pjmedia_vid_dev_hwnd hwnd; 23 //pjmedia_vid_dev_hwnd old_parent_hwnd;24 pj_timer_entry timer_entry;23 void *orig_parent; 24 QSize size_hint; 25 25 26 static void timer_cb(pj_timer_heap_t *timer_heap, 27 struct pj_timer_entry *entry); 28 29 void embed(); 30 void resize(); 26 void attach(); 27 void detach(); 28 void set_size(); 29 void get_size(); 31 30 }; 32 31 33 32 #endif 33
Note: See TracChangeset
for help on using the changeset viewer.