aboutsummaryrefslogtreecommitdiff
path: root/src/gui/guiHyperText.cpp
Commit message (Expand)AuthorAge
* Fully remove bitmap font support (#11863)sfan52022-01-08
* Make hypertext and textarea have proper scroll event propagation. (#10860)Vincent Robinson2021-01-23
* Add scroll_container formspec element (redo) (#9101)DS2020-04-13
* Hypertext: Fix hovercolor not working in global tag (#9582)Pierre-Yves Rollo2020-04-05
* Fix cursor still visible after closing formspec while on HyperText (#9583)Pierre-Yves Rollo2020-04-04
* Hypertext: Fix alignment tags adding unwanted newlines (#9548)Pierre-Yves Rollo2020-03-26
* Fix memory leak in GUIHyperText (#9489)DS2020-03-10
* GUIHyperText: Fix bug with UTF8 chars in action name + simplify UTF8 stringw ...Jean-Patrick Guerrero2020-03-07
* Clean up font caching, fix bitmap fontsSmallJoker2019-11-03
* Formspec: add hypertext elementPierre-Yves Rollo2019-11-03
ty> #include <IGUIFont.h> #include <IVideoDriver.h> #include "profiler.h" /* Profiler display */ class ProfilerGraph { private: struct Piece { Piece(Profiler::GraphValues v) : values(std::move(v)) {} Profiler::GraphValues values; }; struct Meta { float min; float max; video::SColor color; Meta(float initial = 0, video::SColor color = video::SColor(255, 255, 255, 255)) : min(initial), max(initial), color(color) { } }; std::deque<Piece> m_log; public: u32 m_log_max_size = 200; ProfilerGraph() = default; void put(const Profiler::GraphValues &values); void draw(s32 x_left, s32 y_bottom, video::IVideoDriver *driver, gui::IGUIFont *font) const; };