1#ifndef YAZE_APP_GUI_WIDGET_MEASUREMENT_H
2#define YAZE_APP_GUI_WIDGET_MEASUREMENT_H
5#include <unordered_map>
8#include "absl/strings/str_format.h"
9#include "imgui/imgui.h"
33 return absl::StrFormat(
34 "Widget '%s' (%s): size=(%.1f,%.1f) pos=(%.1f,%.1f) "
35 "content=(%.1f,%.1f) cursor_x=%.1f",
55 const std::string& type =
"unknown");
76 float available_width)
const;
82 const std::string& toolbar_id)
const;