Differences

This shows you the differences between the selected revision and the current
version of the page.


wmebook:ch12 2007/12/12 16:01 wmebook:ch12 2007/12/13 11:30 current
Line 11: Line 11:
So our first question is - What is the window? Window is a rectangular area on the screen which you can use as a container for the window components. You can also use nested windows (other windows inside your parent window) and of course you can modify the look and feel of such windows entirely to your liking. So our first question is - What is the window? Window is a rectangular area on the screen which you can use as a container for the window components. You can also use nested windows (other windows inside your parent window) and of course you can modify the look and feel of such windows entirely to your liking.
-So let's start by speaking of the components we can put into our window:+Let's start by speaking about the components we can put onto our window:
**Button** - is as written in the documentation - "either graphical or rectangular with a text label, or a combination of both" representation of (gasp) a button. So anything what you need to push. As a tradeoff for using button instead of entity container (see below) you got the fast way how to set up hover, focus or pressed image and couple of other goodies. **Button** - is as written in the documentation - "either graphical or rectangular with a text label, or a combination of both" representation of (gasp) a button. So anything what you need to push. As a tradeoff for using button instead of entity container (see below) you got the fast way how to set up hover, focus or pressed image and couple of other goodies.
 +**Editors** - are the way how you can //almost// comfortably enter the text using an input line. The user can enter text in the editor, select part of the text and copy/paste text to/from clipboard. But here's a big bad catch. No support for UTF-8 together with nonwritten necessity to localize the game using UTF, you can use this control only for obtaining basic input (alphanumeric characters).
 +**Static controls** - are used for various non-interactive (thus static) component of the window (think labels, icons, images you name it).
 +**Entity containers** - are advanced containers which you can use to place a real entities inside. Entities will create a whole new level of interaction to your windows and with using them you can easily make your windows integral part of (even very dynamic) game design.
 +
 +With those components we already can do quite a lot. Back in the old days you had to create windows by hand as a text file (similary to actors etc.). Nowadays though you can easily create your windows in a new tool called Window Editor, which will be our next step.
 
wmebook/ch12.1197471700.txt.gz · Last modified: 2007/12/12 16:01 by metamorphium
Recent changes RSS feed Creative Commons License Driven by DokuWiki