OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
frontends.tk.media.media_screen.MediaScreen Class Reference

Present the media-provider hub and route into provider screens. More...

Inheritance diagram for frontends.tk.media.media_screen.MediaScreen:
frontends.tk.tk_screen.TkScreen ui.screen_ui_if.ScreenUiIf ui.ui_widget.UiWidget

Public Member Functions

None set_theme_mode (self, ThemeMode _mode)
 Rebuild the mounted media hub from the newly active CSS theme.
None hide (self)
 Release transient screen activity before navigating away.
None show (self)
 Build and display this screen's Tk panels.
Public Member Functions inherited from frontends.tk.tk_screen.TkScreen
ScreenId screen_id (self)
 Return the stable identifier used to navigate to this screen.
bool handle_ui_action (self, UiAction action)
 Return False until a screen provides semantic action handling.

Protected Member Functions

tk.Frame _visualizer_card (self, tk.Misc parent)
 Share the music column with an offline-capable visualizer shortcut.
None _paint_visualizer (self, tk.Canvas canvas, int width, int height)
 Draw a responsive spectrum illustration, rather than live audio data.
None _paint_provider_glow (self, tk.Canvas canvas, int width, int height, str accent)
 Draw a soft brand wash near the logo, fading across the header.
tk.Frame _spotify_settings_row (self, tk.Frame card)
 Keep secondary account controls together inside the card body.

Static Protected Member Functions

str _tint_color (tk.Misc widget, str base, str accent, float amount)
 Blend a brand accent into the current theme instead of replacing it.

Detailed Description

Present the media-provider hub and route into provider screens.


The documentation for this class was generated from the following file:
  • frontends/tk/media/media_screen.py