Merge pull request #23 from qehgt/master

Fix memory leak for multilined text objects
Fix the SFML renderer to work with non-MSVC compilers
Merge pull request #24 from Simononon/master

Fix the SFML renderer to work with non-MSVC compilers
Fix for TextBoxes not moving the text in text boxes when moving the
carat or adding characters that exceed the textbox's visible space.

- Adds empty PostLayout() in TextBox class to avoid Label's PostLayout
  from being called. Otherwise the text's position will always be set to
  a fixed position defined by the alignment.

Misc changes:
- Removed extraneous semicolon in TextBox::MakeCaratVisible()
- Added newline in TextBox.cpp to avoid GNU compiler warnings
Fix for crash when exiting OpenGL samples

Cause:
- Order of operations was causing the crash. The OpenGL renderer was being
  deleted before the TexturedBase skin, which depended on it.

Fix:
- skin was changed to a pointer, allowing it to be deleted before the
  OpenGL renderer.
Added newline at end of OpenGLSample
Merge pull request #28 from DeeKayHT/TextBox_Fix

Fix for TextBoxes not moving the text when caret needs to move
Merge pull request #29 from DeeKayHT/OpenGL_Fix

OpenGLSample crash fix
Designer compiling in Xcode.
* Needed to put factory registration functions in Gwen::ControlFactory namespace.
Added Allegro platform.
* To support OSX I added an Allegro 5.1 platform for Gwen. This will also work on other platforms Allegro supports. Some features not fully implemented, like window minimise.
* Use Allegro clock.
* Don't crash if no file selected.
Fix sleep ms.
Fix keyboard focus not being reset when no control with keyboard input is selected
Make SelectItem public so that items don't have to be uniquely named
Enable mouse input for a scroll controls inner panel so that scrolling works when the mouse is not over a control
Merge branch 'master' of https://github.com/garrynewman/GWEN
Use correct float functions: ceilf and floorf.
Fix Allegro line rect drawing.
* Rect wasn't being translated.
* Clear screen on begin context.
Spaces to tabs.
Spaces to tabs.
* Gwen uses tab for indentation.