[cleanup] removed _callback prefix from widget

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
[cleanup] removed trivial/rearely/internally used functions

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
[cleanup] removed trivial context functions

Context is an interface, all functions are pointers. The context
functions implemented in context.c were trivial wrappers.

The wrappers were removed, the function pointers can be accessed
directly.

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
[hotfix] event queue modification while processing

 - event queue could be modified while being processed
 - queue was resized and pointer being accessed turned invalid
 - fixed by snatching the queue when processing
   -> new events are added to new queue
   -> old queue free'd after being processed

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
[fix] process remaining events after last window closes

 - When the last window closes, there may still be events in
   the internal queue
 - Continue processing events until queue is empty

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
[cleanup] moved internal.h event functions to event.h

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
[cleanup] removed unused utf8 strncpy function

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
[cleanup] Minor event system cleanup

 - remove redundant fields from listener structure
 - merge redundant code paths in sgui_event_connect
 - fail if callback is NULL
 - remove excessively verbose comments
 - error checking in sgui_event_post
    - try resize queue
    - drop event if not possible
    - previously: assume allocation never fails,
      explode in your face if it does
 - minor simplifications in sgui_event_process

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
[cleanup] Integrate doxygen generation into cmake buildsystem

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
[cleanup] Generate WinDOS zip packge via cmake buildsystem

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Add Unix installation targets to build system

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
[fix] Fixed project description

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
[cleanup] remove package script

Everyhing integrated into build system

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
[fix] missing escapes in doxygen input file

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Merge branch 'master' into goliath/feature/subwm

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>

Conflicts:
	Doxyfile.in
Add API changes

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Add ctx_wm sample backend selection

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Add ctx_wm OpenGL core stub

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>