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
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
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 text in the RGB24 format. -
Constructor Summary
ConstructorDescriptionContains parameters of the application theme.ThemeParameters
(int backgroundColor, int secondaryBackgroundColor, int textColor, 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
Methods 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. -
textColor
public int textColorA color of text 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 CONSTRUCTOR- See Also:
-
-
Constructor Details
-
ThemeParameters
public ThemeParameters()Contains parameters of the application theme. -
ThemeParameters
public ThemeParameters(int backgroundColor, int secondaryBackgroundColor, int textColor, int hintColor, int linkColor, int buttonColor, int buttonTextColor) Contains parameters of the application theme.- Parameters:
backgroundColor
- int A color of the background in the RGB24 format.secondaryBackgroundColor
- int A secondary color for the background in the RGB24 format.textColor
- int A color of text in the RGB24 format.hintColor
- int A color of hints in the RGB24 format.linkColor
- int A color of links in the RGB24 format.buttonColor
- int A color of the buttons in the RGB24 format.buttonTextColor
- int A color of text on the buttons in the RGB24 format.
-
ThemeParameters
Contains parameters of the application theme.- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-