OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
AmsMappingPopup.cpp File Reference
#include "AmsMappingPopup.hpp"
#include "I18N.hpp"
#include "libslic3r/Utils.hpp"
#include "slic3r/Utils/WxFontUtils.hpp"
#include "GUI.hpp"
#include "GUI_App.hpp"
#include "DeviceCore/DevConfigUtil.h"
#include "GUI_Preview.hpp"
#include "MainFrame.hpp"
#include "Widgets/ProgressDialog.hpp"
#include <wx/event.h>
#include <wx/colour.h>
#include <string>
#include <wx/panel.h>
#include <wx/gdicmn.h>
#include <vector>
#include <boost/log/trivial.hpp>
#include <wx/dcclient.h>
#include <cstddef>
#include <wx/arrstr.h>
#include "slic3r/GUI/DeviceManager.hpp"
#include <math.h>
#include <cmath>
#include "slic3r/GUI/Widgets/StateColor.hpp"
#include <wx/peninfobase.h>
#include <wx/string.h>
#include "slic3r/GUI/Widgets/PopupWindow.hpp"
#include <wx/popupwin.h>
#include <wx/anybutton.h>
#include <wx/sizer.h>
#include <map>
#include "slic3r/GUI/DeviceCore/DevUtil.h"
#include <cstdlib>
#include "slic3r/GUI/DeviceCore/DevDefs.h"
#include "slic3r/GUI/wxExtensions.hpp"
#include "slic3r/GUI/GUI_Utils.hpp"
#include "slic3r/GUI/Widgets/SwitchButton.hpp"
#include <utility>
#include "slic3r/GUI/Widgets/AMSItem.hpp"
#include <unordered_map>
#include <wx/tooltip.h>
#include "Widgets/RoundedRectangle.hpp"
#include "Widgets/StaticBox.hpp"
#include <wx/progdlg.h>
#include <wx/clipbrd.h>
#include <wx/dcgraph.h>
#include <wx/graphics.h>
#include <wx/display.h>
#include <miniz.h>
#include <algorithm>
#include <optional>
#include <wx/wx.h>
#include <wx/toplevel.h>
#include <wx/wrapsizer.h>
#include "Plater.hpp"
#include "BindDialog.hpp"
#include "FilamentBitmapUtils.hpp"
#include "DeviceCore/DevFilaSystem.h"
#include "DeviceCore/DevFilaSwitch.h"
#include "DeviceCore/DevMappingNozzle.h"
#include "DeviceCore/DevNozzleRack.h"
#include "DeviceTab/wgtDeviceNozzleSelect.h"
#include "DeviceTab/wgtMsgPanel.h"
#include "slic3r/GUI/DeviceCore/DevExtruderSystem.h"
#include "slic3r/GUI/DeviceCore/DevNozzleSystem.h"
#include "libslic3r/Preset.hpp"
#include "libslic3r/PresetBundle.hpp"
#include "slic3r/GUI/Widgets/Label.hpp"

Go to the source code of this file.

Namespaces

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

Macros

#define MATERIAL_ITEM_SIZE   wxSize(FromDIP(65), FromDIP(50))
#define MATERIAL_REC_WHEEL_SIZE   wxSize(FromDIP(17), FromDIP(16))
#define MAPPING_ITEM_REAL_SIZE   wxSize(FromDIP(48), FromDIP(60))

Functions

 Slic3r::GUI::wxDEFINE_EVENT (EVT_SET_FINISH_MAPPING, wxCommandEvent)
static wxString Slic3r::GUI::s_wrap_mapped_nozzle_str (const wxString &text)
static int Slic3r::GUI::s_get_mapped_nozzle_str_line_count (const wxString &text)
static void Slic3r::GUI::_DrawRemainArea (const MappingItem *item, const TrayData &dd, bool support_remain_dect, wxDC &dc)

Variables

const int Slic3r::GUI::LEFT_OFFSET = 2
static constexpr size_t Slic3r::GUI::MAPPED_NOZZLE_STR_MAX_CHARS_PER_LINE = 7

Macro Definition Documentation

◆ MAPPING_ITEM_REAL_SIZE

#define MAPPING_ITEM_REAL_SIZE   wxSize(FromDIP(48), FromDIP(60))

◆ MATERIAL_ITEM_SIZE

#define MATERIAL_ITEM_SIZE   wxSize(FromDIP(65), FromDIP(50))

◆ MATERIAL_REC_WHEEL_SIZE

#define MATERIAL_REC_WHEEL_SIZE   wxSize(FromDIP(17), FromDIP(16))