41 #ifndef NCPackageSelectorStart_h 42 #define NCPackageSelectorStart_h 46 #include "YNCursesUI.h" 47 #include "YPackageSelector.h" 48 #include "YLayoutBox.h" 49 #include "NCLayoutBox.h" 50 #include "NCPackageSelector.h" 51 #include "NCPopupTable.h" 75 virtual const char * location()
const {
76 return primary() == YD_HORIZ ?
"NC(H)PackageSelectorStart" :
"NC(V)PackageSelectorStart" ;
87 YUIDimension dimension );
94 virtual int preferredWidth() {
return NCLayoutBox::preferredWidth(); }
95 virtual int preferredHeight() {
return NCLayoutBox::preferredHeight(); }
102 virtual void setSize(
int newWidth,
int newHeight );
123 #endif // NCPackageSelectorStart_h
virtual void setSize(int newWidth, int newHeight)
Set the new size of the widget.
virtual ~NCPackageSelectorStart()
Destructor.
bool handleEvent(const NCursesEvent &event)
Pass the event to the handleEvent method of the member variable NCPackageSelector packager.
void showDefaultList()
Fills the package table with packages belonging to the.
the package selector widget