diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-18 16:37:02 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-18 16:37:02 +0200 |
commit | 4cb7ca42003c177e3acc80075d7594e555966106 (patch) | |
tree | d2f5836d70a1fa2dc1d18c4fb59f1bf1f2f91f5a /ViewController.h | |
parent | d8289105193707daede1a5b59137f18e20f20aeb (diff) |
fix command design pattern
Diffstat (limited to 'ViewController.h')
-rw-r--r-- | ViewController.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ViewController.h b/ViewController.h index 9066d05..bccacd0 100644 --- a/ViewController.h +++ b/ViewController.h @@ -1,6 +1,6 @@ #pragma once -#include <tuple> +#include <utility> #include "Command.h" #include "KeyboardCode.h" @@ -44,6 +44,6 @@ private: unsigned int scale = 16; unsigned int line_width = 0; unsigned int artist_size = (scale - line_width) / 2; - std::tuple<float, float> mouse_pos = { 0, 0 }; + std::pair<float, float> mouse_pos = { 0, 0 }; }; |