conversationwindowstyle.py (1711B)
1 #Embedded file name: C:\BuildAgent\work\20d73f1b24eed06e\eve\release\V24.01\packages\conversations\ui\conversationwindowstyle.py 2 3 4 def has_background_settings(style): 5 return style.style_color and style.background_texture and style.background_corner_size is not None and style.background_blur_color is not None and style.background_glow_texture and style.background_glow_corner_size is not None and style.background_glow_outer_padding is not None and style.header_bar_background_texture and style.header_bar_background_corner_size is not None 6 7 8 class ConversationWindowStyle(object): 9 style_color = None 10 label_color = None 11 background_texture = None 12 background_corner_size = None 13 background_blur_color = None 14 background_glow_texture = None 15 background_glow_corner_size = None 16 background_glow_outer_padding = None 17 header_bar_background_texture = None 18 header_bar_background_corner_size = None 19 scroll_bar_color = None 20 21 22 class AuraConversationWindowStyle(ConversationWindowStyle): 23 style_color = (172 / 255.0, 24 213 / 255.0, 25 241 / 255.0, 26 1.0) 27 label_color = (1.0, 1.0, 1.0, 1.0) 28 background_texture = 'res:/UI/Texture/classes/ConversationUI/auraWindowBack.png' 29 background_corner_size = 32 30 background_blur_color = (1.0, 1.0, 1.0, 0.9) 31 background_glow_texture = 'res:/UI/Texture/classes/ConversationUI/auraWindowGlow.png' 32 background_glow_corner_size = 32 33 background_glow_outer_padding = 16 34 header_bar_background_texture = 'res:/UI/Texture/classes/ConversationUI/auraWindowTitleBar.png' 35 header_bar_background_corner_size = 8 36 scroll_bar_color = (0.7, 0.7, 1.0, 0.5) 37 38 39 AGENT_ID_TO_STYLE = {5: AuraConversationWindowStyle}