|
Blender V5.3
|
#include "WM_types.hh"Go to the source code of this file.
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
| namespace | blender::bke |
| namespace | blender::bke::id |
Enumerations | |
| enum | blender::SliderMode { blender::SLIDER_MODE_PERCENT = 0 , blender::SLIDER_MODE_FLOAT = 1 } |
Functions | |
| void | blender::ED_editors_init_for_undo (Main *bmain) |
| void | blender::ED_editors_init (bContext *C) |
| void | blender::ED_editors_exit (Main *bmain, bool do_undo_system) |
| bool | blender::ED_editors_flush_edits_for_object_ex (Main *bmain, Object *ob, bool check_needs_flush) |
| bool | blender::ED_editors_flush_edits_for_object (Main *bmain, Object *ob) |
| bool | blender::ED_editors_flush_edits_ex (Main *bmain, bool check_needs_flush) |
| bool | blender::ED_editors_flush_edits (Main *bmain) |
| void | blender::ED_spacedata_id_remap_single (ScrArea *area, SpaceLink *sl, ID *old_id, ID *new_id) |
| void | blender::ED_spacedata_id_remap (ScrArea *area, SpaceLink *sl, const bke::id::IDRemapper &mappings) |
| void | blender::ED_operatortypes_edutils () |
| void | blender::ED_region_draw_mouse_line_cb (const bContext *C, ARegion *region, void *arg_info) |
| void | blender::ED_region_image_metadata_draw (int x, int y, const ImBuf *ibuf, const rctf *frame, float zoomx, float zoomy) |
| void | blender::ED_region_overlay_info_text_draw (const int render_size_x, const int render_size_y, const int viewer_size_x, const int viewer_size_y, const int draw_offset_x, const int draw_offset_y) |
| void | blender::ED_region_render_region_draw (int x, int y, const rcti *frame, float zoomx, float zoomy, float passepartout_alpha) |
| void | blender::apply_keyb_grid (bool shift, bool ctrl, float *val, float fac1, float fac2, float fac3, int invert) |
| void | blender::unpack_menu (bContext *C, const char *opname, const char *id_name, const char *abs_name, const char *folder, PackedFile *pf) |
Context Query Helpers | |
| Vector< PointerRNA > | blender::ED_operator_single_id_from_context_as_vec (const bContext *C) |
| Vector< PointerRNA > | blender::ED_operator_get_ids_from_context_as_vec (const bContext *C) |
Generic Slider | |
The generic slider is supposed to be called during modal operations. It calculates a factor value based on mouse position and draws a visual representation. In order to use it, you need to store a reference to a tSlider in your operator which you get by calling ED_slider_create. Then you need to update it during modal operations by calling ED_slider_modal, which will update #tSlider.factor for you to use. To remove drawing and free the memory, call ED_slider_destroy. | |
| tSlider * | blender::ED_slider_create (bContext *C) |
| void | blender::ED_slider_init (tSlider *slider, const wmEvent *event) |
| bool | blender::ED_slider_modal (tSlider *slider, const wmEvent *event) |
| void | blender::ED_slider_destroy (bContext *C, tSlider *slider) |
| void | blender::ED_slider_status_string_get (const tSlider *slider, char *status_string, size_t size_of_status_string) |
| void | blender::ED_slider_status_get (const tSlider *slider, WorkspaceStatus &status) |
| float | blender::ED_slider_factor_get (const tSlider *slider) |
| void | blender::ED_slider_factor_set (tSlider *slider, float factor) |
| void | blender::ED_slider_increment_step_set (tSlider *slider, float increment_step) |
| void | blender::ED_slider_allow_overshoot_set (tSlider *slider, bool lower, bool upper) |
| void | blender::ED_slider_factor_bounds_set (tSlider *slider, float factor_bound_lower, float factor_bound_upper) |
| bool | blender::ED_slider_allow_increments_get (const tSlider *slider) |
| void | blender::ED_slider_allow_increments_set (tSlider *slider, bool value) |
| void | blender::ED_slider_mode_set (tSlider *slider, SliderMode mode) |
| SliderMode | blender::ED_slider_mode_get (const tSlider *slider) |
| void | blender::ED_slider_unit_set (tSlider *slider, const char *unit) |
| void | blender::ED_slider_property_label_set (tSlider *slider, const char *property_label) |
Composition Guides | |
| void | blender::ED_draw_composition_guides (uint shdr_pos, eCompositionGuideFlags flag, const rctf *rect, const float color[4]) |