Files
recycled-ni-neutrino/src/gui/pipsetup.h
Stefan Seyfried 3dcee88f80 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)


Origin commit data
------------------
Branch: ni/coolstream
Commit: 63b6efd1f5
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-05 (Sun, 05 Feb 2017)



------------------
This commit was generated by Migit
2017-02-05 13:05:07 +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