Struct ThemeInfo
Represents theme info.
Implements
Inherited Members
Namespace: OpenTK.Core.Platform
Assembly: OpenTK.Core.dll
Syntax
public struct ThemeInfo : IEquatable<ThemeInfo>
Fields
HighContrast
If a high contrast theme is preferred.
Declaration
public bool HighContrast
Field Value
Type | Description |
---|---|
bool |
Theme
The current preferred theme.
Declaration
public AppTheme Theme
Field Value
Type | Description |
---|---|
AppTheme |
Methods
Equals(ThemeInfo)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(ThemeInfo other)
Parameters
Type | Name | Description |
---|---|---|
ThemeInfo | other | An object to compare with this object. |
Returns
Type | Description |
---|---|
bool | true if the current object is equal to the |
Equals(object)
Indicates whether this instance and a specified object are equal.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to compare with the current instance. |
Returns
Type | Description |
---|---|
bool | true if |
Overrides
GetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A 32-bit signed integer that is the hash code for this instance. |
Overrides
ToString()
Returns the fully qualified type name of this instance.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | The fully qualified type name. |
Overrides
Operators
operator ==(ThemeInfo, ThemeInfo)
Checks if two ThemeInfo structs are equal.
Declaration
public static bool operator ==(ThemeInfo left, ThemeInfo right)
Parameters
Type | Name | Description |
---|---|---|
ThemeInfo | left | The first ThemeInfo struct. |
ThemeInfo | right | The second ThemeInfo struct. |
Returns
Type | Description |
---|---|
bool | If the two ThemeInfo structs where equal. |
operator !=(ThemeInfo, ThemeInfo)
Checks if two ThemeInfo structs are not equal.
Declaration
public static bool operator !=(ThemeInfo left, ThemeInfo right)
Parameters
Type | Name | Description |
---|---|---|
ThemeInfo | left | The first ThemeInfo struct. |
ThemeInfo | right | The second ThemeInfo struct. |
Returns
Type | Description |
---|---|
bool | If the two ThemeInfo structs where not equal. |