Saturday, July 26, 2014

Added file dialog API [updated]

Ding ding ding!

I just added a new API (SDLU_FileDialog()), which fires up a file chooser dialog. See 'testfiledialog' for an example of its usage.

The back-ends supported so far are GTK+ (for UNIX and Mac OS X) and the Win32 API. Soon to be added is a native Mac OS X backend (using NSOpenPanel).

Just download the latest version from http://bitbucket.org/sdlu/sdlu/get/master.zip, compile and have fun! I have also uploaded snapshots at the downloads page at bitbucket.


-- Aggelos Kolaitis

Tuesday, June 24, 2014

Planning some "de-bloating"

Having finally finished my finals, I look into removing some bloat from the library. By "bloat", I refer to stuff that is of no real use, or stuff that can be simplified. Also, it is quite important to clean-up the source code, which is messed up in quite a few places, and remove some APIs that are not really needed anymore, e.g. the Framerate API, which is not needed since SDL got Vsync support.

-- Aggelos Kolaitis

Sunday, May 11, 2014

Many bug fixes for OpenGL

The last two days I sat down to finally solve the crashes and stack corruptions that occured from SDLU_GL_RenderCacheState() and SDLU_GL_RenderRestoreState() under Windows (Visual Studio and CodeBlocks).

AND, it seems that all of this was successful, since the functions now work as expected. Please get the latest version [ SDLU-2.1-102 ] from bitbucket if you have been experiencing those errors.

-- Aggelos Kolaitis

Friday, April 25, 2014

Source code snapshot [26 April 2014]

What's new in this source code snapshot:

Additions
  • New Combo Box API
  • Added SDLU_CreateSpriteFromRW()
  • Added SDLU::Turtle::GetTurtle()
Changes
none

Build System
  • Added BUILD_FRAMEWORK option to the CMake build system
  • Fixes for frameworkbuild.sh, sdlu-config and sdlu.pc
  • configure can now be told to find the SDL and SDL_ttf frameworks

Other
  • Many big or small bugs and memory leaks have been fixed

You can download the source code snapshot from the bitbucket downloads page, or use the following links:


Please test the library and report any bugs or feature requests in the SDLU bug tracker.

-- Aggelos Kolaitis

Wednesday, March 26, 2014

Please test the new SDLU.framework

About two weeks ago I added 'frameworkbuild.sh', which would build SDLU.framework under Mac OS X. This script suffered from a few issues, like building the library on the fly and depending on some hard-coded stuff.

Recently, I moved this functionality into the CMake build system, by adding an extra option BUILD_FRAMEWORK. Please test this out and report any bugs in the issue tracker.

-- Aggelos Kolaitis

Wednesday, March 12, 2014

Development update

The last few days I had to concentrate on my studying, so I've had little time for development. However, I'm currently in the process of writing a basic SDLU_ComboBox API. It will be added as soon as its completed (well, as soon as it works).

-- Aggelos Kolaitis

Sunday, March 2, 2014

Some special care for Mac OS X

Good news, Mac OSX users!

Yesterday I finally got my hands on a Macbook Pro (god, that retina is soooo great!). This allowed to actually test SDLU under Mac OS X. Several bugs in the build system for Mac OS X have been fixed, the iOS port actually works (with Xcode support!), and the tests run smoothly! If you had encountered any problems before, please update to the latest version from bitbucket.

-- Aggelos Kolaitis

Sunday, February 23, 2014

Please update to latest SDLU

SDL2 revision 8234 made a serious change in the order which event watchers are executed. SDLU depended on the undocumented fact that they were run in reverse order. Revision 8234 changes this, so if you use SDL2 revision 8234 or higher, please also update to the latest SDLU from git.

-- Aggelos Kolaitis

Thursday, January 30, 2014

SDLU 2.1 released!

SDLU is an open-source cross-platform library that makes developing SDL2 programs and games faster and easier.

SDLU supports Windows, Linux, Mac OS X, Android, iOS and the Raspberry Pi.

It is written in C, and is distributed under the terms of the zlib license, see COPYING for details.

You can get the source code from the git repository in bitbucket. After building the library, see the example programs in the "test/" subdirectory to get started. Documentation can be found in the header files, and if you downloaded SDLU from the downloads page at bitbucket, then HTML documentation can be found in the "docs/" folder.

For any questions, suggestions or thoughts, feel free to contact me at "neoaggelos@gmail.com".

Features:
* Cross-platform, zlib licensed, just like SDL2
* Fully featured Button API, with SDL2 event queue integration
* Support for static or animated hardware accelerated sprites
* Extends SDL2 Render API with polygon rendering routines
* Text Rendering API
* APIs that allow mixing pure OpenGL calls with the SDL2 Render API
* Ini file handling API
* Turtle drawing API
* Optional cxx interface
* .... and much more

Blog:           http://libsdlu.blogspot.com
Repository: http://bitbucket.org/sdlu/sdlu


-- Aggelos Kolaitis
-- The SDL Utility Library [http://bitbucket.org/sdlu/sdlu]