JUCE  v6.1.6 (6.0.8-1114)
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::XWindowSystemUtilities::XSetting Struct Reference

Represents a setting according to the XSETTINGS specification. More...

#include <juce_linux_XWindowSystem.h>

Collaboration diagram for juce::XWindowSystemUtilities::XSetting:

Public Types

enum  Type {
  Type::integer,
  Type::string,
  Type::colour,
  Type::invalid
}
 

Public Member Functions

 XSetting ()=default
 
 XSetting (const String &n, const Colour &v)
 
 XSetting (const String &n, const String &v)
 
 XSetting (const String &n, int v)
 
bool isValid () const noexcept
 

Public Attributes

Colour colourValue
 
int integerValue = -1
 
String name
 
String stringValue
 
Type type = Type::invalid
 

Detailed Description

Represents a setting according to the XSETTINGS specification.

@tags{GUI}

Member Enumeration Documentation

◆ Type

Enumerator
integer 
string 
colour 
invalid 

Constructor & Destructor Documentation

◆ XSetting() [1/4]

juce::XWindowSystemUtilities::XSetting::XSetting ( )
default

◆ XSetting() [2/4]

juce::XWindowSystemUtilities::XSetting::XSetting ( const String n,
int  v 
)
inline

◆ XSetting() [3/4]

juce::XWindowSystemUtilities::XSetting::XSetting ( const String n,
const String v 
)
inline

◆ XSetting() [4/4]

juce::XWindowSystemUtilities::XSetting::XSetting ( const String n,
const Colour v 
)
inline

Member Function Documentation

◆ isValid()

bool juce::XWindowSystemUtilities::XSetting::isValid ( ) const
inlinenoexcept

References invalid, and type.

Member Data Documentation

◆ colourValue

Colour juce::XWindowSystemUtilities::XSetting::colourValue

◆ integerValue

int juce::XWindowSystemUtilities::XSetting::integerValue = -1

◆ name

String juce::XWindowSystemUtilities::XSetting::name

◆ stringValue

String juce::XWindowSystemUtilities::XSetting::stringValue

◆ type

Type juce::XWindowSystemUtilities::XSetting::type = Type::invalid

Referenced by isValid().


The documentation for this struct was generated from the following file: