#include "view.h" #include "dialogbox.h" #include class SaveBitmapCmd : public PushButton { public: SaveBitmapCmd(const char* label, ButtonState*, View* v); virtual void Press(); /* boolean SaveBitmap(XImage* xi, const char* name, int w, int h); */ private: ButtonState* bs; View* view; Finder* savedialog; }; class LoadBitmapCmd : public PushButton { public: LoadBitmapCmd(const char* label, ButtonState*, View* v); virtual void Press(); private: ButtonState* bs; View* view; Finder* loaddialog; };