Module tdlight.api

Class TdApi.ThemeParameters

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ThemeParameters
Enclosing class:
TdApi

public static final class TdApi.ThemeParameters extends TdApi.Object
Contains parameters of the app theme.
  • Field Details

    • backgroundColor

      public int backgroundColor
      A color of the background in the RGB24 format.
    • textColor

      public int textColor
      A color of text in the RGB24 format.
    • hintColor

      public int hintColor
      A color of hints in the RGB24 format.
    • linkColor

      public int linkColor
      A color of links in the RGB24 format.
    • buttonColor

      public int buttonColor
      A color of the buttons in the RGB24 format.
    • buttonTextColor

      public int buttonTextColor
      A 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 app theme.
    • ThemeParameters

      public ThemeParameters(int backgroundColor, int textColor, int hintColor, int linkColor, int buttonColor, int buttonTextColor)
      Contains parameters of the app theme.
      Parameters:
      backgroundColor - int A color of 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

      public ThemeParameters(DataInput input) throws IOException
      Contains parameters of the app theme.
      Throws:
      IOException
  • Method Details