Mark White's Portfolio

Home  > Portfolio > Game Programming - GUI Framework

GUI Framework

A screenshot of a working example of the GUI Framework

The GUI framework is a widget based framework utilising an event messaging system which passes data to the widgets within the GUI based on user interaction. The framework current supports two types of user interaction – mouse and keyboard – though the keyboard interaction isn’t fully implemented yet as tabbing isn’t available.

It should be noted that the efficiency and elegance of the design and code is not production ready. The GUI framework is primarily an exploratory experiment that I used to understand how a visually interesting GUI could be implemented without third party GUI sub systems – the GUI framework only use C++, SDL and OpenGL. For this reason the design could be improved, especially the efficiency of functions. Also the base widgets – buttons, text areas, labels – are not fully complete as time did not allow for the completeness. Instead you should view the widgets as demonstrational objects that could be refined if this framework was to be used in other applications.