#ifndef TOOLTIP_INFO_H #define TOOLTIP_INFO_H #include #include "Vector2.h" #include "types.h" class SourceLocationFile; struct TooltipSnippet { std::wstring code; std::shared_ptr locationFile; }; struct TooltipInfo { bool isValid() const { return title.size() || snippets.size(); } std::wstring title; int count = -1; std::string countText; std::vector snippets; Vec2i offset; }; #endif // TOOLTIP_INFO_H