Files
neutrino/src/gui/pipsetup.h
Stefan Seyfried e490f84ea8 replace framebuffer.h include with forward declaration
instead of including framebuffer.h almost everywhere, replace it with
class CFrameBuffer forward declarations and/or generic system includes.
Add a hack to define fb_pixel_t to config.h (one reason for
framebuffer.h includes was the fb_pixel_t define)
2017-02-07 17:23:42 +01:00

32 lines
564 B
C++

#ifndef __PIP_SETUP_H_
#define __PIP_SETUP_H_
#include <gui/widget/menue.h>
#include <string>
class CFrameBuffer;
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