MCPcopy Create free account
hub / github.com/WayfireWM/wayfire / stringify_flags

Method stringify_flags

src/core/scene.cpp:59–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59std::string node_t::stringify_flags() const
60{
61 std::string fl = "";
62 if (flags() & ((int)node_flags::DISABLED))
63 {
64 fl += "d";
65 }
66
67 if (flags() & ((int)node_flags::RAW_INPUT))
68 {
69 fl += "R";
70 }
71
72 return "(" + fl + ")";
73}
74
75std::optional<input_node_t> node_t::find_node_at(const wf::pointf_t& at)
76{

Callers 1

stringifyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected