Mercurial > hg > orthanc-stone
comparison Applications/Generic/GuiAdapter.cpp @ 869:60a403f01c31 toa2019062503
Fixed WARN --> WARNING (unsure how this builds fine under Windows...)
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Tue, 25 Jun 2019 18:04:54 +0200 |
parents | f0bf971a1e31 |
children | 9953f16c304d 52b1c6ff10c5 |
comparison
equal
deleted
inserted
replaced
868:b7f3cd9efe6f | 869:60a403f01c31 |
---|---|
636 // SDL ONLY | 636 // SDL ONLY |
637 void GuiAdapter::OnMouseEvent(uint32_t windowID, const GuiAdapterMouseEvent& event) | 637 void GuiAdapter::OnMouseEvent(uint32_t windowID, const GuiAdapterMouseEvent& event) |
638 { | 638 { |
639 if (windowID == 0) | 639 if (windowID == 0) |
640 { | 640 { |
641 LOG(WARN) << "GuiAdapter::OnMouseEvent -- windowID == 0 and event won't be routed!"; | 641 LOG(WARNING) << "GuiAdapter::OnMouseEvent -- windowID == 0 and event won't be routed!"; |
642 } | 642 } |
643 else | 643 else |
644 { | 644 { |
645 // the SDL window name IS the canvas name ("canvas" is used because this lib | 645 // the SDL window name IS the canvas name ("canvas" is used because this lib |
646 // is designed for Wasm | 646 // is designed for Wasm |