Mercurial > hg > orthanc-stone
comparison Applications/Generic/GuiAdapter.cpp @ 1297:6ab03e429f06 broker
integration mainline->broker
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sun, 23 Feb 2020 15:32:24 +0100 |
parents | 7ec8fea061b9 7def6ab2929f |
children | c38c89684d83 |
comparison
equal
deleted
inserted
replaced
1281:68579a31eeb4 | 1297:6ab03e429f06 |
---|---|
34 # include "../../Framework/Deprecated/Messages/LockingEmitter.h" | 34 # include "../../Framework/Deprecated/Messages/LockingEmitter.h" |
35 #endif | 35 #endif |
36 | 36 |
37 namespace OrthancStone | 37 namespace OrthancStone |
38 { | 38 { |
39 void GuiAdapter::RegisterWidget(boost::shared_ptr<IGuiAdapterWidget> widget) | |
40 { | |
41 widgets_.push_back(widget); | |
42 } | |
43 | |
44 std::ostream& operator<<( | 39 std::ostream& operator<<( |
45 std::ostream& os, const GuiAdapterKeyboardEvent& event) | 40 std::ostream& os, const GuiAdapterKeyboardEvent& event) |
46 { | 41 { |
47 os << "sym: " << event.sym << " (" << (int)(event.sym[0]) << ") ctrl: " << event.ctrlKey << ", " << | 42 os << "sym: " << event.sym << " (" << (int)(event.sym[0]) << ") ctrl: " << event.ctrlKey << ", " << |
48 "shift: " << event.shiftKey << ", " << | 43 "shift: " << event.shiftKey << ", " << |