Mercurial > hg > orthanc-wsi
comparison ViewerPlugin/Plugin.cpp @ 331:cf828b381bc9
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 18 Oct 2024 13:16:02 +0200 |
parents | c42083d50ddf |
children |
comparison
equal
deleted
inserted
replaced
330:c42083d50ddf | 331:cf828b381bc9 |
---|---|
106 result["TotalHeight"] = totalHeight; | 106 result["TotalHeight"] = totalHeight; |
107 result["TotalWidth"] = totalWidth; | 107 result["TotalWidth"] = totalWidth; |
108 | 108 |
109 { | 109 { |
110 // New in WSI 2.1 | 110 // New in WSI 2.1 |
111 char tmp[16]; | |
112 sprintf(tmp, "#%02x%02x%02x", locker.GetPyramid().GetBackgroundRed(), | 111 sprintf(tmp, "#%02x%02x%02x", locker.GetPyramid().GetBackgroundRed(), |
113 locker.GetPyramid().GetBackgroundGreen(), | 112 locker.GetPyramid().GetBackgroundGreen(), |
114 locker.GetPyramid().GetBackgroundBlue()); | 113 locker.GetPyramid().GetBackgroundBlue()); |
115 result["BackgroundColor"] = tmp; | 114 result["BackgroundColor"] = tmp; |
116 } | 115 } |