YCLIMP
Yandex Command Line Interface Music Player
Loading...
Searching...
No Matches
YandexFilesSW Class Reference

The YandexFilesSW class; Yandex Files SubWindow is responsible for navigating in yandex music "filesystem". More...

#include <YandexFilesSW.hpp>

Inheritance diagram for YandexFilesSW:
Collaboration diagram for YandexFilesSW:

Public Member Functions

 YandexFilesSW (Recti bounds, Context context, SWHolderType inHolderType=SWHolderType::None)
virtual void HandleUserEvent (Event event, bool rawInputMode) override
virtual void HandleSWEvents (std::vector< SWEvent > &swEvents) override
virtual void Update () override
virtual void Draw () const override
virtual void HandleResizeEvent (const Recti &newRect) override
Public Member Functions inherited from SubWindow
 SubWindow (ESWTypes swType, const Recti &rect, Context text, SWHolderType inHolderType=SWHolderType::None)
virtual void EventLoopIterationStart ()
virtual void Reload ()
virtual bool HasSelection () const
virtual void Select ()
virtual void Deselect ()
virtual bool IsVisible () const
virtual void SetVisible (bool visibleValue)
virtual void SetHighDrawPriority (bool priority)
 if true, drawn last
virtual bool GetDrawPriority () const
 only boolean, if true, drawn last
SWHolderType GetHolderType () const
const std::string & GetName () const
ESWTypes GetSWType () const
const RectiGetBounds () const

Additional Inherited Members

Public Types inherited from SubWindow
using Ptr = std::shared_ptr<SubWindow>
Static Public Member Functions inherited from SubWindow
static const std::string & ConvertToSWName (ESWTypes swType)
 Convert ESWTypes to it's std::string representation.
Protected Member Functions inherited from SubWindow
Context GetContext ()
void DrawBoundsRectangle (const std::string &rectName="") const
Protected Attributes inherited from SubWindow
HotKeyComponent mHotKeyComponent

Detailed Description

The YandexFilesSW class; Yandex Files SubWindow is responsible for navigating in yandex music "filesystem".

  • This class is responsible for populating the PlayerSW
  • This class is able to select tracks and add them to Application's albums

Member Function Documentation

◆ Draw()

void YandexFilesSW::Draw ( ) const
overridevirtual

Implements SubWindow.

◆ HandleResizeEvent()

void YandexFilesSW::HandleResizeEvent ( const Recti & newRect)
overridevirtual

Reimplemented from SubWindow.

◆ HandleSWEvents()

void YandexFilesSW::HandleSWEvents ( std::vector< SWEvent > & swEvents)
overridevirtual

Implements SubWindow.

◆ HandleUserEvent()

void YandexFilesSW::HandleUserEvent ( Event event,
bool rawInputMode )
overridevirtual

Reimplemented from SubWindow.

◆ Update()

void YandexFilesSW::Update ( )
overridevirtual

Implements SubWindow.


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