27 lines
636 B
C++
27 lines
636 B
C++
#ifndef __MWCXX_WIDGET_COMBOBOX_H__
|
|
#define __MWCXX_WIDGET_COMBOBOX_H__
|
|
|
|
#include <MwCXX/MachDep.h>
|
|
#include <MwCXX/Widget/Base.h>
|
|
|
|
#include <Mw/Widget/ComboBox.h>
|
|
|
|
namespace MwCXX {
|
|
class ComboBox : public MwCXX::Base {
|
|
protected:
|
|
virtual void RegisterHandlers();
|
|
|
|
public:
|
|
ComboBox(MwWidget widget, MwCXX::Base* parent = NULL);
|
|
ComboBox(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height);
|
|
|
|
int GetAreaShown();
|
|
void SetAreaShown(int value);
|
|
int GetValue();
|
|
void SetValue(int value);
|
|
|
|
virtual void OnComboBoxChanged(int value) {};
|
|
};
|
|
}; // namespace MwCXX
|
|
|
|
#endif
|