mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 10:21:04 +02:00
driver/fb_window.cpp: remove private_data, move its members to class;
fix delete -> delete[]
Origin commit data
------------------
Branch: ni/coolstream
Commit: 73b09dd832
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-05-03 (Thu, 03 May 2012)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1,8 +1,4 @@
|
||||
#ifndef __fb_window_h__
|
||||
#define __fb_window_h__
|
||||
/*
|
||||
* $Header: /cvs/tuxbox/apps/tuxbox/neutrino/src/driver/fb_window.h,v 1.3 2004/03/13 12:45:41 thegoodguy Exp $
|
||||
*
|
||||
* abstract fb_window class - d-box2 linux project
|
||||
*
|
||||
* (C) 2003 by thegoodguy <thegoodguy@berlios.de>
|
||||
@@ -23,15 +19,21 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __fb_window_h__
|
||||
#define __fb_window_h__
|
||||
|
||||
#include <driver/fontrenderer.h>
|
||||
#include <driver/framebuffer.h>
|
||||
|
||||
class CFBWindow
|
||||
{
|
||||
public:
|
||||
typedef unsigned int color_t;
|
||||
typedef void * font_t;
|
||||
typedef void * private_data_t;
|
||||
|
||||
private:
|
||||
private_data_t private_data;
|
||||
CFrameBuffer * frameBuffer;
|
||||
fb_pixel_t * Background;
|
||||
|
||||
public:
|
||||
int x, y; /* upper left corner */
|
||||
|
Reference in New Issue
Block a user