annotate src/xembed.hh @ 1142:fd2b0634abe9

style
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Fri, 29 May 2009 07:51:19 +0200
parents f10904ac58b4
children 0c700b9cd251
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
b76606e867fe add missing xembed files
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents:
diff changeset
4 #include <fltk/Window.h>
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
1110
b76606e867fe add missing xembed files
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents:
diff changeset
8 class Xembed : public fltk::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:
1137
f10904ac58b4 more xembed work
Johannes Hofmann <Johannes.Hofmann@gmx.de>
parents: 1125
diff changeset
16 Xembed(uint32_t xid, int _w, int _h) : fltk::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