| 123456789101112131415161718192021222324252627282930313233343536 |
- #include "BsGUIElementContainer.h"
- #include "BsGUISkin.h"
- namespace BansheeEngine
- {
- GUIElementContainer::GUIElementContainer(const GUIDimensions& dimensions, const String& style)
- :GUIElement(style, dimensions)
- { }
- GUIElementContainer::~GUIElementContainer()
- { }
- UINT32 GUIElementContainer::_getNumRenderElements() const
- {
- return 0;
- }
- const GUIMaterialInfo& GUIElementContainer::_getMaterial(UINT32 renderElementIdx) const
- {
- BS_EXCEPT(InvalidStateException, "Trying to retrieve a material from an element with no render elements.");
- }
- UINT32 GUIElementContainer::_getNumQuads(UINT32 renderElementIdx) const
- {
- return 0;
- }
- void GUIElementContainer::_fillBuffer(UINT8* vertices, UINT8* uv, UINT32* indices, UINT32 startingQuad, UINT32 maxNumQuads,
- UINT32 vertexStride, UINT32 indexStride, UINT32 renderElementIdx) const
- { }
- Vector2I GUIElementContainer::_getOptimalSize() const
- {
- return Vector2I();
- }
- }
|