mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
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
32 lines
564 B
C++
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
|