MCPcopy Create free account
hub / github.com/dfranx/ImFileDialog / SetZoom

Method SetZoom

ImFileDialog.h:44–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42 inline const std::vector<std::string>& GetFavorites() { return m_favorites; }
43
44 inline void SetZoom(float z) {
45 m_zoom = std::min<float>(25.0f, std::max<float>(1.0f, z));
46 m_refreshIconPreview();
47 }
48 inline float GetZoom() { return m_zoom; }
49
50 std::function<void*(uint8_t*, int, int, char)> CreateTexture; // char -> fmt -> { 0 = BGRA, 1 = RGBA }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected