X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=src%2Fgui-toolbar.h;fp=src%2Fgui-toolbar.h;h=4d09b6c7ed5ee0cc6737d9223f339000ae121e1a;hb=da89e12dbf35ce6452e6a6e2eeb3f83eaeb94c97;hp=0000000000000000000000000000000000000000;hpb=5780991d786b994724112c97f691d9e2b9f2f1c5;p=guile-irrlicht.git diff --git a/src/gui-toolbar.h b/src/gui-toolbar.h new file mode 100644 index 0000000..4d09b6c --- /dev/null +++ b/src/gui-toolbar.h @@ -0,0 +1,43 @@ +/* guile-irrlicht --- GNU Guile bindings for Irrlicht Engine + + Copyright (C) 2020 Javier Sancho + + This file is part of guile-irrlicht. + + guile-irrlicht is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation; either version 3 of the + License, or (at your option) any later version. + + guile-irrlicht is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with guile-irrlicht. If not, see + . +*/ + +#ifndef __GUILE_IRRLICHT_GUI_TOOLBAR_H_INCLUDED__ +#define __GUILE_IRRLICHT_GUI_TOOLBAR_H_INCLUDED__ + +#include +#include +#include "wrapped.h" + +extern "C" { + + void + init_gui_toolbar (void); + + DECLARE_WRAPPED_TYPE (irr::gui::IGUIToolBar*, init_gui_toolbar_type, + gui_toolbar_p, wrap_gui_toolbar, unwrap_gui_toolbar); + + SCM + irr_gui_IGUIToolBar_addButton (SCM wrapped_gui_toolbar, + SCM rest); + +} + +#endif