view src/xembed.hh @ 2104:3e7e5395f0bc

non-ASCII keybindings Alexander Voigt has kindly done some testing, and it seems that this makes bindings to most keys on a German keyboard possible -- except those that need AltGr don't work yet.
author corvid <corvid@lavabit.com>
date Thu, 23 Jun 2011 19:24:11 +0000
parents 3e1144e4a40f
children
line wrap: on
line source
#ifndef __XEMBED_HH__
#define __XEMBED_HH__

#include <FL/Fl_Window.H>

#include "d_size.h"

class Xembed : public Fl_Window {
   private:
      uint32_t xid;
      void createInternal(uint32_t parent);
      void setXembedInfo(unsigned long flags);
      void sendXembedEvent(uint32_t message);

   public:
      Xembed(uint32_t xid, int _w, int _h) : Fl_Window(_w, _h) {
         this->xid = xid;
      };
      void show();
      int handle(int event);
};

#endif