This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Doric/doric-Qt/doric/utils/DoricMouseAreaBridge.cpp

11 lines
338 B
C++
Raw Normal View History

2021-03-18 11:49:52 +08:00
#include "DoricMouseAreaBridge.h"
#include "shader/DoricViewNode.h"
2021-03-18 11:49:52 +08:00
DoricMouseAreaBridge::DoricMouseAreaBridge(QObject *parent) : QObject(parent) {}
void DoricMouseAreaBridge::onClick(qint64 pointer) {
QObject *object = (QObject *)(pointer);
DoricViewNode *viewNode = dynamic_cast<DoricViewNode *>(object);
2021-03-19 18:02:17 +08:00
viewNode->onClick();
2021-03-18 11:49:52 +08:00
}