#include "wgtDeviceNozzleRack.h"
#include "wgtDeviceNozzleRackUpdate.h"
#include "slic3r/GUI/DeviceCore/DevNozzleSystem.h"
#include "slic3r/GUI/I18N.hpp"
#include "slic3r/GUI/MainFrame.hpp"
#include "slic3r/GUI/MsgDialog.hpp"
#include "slic3r/GUI/GUI_App.hpp"
#include "slic3r/GUI/wxExtensions.hpp"
#include "slic3r/GUI/Widgets/Button.hpp"
#include "slic3r/GUI/Widgets/Label.hpp"
#include <string>
#include "slic3r/GUI/Widgets/StateColor.hpp"
#include <memory>
#include "slic3r/GUI/DeviceCore/DevDefs.h"
#include "slic3r/GUI/Widgets/StaticBox.hpp"
#include "slic3r/GUI/Widgets/AnimaController.hpp"
#include <unordered_map>
#include <cassert>
#include "slic3r/GUI/Monitor.hpp"
#include <unordered_set>
#include <wx/colour.h>
#include <vector>
#include <wx/event.h>
#include <wx/image.h>
#include <utility>
#include <wx/string.h>
#include <wx/gdicmn.h>
#include <wx/panel.h>
#include <wx/sizer.h>
#include <wx/simplebook.h>
#include <wx/anybutton.h>
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 |
|
| static wxColour | s_gray_clr ("#B0B0B0") |
| static wxColour | s_hgreen_clr ("#009688") |
| static wxColour | s_red_clr ("#D01B1B") |
| | wxDEFINE_EVENT (EVT_NOZZLE_RACK_NOZZLE_ITEM_SELECTED, wxCommandEvent) |
| static wxBitmap | Slic3r::GUI::SetNozzleBmpColor (const wxBitmap &bmp, const std::string &color_str) |
| static StateColor | Slic3r::GUI::s_button_style_gray () |
| static void | Slic3r::GUI::s_update_title (const std::shared_ptr< DevNozzleRack > rack, wgtDeviceNozzleRackTitle *title_label) |
| static void | Slic3r::GUI::s_set_bg_style (StaticBox *box, ScalableButton *btn, Label *label_row, Label *label_row_status, const wxColour &clr) |
| static void | Slic3r::GUI::s_show_label (Label *label, const wxString &text) |
| static void | Slic3r::GUI::s_show_label (Label *label, const wxString &text, const wxColour &text_color) |
|
| static const wxColour | WGT_GREY200 = wxColour(248, 248, 248) |
| static const wxColour | WGT_GREY300 = wxColour(238, 238, 238) |
| static std::vector< int > | a_nozzle_seq = { 0, 2, 4, 1, 3, 5 } |
| static std::vector< int > | b_nozzle_seq = { 1, 3, 5, 0, 2, 4 } |
◆ L_RAW_A_STR
| #define L_RAW_A_STR _L("Row A") |
◆ L_RAW_B_STR
| #define L_RAW_B_STR _L("Row B") |
◆ WGT_RACK_NOZZLE_SIZE
◆ WX_DIP_SIZE
| #define WX_DIP_SIZE |
( |
| x, |
|
|
| y ) |
◆ WX_DIP_SIZE_18
| #define WX_DIP_SIZE_18 wxSize(FromDIP(18), FromDIP(18)) |
◆ WX_DIP_SIZE_46
| #define WX_DIP_SIZE_46 wxSize(FromDIP(46), FromDIP(46)) |
◆ s_gray_clr()
| wxColour s_gray_clr |
( |
"#B0B0B0" | | ) |
|
|
static |
◆ s_hgreen_clr()
| wxColour s_hgreen_clr |
( |
"#009688" | | ) |
|
|
static |
◆ s_red_clr()
| wxColour s_red_clr |
( |
"#D01B1B" | | ) |
|
|
static |
◆ wxDEFINE_EVENT()
| wxDEFINE_EVENT |
( |
EVT_NOZZLE_RACK_NOZZLE_ITEM_SELECTED | , |
|
|
wxCommandEvent | ) |
◆ a_nozzle_seq
| std::vector<int> a_nozzle_seq = { 0, 2, 4, 1, 3, 5 } |
|
static |
◆ b_nozzle_seq
| std::vector<int> b_nozzle_seq = { 1, 3, 5, 0, 2, 4 } |
|
static |
◆ WGT_GREY200
| const wxColour WGT_GREY200 = wxColour(248, 248, 248) |
|
static |
◆ WGT_GREY300
| const wxColour WGT_GREY300 = wxColour(238, 238, 238) |
|
static |