32 #include "NCApplication.h"
46 YNCursesUI(
bool withThreads,
bool topmostConstructor =
true );
77 virtual YApplication * createApplication();
80 virtual bool want_colors();
81 virtual void init_title();
108 const std::string & font,
109 const std::string & screen_map,
110 const std::string & unicode_map,
111 const std::string & lang );
144 YUI * createUI(
bool withThreads );
147 #endif // YNCursesUI_h
static YNCursesUI * ui()
Access the global Y2NCursesUI.
void sendEvent(NCursesEvent event)
Send an event to the UI.
virtual YEvent * runPkgSelection(YWidget *packageSelector)
Fills the PackageSelector widget and runs package selection.
YNCursesUI(bool withThreads, bool topmostConstructor=true)
Having boolean topmostConstructor to be called only when there is topmost constructor and not a plugi...
virtual void idleLoop(int fd_ycp)
Idle around until fd_ycp is readable.
NCPackageSelectorPluginStub * packageSelectorPlugin()
Returns the package selector plugin singleton of this UI or creates it (including loading the plugin ...
virtual YOptionalWidgetFactory * createOptionalWidgetFactory()
Create the widget factory that provides all the createXY() methods for optional ("special") widgets a...
YWidget * askSendWidgetID()
Open a pop-up dialog to ask the user for a widget ID and then send it with sendWidgetID().
static YNCursesUI * _ui
Global reference to the UI.
virtual YWidgetFactory * createWidgetFactory()
Create the widget factory that provides all the createXY() methods for standard (mandatory,...
virtual void setConsoleFont(const std::string &console_magic, const std::string &font, const std::string &screen_map, const std::string &unicode_map, const std::string &lang)
Set the (text) console font according to the current encoding etc.