Modules/cellGem: Implement pos, quat and handle_pos in Gemstate for mouse.

Modules/cellGem: Fix name for gem_image_state.
Modules/cellGem: Implement projectiion(x/y) in gem_image_State for mouse.
Modules/cellGem: Add cross, triangle, circle and start with use middle click for mouse.
Modules/cellGem: Refactor global code.
Modules/cellGem: fix some warning with initializing value.
This commit is contained in:
Zangetsu38 2018-07-23 19:57:40 +02:00 committed by Megamouse
parent ac2b0c9752
commit af8ebc76e2
5 changed files with 179 additions and 121 deletions

View file

@ -419,7 +419,7 @@ void gs_frame::take_screenshot(const std::vector<u8> sshot_data, const u32 sshot
void gs_frame::mouseDoubleClickEvent(QMouseEvent* ev)
{
if (m_disable_mouse) return;
if (m_disable_mouse || g_cfg.io.move == move_handler::mouse) return;
if (ev->button() == Qt::LeftButton)
{