Overview

The WSX library has become fairly large and complex, and many of you have struggled to begin using it without guidance. This overview is intended to explain how the library works internally, so that you can use it, derive classes, and make modifications. Before starting however, I would like to point out that the source code is comprehensively documented.

GUIManager

The obvious place to start is with the GUIManager class. This class is at the base of the control hierarchy, but is not actually a control as it doesn't derive from UIComponent. It's main purpose is to act as the DrawableGameComponent that gets updated and drawn by the framework. On top of that, it tracks which control has focus, and draws the mouse cursor on top of all the controls.

Last edited Sep 8, 2008 at 9:31 PM by cdmac, version 1

Comments

No comments yet.