- Main Page
- Classes
- Files

- File List

# C:/Documents and Settings/Administrator/Desktop/woopsi-src-0.39/Woopsi/woopsi/skin.h

    00001 #ifndef _SKIN_H_
    00002 #define _SKIN_H_
    00003
    00004 #include <nds.h>
    00005 #include "fontbase.h"
    00006
    00007 namespace WoopsiUI {
    00008
    00009         typedef struct {
    00010                 const u16* focus;
    00011                 const u16* blur;
    00012                 const u16* focusClick;
    00013                 const u16* blurClick;
    00014                 u16 width;
    00015                 u16 height;
    00016         } SkinBitmap;
    00017
    00018         typedef struct {
    00019                 FontBase* font;
    00020                 u16 colour;
    00021                 bool monochrome;
    00022         } SkinFont;
    00023
    00024         typedef struct {
    00025                 u16 back;
    00026                 u16 shine;
    00027                 u16 highlight;
    00028                 u16 shadow;
    00029                 u16 fill;
    00030         } SkinColours;
    00031
    00032         typedef struct {
    00033                 SkinFont font;
    00034                 SkinColours colours;
    00035                 SkinBitmap bitmap;
    00036                 u16 offsetX;
    00037                 u16 offsetY;
    00038                 u8 permeable : 1;
    00039                 u8 borderless : 1;
    00040                 u8 visible : 1;
    00041         } GadgetSkin;
    00042
    00043         typedef struct {
    00044                 GadgetSkin titleBar;
    00045                 GadgetSkin depthButton;
    00046                 GadgetSkin flipButton;
    00047                 GadgetSkin screen;
    00048         } ScreenSkin;
    00049
    00050         typedef struct {
    00051                 GadgetSkin topLeftBorder;
    00052                 GadgetSkin topCentreBorder;
    00053                 GadgetSkin topRightBorder;
    00054                 GadgetSkin leftBorder;
    00055                 GadgetSkin rightBorder;
    00056                 GadgetSkin bottomLeftBorder;
    00057                 GadgetSkin bottomRightBorder;
    00058                 GadgetSkin bottomCentreBorder;
    00059                 GadgetSkin depthButton;
    00060                 GadgetSkin closeButton;
    00061                 GadgetSkin window;
    00062         } WindowSkin;
    00063 }
    00064
    00065 #endif

All Classes Functions Variables Enumerations Enumerator