OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
MixedFilamentDialog.cpp File Reference
#include "MixedFilamentDialog.hpp"
#include <algorithm>
#include <cmath>
#include <cstddef>
#include <cstring>
#include <functional>
#include <map>
#include <set>
#include <wx/colour.h>
#include <wx/gdicmn.h>
#include <wx/event.h>
#include "slic3r/GUI/Widgets/StateColor.hpp"
#include <vector>
#include <string>
#include "slic3r/GUI/GUI_Utils.hpp"
#include <wx/dc.h>
#include <wx/dcmemory.h>
#include <utility>
#include <wx/chartype.h>
#include <tuple>
#include <wx/arrstr.h>
#include <wx/image.h>
#include <wx/panel.h>
#include <wx/sizer.h>
#include <wx/dcclient.h>
#include <wx/dcbuffer.h>
#include <wx/dcgraph.h>
#include <wx/scrolwin.h>
#include <wx/string.h>
#include <wx/textctrl.h>
#include <wx/toplevel.h>
#include <wx/window.h>
#include <wx/tglbtn.h>
#include <wx/wrapsizer.h>
#include <wx/tokenzr.h>
#include "libslic3r/Utils.hpp"
#include "libslic3r/FilamentMixer.hpp"
#include "I18N.hpp"
#include "GUI.hpp"
#include "GUI_App.hpp"
#include "GradientCurveEditor.hpp"
#include "FilamentBitmapUtils.hpp"
#include "wxExtensions.hpp"
#include "Widgets/Button.hpp"
#include "Widgets/CheckBox.hpp"
#include "Widgets/ComboBox.hpp"
#include "Widgets/DropDown.hpp"
#include "Widgets/Label.hpp"
Include dependency graph for MixedFilamentDialog.cpp:

Go to the source code of this file.

Classes

class  Slic3r::GUI::RatioLabelPanel

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 const wxColour Slic3r::GUI::COLOR_LABEL_MUTED ("#6B6A6A")
static wxColour Slic3r::GUI::blend_colors (const wxColour &a, const wxColour &b, double ratio_a)
static wxBitmap Slic3r::GUI::make_alpha_bitmap (int w, int h, const std::function< void(wxDC &dc)> &draw_fn)

Variables

static constexpr int Slic3r::GUI::MAX_COMPONENTS = 3
static constexpr int Slic3r::GUI::MIN_COMPONENT_RATIO = 10