tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::themeParameters Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::themeParameters:
td::td_api::Object td::TlObject

Public Member Functions

 themeParameters ()
 
 themeParameters (int32 background_color_, int32 secondary_background_color_, int32 header_background_color_, int32 bottom_bar_background_color_, int32 section_background_color_, int32 section_separator_color_, int32 text_color_, int32 accent_text_color_, int32 section_header_text_color_, int32 subtitle_text_color_, int32 destructive_text_color_, int32 hint_color_, int32 link_color_, int32 button_color_, int32 button_text_color_)
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Member Functions inherited from td::TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Public Attributes

int32 background_color_
 A color of the background in the RGB format.
 
int32 secondary_background_color_
 A secondary color for the background in the RGB format.
 
int32 header_background_color_
 A color of the header background in the RGB format.
 
int32 bottom_bar_background_color_
 A color of the bottom bar background in the RGB format.
 
int32 section_background_color_
 A color of the section background in the RGB format.
 
int32 section_separator_color_
 A color of the section separator in the RGB format.
 
int32 text_color_
 A color of text in the RGB format.
 
int32 accent_text_color_
 An accent color of the text in the RGB format.
 
int32 section_header_text_color_
 A color of text on the section headers in the RGB format.
 
int32 subtitle_text_color_
 A color of the subtitle text in the RGB format.
 
int32 destructive_text_color_
 A color of the text for destructive actions in the RGB format.
 
int32 hint_color_
 A color of hints in the RGB format.
 
int32 link_color_
 A color of links in the RGB format.
 
int32 button_color_
 A color of the buttons in the RGB format.
 
int32 button_text_color_
 A color of text on the buttons in the RGB format.
 

Static Public Attributes

static const std::int32_t ID = -276589137
 Identifier uniquely determining a type of the object.
 

Detailed Description

Contains parameters of the application theme.

Definition at line 73968 of file td_api.h.

Constructor & Destructor Documentation

◆ themeParameters() [1/2]

td::td_api::themeParameters::themeParameters ( )

Contains parameters of the application theme.

◆ themeParameters() [2/2]

td::td_api::themeParameters::themeParameters ( int32  background_color_,
int32  secondary_background_color_,
int32  header_background_color_,
int32  bottom_bar_background_color_,
int32  section_background_color_,
int32  section_separator_color_,
int32  text_color_,
int32  accent_text_color_,
int32  section_header_text_color_,
int32  subtitle_text_color_,
int32  destructive_text_color_,
int32  hint_color_,
int32  link_color_,
int32  button_color_,
int32  button_text_color_ 
)

Contains parameters of the application theme.

Parameters
[in]background_color_A color of the background in the RGB format.
[in]secondary_background_color_A secondary color for the background in the RGB format.
[in]header_background_color_A color of the header background in the RGB format.
[in]bottom_bar_background_color_A color of the bottom bar background in the RGB format.
[in]section_background_color_A color of the section background in the RGB format.
[in]section_separator_color_A color of the section separator in the RGB format.
[in]text_color_A color of text in the RGB format.
[in]accent_text_color_An accent color of the text in the RGB format.
[in]section_header_text_color_A color of text on the section headers in the RGB format.
[in]subtitle_text_color_A color of the subtitle text in the RGB format.
[in]destructive_text_color_A color of the text for destructive actions in the RGB format.
[in]hint_color_A color of hints in the RGB format.
[in]link_color_A color of links in the RGB format.
[in]button_color_A color of the buttons in the RGB format.
[in]button_text_color_A color of text on the buttons in the RGB format.

Member Function Documentation

◆ store()

void td::td_api::themeParameters::store ( TlStorerToString &  s,
const char *  field_name 
) const
finalvirtual

Helper function for to_string method. Appends string representation of the object to the storer.

Parameters
[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements td::TlObject.

Member Data Documentation

◆ accent_text_color_

int32 td::td_api::themeParameters::accent_text_color_

An accent color of the text in the RGB format.

Definition at line 73993 of file td_api.h.

◆ background_color_

int32 td::td_api::themeParameters::background_color_

A color of the background in the RGB format.

Definition at line 73979 of file td_api.h.

◆ bottom_bar_background_color_

int32 td::td_api::themeParameters::bottom_bar_background_color_

A color of the bottom bar background in the RGB format.

Definition at line 73985 of file td_api.h.

◆ button_color_

int32 td::td_api::themeParameters::button_color_

A color of the buttons in the RGB format.

Definition at line 74005 of file td_api.h.

◆ button_text_color_

int32 td::td_api::themeParameters::button_text_color_

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

Definition at line 74007 of file td_api.h.

◆ destructive_text_color_

int32 td::td_api::themeParameters::destructive_text_color_

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

Definition at line 73999 of file td_api.h.

◆ header_background_color_

int32 td::td_api::themeParameters::header_background_color_

A color of the header background in the RGB format.

Definition at line 73983 of file td_api.h.

◆ hint_color_

int32 td::td_api::themeParameters::hint_color_

A color of hints in the RGB format.

Definition at line 74001 of file td_api.h.

◆ ID

const std::int32_t td::td_api::themeParameters::ID = -276589137
static

Identifier uniquely determining a type of the object.

Definition at line 74036 of file td_api.h.

◆ link_color_

int32 td::td_api::themeParameters::link_color_

A color of links in the RGB format.

Definition at line 74003 of file td_api.h.

◆ secondary_background_color_

int32 td::td_api::themeParameters::secondary_background_color_

A secondary color for the background in the RGB format.

Definition at line 73981 of file td_api.h.

◆ section_background_color_

int32 td::td_api::themeParameters::section_background_color_

A color of the section background in the RGB format.

Definition at line 73987 of file td_api.h.

◆ section_header_text_color_

int32 td::td_api::themeParameters::section_header_text_color_

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

Definition at line 73995 of file td_api.h.

◆ section_separator_color_

int32 td::td_api::themeParameters::section_separator_color_

A color of the section separator in the RGB format.

Definition at line 73989 of file td_api.h.

◆ subtitle_text_color_

int32 td::td_api::themeParameters::subtitle_text_color_

A color of the subtitle text in the RGB format.

Definition at line 73997 of file td_api.h.

◆ text_color_

int32 td::td_api::themeParameters::text_color_

A color of text in the RGB format.

Definition at line 73991 of file td_api.h.


The documentation for this class was generated from the following file: