OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
wgtDeviceNozzleSelect.cpp File Reference
#include "wgtDeviceNozzleSelect.h"
#include "wgtDeviceNozzleRack.h"
#include "slic3r/GUI/I18N.hpp"
#include "slic3r/GUI/GUI_App.hpp"
#include "slic3r/GUI/DeviceTab/wgtMsgBox.h"
#include "slic3r/GUI/Widgets/Label.hpp"
#include <wx/colour.h>
#include <vector>
#include <wx/event.h>
#include <wx/panel.h>
#include <wx/string.h>
#include <wx/gdicmn.h>
#include <wx/sizer.h>
#include <memory>
#include <optional>
#include "slic3r/GUI/DeviceCore/DevDefs.h"
Include dependency graph for wgtDeviceNozzleSelect.cpp:

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

Functions

static wxColour s_gray_clr ("#B0B0B0")
static wxColour s_hgreen_clr ("#009688")
static wxColour s_red_clr ("#D01B1B")
 wxDEFINE_EVENT (EVT_NOZZLE_SELECT_CHANGED, wxCommandEvent)
 wxDEFINE_EVENT (EVT_NOZZLE_SELECT_CLICKED, wxCommandEvent)
static wxPanel * Slic3r::GUI::s_create_title (wxWindow *parent, const wxString &text)
static void Slic3r::GUI::s_update_nozzle_info (wgtDeviceNozzleRackNozzleItem *item, std::shared_ptr< DevNozzleRack > rack, const DevNozzle &nozzle_info)
static void Slic3r::GUI::s_enable_item_if_match (wgtDeviceNozzleRackNozzleItem *item, const DevNozzle &nozzle_info, const DevNozzle &selected_nozzle)
volatile int Slic3r::GUI::sGetNozzlePosId (wgtDeviceNozzleRackNozzleItem *item, wgtDeviceNozzleRackNozzleItem *l_item, wgtDeviceNozzleRackNozzleItem *r_item)

Variables

static std::vector< int > a_nozzle_seq = {16, 18, 20, 17, 19, 21}

Function Documentation

◆ 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() [1/2]

wxDEFINE_EVENT ( EVT_NOZZLE_SELECT_CHANGED ,
wxCommandEvent  )

◆ wxDEFINE_EVENT() [2/2]

wxDEFINE_EVENT ( EVT_NOZZLE_SELECT_CLICKED ,
wxCommandEvent  )

Variable Documentation

◆ a_nozzle_seq

std::vector<int> a_nozzle_seq = {16, 18, 20, 17, 19, 21}
static
30{16, 18, 20, 17, 19, 21};