aboutsummaryrefslogtreecommitdiff
path: root/src/labeller.cc
diff options
context:
space:
mode:
authorYour Name <you@example.com>2021-08-17 12:38:14 -0400
committerYour Name <you@example.com>2021-08-17 12:38:14 -0400
commitab5e941dcaedcf2cc896eed1ea257c59780fdb59 (patch)
tree503284d6999fb92f86bbf39385e17e9b7d8bd8fa /src/labeller.cc
parent2a4ca022ad37ff2452ec3addb8c760a93bb616c6 (diff)
downloadannotator-ab5e941dcaedcf2cc896eed1ea257c59780fdb59.tar.gz
annotator-ab5e941dcaedcf2cc896eed1ea257c59780fdb59.tar.bz2
annotator-ab5e941dcaedcf2cc896eed1ea257c59780fdb59.zip
Implemented parts of mouse click event
Diffstat (limited to 'src/labeller.cc')
-rw-r--r--src/labeller.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/labeller.cc b/src/labeller.cc
index f7fa69e..ea72db0 100644
--- a/src/labeller.cc
+++ b/src/labeller.cc
@@ -54,6 +54,11 @@ namespace backend {
return labs;
}
+ std::vector<label>& labeller::getEditableLabels() {
+ return data->annotations;
+ }
+
+
std::vector<std::string> labeller::getLabels() const {
return data->labels;
}