Mana
Loading...
Searching...
No Matches
Classes | Namespaces | Enumerations
theme.h File Reference
#include "graphics.h"
#include "eventlistener.h"
#include "gui/palette.h"
#include "resources/image.h"
#include "utils/xml.h"
#include <array>
#include <map>
#include <memory>
#include <optional>
#include <string>
#include <variant>

Go to the source code of this file.

Classes

class  ThemeInfo
 
struct  ColoredRectangle
 
struct  SkinPart
 
struct  TextFormat
 
struct  SkinState
 
struct  WidgetState
 
class  Skin
 
class  Theme
 

Namespaces

namespace  gcn
 

Enumerations

enum class  SkinType {
  Window , ToolWindow , Popup , SpeechBubble ,
  Desktop , Button , ButtonUp , ButtonDown ,
  ButtonLeft , ButtonRight , ButtonClose , ButtonSticky ,
  CheckBox , RadioButton , TextField , Tab ,
  ScrollArea , ScrollAreaHBar , ScrollAreaHMarker , ScrollAreaVBar ,
  ScrollAreaVMarker , DropDownFrame , DropDownButton , ProgressBar ,
  Slider , SliderHandle , ResizeGrip , ShortcutBox ,
  EquipmentBox , ItemSlot , EmoteSlot
}
 
enum  StateFlags : uint8_t { STATE_HOVERED = 0x01 , STATE_SELECTED = 0x02 , STATE_DISABLED = 0x04 , STATE_FOCUSED = 0x08 }
 

Enumeration Type Documentation

◆ SkinType

enum class SkinType
strong
Enumerator
Window 
ToolWindow 
Popup 
SpeechBubble 
Desktop 
Button 
ButtonUp 
ButtonDown 
ButtonLeft 
ButtonRight 
ButtonClose 
ButtonSticky 
CheckBox 
RadioButton 
TextField 
Tab 
ScrollArea 
ScrollAreaHBar 
ScrollAreaHMarker 
ScrollAreaVBar 
ScrollAreaVMarker 
DropDownFrame 
DropDownButton 
ProgressBar 
Slider 
SliderHandle 
ResizeGrip 
ShortcutBox 
EquipmentBox 
ItemSlot 
EmoteSlot 

Definition at line 68 of file theme.h.

◆ StateFlags

Enumerator
STATE_HOVERED 
STATE_SELECTED 
STATE_DISABLED 
STATE_FOCUSED 

Definition at line 103 of file theme.h.