tools/templates/mainform.h
author sheepluva
Sun, 23 Nov 2014 02:15:57 +0100
changeset 10531 b8e6164a1a18
parent 8442 535a00ca0d35
permissions -rw-r--r--
fix for issue #234 - the framebuffers for side-by-side and top/bottom had alpha channels. so when sprites with alpha were blended into the framebuffer it would blend the sprite pixel alpha with the fb pixel alpha

#include <QScrollArea>
#include <QMainWindow>
#include <QLabel>
#include <QListWidget>
#include <QPushButton>
#include "pixlabel.h"

class MyWindow : public QMainWindow
{
    Q_OBJECT

public:

    MyWindow(QWidget * parent = 0, Qt::WFlags flags = 0);

private:

    QScrollArea * sa_xy;
    PixLabel * xy;
    QPushButton * buttAdd;
    QPushButton * buttCode;
    QPushButton * buttSave;
    QPushButton * buttLoad;

private slots:
    void Code();
    void Save();
    void Load();
};