annotate src/xembed.hh @ 1820:0c700b9cd251

some xembed
author corvid <corvid@lavabit.com>
date Sat, 08 Jan 2011 04:23:26 +0000
parents fd2b0634abe9
children 3e1144e4a40f
rev   line source
1125
6b59ccaaaf92 make header file consistent after rename (noticed by corvid)
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents: 1124
diff changeset
1 #ifndef __XEMBED_HH__
6b59ccaaaf92 make header file consistent after rename (noticed by corvid)
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents: 1124
diff changeset
2 #define __XEMBED_HH__
1110
b76606e867fe add missing xembed files
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents:
diff changeset
3
1820
0c700b9cd251 some xembed
corvid <corvid@lavabit.com>
parents: 1142
diff changeset
4 #include <FL/Fl_Window.H>
1110
b76606e867fe add missing xembed files
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents:
diff changeset
5
1124
125b17ba0194 d_size.h for uint32_t
corvid <corvid@lavabit.com>
parents: 1123
diff changeset
6 #include "d_size.h"
125b17ba0194 d_size.h for uint32_t
corvid <corvid@lavabit.com>
parents: 1123
diff changeset
7
1820
0c700b9cd251 some xembed
corvid <corvid@lavabit.com>
parents: 1142
diff changeset
8 class Xembed : public Fl_Window {
1142
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents: 1137
diff changeset
9 private:
1137
f10904ac58b4 more xembed work
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents: 1125
diff changeset
10 uint32_t xid;
1142
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents: 1137
diff changeset
11 void createInternal(uint32_t parent);
1137
f10904ac58b4 more xembed work
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents: 1125
diff changeset
12 void setXembedInfo(unsigned long flags);
f10904ac58b4 more xembed work
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents: 1125
diff changeset
13 void sendXembedEvent(uint32_t message);
f10904ac58b4 more xembed work
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents: 1125
diff changeset
14
1110
b76606e867fe add missing xembed files
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents:
diff changeset
15 public:
1820
0c700b9cd251 some xembed
corvid <corvid@lavabit.com>
parents: 1142
diff changeset
16 Xembed(uint32_t xid, int _w, int _h) : Fl_Window(_w, _h) {
1142
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents: 1137
diff changeset
17 this->xid = xid;
1137
f10904ac58b4 more xembed work
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents: 1125
diff changeset
18 };
f10904ac58b4 more xembed work
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents: 1125
diff changeset
19 void create();
f10904ac58b4 more xembed work
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents: 1125
diff changeset
20 int handle(int event);
1110
b76606e867fe add missing xembed files
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents:
diff changeset
21 };
b76606e867fe add missing xembed files
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents:
diff changeset
22
b76606e867fe add missing xembed files
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents:
diff changeset
23 #endif