A bit more clang-format

This commit is contained in:
Jasmine Iwanek
2022-11-19 08:49:04 -05:00
parent b04dd8cc8b
commit 3fe4f75108
223 changed files with 8047 additions and 7456 deletions

View File

@@ -22,22 +22,26 @@ public:
virtual uint32_t getBytesPerRow() { return 2048 * 4; }
virtual std::vector<std::tuple<uint8_t *, std::atomic_flag *>> getBuffers() { std::vector<std::tuple<uint8_t*, std::atomic_flag*>> buffers; return buffers; }
virtual std::vector<std::tuple<uint8_t *, std::atomic_flag *>> getBuffers()
{
std::vector<std::tuple<uint8_t *, std::atomic_flag *>> buffers;
return buffers;
}
/* Does renderer implement options dialog */
virtual bool hasOptions() const { return false; }
/* Returns options dialog for renderer */
virtual QDialog *getOptions(QWidget *parent) { return nullptr; }
/* Reloads options of renderer */
virtual void reloadOptions() {}
virtual void reloadOptions() { }
virtual bool hasBlitFunc() { return false; }
virtual void blit(int x, int y, int w, int h) {}
virtual void blit(int x, int y, int w, int h) { }
protected:
bool eventDelegate(QEvent *event, bool &result);
QRect source{0, 0, 0, 0}, destination;
QRect source { 0, 0, 0, 0 }, destination;
QWidget *parentWidget { nullptr };
std::vector<std::atomic_flag> buf_usage;