mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 09:51:13 +02:00
gui/pipsetup.cpp: add simple PiP size/position setup
Origin commit data
------------------
Branch: ni/coolstream
Commit: 6c5e34688a
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-02-26 (Tue, 26 Feb 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
29
src/gui/pipsetup.h
Normal file
29
src/gui/pipsetup.h
Normal file
@@ -0,0 +1,29 @@
|
||||
#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;
|
||||
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
|
Reference in New Issue
Block a user