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

The DialogSW class - operates with Dialog Bundles. More...

#include <DialogSW.hpp>

Inheritance diagram for DialogSW:
Collaboration diagram for DialogSW:

Public Member Functions

 DialogSW (const Recti &bounds, Context context, SWHolderType inHolderType=SWHolderType::Central)
virtual void EventLoopIterationStart () override
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 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 DialogSW class - operates with Dialog Bundles.

Warning
For now it's hardcoded to NewElementsDialogBundle, since it's the only DialogBundle for now
  • 1) Operates with DialogBundle
  • 2) DialogBundle in it's turn, operates with specific sequence of DialogElements
  • Usually Invisible, but if the program needs some input from user, just makes it temporary visible, untill it's done

Member Function Documentation

◆ Draw()

void DialogSW::Draw ( ) const
overridevirtual

Implements SubWindow.

◆ EventLoopIterationStart()

void DialogSW::EventLoopIterationStart ( )
overridevirtual

Reimplemented from SubWindow.

◆ HandleResizeEvent()

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

Reimplemented from SubWindow.

◆ HandleSWEvents()

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

Implements SubWindow.

◆ HandleUserEvent()

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

Reimplemented from SubWindow.

◆ Update()

void DialogSW::Update ( )
overridevirtual

Implements SubWindow.


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