New GUI skin [update: new skins, support for 1.5/1.6]
1.4 seems to have screwed some stuff.
I'm getting this:
Thanks.
I'm getting this:
Any idea how to fix this?1>------ Build started: Project: Old West, Configuration: Debug Win32 ------
1>Compiling...
1>Main.cpp
1>c:\documents and settings\cleves\my documents\visual studio 2005\projects\old west\old west\main.cpp(156) : error C2259: 'irr::gui::CImageGUISkin' : cannot instantiate abstract class
1> due to following members:
1> 'irr::video::SColor irr::gui::IGUISkin::getColor(irr::gui::EGUI_DEFAULT_COLOR) const' : is abstract
1> c:\program files\irrlicht\irrlicht-1.4\include\iguiskin.h(332) : see declaration of 'irr::gui::IGUISkin::getColor'
1> 'irr::s32 irr::gui::IGUISkin::getSize(irr::gui::EGUI_DEFAULT_SIZE) const' : is abstract
1> c:\program files\irrlicht\irrlicht-1.4\include\iguiskin.h(338) : see declaration of 'irr::gui::IGUISkin::getSize'
1> 'const wchar_t *irr::gui::IGUISkin::getDefaultText(irr::gui::EGUI_DEFAULT_TEXT) const' : is abstract
1> c:\program files\irrlicht\irrlicht-1.4\include\iguiskin.h(343) : see declaration of 'irr::gui::IGUISkin::getDefaultText'
1> 'irr::gui::IGUIFont *irr::gui::IGUISkin::getFont(irr::gui::EGUI_DEFAULT_FONT) const' : is abstract
1> c:\program files\irrlicht\irrlicht-1.4\include\iguiskin.h(354) : see declaration of 'irr::gui::IGUISkin::getFont'
1> 'irr::gui::IGUISpriteBank *irr::gui::IGUISkin::getSpriteBank(void) const' : is abstract
1> c:\program files\irrlicht\irrlicht-1.4\include\iguiskin.h(360) : see declaration of 'irr::gui::IGUISkin::getSpriteBank'
1> 'irr::u32 irr::gui::IGUISkin::getIcon(irr::gui::EGUI_DEFAULT_ICON) const' : is abstract
1> c:\program files\irrlicht\irrlicht-1.4\include\iguiskin.h(367) : see declaration of 'irr::gui::IGUISkin::getIcon'
1> 'void irr::gui::IGUISkin::draw2DRectangle(irr::gui::IGUIElement *,const irr::video::SColor &,const irr::core::rect<T> &,const irr::core::rect<T> *)' : is abstract
1> with
1> [
1> T=irr::s32
1> ]
1> c:\program files\irrlicht\irrlicht-1.4\include\iguiskin.h(503) : see declaration of 'irr::gui::IGUISkin::draw2DRectangle'
Thanks.
Updated to work with Irrlicht 1.4. Download.
Wow that was quick.
My company: http://www.kloena.com
My blog: http://www.zhieng.com
My co-working space: http://www.deskspace.info
My blog: http://www.zhieng.com
My co-working space: http://www.deskspace.info
-
- Posts: 81
- Joined: Sun Sep 09, 2007 7:01 pm
- Location: BW, Germany
What video cards do you guys have? As this happens to me on my ATI 200M. I think it has screwy non-power-of-two support.
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
-
- Posts: 81
- Joined: Sun Sep 09, 2007 7:01 pm
- Location: BW, Germany
-
- Posts: 170
- Joined: Sun Jul 01, 2007 11:41 pm
- Location: Manchester, UK