![]() |
Prusa Slicer 2.6.0
|
#include <src/slic3r/GUI/DoubleSlider.hpp>
Inheritance diagram for Slic3r::DoubleSlider::Control:
Collaboration diagram for Slic3r::DoubleSlider::Control:Classes | |
| class | Ruler |
Public Member Functions | |
| Control (wxWindow *parent, wxWindowID id, int lowerValue, int higherValue, int minValue, int maxValue, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxSL_VERTICAL, const wxValidator &val=wxDefaultValidator, const wxString &name=wxEmptyString) | |
| ~Control () | |
| void | msw_rescale () |
| void | sys_color_changed () |
| int | GetMinValue () const |
| int | GetMaxValue () const |
| double | GetMinValueD () |
| double | GetMaxValueD () |
| int | GetLowerValue () const |
| int | GetHigherValue () const |
| int | GetActiveValue () const |
| double | GetLowerValueD () |
| double | GetHigherValueD () |
| wxSize | DoGetBestSize () const override |
| wxSize | get_min_size () const |
| void | SetLowerValue (const int lower_val) |
| void | SetHigherValue (const int higher_val) |
| void | SetSelectionSpan (const int lower_val, const int higher_val) |
| void | SetMaxValue (const int max_value) |
| void | SetKoefForLabels (const double koef) |
| void | SetSliderValues (const std::vector< double > &values) |
| void | ChangeOneLayerLock () |
| void | SetSliderAlternateValues (const std::vector< double > &values) |
| Info | GetTicksValues () const |
| void | SetTicksValues (const Info &custom_gcode_per_print_z) |
| void | SetLayersTimes (const std::vector< float > &layers_times, float total_time) |
| void | SetLayersTimes (const std::vector< double > &layers_times) |
| void | SetDrawMode (bool is_sla_print, bool is_sequential_print) |
| void | SetDrawMode (DrawMode mode) |
| void | SetManipulationMode (Mode mode) |
| Mode | GetManipulationMode () const |
| void | SetModeAndOnlyExtruder (const bool is_one_extruder_printed_model, const int only_extruder) |
| void | SetExtruderColors (const std::vector< std::string > &extruder_colors) |
| bool | IsNewPrint () |
| void | set_render_as_disabled (bool value) |
| bool | is_rendering_as_disabled () const |
| bool | is_horizontal () const |
| bool | is_one_layer () const |
| bool | is_lower_at_min () const |
| bool | is_higher_at_max () const |
| bool | is_full_span () const |
| void | OnPaint (wxPaintEvent &) |
| void | OnLeftDown (wxMouseEvent &event) |
| void | OnMotion (wxMouseEvent &event) |
| void | OnLeftUp (wxMouseEvent &event) |
| void | OnEnterWin (wxMouseEvent &event) |
| void | OnLeaveWin (wxMouseEvent &event) |
| void | UseDefaultColors (bool def_colors_on) |
| void | OnWheel (wxMouseEvent &event) |
| void | OnKeyDown (wxKeyEvent &event) |
| void | OnKeyUp (wxKeyEvent &event) |
| void | OnChar (wxKeyEvent &event) |
| void | OnRightDown (wxMouseEvent &event) |
| void | OnRightUp (wxMouseEvent &event) |
| void | add_code_as_tick (Type type, int selected_extruder=-1) |
| void | add_current_tick (bool call_from_keyboard=false) |
| void | delete_current_tick () |
| void | edit_tick (int tick=-1) |
| void | switch_one_layer_mode () |
| void | discard_all_thicks () |
| void | move_current_thumb_to_pos (wxPoint pos) |
| void | edit_extruder_sequence () |
| void | jump_to_value () |
| void | enable_action_icon (bool enable) |
| void | show_add_context_menu () |
| void | show_edit_context_menu () |
| void | show_cog_icon_context_menu () |
| void | auto_color_change () |
Public Attributes | |
| ExtrudersSequence | m_extruders_sequence |
Protected Member Functions | |
| void | render () |
| void | draw_focus_rect (wxDC &dc) |
| void | draw_action_icon (wxDC &dc, const wxPoint pt_beg, const wxPoint pt_end) |
| void | draw_scroll_line (wxDC &dc, const int lower_pos, const int higher_pos) |
| void | draw_thumb (wxDC &dc, const wxCoord &pos_coord, const SelectedSlider &selection) |
| void | draw_thumbs (wxDC &dc, const wxCoord &lower_pos, const wxCoord &higher_pos) |
| void | draw_ticks_pair (wxDC &dc, wxCoord pos, wxCoord mid, int tick_len) |
| void | draw_ticks (wxDC &dc) |
| void | draw_colored_band (wxDC &dc) |
| void | draw_ruler (wxDC &dc) |
| void | draw_one_layer_icon (wxDC &dc) |
| void | draw_revert_icon (wxDC &dc) |
| void | draw_cog_icon (wxDC &dc) |
| void | draw_thumb_item (wxDC &dc, const wxPoint &pos, const SelectedSlider &selection) |
| void | draw_info_line_with_icon (wxDC &dc, const wxPoint &pos, SelectedSlider selection) |
| void | draw_tick_on_mouse_position (wxDC &dc) |
| void | draw_tick_text (wxDC &dc, const wxPoint &pos, int tick, LabelType label_type=ltHeight, bool right_side=true) const |
| void | draw_thumb_text (wxDC &dc, const wxPoint &pos, const SelectedSlider &selection) const |
| void | update_thumb_rect (const wxCoord begin_x, const wxCoord begin_y, const SelectedSlider &selection) |
| bool | is_lower_thumb_editable () |
| bool | detect_selected_slider (const wxPoint &pt) |
| void | correct_lower_value () |
| void | correct_higher_value () |
| void | move_current_thumb (const bool condition) |
| void | enter_window (wxMouseEvent &event, const bool enter) |
| bool | is_wipe_tower_layer (int tick) const |
Private Member Functions | |
| bool | is_point_in_rect (const wxPoint &pt, const wxRect &rect) |
| int | get_tick_near_point (const wxPoint &pt) |
| double | get_scroll_step () |
| wxString | get_label (int tick, LabelType label_type=ltHeightWithLayer) const |
| void | get_lower_and_higher_position (int &lower_pos, int &higher_pos) |
| int | get_value_from_position (const wxCoord x, const wxCoord y) |
| int | get_value_from_position (const wxPoint pos) |
| wxCoord | get_position_from_value (const int value) |
| wxSize | get_size () const |
| void | get_size (int *w, int *h) const |
| double | get_double_value (const SelectedSlider &selection) |
| int | get_tick_from_value (double value, bool force_lower_bound=false) |
| wxString | get_tooltip (int tick=-1) |
| int | get_edited_tick_for_position (wxPoint pos, Type type=ColorChange) |
| std::string | get_color_for_tool_change_tick (std::set< TickCode >::const_iterator it) const |
| std::string | get_color_for_color_change_tick (std::set< TickCode >::const_iterator it) const |
| wxRect | get_colored_band_rect () |
| std::array< int, 2 > | get_active_extruders_for_tick (int tick) const |
| void | post_ticks_changed_event (Type type=Custom) |
| bool | check_ticks_changed_event (Type type) |
| void | append_change_extruder_menu_item (wxMenu *, bool switch_current_code=false) |
| void | append_add_color_change_menu_item (wxMenu *, bool switch_current_code=false) |
| Slic3r::DoubleSlider::Control::Control | ( | wxWindow * | parent, |
| wxWindowID | id, | ||
| int | lowerValue, | ||
| int | higherValue, | ||
| int | minValue, | ||
| int | maxValue, | ||
| const wxPoint & | pos = wxDefaultPosition, |
||
| const wxSize & | size = wxDefaultSize, |
||
| long | style = wxSL_VERTICAL, |
||
| const wxValidator & | val = wxDefaultValidator, |
||
| const wxString & | name = wxEmptyString |
||
| ) |
References _u8L, DARK_GREY_PEN, DARK_ORANGE_PEN, FOCUS_RECT_BRUSH, FOCUS_RECT_PEN, get_min_size(), get_scroll_step(), ScalableBitmap::GetSize(), ScalableBitmap::GetWidth(), GREY_PEN, is_osx, LIGHT_GREY_PEN, LIGHT_ORANGE_PEN, m_bmp_add_tick_off, m_bmp_add_tick_on, m_bmp_cog, m_bmp_del_tick_off, m_bmp_del_tick_on, m_bmp_one_layer_lock_off, m_bmp_one_layer_lock_on, m_bmp_one_layer_unlock_off, m_bmp_one_layer_unlock_on, m_bmp_revert, m_bmp_thumb_higher, m_bmp_thumb_lower, m_cog_icon_dim, m_extruder_colors, m_font, m_layers_values, m_line_pens, m_lock_icon_dim, m_revert_icon_dim, m_ruler, m_segm_pens, m_selection, m_thumb_size, m_tick_icon_dim, m_ticks, m_values, OnChar(), OnEnterWin(), OnKeyDown(), OnKeyUp(), OnLeaveWin(), OnLeftDown(), OnLeftUp(), OnMotion(), OnPaint(), OnRightDown(), OnRightUp(), OnWheel(), ORANGE_PEN, Slic3r::DoubleSlider::TickCodeInfo::set_extruder_colors(), Slic3r::DoubleSlider::Control::Ruler::set_parent(), Slic3r::DoubleSlider::TickCodeInfo::set_pause_print_msg(), SLIDER_MARGIN, Slic3r::DoubleSlider::ssUndef, style, and Slic3r::DoubleSlider::Control::Ruler::update().
Here is the call graph for this function:
|
inline |
References Slic3r::DoubleSlider::TickCodeInfo::add_tick(), check_ticks_changed_event(), Slic3r::CustomGCode::ColorChange, Slic3r::empty(), Slic3r::GUI::EmptyColorChangeCode, Slic3r::DoubleSlider::gcode(), m_higher_value, m_lower_value, m_only_extruder, m_selection, m_ticks, m_values, post_ticks_changed_event(), Slic3r::DoubleSlider::ssLower, Slic3r::DoubleSlider::ssUndef, Slic3r::DoubleSlider::TickCodeInfo::switch_code_for_tick(), Slic3r::DoubleSlider::TickCodeInfo::ticks, and Slic3r::CustomGCode::ToolChange.
Referenced by add_current_tick(), append_add_color_change_menu_item(), append_change_extruder_menu_item(), and show_add_context_menu().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::DoubleSlider::Control::add_current_tick | ( | bool | call_from_keyboard = false | ) |
References add_code_as_tick(), append_add_color_change_menu_item(), append_change_extruder_menu_item(), check_ticks_changed_event(), Slic3r::CustomGCode::ColorChange, get_position_from_value(), get_size(), is_horizontal(), m_higher_value, m_lower_value, m_mode, m_selection, m_ticks, Slic3r::CustomGCode::MultiAsSingle, Slic3r::CustomGCode::SingleExtruder, Slic3r::DoubleSlider::ssLower, Slic3r::DoubleSlider::ssUndef, Slic3r::DoubleSlider::TickCodeInfo::ticks, and Slic3r::CustomGCode::ToolChange.
Referenced by OnChar(), OnKeyDown(), and OnLeftUp().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
References _L, add_code_as_tick(), append_menu_item(), Slic3r::CustomGCode::ColorChange, Slic3r::DoubleSlider::gcode(), get_bmp_bundle(), Slic3r::DoubleSlider::TickCodeInfo::get_used_extruders_for_tick(), m_higher_value, m_lower_value, m_only_extruder, m_selection, m_ticks, m_values, and Slic3r::DoubleSlider::ssLower.
Referenced by add_current_tick(), show_add_context_menu(), and show_edit_context_menu().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
References _L, add_code_as_tick(), append_menu_item(), append_submenu(), get_active_extruders_for_tick(), get_extruder_color_icons(), m_higher_value, m_lower_value, m_mode, m_selection, Slic3r::CustomGCode::MultiAsSingle, Slic3r::DoubleSlider::ssLower, and Slic3r::CustomGCode::ToolChange.
Referenced by add_current_tick(), show_add_context_menu(), and show_edit_context_menu().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::DoubleSlider::Control::auto_color_change | ( | ) |
References _L, Slic3r::DoubleSlider::check_color_change(), Slic3r::DoubleSlider::TickCodeInfo::empty(), Slic3r::PrintObject::layer_count(), Slic3r::PrintObject::layers(), m_ticks, Slic3r::Print::objects(), and Slic3r::DoubleSlider::TickCodeInfo::ticks.
Referenced by show_cog_icon_context_menu(), and Slic3r::GUI::Preview::update_layers_slider().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::DoubleSlider::Control::ChangeOneLayerLock | ( | ) |
References correct_higher_value(), correct_lower_value(), m_is_one_layer, m_selection, Slic3r::DoubleSlider::ssHigher, and Slic3r::DoubleSlider::ssLower.
Referenced by Slic3r::GUI::Preview::update_layers_slider_from_canvas().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
References _L, Slic3r::CustomGCode::ColorChange, Slic3r::DoubleSlider::TickCodeInfo::erase_all_ticks_with_code(), Slic3r::DoubleSlider::TickCodeInfo::has_tick_with_code(), m_mode, m_ticks, Slic3r::DoubleSlider::TickCodeInfo::mode, Slic3r::CustomGCode::MultiAsSingle, Slic3r::CustomGCode::MultiExtruder, post_ticks_changed_event(), Slic3r::CustomGCode::SingleExtruder, Slic3r::DoubleSlider::TickCodeInfo::switch_code(), and Slic3r::CustomGCode::ToolChange.
Referenced by add_code_as_tick(), add_current_tick(), delete_current_tick(), edit_extruder_sequence(), and edit_tick().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
References m_higher_value, m_is_one_layer, m_lower_value, m_max_value, and m_min_value.
Referenced by ChangeOneLayerLock(), discard_all_thicks(), get_double_value(), move_current_thumb(), move_current_thumb_to_pos(), OnMotion(), SetHigherValue(), and switch_one_layer_mode().
Here is the caller graph for this function:
|
protected |
References m_higher_value, m_is_one_layer, m_lower_value, m_max_value, and m_min_value.
Referenced by ChangeOneLayerLock(), discard_all_thicks(), move_current_thumb(), move_current_thumb_to_pos(), OnMotion(), SetLowerValue(), and switch_one_layer_mode().
Here is the caller graph for this function:| void Slic3r::DoubleSlider::Control::delete_current_tick | ( | ) |
References check_ticks_changed_event(), m_higher_value, m_lower_value, m_selection, m_ticks, post_ticks_changed_event(), Slic3r::DoubleSlider::ssLower, Slic3r::DoubleSlider::ssUndef, and Slic3r::DoubleSlider::TickCodeInfo::ticks.
Referenced by OnChar(), OnKeyDown(), OnLeftUp(), and show_edit_context_menu().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
References is_lower_thumb_editable(), is_point_in_rect(), m_rect_higher_thumb, m_rect_lower_thumb, m_selection, Slic3r::DoubleSlider::ssHigher, Slic3r::DoubleSlider::ssLower, and Slic3r::DoubleSlider::ssUndef.
Referenced by OnLeftDown(), and OnRightDown().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::DoubleSlider::Control::discard_all_thicks | ( | ) |
References correct_higher_value(), correct_lower_value(), m_max_value, m_min_value, m_selection, m_ticks, post_ticks_changed_event(), SetHigherValue(), SetLowerValue(), Slic3r::DoubleSlider::ssHigher, Slic3r::DoubleSlider::ssLower, Slic3r::DoubleSlider::ssUndef, and Slic3r::DoubleSlider::TickCodeInfo::ticks.
Referenced by OnLeftUp().
Here is the call graph for this function:
Here is the caller graph for this function:
|
override |
References get_min_size().
Here is the call graph for this function:
|
protected |
References Slic3r::DoubleSlider::dmSequentialFffPrint, Slic3r::DoubleSlider::fiActionIcon, get_bmp_bundle(), is_horizontal(), is_wipe_tower_layer(), m_bmp_add_tick_off, m_bmp_add_tick_on, m_bmp_del_tick_off, m_bmp_del_tick_on, m_draw_mode, m_enable_action_icon, m_focus, m_higher_value, m_lower_value, m_rect_tick_action, m_selection, m_tick_icon_dim, m_ticks, Slic3r::DoubleSlider::ssLower, and Slic3r::DoubleSlider::TickCodeInfo::ticks.
Referenced by draw_info_line_with_icon().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
References Slic3r::DoubleSlider::dmSequentialGCodeView, ScalableBitmap::get_bitmap(), get_size(), is_horizontal(), m_bmp_cog, m_cog_icon_dim, m_draw_mode, and m_rect_cog_icon.
Referenced by render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
References Slic3r::CustomGCode::ColorChange, Slic3r::DoubleSlider::dmRegular, Slic3r::DoubleSlider::TickCodeInfo::empty(), get_color_for_color_change_tick(), get_color_for_tool_change_tick(), get_colored_band_rect(), get_position_from_value(), is_horizontal(), m_draw_mode, m_extruder_colors, m_mode, m_only_extruder, m_ticks, Slic3r::CustomGCode::MultiAsSingle, Slic3r::CustomGCode::MultiExtruder, Slic3r::CustomGCode::SingleExtruder, SLIDER_MARGIN, Slic3r::DoubleSlider::TickCodeInfo::ticks, and Slic3r::CustomGCode::ToolChange.
Referenced by render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
References FOCUS_RECT_BRUSH, FOCUS_RECT_PEN, and m_is_focused.
Referenced by render().
Here is the caller graph for this function:
|
protected |
References DARK_ORANGE_PEN, Slic3r::DoubleSlider::dmRegular, Slic3r::DoubleSlider::dmSequentialFffPrint, draw_action_icon(), is_horizontal(), m_draw_mode, m_selection, and m_thumb_size.
Referenced by draw_thumb(), and draw_thumbs().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
References ScalableBitmap::bmp(), Slic3r::DoubleSlider::dmSequentialGCodeView, Slic3r::DoubleSlider::fiOneLayerIcon, get_size(), is_horizontal(), m_bmp_one_layer_lock_off, m_bmp_one_layer_lock_on, m_bmp_one_layer_unlock_off, m_bmp_one_layer_unlock_on, m_draw_mode, m_focus, m_is_one_layer, m_lock_icon_dim, and m_rect_one_layer_icon.
Referenced by render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
References Slic3r::DoubleSlider::dmRegular, Slic3r::DoubleSlider::TickCodeInfo::empty(), ScalableBitmap::get_bitmap(), get_size(), is_horizontal(), m_bmp_revert, m_draw_mode, m_rect_revert_icon, m_revert_icon_dim, m_ticks, and SLIDER_MARGIN.
Referenced by render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
References Slic3r::DoubleSlider::Control::Ruler::can_draw(), Slic3r::DoubleSlider::Control::Ruler::count(), draw_tick_text(), draw_ticks_pair(), get_position_from_value(), get_scroll_step(), get_size(), GREY_PEN, is_horizontal(), Slic3r::DoubleSlider::Control::Ruler::long_step, m_max_value, m_ruler, m_values, Slic3r::DoubleSlider::Control::Ruler::max_values, Slic3r::NaNd, and Slic3r::DoubleSlider::Control::Ruler::short_step.
Referenced by render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
References get_size(), is_horizontal(), m_line_pens, m_segm_pens, and SLIDER_MARGIN.
Referenced by render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
References draw_info_line_with_icon(), draw_thumb_item(), draw_thumb_text(), get_size(), and is_horizontal().
Here is the call graph for this function:
|
protected |
References ScalableBitmap::get_bitmap(), m_bmp_thumb_higher, m_bmp_thumb_lower, m_thumb_size, Slic3r::DoubleSlider::ssLower, and update_thumb_rect().
Referenced by draw_thumb(), and draw_thumbs().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
References draw_tick_text(), Slic3r::DoubleSlider::ltHeightWithLayer, m_higher_value, m_lower_value, and Slic3r::DoubleSlider::ssLower.
Referenced by draw_thumb(), and draw_thumbs().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
References draw_info_line_with_icon(), draw_thumb_item(), draw_thumb_text(), get_size(), is_horizontal(), Slic3r::DoubleSlider::ssHigher, and Slic3r::DoubleSlider::ssLower.
Referenced by render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
References DARK_ORANGE_PEN, draw_tick_text(), draw_ticks(), get_position_from_value(), get_size(), get_tick_near_point(), get_value_from_position(), GREY_PEN, is_horizontal(), LIGHT_GREY_PEN, Slic3r::DoubleSlider::ltEstimatedTime, m_extra_style, m_higher_value, m_is_focused, m_lower_value, m_max_value, m_min_value, m_moving_pos, and m_thumb_size.
Referenced by render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
References DARK_ORANGE_PEN, get_label(), get_size(), GREY_PEN, is_horizontal(), is_wipe_tower_layer(), Slic3r::DoubleSlider::ltEstimatedTime, m_higher_value, m_lower_value, and m_thumb_size.
Referenced by draw_ruler(), draw_thumb_text(), and draw_tick_on_mouse_position().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
References Slic3r::CustomGCode::ColorChange, DARK_GREY_PEN, Slic3r::DoubleSlider::dmRegular, Slic3r::DoubleSlider::dmSlaPrint, draw_ticks_pair(), get_bmp_bundle(), get_position_from_value(), get_size(), get_tick_near_point(), Slic3r::DoubleSlider::TickCodeInfo::is_conflict_tick(), is_horizontal(), LIGHT_GREY_PEN, m_draw_mode, m_mode, m_moving_pos, m_only_extruder, m_thumb_size, m_tick_icon_dim, m_ticks, m_values, Slic3r::CustomGCode::PausePrint, Slic3r::DoubleSlider::TickCodeInfo::ticks, and Slic3r::CustomGCode::ToolChange.
Referenced by draw_tick_on_mouse_position(), and render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
References is_horizontal().
Referenced by draw_ruler(), and draw_ticks().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::DoubleSlider::Control::edit_extruder_sequence | ( | ) |
References check_ticks_changed_event(), Slic3r::DoubleSlider::ExtrudersSequence::color_repetition, Slic3r::DoubleSlider::TickCodeInfo::erase_all_ticks_with_code(), Slic3r::DoubleSlider::ExtrudersSequence::extruders, get_tick_from_value(), Slic3r::GUI::ExtruderSequenceDialog::GetValue(), Slic3r::DoubleSlider::ExtrudersSequence::interval_by_layers, Slic3r::DoubleSlider::ExtrudersSequence::interval_by_mm, Slic3r::DoubleSlider::ExtrudersSequence::is_mm_intervals, m_extruder_colors, m_extruders_sequence, m_max_value, m_ticks, post_ticks_changed_event(), Slic3r::DoubleSlider::ExtrudersSequence::random_sequence, Slic3r::DoubleSlider::TickCodeInfo::ticks, and Slic3r::CustomGCode::ToolChange.
Referenced by show_cog_icon_context_menu().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::DoubleSlider::Control::edit_tick | ( | int | tick = -1 | ) |
References check_ticks_changed_event(), Slic3r::DoubleSlider::TickCodeInfo::edit_tick(), m_higher_value, m_lower_value, m_selection, m_ticks, m_values, post_ticks_changed_event(), Slic3r::DoubleSlider::ssLower, and Slic3r::DoubleSlider::TickCodeInfo::ticks.
Referenced by OnRightUp(), and show_edit_context_menu().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References m_enable_action_icon.
Referenced by Slic3r::GUI::Preview::create_layers_slider_sizer().
Here is the caller graph for this function:
|
protected |
References m_is_focused.
Referenced by OnEnterWin(), and OnLeaveWin().
Here is the caller graph for this function:
|
private |
References Slic3r::DoubleSlider::TickCodeInfo::empty(), m_mode, m_only_extruder, m_ticks, Slic3r::CustomGCode::MultiAsSingle, Slic3r::DoubleSlider::TickCodeInfo::ticks, and Slic3r::CustomGCode::ToolChange.
Referenced by append_change_extruder_menu_item().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
References Slic3r::CustomGCode::ColorChange, m_only_extruder, m_ticks, Slic3r::DoubleSlider::TickCodeInfo::ticks, and Slic3r::CustomGCode::ToolChange.
Referenced by draw_colored_band().
Here is the caller graph for this function:
|
private |
References Slic3r::CustomGCode::ColorChange, m_extruder_colors, m_only_extruder, m_ticks, and Slic3r::DoubleSlider::TickCodeInfo::ticks.
Referenced by draw_colored_band().
Here is the caller graph for this function:
|
private |
References get_size(), is_horizontal(), m_thumb_size, and SLIDER_MARGIN.
Referenced by draw_colored_band(), OnMotion(), and OnRightDown().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
References correct_higher_value(), m_higher_value, m_lower_value, m_values, and Slic3r::DoubleSlider::ssLower.
Referenced by GetHigherValueD(), and GetLowerValueD().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
References Slic3r::DoubleSlider::TickCodeInfo::empty(), get_value_from_position(), m_ticks, and Slic3r::DoubleSlider::TickCodeInfo::ticks.
Referenced by OnMotion(), and OnRightUp().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
References Slic3r::DoubleSlider::dmSequentialGCodeView, Slic3r::DoubleSlider::epsilon(), Slic3r::get_time_dhms(), is_wipe_tower_layer(), Slic3r::DoubleSlider::ltEstimatedTime, Slic3r::DoubleSlider::ltHeight, Slic3r::DoubleSlider::ltHeightWithLayer, m_alternate_values, m_draw_mode, m_is_wipe_tower, m_label_koef, m_layers_times, m_layers_values, m_values, and Slic3r::DoubleSlider::short_and_splitted_time().
Referenced by draw_tick_text().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
References get_scroll_step(), is_horizontal(), m_higher_value, m_lower_value, m_max_value, and SLIDER_MARGIN.
Here is the call graph for this function:| wxSize Slic3r::DoubleSlider::Control::get_min_size | ( | ) | const |
References is_horizontal().
Referenced by Control(), DoGetBestSize(), and msw_rescale().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
References get_scroll_step(), is_horizontal(), m_max_value, and SLIDER_MARGIN.
Referenced by add_current_tick(), draw_colored_band(), draw_ruler(), draw_tick_on_mouse_position(), draw_ticks(), get_tick_near_point(), and render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
References get_size(), m_max_value, m_min_value, m_style, and SLIDER_MARGIN.
Referenced by Control(), draw_ruler(), get_lower_and_higher_position(), get_position_from_value(), get_value_from_position(), msw_rescale(), SetLayersTimes(), and SetSliderValues().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
References get_size().
Referenced by add_current_tick(), draw_cog_icon(), draw_one_layer_icon(), draw_revert_icon(), draw_ruler(), draw_scroll_line(), draw_thumb(), draw_thumbs(), draw_tick_on_mouse_position(), draw_tick_text(), draw_ticks(), get_colored_band_rect(), get_scroll_step(), get_size(), and get_value_from_position().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
References Slic3r::DoubleSlider::dmSequentialGCodeView, is_horizontal(), m_draw_mode, and m_lock_icon_dim.
Here is the call graph for this function:
|
private |
References Slic3r::DoubleSlider::epsilon(), m_is_wipe_tower, and m_values.
Referenced by edit_extruder_sequence(), jump_to_value(), and SetTicksValues().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
References get_position_from_value(), is_horizontal(), m_ticks, and Slic3r::DoubleSlider::TickCodeInfo::ticks.
Referenced by draw_tick_on_mouse_position(), draw_ticks(), move_current_thumb_to_pos(), and OnMotion().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
References _L, _u8L, Slic3r::CustomGCode::ColorChange, Slic3r::DoubleSlider::ctMeaninglessColorChange, Slic3r::DoubleSlider::ctMeaninglessToolChange, Slic3r::DoubleSlider::ctModeConflict, Slic3r::DoubleSlider::ctNone, Slic3r::DoubleSlider::ctRedundant, Slic3r::DoubleSlider::dmSequentialFffPrint, Slic3r::DoubleSlider::dmSequentialGCodeView, Slic3r::DoubleSlider::dmSlaPrint, Slic3r::DoubleSlider::fiActionIcon, Slic3r::DoubleSlider::fiCogIcon, Slic3r::DoubleSlider::fiColorBand, Slic3r::DoubleSlider::fiNone, Slic3r::DoubleSlider::fiOneLayerIcon, Slic3r::DoubleSlider::fiRevertIcon, Slic3r::DoubleSlider::fiSmartWipeTower, Slic3r::GUI::from_u8(), Slic3r::DoubleSlider::gcode(), Slic3r::DoubleSlider::TickCodeInfo::is_conflict_tick(), is_osx, m_draw_mode, m_focus, m_mode, m_only_extruder, m_ticks, m_values, Slic3r::CustomGCode::MultiAsSingle, Slic3r::CustomGCode::MultiAsSingleMode, Slic3r::CustomGCode::MultiExtruderMode, Slic3r::CustomGCode::PausePrint, Slic3r::CustomGCode::SingleExtruder, Slic3r::CustomGCode::SingleExtruderMode, Slic3r::CustomGCode::Template, Slic3r::DoubleSlider::TickCodeInfo::ticks, and Slic3r::CustomGCode::ToolChange.
Referenced by OnMotion().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
References get_scroll_step(), get_size(), is_horizontal(), m_min_value, and SLIDER_MARGIN.
Referenced by draw_tick_on_mouse_position(), get_edited_tick_for_position(), move_current_thumb_to_pos(), and OnMotion().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprivate |
References get_value_from_position().
Referenced by get_value_from_position().
Here is the call graph for this function:
Here is the caller graph for this function:| int Slic3r::DoubleSlider::Control::GetActiveValue | ( | ) | const |
References m_higher_value, m_lower_value, m_selection, Slic3r::DoubleSlider::ssHigher, and Slic3r::DoubleSlider::ssLower.
|
inline |
References m_higher_value.
Referenced by Slic3r::GUI::Preview::on_layers_slider_scroll_changed(), and Slic3r::GUI::Preview::update_layers_slider_from_canvas().
Here is the caller graph for this function:
|
inline |
References get_double_value(), and Slic3r::DoubleSlider::ssHigher.
Referenced by Slic3r::GUI::Preview::on_layers_slider_scroll_changed(), Slic3r::GUI::Preview::on_moves_slider_scroll_changed(), and Slic3r::GUI::Preview::update_layers_slider().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References m_lower_value.
Referenced by Slic3r::GUI::Preview::on_layers_slider_scroll_changed().
Here is the caller graph for this function:
|
inline |
References get_double_value(), and Slic3r::DoubleSlider::ssLower.
Referenced by Slic3r::GUI::Preview::on_layers_slider_scroll_changed(), Slic3r::GUI::Preview::on_moves_slider_scroll_changed(), and Slic3r::GUI::Preview::update_layers_slider().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
inline |
References m_max_value.
Referenced by Slic3r::GUI::Preview::set_layers_slider_values_range(), and Slic3r::GUI::Preview::update_layers_slider().
Here is the caller graph for this function:
|
inline |
References m_max_value, and m_values.
Referenced by Slic3r::GUI::Preview::update_layers_slider().
Here is the caller graph for this function:
|
inline |
References m_min_value.
Referenced by Slic3r::GUI::Preview::set_layers_slider_values_range(), and Slic3r::GUI::Preview::update_layers_slider().
Here is the caller graph for this function:
|
inline |
References m_min_value, and m_values.
| Info Slic3r::DoubleSlider::Control::GetTicksValues | ( | ) | const |
References Slic3r::CustomGCode::Info::gcodes, m_force_mode_apply, m_mode, m_ticks, m_values, Slic3r::CustomGCode::Info::mode, and Slic3r::DoubleSlider::TickCodeInfo::ticks.
Referenced by Slic3r::GUI::Preview::create_layers_slider_sizer().
Here is the caller graph for this function:
|
inline |
References is_higher_at_max(), and is_lower_at_min().
Here is the call graph for this function:
|
inline |
References m_higher_value, and m_max_value.
Referenced by is_full_span(), and Slic3r::GUI::Preview::update_layers_slider().
Here is the caller graph for this function:
|
inline |
References m_style.
Referenced by add_current_tick(), draw_action_icon(), draw_cog_icon(), draw_colored_band(), draw_info_line_with_icon(), draw_one_layer_icon(), draw_revert_icon(), draw_ruler(), draw_scroll_line(), draw_thumb(), draw_thumbs(), draw_tick_on_mouse_position(), draw_tick_text(), draw_ticks(), draw_ticks_pair(), get_colored_band_rect(), get_lower_and_higher_position(), get_min_size(), get_position_from_value(), get_size(), get_tick_near_point(), get_value_from_position(), move_current_thumb(), OnKeyDown(), OnWheel(), and update_thumb_rect().
Here is the caller graph for this function:
|
inline |
References m_lower_value, and m_min_value.
Referenced by is_full_span(), and Slic3r::GUI::Preview::update_layers_slider().
Here is the caller graph for this function:
|
protected |
References Slic3r::DoubleSlider::dmSequentialGCodeView, Slic3r::AppConfig::get(), Slic3r::GUI::get_app_config(), and m_draw_mode.
Referenced by detect_selected_slider(), OnKeyDown(), and OnWheel().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References m_is_one_layer.
Referenced by Slic3r::GUI::Preview::update_layers_slider_from_canvas().
Here is the caller graph for this function:
|
private |
Referenced by detect_selected_slider(), OnLeftDown(), OnMotion(), and OnRightDown().
Here is the caller graph for this function:
|
inline |
References m_render_as_disabled.
Referenced by Slic3r::GUI::Preview::enable_moves_slider().
Here is the caller graph for this function:
|
protected |
References m_is_wipe_tower, and m_values.
Referenced by draw_action_icon(), draw_tick_text(), get_label(), and OnMotion().
Here is the caller graph for this function:| bool Slic3r::DoubleSlider::Control::IsNewPrint | ( | ) |
References m_print_obj_idxs, Slic3r::Print::objects(), Slic3r::printer_technology(), and Slic3r::ptSLA.
Referenced by Slic3r::GUI::Preview::update_layers_slider().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::DoubleSlider::Control::jump_to_value | ( | ) |
References get_tick_from_value(), Slic3r::DoubleSlider::get_value_to_jump(), m_draw_mode, m_higher_value, m_lower_value, m_max_value, m_min_value, m_selection, m_values, SetHigherValue(), SetLowerValue(), and Slic3r::DoubleSlider::ssLower.
Referenced by OnChar(), and show_cog_icon_context_menu().
Here is the call graph for this function:
Here is the caller graph for this function:References correct_higher_value(), correct_lower_value(), is_horizontal(), m_higher_value, m_lower_value, m_selection, Slic3r::DoubleSlider::ssHigher, Slic3r::DoubleSlider::ssLower, and Slic3r::DoubleSlider::ssUndef.
Referenced by OnKeyDown(), and OnWheel().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::DoubleSlider::Control::move_current_thumb_to_pos | ( | wxPoint | pos | ) |
References correct_higher_value(), correct_lower_value(), Slic3r::DoubleSlider::dmRegular, get_tick_near_point(), get_value_from_position(), m_draw_mode, m_selection, SetHigherValue(), SetLowerValue(), and Slic3r::DoubleSlider::ssLower.
Referenced by OnLeftUp().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::DoubleSlider::Control::msw_rescale | ( | ) |
References get_min_size(), get_scroll_step(), ScalableBitmap::GetSize(), ScalableBitmap::GetWidth(), m_bmp_add_tick_on, m_bmp_cog, m_bmp_one_layer_lock_on, m_bmp_revert, m_bmp_thumb_lower, m_cog_icon_dim, m_font, m_layers_values, m_lock_icon_dim, m_revert_icon_dim, m_ruler, m_thumb_size, m_tick_icon_dim, m_values, SLIDER_MARGIN, Slic3r::DoubleSlider::Control::Ruler::update(), and Slic3r::DoubleSlider::Control::Ruler::update_dpi().
Referenced by Slic3r::GUI::Preview::msw_rescale().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::DoubleSlider::Control::OnChar | ( | wxKeyEvent & | event | ) |
References add_current_tick(), delete_current_tick(), Slic3r::DoubleSlider::dmSequentialGCodeView, jump_to_value(), m_draw_mode, m_ticks, Slic3r::DoubleSlider::TickCodeInfo::suppress_minus(), Slic3r::DoubleSlider::TickCodeInfo::suppress_plus(), Slic3r::DoubleSlider::TickCodeInfo::suppressed_minus(), and Slic3r::DoubleSlider::TickCodeInfo::suppressed_plus().
Referenced by Control(), Slic3r::GUI::Preview::edit_layers_slider(), and Slic3r::GUI::Preview::jump_layers_slider().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References enter_window().
Referenced by Control().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::DoubleSlider::Control::OnKeyDown | ( | wxKeyEvent & | event | ) |
References add_current_tick(), delete_current_tick(), Slic3r::DoubleSlider::dmSequentialGCodeView, is_horizontal(), is_lower_thumb_editable(), m_draw_mode, m_is_focused, m_selection, m_ticks, move_current_thumb(), Slic3r::DoubleSlider::ssHigher, Slic3r::DoubleSlider::ssLower, Slic3r::DoubleSlider::TickCodeInfo::suppress_minus(), Slic3r::DoubleSlider::TickCodeInfo::suppress_plus(), and UseDefaultColors().
Referenced by Control(), Slic3r::GUI::Preview::move_layers_slider(), and Slic3r::GUI::Preview::move_moves_slider().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::DoubleSlider::Control::OnKeyUp | ( | wxKeyEvent & | event | ) |
References m_is_one_layer, and UseDefaultColors().
Referenced by Control().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References enter_window().
Referenced by Control().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::DoubleSlider::Control::OnLeftDown | ( | wxMouseEvent & | event | ) |
References detect_selected_slider(), Slic3r::DoubleSlider::dmRegular, is_point_in_rect(), m_draw_mode, m_higher_value, m_is_left_down, m_lower_value, m_mouse, m_rect_cog_icon, m_rect_one_layer_icon, m_rect_revert_icon, m_rect_tick_action, m_selection, m_ticks, Slic3r::DoubleSlider::maAddTick, Slic3r::DoubleSlider::maCogIconClick, Slic3r::DoubleSlider::maDeleteTick, Slic3r::DoubleSlider::maNone, Slic3r::DoubleSlider::maOneLayerIconClick, Slic3r::DoubleSlider::maRevertIconClick, Slic3r::DoubleSlider::ssLower, and Slic3r::DoubleSlider::TickCodeInfo::ticks.
Referenced by Control().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::DoubleSlider::Control::OnLeftUp | ( | wxMouseEvent & | event | ) |
References add_current_tick(), delete_current_tick(), discard_all_thicks(), m_is_left_down, m_mouse, Slic3r::DoubleSlider::maAddTick, Slic3r::DoubleSlider::maCogIconClick, Slic3r::DoubleSlider::maDeleteTick, Slic3r::DoubleSlider::maNone, Slic3r::DoubleSlider::maOneLayerIconClick, Slic3r::DoubleSlider::maRevertIconClick, move_current_thumb_to_pos(), show_cog_icon_context_menu(), and switch_one_layer_mode().
Referenced by Control().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::DoubleSlider::Control::OnMotion | ( | wxMouseEvent & | event | ) |
References correct_higher_value(), correct_lower_value(), Slic3r::DoubleSlider::TickCodeInfo::empty(), Slic3r::DoubleSlider::fiActionIcon, Slic3r::DoubleSlider::fiCogIcon, Slic3r::DoubleSlider::fiColorBand, Slic3r::DoubleSlider::fiHigherThumb, Slic3r::DoubleSlider::fiLowerThumb, Slic3r::DoubleSlider::fiOneLayerIcon, Slic3r::DoubleSlider::fiRevertIcon, Slic3r::DoubleSlider::fiSmartWipeTower, Slic3r::DoubleSlider::fiTick, get_colored_band_rect(), get_edited_tick_for_position(), get_tick_near_point(), get_tooltip(), get_value_from_position(), is_point_in_rect(), is_wipe_tower_layer(), m_focus, m_higher_value, m_is_left_down, m_is_right_down, m_is_wipe_tower, m_lower_value, m_mode, m_moving_pos, m_rect_cog_icon, m_rect_higher_thumb, m_rect_lower_thumb, m_rect_one_layer_icon, m_rect_revert_icon, m_rect_tick_action, m_selection, m_ticks, Slic3r::CustomGCode::SingleExtruder, Slic3r::DoubleSlider::ssHigher, and Slic3r::DoubleSlider::ssLower.
Referenced by Control().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
| void Slic3r::DoubleSlider::Control::OnRightDown | ( | wxMouseEvent & | event | ) |
References detect_selected_slider(), Slic3r::DoubleSlider::dmRegular, get_colored_band_rect(), is_point_in_rect(), m_draw_mode, m_higher_value, m_is_left_down, m_is_one_layer, m_is_right_down, m_lower_value, m_mode, m_mouse, m_rect_cog_icon, m_rect_tick_action, m_selection, m_ticks, Slic3r::DoubleSlider::maAddMenu, Slic3r::DoubleSlider::maCogIconMenu, Slic3r::DoubleSlider::maEditMenu, Slic3r::DoubleSlider::maForceColorEdit, Slic3r::DoubleSlider::maNone, Slic3r::CustomGCode::MultiAsSingle, Slic3r::CustomGCode::SingleExtruder, Slic3r::DoubleSlider::ssLower, and Slic3r::DoubleSlider::TickCodeInfo::ticks.
Referenced by Control().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::DoubleSlider::Control::OnRightUp | ( | wxMouseEvent & | event | ) |
References edit_tick(), get_edited_tick_for_position(), m_is_left_down, m_is_one_layer, m_is_right_down, m_mouse, Slic3r::DoubleSlider::maAddMenu, Slic3r::DoubleSlider::maCogIconMenu, Slic3r::DoubleSlider::maEditMenu, Slic3r::DoubleSlider::maForceColorEdit, show_add_context_menu(), show_cog_icon_context_menu(), and show_edit_context_menu().
Referenced by Control().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::DoubleSlider::Control::OnWheel | ( | wxMouseEvent & | event | ) |
References Slic3r::DoubleSlider::dmSequentialGCodeView, is_horizontal(), is_lower_thumb_editable(), m_draw_mode, m_rect_higher_thumb, m_rect_lower_thumb, m_selection, move_current_thumb(), Slic3r::DoubleSlider::ssHigher, Slic3r::DoubleSlider::ssLower, and Slic3r::DoubleSlider::ssUndef.
Referenced by Control().
Here is the call graph for this function:
Here is the caller graph for this function:Referenced by add_code_as_tick(), check_ticks_changed_event(), delete_current_tick(), discard_all_thicks(), edit_extruder_sequence(), edit_tick(), and SetTicksValues().
Here is the caller graph for this function:
|
protected |
References draw_cog_icon(), draw_colored_band(), draw_focus_rect(), draw_one_layer_icon(), draw_revert_icon(), draw_ruler(), draw_scroll_line(), draw_thumbs(), draw_tick_on_mouse_position(), draw_ticks(), get_position_from_value(), m_extra_style, m_font, m_higher_value, m_lower_value, and m_render_as_disabled.
Referenced by OnPaint().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References m_render_as_disabled.
Referenced by Slic3r::GUI::Preview::enable_moves_slider().
Here is the caller graph for this function:| void Slic3r::DoubleSlider::Control::SetDrawMode | ( | bool | is_sla_print, |
| bool | is_sequential_print | ||
| ) |
References Slic3r::DoubleSlider::dmRegular, Slic3r::DoubleSlider::dmSequentialFffPrint, Slic3r::DoubleSlider::dmSlaPrint, and m_draw_mode.
Referenced by Slic3r::GUI::Preview::create_layers_slider_sizer(), Slic3r::GUI::Preview::init(), and Slic3r::GUI::Preview::update_layers_slider().
Here is the caller graph for this function:References m_draw_mode.
| void Slic3r::DoubleSlider::Control::SetExtruderColors | ( | const std::vector< std::string > & | extruder_colors | ) |
References m_extruder_colors.
Referenced by Slic3r::GUI::Preview::update_layers_slider().
Here is the caller graph for this function:References correct_higher_value(), m_higher_value, m_selection, and Slic3r::DoubleSlider::ssHigher.
Referenced by discard_all_thicks(), jump_to_value(), move_current_thumb_to_pos(), Slic3r::GUI::Preview::reset_layers_slider(), Slic3r::GUI::Preview::set_layers_slider_values_range(), switch_one_layer_mode(), and Slic3r::GUI::Preview::update_layers_slider_from_canvas().
Here is the call graph for this function:
Here is the caller graph for this function:References m_label_koef.
References m_is_wipe_tower, and m_layers_times.
| void Slic3r::DoubleSlider::Control::SetLayersTimes | ( | const std::vector< float > & | layers_times, |
| float | total_time | ||
| ) |
References get_scroll_step(), m_is_wipe_tower, m_layers_times, m_layers_values, m_ruler, m_values, and Slic3r::DoubleSlider::Control::Ruler::update().
Referenced by Slic3r::GUI::Preview::update_layers_slider().
Here is the call graph for this function:
Here is the caller graph for this function:References correct_lower_value(), m_lower_value, m_selection, and Slic3r::DoubleSlider::ssLower.
Referenced by discard_all_thicks(), jump_to_value(), move_current_thumb_to_pos(), Slic3r::GUI::Preview::reset_layers_slider(), Slic3r::GUI::Preview::set_layers_slider_values_range(), switch_one_layer_mode(), and Slic3r::GUI::Preview::update_layers_slider_from_canvas().
Here is the call graph for this function:
Here is the caller graph for this function:References m_max_value.
Referenced by Slic3r::GUI::Preview::update_layers_slider(), and Slic3r::GUI::Preview::update_moves_slider().
Here is the caller graph for this function:| void Slic3r::DoubleSlider::Control::SetModeAndOnlyExtruder | ( | const bool | is_one_extruder_printed_model, |
| const int | only_extruder | ||
| ) |
References Slic3r::DoubleSlider::TickCodeInfo::empty(), m_is_wipe_tower, m_mode, m_only_extruder, m_ticks, Slic3r::DoubleSlider::TickCodeInfo::mode, Slic3r::CustomGCode::MultiAsSingle, Slic3r::CustomGCode::MultiExtruder, Slic3r::CustomGCode::SingleExtruder, and UseDefaultColors().
Referenced by Slic3r::GUI::Preview::update_layers_slider_mode().
Here is the call graph for this function:
Here is the caller graph for this function:References m_higher_value, m_is_one_layer, m_lower_value, m_max_value, and m_min_value.
Referenced by Slic3r::GUI::Preview::update_layers_slider(), and Slic3r::GUI::Preview::update_moves_slider().
Here is the caller graph for this function:
|
inline |
References m_alternate_values.
Referenced by Slic3r::GUI::Preview::update_moves_slider().
Here is the caller graph for this function:References get_scroll_step(), Slic3r::DoubleSlider::Control::Ruler::init(), m_ruler, and m_values.
Referenced by Slic3r::GUI::Preview::update_layers_slider(), and Slic3r::GUI::Preview::update_moves_slider().
Here is the call graph for this function:
Here is the caller graph for this function:References Slic3r::DoubleSlider::TickCodeInfo::empty(), Slic3r::CustomGCode::Info::gcodes, get_tick_from_value(), Slic3r::DoubleSlider::ExtrudersSequence::init(), m_extruder_colors, m_extruders_sequence, m_mode, m_ticks, m_values, Slic3r::CustomGCode::Info::mode, Slic3r::DoubleSlider::TickCodeInfo::mode, post_ticks_changed_event(), Slic3r::DoubleSlider::TickCodeInfo::ticks, and Slic3r::DoubleSlider::TickCode::type.
Referenced by Slic3r::GUI::Preview::update_layers_slider().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::DoubleSlider::Control::show_add_context_menu | ( | ) |
References _L, add_code_as_tick(), append_add_color_change_menu_item(), append_change_extruder_menu_item(), append_menu_item(), Slic3r::CustomGCode::ColorChange, Slic3r::CustomGCode::Custom, Slic3r::empty(), Slic3r::DoubleSlider::gcode(), m_mode, Slic3r::CustomGCode::PausePrint, Slic3r::CustomGCode::SingleExtruder, Slic3r::CustomGCode::Template, and UseDefaultColors().
Referenced by OnRightUp().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::DoubleSlider::Control::show_cog_icon_context_menu | ( | ) |
References _L, append_menu_check_item(), append_menu_item(), append_submenu(), auto_color_change(), Slic3r::DoubleSlider::dmRegular, edit_extruder_sequence(), jump_to_value(), m_draw_mode, m_extra_style, m_mode, Slic3r::CustomGCode::MultiAsSingle, and Slic3r::CustomGCode::MultiExtruder.
Referenced by OnLeftUp(), and OnRightUp().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::DoubleSlider::Control::show_edit_context_menu | ( | ) |
References _L, append_add_color_change_menu_item(), append_change_extruder_menu_item(), append_menu_item(), Slic3r::CustomGCode::ColorChange, delete_current_tick(), edit_tick(), m_higher_value, m_lower_value, m_mode, m_selection, m_ticks, Slic3r::CustomGCode::MultiAsSingle, Slic3r::CustomGCode::PausePrint, Slic3r::DoubleSlider::ssLower, Slic3r::DoubleSlider::TickCodeInfo::ticks, and Slic3r::CustomGCode::ToolChange.
Referenced by OnRightUp().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::DoubleSlider::Control::switch_one_layer_mode | ( | ) |
References correct_higher_value(), correct_lower_value(), m_is_one_layer, m_max_value, m_min_value, m_selection, SetHigherValue(), SetLowerValue(), Slic3r::DoubleSlider::ssHigher, Slic3r::DoubleSlider::ssLower, and Slic3r::DoubleSlider::ssUndef.
Referenced by OnLeftUp().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::DoubleSlider::Control::sys_color_changed | ( | ) |
References m_bmp_add_tick_off, m_bmp_add_tick_on, m_bmp_cog, m_bmp_del_tick_off, m_bmp_del_tick_on, m_bmp_one_layer_lock_off, m_bmp_one_layer_lock_on, m_bmp_one_layer_unlock_off, m_bmp_one_layer_unlock_on, m_bmp_revert, and ScalableBitmap::sys_color_changed().
Referenced by Slic3r::GUI::Preview::sys_color_changed().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
References is_horizontal(), m_rect_higher_thumb, m_rect_lower_thumb, m_thumb_size, Slic3r::DoubleSlider::ssHigher, and Slic3r::DoubleSlider::ssLower.
Referenced by draw_thumb_item().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References m_ticks, and Slic3r::DoubleSlider::TickCodeInfo::set_default_colors().
Referenced by Slic3r::GUI::Preview::create_layers_slider_sizer(), OnKeyDown(), OnKeyUp(), SetModeAndOnlyExtruder(), show_add_context_menu(), and Slic3r::GUI::Preview::update_layers_slider_from_canvas().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Referenced by Control(), and draw_ticks().
|
private |
Referenced by Control(), draw_info_line_with_icon(), draw_tick_on_mouse_position(), and draw_tick_text().
|
private |
Referenced by Control(), and draw_focus_rect().
|
private |
Referenced by Control(), and draw_focus_rect().
|
private |
Referenced by Control(), draw_ruler(), draw_tick_on_mouse_position(), and draw_tick_text().
|
private |
Referenced by Control(), and get_tooltip().
|
private |
Referenced by Control(), draw_tick_on_mouse_position(), and draw_ticks().
|
private |
Referenced by Control().
|
private |
Referenced by get_label(), and SetSliderAlternateValues().
|
private |
Referenced by Control(), draw_action_icon(), and sys_color_changed().
|
private |
Referenced by Control(), draw_action_icon(), msw_rescale(), and sys_color_changed().
|
private |
Referenced by Control(), draw_cog_icon(), msw_rescale(), and sys_color_changed().
|
private |
Referenced by Control(), draw_action_icon(), and sys_color_changed().
|
private |
Referenced by Control(), draw_action_icon(), and sys_color_changed().
|
private |
Referenced by Control(), draw_one_layer_icon(), and sys_color_changed().
|
private |
Referenced by Control(), draw_one_layer_icon(), msw_rescale(), and sys_color_changed().
|
private |
Referenced by Control(), draw_one_layer_icon(), and sys_color_changed().
|
private |
Referenced by Control(), draw_one_layer_icon(), and sys_color_changed().
|
private |
Referenced by Control(), draw_revert_icon(), msw_rescale(), and sys_color_changed().
|
private |
Referenced by Control(), and draw_thumb_item().
|
private |
Referenced by Control(), draw_thumb_item(), and msw_rescale().
|
private |
Referenced by Control(), draw_cog_icon(), and msw_rescale().
Referenced by draw_action_icon(), draw_cog_icon(), draw_colored_band(), draw_info_line_with_icon(), draw_one_layer_icon(), draw_revert_icon(), draw_ticks(), get_label(), get_size(), get_tooltip(), is_lower_thumb_editable(), jump_to_value(), move_current_thumb_to_pos(), OnChar(), OnKeyDown(), OnLeftDown(), OnRightDown(), OnWheel(), SetDrawMode(), SetDrawMode(), and show_cog_icon_context_menu().
|
private |
Referenced by draw_action_icon(), and enable_action_icon().
|
private |
Referenced by draw_tick_on_mouse_position(), render(), and show_cog_icon_context_menu().
|
private |
| ExtrudersSequence Slic3r::DoubleSlider::Control::m_extruders_sequence |
Referenced by edit_extruder_sequence(), and SetTicksValues().
|
private |
Referenced by draw_action_icon(), draw_one_layer_icon(), get_tooltip(), and OnMotion().
|
private |
Referenced by Control(), msw_rescale(), and render().
|
private |
Referenced by GetTicksValues().
|
private |
Referenced by add_code_as_tick(), add_current_tick(), append_add_color_change_menu_item(), append_change_extruder_menu_item(), correct_higher_value(), correct_lower_value(), delete_current_tick(), draw_action_icon(), draw_thumb_text(), draw_tick_on_mouse_position(), draw_tick_text(), edit_tick(), get_double_value(), get_lower_and_higher_position(), GetActiveValue(), GetHigherValue(), is_higher_at_max(), jump_to_value(), move_current_thumb(), OnLeftDown(), OnMotion(), OnRightDown(), render(), SetHigherValue(), SetSelectionSpan(), and show_edit_context_menu().
|
private |
Referenced by draw_focus_rect(), draw_tick_on_mouse_position(), enter_window(), and OnKeyDown().
|
private |
Referenced by OnLeftDown(), OnLeftUp(), OnMotion(), OnRightDown(), and OnRightUp().
|
private |
|
private |
Referenced by OnMotion(), OnRightDown(), and OnRightUp().
|
private |
Referenced by get_label(), get_tick_from_value(), is_wipe_tower_layer(), OnMotion(), SetLayersTimes(), SetLayersTimes(), and SetModeAndOnlyExtruder().
|
private |
Referenced by get_label(), and SetKoefForLabels().
|
private |
Referenced by get_label(), SetLayersTimes(), and SetLayersTimes().
|
private |
Referenced by Control(), get_label(), msw_rescale(), and SetLayersTimes().
|
private |
Referenced by Control(), and draw_scroll_line().
|
private |
Referenced by Control(), draw_one_layer_icon(), get_size(), and msw_rescale().
|
private |
Referenced by add_code_as_tick(), add_current_tick(), append_add_color_change_menu_item(), append_change_extruder_menu_item(), correct_higher_value(), correct_lower_value(), delete_current_tick(), draw_action_icon(), draw_thumb_text(), draw_tick_on_mouse_position(), draw_tick_text(), edit_tick(), get_double_value(), get_lower_and_higher_position(), GetActiveValue(), GetLowerValue(), is_lower_at_min(), jump_to_value(), move_current_thumb(), OnLeftDown(), OnMotion(), OnRightDown(), render(), SetLowerValue(), SetSelectionSpan(), and show_edit_context_menu().
|
private |
Referenced by correct_higher_value(), correct_lower_value(), discard_all_thicks(), draw_ruler(), draw_tick_on_mouse_position(), edit_extruder_sequence(), get_lower_and_higher_position(), get_position_from_value(), get_scroll_step(), GetMaxValue(), GetMaxValueD(), is_higher_at_max(), jump_to_value(), SetMaxValue(), SetSelectionSpan(), and switch_one_layer_mode().
|
private |
|
private |
Referenced by add_current_tick(), append_change_extruder_menu_item(), check_ticks_changed_event(), draw_colored_band(), draw_ticks(), get_active_extruders_for_tick(), get_tooltip(), GetManipulationMode(), GetTicksValues(), OnMotion(), OnRightDown(), SetManipulationMode(), SetModeAndOnlyExtruder(), SetTicksValues(), show_add_context_menu(), show_cog_icon_context_menu(), and show_edit_context_menu().
|
private |
Referenced by OnLeftDown(), OnLeftUp(), OnRightDown(), and OnRightUp().
|
private |
Referenced by draw_tick_on_mouse_position(), draw_ticks(), and OnMotion().
|
private |
|
private |
Referenced by IsNewPrint().
|
private |
Referenced by draw_cog_icon(), OnLeftDown(), OnMotion(), and OnRightDown().
|
private |
Referenced by detect_selected_slider(), OnMotion(), OnWheel(), and update_thumb_rect().
|
private |
Referenced by detect_selected_slider(), OnMotion(), OnWheel(), and update_thumb_rect().
|
private |
Referenced by draw_one_layer_icon(), OnLeftDown(), and OnMotion().
|
private |
Referenced by draw_revert_icon(), OnLeftDown(), and OnMotion().
|
private |
Referenced by draw_action_icon(), OnLeftDown(), OnMotion(), and OnRightDown().
|
private |
Referenced by is_rendering_as_disabled(), render(), and set_render_as_disabled().
|
private |
Referenced by Control(), draw_revert_icon(), and msw_rescale().
|
private |
Referenced by Control(), draw_ruler(), msw_rescale(), SetLayersTimes(), and SetSliderValues().
|
private |
Referenced by Control(), and draw_scroll_line().
|
private |
Referenced by Control(), add_code_as_tick(), add_current_tick(), append_add_color_change_menu_item(), append_change_extruder_menu_item(), ChangeOneLayerLock(), delete_current_tick(), detect_selected_slider(), discard_all_thicks(), draw_action_icon(), draw_info_line_with_icon(), edit_tick(), GetActiveValue(), jump_to_value(), move_current_thumb(), move_current_thumb_to_pos(), OnKeyDown(), OnLeftDown(), OnMotion(), OnRightDown(), OnWheel(), SetHigherValue(), SetLowerValue(), show_edit_context_menu(), and switch_one_layer_mode().
|
private |
Referenced by get_scroll_step(), and is_horizontal().
|
private |
|
private |
Referenced by Control(), draw_action_icon(), draw_ticks(), and msw_rescale().
|
private |
Referenced by Control(), add_code_as_tick(), add_current_tick(), append_add_color_change_menu_item(), auto_color_change(), check_ticks_changed_event(), delete_current_tick(), discard_all_thicks(), draw_action_icon(), draw_colored_band(), draw_revert_icon(), draw_ticks(), edit_extruder_sequence(), edit_tick(), get_active_extruders_for_tick(), get_color_for_color_change_tick(), get_color_for_tool_change_tick(), get_edited_tick_for_position(), get_tick_near_point(), get_tooltip(), GetTicksValues(), OnChar(), OnKeyDown(), OnLeftDown(), OnMotion(), OnRightDown(), SetModeAndOnlyExtruder(), SetTicksValues(), show_edit_context_menu(), and UseDefaultColors().
|
private |
Referenced by Control(), add_code_as_tick(), append_add_color_change_menu_item(), draw_ruler(), draw_ticks(), edit_tick(), get_double_value(), get_label(), get_tick_from_value(), get_tooltip(), GetMaxValueD(), GetMinValueD(), GetTicksValues(), is_wipe_tower_layer(), jump_to_value(), msw_rescale(), SetLayersTimes(), SetSliderValues(), and SetTicksValues().
|
private |
Referenced by Control().
|
private |