Class: TD::Types::ThemeParameters

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/theme_parameters.rb

Overview

Contains parameters of the application theme.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#accent_text_colorInteger

An accent color of the text in the RGB24 format.

Returns:

  • (Integer)

    the current value of accent_text_color



18
19
20
# File 'lib/tdlib/types/theme_parameters.rb', line 18

def accent_text_color
  @accent_text_color
end

#background_colorInteger

A color of the background in the RGB24 format.

Returns:

  • (Integer)

    the current value of background_color



18
19
20
# File 'lib/tdlib/types/theme_parameters.rb', line 18

def background_color
  @background_color
end

#button_colorInteger

A color of the buttons in the RGB24 format.

Returns:

  • (Integer)

    the current value of button_color



18
19
20
# File 'lib/tdlib/types/theme_parameters.rb', line 18

def button_color
  @button_color
end

#button_text_colorInteger

A color of text on the buttons in the RGB24 format.

Returns:

  • (Integer)

    the current value of button_text_color



18
19
20
# File 'lib/tdlib/types/theme_parameters.rb', line 18

def button_text_color
  @button_text_color
end

#destructive_text_colorInteger

A color of the text for destructive actions in the RGB24 format.

Returns:

  • (Integer)

    the current value of destructive_text_color



18
19
20
# File 'lib/tdlib/types/theme_parameters.rb', line 18

def destructive_text_color
  @destructive_text_color
end

#header_background_colorInteger

A color of the header background in the RGB24 format.

Returns:

  • (Integer)

    the current value of header_background_color



18
19
20
# File 'lib/tdlib/types/theme_parameters.rb', line 18

def header_background_color
  @header_background_color
end

#hint_colorInteger

A color of hints in the RGB24 format.

Returns:

  • (Integer)

    the current value of hint_color



18
19
20
# File 'lib/tdlib/types/theme_parameters.rb', line 18

def hint_color
  @hint_color
end

A color of links in the RGB24 format.

Returns:

  • (Integer)

    the current value of link_color



18
19
20
# File 'lib/tdlib/types/theme_parameters.rb', line 18

def link_color
  @link_color
end

#secondary_background_colorInteger

A secondary color for the background in the RGB24 format.

Returns:

  • (Integer)

    the current value of secondary_background_color



18
19
20
# File 'lib/tdlib/types/theme_parameters.rb', line 18

def secondary_background_color
  @secondary_background_color
end

#section_background_colorInteger

A color of the section background in the RGB24 format.

Returns:

  • (Integer)

    the current value of section_background_color



18
19
20
# File 'lib/tdlib/types/theme_parameters.rb', line 18

def section_background_color
  @section_background_color
end

#section_header_text_colorInteger

A color of text on the section headers in the RGB24 format.

Returns:

  • (Integer)

    the current value of section_header_text_color



18
19
20
# File 'lib/tdlib/types/theme_parameters.rb', line 18

def section_header_text_color
  @section_header_text_color
end

#section_separator_colorInteger

A color of the section separator in the RGB24 format.

Returns:

  • (Integer)

    the current value of section_separator_color



18
19
20
# File 'lib/tdlib/types/theme_parameters.rb', line 18

def section_separator_color
  @section_separator_color
end

#subtitle_text_colorInteger

A color of the subtitle text in the RGB24 format.

Returns:

  • (Integer)

    the current value of subtitle_text_color



18
19
20
# File 'lib/tdlib/types/theme_parameters.rb', line 18

def subtitle_text_color
  @subtitle_text_color
end

#text_colorInteger

A color of text in the RGB24 format.

Returns:

  • (Integer)

    the current value of text_color



18
19
20
# File 'lib/tdlib/types/theme_parameters.rb', line 18

def text_color
  @text_color
end