Crazy Eddie's GUI System 0.8.7
This page lists the major breaking changes, and other related changes, made to the library for the 0.7.x series of releases.
Code organisation and structure
Windows specific and/or MSVC++ specific changes
Apple Mac specific and/or Xcode specific changes
Resourcesdirectory, additionally the XMLParser and ImageCodec based loadable bundles were packaged within the CEGUI framework itself, this has changed as follows:
PlugInsdirectory. This decision was taken because it's up to each app developer to decide which loadable bundles they want to support and so it's more logical to have those placed at the app level rather than embedded deeper within the CEGUI frameworks. Having said this, CEGUI will still look in the
PlugInslocation of the CEGUIBase framework for bundles; if you wish to reconfigure the loadable bundle targets to be placed there instead, CEGUI will find them (it's just that it's not the preferred default).
CEGUIBase. This is mostly to have parity across all platforms as far as module names go, although also reflects the fact that 'CEGUI' on the Mac is no longer a monolithic entity.
Window interface and/or behavioural changes.
Window::getRenderCacheis removed. You probably now want to be doing something with Window::getGeometryBuffer.
Window::requestRedrawfunction is replaced by Window::invalidate function (NB: function also changes from const to non-const)
Window::d_textis now known as Window::d_textLogical.
allow_disabled, which when set to true will test for a hit if the Window is disabled. Don't forget to update the signatures of any overrides!
Window::getUnclippedPixelRectis renamed Window::getUnclippedOuterRect.
Window::getPixelRectis renamed Window::getOuterRectClipper, and should only really be used for clipping rendered content.
Window::getInnerRectis renamed Window::getInnerRectClipper, and should only really be used for clipping rendered content.
Window::getPixelRect_implvirtual function is removed.
WindowRenderer::getPixelRectvirtual function is removed.
Renderer interface changes and related items.
OrientationFlagsenumeration is removed.
Renderer::addQuadfunction is removed. Geometry is now added directly to the per-window GeometryBuffer object(s).
Renderer::clearRenderListfunction is removed.
Renderer::setQueueingEnabledfunction is removed.
Renderer::isQueueingEnabledfunction is removed.
Renderer::doRenderfunction is removed. Final rendering is now achieved by calling RenderingSurface::draw for the root RenderingSurface(s).
getHeightfunctions are removed.
Renderer::getSizefunction becomes Renderer::getDisplaySize returning a const Size reference.
Renderer::getRectfunction is removed.
Renderer::getVertScreenDPIare replaced with a single Renderer::getDisplayDPI function returning a const Vector2 reference.
Renderer::resetZValuefunction is removed.
Renderer::advanceZValuefunction is removed.
Renderer::getCurrentZfunction is removed.
Renderer::getZLayerfunction is removed.
Renderer::createResourceProviderfunction is removed. A DefaultResourceProvider is now used unless you explicitly provide an alternative.
Renderer::EventDisplaySizeChangedis moved to the System object. Informing the system that the display has changed size is now achieved by calling System::notifyDisplaySizeChanged, which in turn will set the display size back on the Renderer object. This gives a fully uniform interface for this procedure, and is better than the old ad-hoc approach.
Texture interface changes.
Texture::getHeightare replaced with a single Texture::getSize function returning a const Size reference.
Texture::getOriginalHeightare replaced with a single Texture::getOriginalDataSize function returning a const Size reference.
Texture::getXScaleare replaced with a single Texture::getTexelScaling function returning a const Vector2 reference.
buffHeightarguments with a single Size object reference
Texture::getRendererfunction is removed.
FontManager::createFontfunctions are renamed to FontManager::create (inherited from base class), FontManager::createFreeTypeFont and FontManager::createPixmapFont. All have totally new signatures.
FontManager::destroyFontfunction renamed to FontManager::destroy (inherited from new base class).
FontManager::destroyAllFontsfunction renamed to FontManager::destroyAll (inherited from new base class).
FontManager::isFontPresentfunction is renamed to FontManager::isDefined (inherited from new base class).
FontManager::getFontfunction is renamed to FontManager::get (inherited from new base class)
FontManager::notifyScreenResolutionfunction renamed to FontManager::notifyDisplaySizeChanged.
Font::notifyScreenResolutionfunction renamed to Font::notifyDisplaySizeChanged.
Font::drawWrappedText(protected) function is removed.
Font::drawTextLine(protected) function is removed.
Font::drawTextLineJustified(protected) function is removed.
Font::getNextWord(protected) function is removed.
Font::getWrappedTextExtent(protected) function is removed.
Font::getFormattedTextExtentfunction is removed.
"Name"will no longer incorrectly allow a Font name to be changed (a 'soft' error is logged).
Image, Imageset and ImagesetManager changes
ImagesetManager::createImagesetfunctions are renamed to ImagesetManager::create (main one inherited from base class, and others for overload consistency).
ImagesetManager::destroyImagesetfunctions renamed to ImagesetManager::destroy (inherited from new base class).
ImagesetManager::destroyAllImagesetsfunction renamed to ImagesetManager::destroyAll (inherited from new base class).
ImagesetManager::isImagesetPresentfunction is renamed to ImagesetManager::isDefined (inherited from new base class).
ImagesetManager::createImagesetFromImageFileis renamed to ImagesetManager::createFromImageFile (remove verbosity / for consistency).
ImagesetManager::getImagesetfunction is renamed to ImagesetManager::get (inherited from new base class)
ImagesetManager::notifyScreenResolutionfunction renamed to ImagesetManager::notifyDisplaySizeChanged.
Imageset::notifyScreenResolutionfunction renamed to Imageset::notifyDisplaySizeChanged.
SchemeManager::loadSchemefunction is renamed to SchemeManager::create (inherited from base class)
SchemeManager::unloadSchemefunction renamed to SchemeManager::destroy (inherited from new base class).
SchemeManager::unloadAllSchemesfunction renamed to SchemeManager::destroyAll (inherited from new base class).
SchemeManager::isSchemePresentfunction is renamed to SchemeManager::isDefined (inherited from new base class).
SchemeManager::getSchemefunction is renamed to SchemeManager::get (inherited from new base class)
Events and input handling changes
Scripting and script module changes
XML Config file changes
Falagard WindowRenderer set changes
FalagardStaticText::HorzFormattingenumeration removed, use HorizontalTextFormatting enumeration instead.
FalagardStaticText::VertFormattingenumeration removed, use VerticalTextFormatting enumeration instead.
ListboxItem::d_itemTextrenamed to ListboxItem::d_textLogical.
TreeItem::d_itemTextrenamed to TreeItem::d_textLogical.
TextFormattingenumeration is removed, use VerticalTextFormatting and HorizontalTextFormatting enumerations instead.