X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/446779ee32cf06a775f80a786531fcf92eeba64e..5a5f305a0f1cdd740d7ca299764755a62108fbda:/include/wx/dfb/wrapdfb.h?ds=sidebyside diff --git a/include/wx/dfb/wrapdfb.h b/include/wx/dfb/wrapdfb.h index 292b83d39e..da753b6063 100644 --- a/include/wx/dfb/wrapdfb.h +++ b/include/wx/dfb/wrapdfb.h @@ -16,6 +16,13 @@ #include "wx/vidmode.h" #include +#include + +// DFB < 1.0 didn't have u8 type, only __u8 +#if DIRECTFB_MAJOR_VERSION == 0 +typedef __u8 u8; +#endif + wxDFB_DECLARE_INTERFACE(IDirectFB); wxDFB_DECLARE_INTERFACE(IDirectFBDisplayLayer); @@ -427,6 +434,12 @@ struct wxIDirectFBWindow : public wxDfbWrapper bool SetStackingClass(DFBWindowStackingClass klass) { return Check(m_ptr->SetStackingClass(m_ptr, klass)); } + bool RaiseToTop() + { return Check(m_ptr->RaiseToTop(m_ptr)); } + + bool LowerToBottom() + { return Check(m_ptr->LowerToBottom(m_ptr)); } + wxIDirectFBSurfacePtr GetSurface() { IDirectFBSurface *s;