java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ThemeParameters
- Enclosing class:
- TdApi
Contains parameters of the application theme.
-
Field Summary
Modifier and TypeFieldDescriptionint
An accent color of the text in the RGB24 format.int
A color of the background in the RGB24 format.int
A color of the buttons in the RGB24 format.int
A color of text on the buttons in the RGB24 format.static final int
Identifier uniquely determining type of the object.int
A color of the text for destructive actions in the RGB24 format.int
A color of the header background in the RGB24 format.int
A color of hints in the RGB24 format.int
A color of links in the RGB24 format.int
A secondary color for the background in the RGB24 format.int
A color of the section background in the RGB24 format.int
A color of text on the section headers in the RGB24 format.int
A color of the subtitle text in the RGB24 format.int
A color of text in the RGB24 format. -
Constructor Summary
ConstructorDescriptionContains parameters of the application theme.ThemeParameters
(int backgroundColor, int secondaryBackgroundColor, int headerBackgroundColor, int sectionBackgroundColor, int textColor, int accentTextColor, int sectionHeaderTextColor, int subtitleTextColor, int destructiveTextColor, int hintColor, int linkColor, int buttonColor, int buttonTextColor) Contains parameters of the application theme.ThemeParameters
(DataInput input) Contains parameters of the application theme. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
backgroundColor
public int backgroundColorA color of the background in the RGB24 format. -
secondaryBackgroundColor
public int secondaryBackgroundColorA secondary color for the background in the RGB24 format. -
headerBackgroundColor
public int headerBackgroundColorA color of the header background in the RGB24 format. -
sectionBackgroundColor
public int sectionBackgroundColorA color of the section background in the RGB24 format. -
textColor
public int textColorA color of text in the RGB24 format. -
accentTextColor
public int accentTextColorAn accent color of the text in the RGB24 format. -
sectionHeaderTextColor
public int sectionHeaderTextColorA color of text on the section headers in the RGB24 format. -
subtitleTextColor
public int subtitleTextColorA color of the subtitle text in the RGB24 format. -
destructiveTextColor
public int destructiveTextColorA color of the text for destructive actions in the RGB24 format. -
hintColor
public int hintColorA color of hints in the RGB24 format. -
linkColor
public int linkColorA color of links in the RGB24 format. -
buttonColor
public int buttonColorA color of the buttons in the RGB24 format. -
buttonTextColor
public int buttonTextColorA color of text on the buttons in the RGB24 format. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
ThemeParameters
public ThemeParameters()Contains parameters of the application theme. -
ThemeParameters
public ThemeParameters(int backgroundColor, int secondaryBackgroundColor, int headerBackgroundColor, int sectionBackgroundColor, int textColor, int accentTextColor, int sectionHeaderTextColor, int subtitleTextColor, int destructiveTextColor, int hintColor, int linkColor, int buttonColor, int buttonTextColor) Contains parameters of the application theme.- Parameters:
backgroundColor
- A color of the background in the RGB24 format.secondaryBackgroundColor
- A secondary color for the background in the RGB24 format.headerBackgroundColor
- A color of the header background in the RGB24 format.sectionBackgroundColor
- A color of the section background in the RGB24 format.textColor
- A color of text in the RGB24 format.accentTextColor
- An accent color of the text in the RGB24 format.sectionHeaderTextColor
- A color of text on the section headers in the RGB24 format.subtitleTextColor
- A color of the subtitle text in the RGB24 format.destructiveTextColor
- A color of the text for destructive actions in the RGB24 format.hintColor
- A color of hints in the RGB24 format.linkColor
- A color of links in the RGB24 format.buttonColor
- A color of the buttons in the RGB24 format.buttonTextColor
- A color of text on the buttons in the RGB24 format.
-
ThemeParameters
Contains parameters of the application theme.- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-