weixin_39935388 2020-11-21 20:49
浏览 0

Custom colors via config.json

The expected input format for the color is "RRGGBBAA"

Note: - uses std::stoul() to convert hex as string to unsigned long. No error is handled for the conversion so a bad format there will result in crash :D PEBKAC - color struct are not memcopied but relies instead on struct copy via assignment to be handled correctly (I think it should)

该提问来源于开源项目:Gargaj/Bonzomatic

  • 写回答

6条回答 默认 最新

  • weixin_39935388 2020-11-21 20:49
    关注

    Wokay, apparently the linux build is not targetting c++11 minimum, so it lacks std::stoul... Will probably have to change the CMakeLists.txt to force c++11 standard

    评论

报告相同问题?