Mercurial > hg > orthanc-stone
view Applications/Samples/SimpleViewer/AppStatus.h @ 913:2b4b6b86520a
Re-enabled gl debug output in GuiAdapter +
REMOVED GZIP ENCODING IN OrthancSeriesVolumeProgressiveLoader +
added ability to use custom windowing in GrayscaleStyleConfigurator
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Fri, 19 Jul 2019 10:30:40 +0200 |
parents | daa04d15192c |
children |
line wrap: on
line source
#pragma once #include <string> namespace SimpleViewer { struct AppStatus { std::string patientId; std::string studyDescription; std::string currentInstanceIdInMainViewport; // note: if you add members here, update the serialization code below and deserialization in simple-viewer.ts -> onAppStatusUpdated() AppStatus() { } void ToJson(Json::Value &output) const { output["patientId"] = patientId; output["studyDescription"] = studyDescription; output["currentInstanceIdInMainViewport"] = currentInstanceIdInMainViewport; } }; }