#include <deque>
#include <cstddef>
#include <cmath>
#include <boost/optional/optional.hpp>
#include <memory>
#include <string>
#include <ostream>
#include <functional>
#include <boost/optional.hpp>
#include <boost/log/trivial.hpp>
#include <type_traits>
#include <utility>
#include <wx/frame.h>
#include <wx/dialog.h>
#include <wx/event.h>
#include <wx/filedlg.h>
#include <wx/gdicmn.h>
#include <wx/image.h>
#include <wx/panel.h>
#include <wx/dcclient.h>
#include <wx/debug.h>
#include <wx/settings.h>
#include <wx/dataview.h>
#include <wx/statbox.h>
#include <wx/inspector/inspector.h>
#include <chrono>
#include <wx/version.h>
#include <wx/toplevel.h>
#include <wx/string.h>
#include "Event.hpp"
#include "libslic3r/Utils.hpp"
#include "libslic3r/Color.hpp"
Go to the source code of this file.
|
| namespace | Slic3r |
| | |/ Copyright (c) Prusa Research 2020 - 2023 Enrico Turri @enricoturri1966 |/ |/ PrusaSlicer is released under the terms of the AGPLv3 or higher |/
|
| namespace | Slic3r::GUI |
|
| int | Slic3r::GUI::hex_to_int (const char c) |
| static ColorRGBA | Slic3r::GUI::decode_color_to_float_array (const std::string color) |
| CopyFileResult | Slic3r::GUI::copy_file_gui (const std::string &from, const std::string &to, std::string &error_message, const bool with_check) |
| wxTopLevelWindow * | Slic3r::GUI::find_toplevel_parent (wxWindow *window) |
| wxString | Slic3r::GUI::format_nozzle_diameter (float diameter) |
| bool | Slic3r::GUI::is_running_in_msix () |
| void | Slic3r::GUI::open_ms_store_product_page () |
| void | Slic3r::GUI::on_window_geometry (wxTopLevelWindow *tlw, std::function< void()> callback) |
| int | Slic3r::GUI::get_dpi_for_window (const wxWindow *window) |
| wxFont | Slic3r::GUI::get_default_font_for_dpi (const wxWindow *window, int dpi) |
| wxFont | Slic3r::GUI::get_default_font (const wxWindow *window) |
| bool | Slic3r::GUI::check_dark_mode () |
| void | Slic3r::GUI::update_dark_config () |
| std::ostream & | Slic3r::GUI::operator<< (std::ostream &os, const WindowMetrics &metrics) |
| int | Slic3r::GUI::hex_digit_to_int (const char c) |
| bool | Slic3r::GUI::load_image (const std::string &filename, wxImage &image) |
| bool | Slic3r::GUI::generate_image (const std::string &filename, wxImage &image, wxSize img_size, int method) |
| void | Slic3r::GUI::fit_in_display (wxTopLevelWindow &window, wxSize desired_size) |
| | Make sure the given window fits inside current display.
|
◆ _3MF_COVER_SIZE
| #define _3MF_COVER_SIZE wxSize(240, 240) |
◆ GERNERATE_IMAGE_CROP_VERTICAL
| #define GERNERATE_IMAGE_CROP_VERTICAL 1 |
◆ GERNERATE_IMAGE_RESIZE
| #define GERNERATE_IMAGE_RESIZE 0 |
◆ ICON_SINGLE_SIZE
| #define ICON_SINGLE_SIZE FromDIP(16) |
◆ ICON_SIZE
| #define ICON_SIZE wxSize(FromDIP(16), FromDIP(16)) |
◆ PRINTER_THUMBNAIL_MIDDLE_SIZE
| #define PRINTER_THUMBNAIL_MIDDLE_SIZE wxSize(680, 680) |
◆ PRINTER_THUMBNAIL_SMALL_SIZE
| #define PRINTER_THUMBNAIL_SMALL_SIZE wxSize(252, 188) |
◆ wxVERSION_EQUAL_OR_GREATER_THAN
| #define wxVERSION_EQUAL_OR_GREATER_THAN |
( |
| major, |
|
|
| minor, |
|
|
| release ) |
Value:((wxMAJOR_VERSION > major) || ((wxMAJOR_VERSION == major) && (wxMINOR_VERSION > minor)) || ((wxMAJOR_VERSION == major) && (wxMINOR_VERSION == minor) && (wxRELEASE_NUMBER >= release)))