OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [classpath/] [native/] [jni/] [qt-peer/] [qtgraphics.h] - Rev 774

Compare with Previous | Blame | View Log

#ifndef QTGRAPHICS_H
#define QTGRAPHICS_H
 
#include <jni.h>
#include <QPainter>
#include <QPaintDevice>
#include <QPen>
#include <QBrush>
 
class GraphicsPainter : public QPainter
{
public:
  QPen *currentPen;
  QBrush *currentBrush;
  QColor *currentColor;
  GraphicsPainter(QPaintDevice *dev) : QPainter( dev )
  {
    currentPen = new QPen();
    currentBrush = new QBrush();
    currentColor = new QColor();
  }
};
 
GraphicsPainter *getPainter( JNIEnv *env, jobject obj );
 
#endif
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.