|
shun-iwasawa |
31accf |
#pragma once
|
|
shun-iwasawa |
31accf |
|
|
shun-iwasawa |
31accf |
#ifndef STOPMOTIONLIGHT_H
|
|
shun-iwasawa |
31accf |
#define STOPMOTIONLIGHT_H
|
|
shun-iwasawa |
31accf |
|
|
shun-iwasawa |
31accf |
#include <qobject></qobject>
|
|
shun-iwasawa |
31accf |
|
|
shun-iwasawa |
31accf |
#include "traster.h"
|
|
shun-iwasawa |
31accf |
|
|
shun-iwasawa |
31accf |
class QDialog;
|
|
shun-iwasawa |
31accf |
|
|
shun-iwasawa |
31accf |
//=============================================================================
|
|
shun-iwasawa |
31accf |
// StopMotionLight
|
|
shun-iwasawa |
31accf |
//-----------------------------------------------------------------------------
|
|
shun-iwasawa |
31accf |
|
|
shun-iwasawa |
31accf |
class StopMotionLight : public QObject {
|
|
shun-iwasawa |
31accf |
Q_OBJECT
|
|
shun-iwasawa |
31accf |
|
|
shun-iwasawa |
31accf |
public:
|
|
shun-iwasawa |
31accf |
StopMotionLight();
|
|
shun-iwasawa |
31accf |
~StopMotionLight();
|
|
shun-iwasawa |
31accf |
|
|
shun-iwasawa |
31accf |
QDialog *m_fullScreen1, *m_fullScreen2, *m_fullScreen3;
|
|
shun-iwasawa |
31accf |
bool m_useScreen1Overlay = false;
|
|
shun-iwasawa |
31accf |
bool m_useScreen2Overlay = false;
|
|
shun-iwasawa |
31accf |
bool m_useScreen3Overlay = false;
|
|
shun-iwasawa |
31accf |
bool m_blackCapture = true;
|
|
shun-iwasawa |
31accf |
bool m_overlaysReady = false;
|
|
shun-iwasawa |
31accf |
int m_screenCount = 1;
|
|
shun-iwasawa |
31accf |
TPixel32 m_screen1Color, m_screen2Color,
|
|
shun-iwasawa |
31accf |
m_screen3Color = TPixel32(0, 0, 0, 255);
|
|
shun-iwasawa |
31accf |
|
|
shun-iwasawa |
31accf |
void setBlackCapture(bool on);
|
|
shun-iwasawa |
31accf |
bool getBlackCapture() { return m_blackCapture; }
|
|
shun-iwasawa |
31accf |
void setScreen1Color(TPixel32 color);
|
|
shun-iwasawa |
31accf |
void setScreen2Color(TPixel32 color);
|
|
shun-iwasawa |
31accf |
void setScreen3Color(TPixel32 color);
|
|
shun-iwasawa |
31accf |
void setScreen1UseOverlay(bool on);
|
|
shun-iwasawa |
31accf |
void setScreen2UseOverlay(bool on);
|
|
shun-iwasawa |
31accf |
void setScreen3UseOverlay(bool on);
|
|
shun-iwasawa |
31accf |
void showOverlays();
|
|
shun-iwasawa |
31accf |
void hideOverlays();
|
|
shun-iwasawa |
31accf |
bool useOverlays();
|
|
shun-iwasawa |
31accf |
|
|
shun-iwasawa |
31accf |
signals:
|
|
shun-iwasawa |
31accf |
void blackCaptureSignal(bool);
|
|
shun-iwasawa |
31accf |
void screen1ColorChanged(TPixel32);
|
|
shun-iwasawa |
31accf |
void screen2ColorChanged(TPixel32);
|
|
shun-iwasawa |
31accf |
void screen3ColorChanged(TPixel32);
|
|
shun-iwasawa |
31accf |
void screen1OverlayChanged(bool);
|
|
shun-iwasawa |
31accf |
void screen2OverlayChanged(bool);
|
|
shun-iwasawa |
31accf |
void screen3OverlayChanged(bool);
|
|
shun-iwasawa |
31accf |
};
|
|
shun-iwasawa |
31accf |
#endif // STOPMOTIONLIGHT_H
|