/* WidgetCell — заглушка для widget'а (Phase 11b MVP). * * Фаза 11b: рисует cell тёмно-серым (Y=40) + label-decoration с именем * widget'а в центре. Реальные виджеты (graph, ha_chat) — Phase 12+. * * Лицензия: LGPL-2.1+ */ #ifndef CUFRAMES_COMPOSER_CPP_WIDGET_CELL_HPP #define CUFRAMES_COMPOSER_CPP_WIDGET_CELL_HPP #include "cell.hpp" #include namespace cfc { class WidgetCell : public Cell { public: WidgetCell(const Rect& geom, const std::string& widget_name) : Cell(geom), widget_name_(widget_name) {} const std::string& widget_name() const noexcept { return widget_name_; } protected: void draw_content(CUstream stream, NV12Ref& dst) override; private: std::string widget_name_; }; } // namespace cfc #endif /* CUFRAMES_COMPOSER_CPP_WIDGET_CELL_HPP */