Files
recycled-ni-neutrino/src/gui/pipsetup.h
[CST] Focus 843bdd2989 gui/pipsetup.cpp: support different PIP setup for tv and radio modes
Origin commit data
------------------
Branch: ni/coolstream
Commit: ea1e2706f8
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-03-05 (Wed, 05 Mar 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-03-06 16:09:10 +04:00

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