Files
neutrino/src/gui/pipsetup.h

32 lines
576 B
C++

#ifndef __PIP_SETUP_H_
#define __PIP_SETUP_H_
#include <gui/widget/menue.h>
#include <driver/framebuffer.h>
#include <string>
class CPipSetup : public CMenuTarget
{
private:
CFrameBuffer * frameBuffer;
int x_coord;
int y_coord;
int width;
int height;
int maxw;
int maxh;
int minw;
int minh;
int *gx, *gy, *gw, *gh;
void paint();
void hide();
void clear();
public:
CPipSetup();
void move(int x, int y, bool abs = false);
void resize(int w, int h, bool abs = false);
int exec(CMenuTarget* parent, const std::string & actionKey);
};
#endif