#include "IconManager.hpp"
#include <cassert>
#include <algorithm>
#include <boost/filesystem/operations.hpp>
#include <boost/algorithm/string/predicate.hpp>
#include <cmath>
#include <cstdio>
#include <cstddef>
#include <memory>
#include <cstring>
#include <imgui.h>
#include <cstdint>
#include <numeric>
#include <boost/log/trivial.hpp>
#include <boost/filesystem.hpp>
#include <boost/nowide/cstdio.hpp>
#include "nanosvg/nanosvg.h"
#include "nanosvg/nanosvgrast.h"
#include "libslic3r/Utils.hpp"
#include "3DScene.hpp"
#include <glad/gl.h>
#include <vector>
#include <utility>
#include <string>
#include "imgui/imstb_rectpack.h"
#include "imgui/imgui_internal.h"
#include "slic3r/GUI/GLTexture.hpp"
Go to the source code of this file.
|
| static void | priv::clear (IconManager::Icons &icons) |
| static const std::vector< std::pair< int, bool > > & | priv::get_states (IconManager::RasterType type) |
| static void | priv::draw_transparent_icon (const IconManager::Icon &icon) |
| NSVGimage * | anonymous_namespace{IconManager.cpp}::parse_file (const char *filepath) |
| void | anonymous_namespace{IconManager.cpp}::subdata (unsigned char *data, size_t data_stride, const std::vector< unsigned char > &data2, size_t data2_row) |
| void | Slic3r::GUI::draw (const IconManager::Icon &icon, const ImVec2 &size=ImVec2(0, 0), const ImVec4 &tint_col=ImVec4(1, 1, 1, 1), const ImVec4 &border_col=ImVec4(0, 0, 0, 0)) |
| | Draw imgui image with icon.
|
| bool | Slic3r::GUI::clickable (const IconManager::Icon &icon, const IconManager::Icon &icon_hover) |
| | Draw icon which change on hover.
|
| bool | Slic3r::GUI::button (const IconManager::Icon &activ, const IconManager::Icon &hover, const IconManager::Icon &disable, bool disabled=false) |
| | Use icon as button with 3 states activ hover and disabled.
|
◆ STB_RECT_PACK_IMPLEMENTATION
| #define STB_RECT_PACK_IMPLEMENTATION |