Home
last modified time | relevance | path

Searched refs:toggles (Results 1 – 25 of 3348) sorted by relevance

12345678910>>...134

/dports/textproc/py-colorclass/colorclass-2.2.2/colorclass/
H A D__init__.py13 from colorclass.toggles import disable_all_colors # noqa
14 from colorclass.toggles import disable_if_no_tty # noqa
15 from colorclass.toggles import enable_all_colors # noqa
16 from colorclass.toggles import is_enabled # noqa
17 from colorclass.toggles import is_light # noqa
18 from colorclass.toggles import set_dark_background # noqa
19 from colorclass.toggles import set_light_background # noqa
H A D__main__.py13 from colorclass.toggles import disable_all_colors
14 from colorclass.toggles import enable_all_colors
15 from colorclass.toggles import set_dark_background
16 from colorclass.toggles import set_light_background
/dports/textproc/meld/meld-3.20.4/test/
H A Dtest_filediff.py103 toggles = []
106 toggles.append(it.get_offset())
108 toggles.append(it.get_offset())
109 toggles = list(zip(toggles[::2], toggles[1::2]))
112 print("Toggles:", toggles)
114 assert toggles == ignored_ranges
/dports/math/lib2geom/lib2geom-1.1/src/toys/
H A Dpoint-curve-nearest-time.cpp98 if ( toggles[0].on ) in draw()
119 if ( toggles[0].on ) in draw()
137 if ( toggles[0].on ) in draw()
170 if ( toggles[0].on ) in draw()
208 if ( toggles[0].on ) in draw()
233 if ( toggles[0].on ) in draw()
266 if ( toggles[0].on ) in draw()
282 toggles[0].draw(cr); in draw()
286 toggles[1].draw(cr); in draw()
338 toggle_events(toggles, e); in mouse_pressed()
[all …]
H A Dportion-test.cpp24 std::vector<Toggle> toggles; member in PortionTester
26 toggle_events(toggles, e); in mouse_pressed()
31 draw_toggles(cr, toggles); in draw()
56 if (toggles[0].on) { in draw()
57 if (toggles[1].on) in draw()
72 toggles.emplace_back("Path", true); in PortionTester()
73 toggles[0].bounds = Rect(Point(10,100), Point(100, 130)); in PortionTester()
74 toggles.emplace_back("Curve", true); in PortionTester()
75 toggles[1].bounds = Rect(Point(10,130), Point(100, 160)); in PortionTester()
H A Dcircle-fitting.cpp56 toggles[0].bounds = Rect( toggle_sp, toggle_sp + Point(120,25) ); in draw()
81 if (toggles[0].on) in draw()
100 if (!toggles[0].on) in draw()
129 toggles.emplace_back(" arc / circle ", false); in CircleFitting()
133 handles.push_back(&(toggles[0])); in CircleFitting()
142 std::vector<Toggle> toggles; member in CircleFitting
H A Dbound-path.cpp94 bound = toggles[0].on ? curve.boundsExact() in draw()
100 bound = toggles[0].on ? *path.boundsExact() in draw()
106 bound = toggles[0].on ? *bounds_exact(pathvector) in draw()
137 bound = toggles[0].on ? curve.boundsExact() in mouse_pressed()
165 bound = toggles[0].on ? *path.boundsExact() in mouse_pressed()
187 bound = toggles[0].on ? *bounds_exact(pathvector) in mouse_pressed()
247 toggles.emplace_back(toggle_bound, "fast/exact", EXACT); in BoundsPath()
250 handles.push_back(&(toggles[0])); in BoundsPath()
269 std::vector<Toggle> toggles; member in BoundsPath
H A Dsketch-fitter.cpp352 handles.push_back(&(toggles[DRAW_MOUSES])); in init_common()
354 handles.push_back(&(toggles[DRAW_STROKE])); in init_common()
366 toggles[DRAW_MOUSES].bounds = Rect(p, p + d); in init_common_ctrl_geom()
370 toggles[DRAW_STROKE].bounds = Rect(p, p + d); in init_common_ctrl_geom()
377 if(!mouses.empty() && toggles[DRAW_MOUSES].on ) { in draw_common()
419 handles.push_back(&(toggles[TIGHTEN_USE_CIRCLE])); in init_tighten()
528 handles.push_back(&(toggles[TIGHTEN_USE_CIRCLE])); in init_sort()
529 handles.push_back(&(toggles[SORT_BIS])); in init_sort()
544 toggles[SORT_BIS].bounds = Rect(p, p + d); in init_sort_ctrl_geom()
554 if (toggles[SORT_BIS].on){ in fit_sort()
[all …]
H A Dellipse-fitting.cpp57 toggles[0].bounds = Rect( toggle_sp, toggle_sp + Point(120,25) ); in draw()
82 if (toggles[0].on) in draw()
99 if (!toggles[0].on) in draw()
156 toggles.emplace_back(" arc / ellipse ", false); in EllipseFitting()
160 handles.push_back(&(toggles[0])); in EllipseFitting()
169 std::vector<Toggle> toggles; member in EllipseFitting
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/src/3rdparty/2geom/src/toys/
H A Dportion-test.cpp24 std::vector<Toggle> toggles; member in PortionTester
26 toggle_events(toggles, e); in mouse_pressed()
31 draw_toggles(cr, toggles); in draw()
56 if (toggles[0].on) { in draw()
57 if (toggles[1].on) in draw()
72 toggles.push_back(Toggle("Path", true)); in PortionTester()
73 toggles[0].bounds = Rect(Point(10,100), Point(100, 130)); in PortionTester()
74 toggles.push_back(Toggle("Curve", true)); in PortionTester()
75 toggles[1].bounds = Rect(Point(10,130), Point(100, 160)); in PortionTester()
H A Dpoint-curve-nearest-time.cpp98 if ( toggles[0].on ) in draw()
119 if ( toggles[0].on ) in draw()
137 if ( toggles[0].on ) in draw()
170 if ( toggles[0].on ) in draw()
208 if ( toggles[0].on ) in draw()
233 if ( toggles[0].on ) in draw()
266 if ( toggles[0].on ) in draw()
282 toggles[0].draw(cr); in draw()
286 toggles[1].draw(cr); in draw()
338 toggle_events(toggles, e); in mouse_pressed()
[all …]
H A Dcircle-fitting.cpp56 toggles[0].bounds = Rect( toggle_sp, toggle_sp + Point(120,25) ); in draw()
81 if (toggles[0].on) in draw()
100 if (!toggles[0].on) in draw()
129 toggles.push_back(Toggle(" arc / circle ", false)); in CircleFitting()
133 handles.push_back(&(toggles[0])); in CircleFitting()
142 std::vector<Toggle> toggles; member in CircleFitting
H A Dbound-path.cpp94 bound = toggles[0].on ? curve.boundsExact() in draw()
100 bound = toggles[0].on ? *path.boundsExact() in draw()
106 bound = toggles[0].on ? *bounds_exact(pathvector) in draw()
137 bound = toggles[0].on ? curve.boundsExact() in mouse_pressed()
165 bound = toggles[0].on ? *path.boundsExact() in mouse_pressed()
187 bound = toggles[0].on ? *bounds_exact(pathvector) in mouse_pressed()
247 toggles.push_back(Toggle(toggle_bound, "fast/exact", EXACT)); in BoundsPath()
250 handles.push_back(&(toggles[0])); in BoundsPath()
269 std::vector<Toggle> toggles; member in BoundsPath
H A Dsketch-fitter.cpp353 handles.push_back(&(toggles[DRAW_MOUSES])); in init_common()
355 handles.push_back(&(toggles[DRAW_STROKE])); in init_common()
367 toggles[DRAW_MOUSES].bounds = Rect(p, p + d); in init_common_ctrl_geom()
371 toggles[DRAW_STROKE].bounds = Rect(p, p + d); in init_common_ctrl_geom()
378 if(!mouses.empty() && toggles[DRAW_MOUSES].on ) { in draw_common()
420 handles.push_back(&(toggles[TIGHTEN_USE_CIRCLE])); in init_tighten()
529 handles.push_back(&(toggles[TIGHTEN_USE_CIRCLE])); in init_sort()
530 handles.push_back(&(toggles[SORT_BIS])); in init_sort()
545 toggles[SORT_BIS].bounds = Rect(p, p + d); in init_sort_ctrl_geom()
555 if (toggles[SORT_BIS].on){ in fit_sort()
[all …]
H A Dellipse-fitting.cpp57 toggles[0].bounds = Rect( toggle_sp, toggle_sp + Point(120,25) ); in draw()
82 if (toggles[0].on) in draw()
99 if (!toggles[0].on) in draw()
156 toggles.push_back(Toggle(" arc / ellipse ", false)); in EllipseFitting()
160 handles.push_back(&(toggles[0])); in EllipseFitting()
169 std::vector<Toggle> toggles; member in EllipseFitting
/dports/audio/atunes/atunes-3.1.2/src/net/sourceforge/atunes/gui/views/controls/
H A DToggleButtonFlowPanel.java70 private Map<ToggleButtonOfFlowPanel, JToggleButton> toggles; field in ToggleButtonFlowPanel
129 this.toggles = new HashMap<ToggleButtonOfFlowPanel, JToggleButton>(); in initialize()
257 this.toggles.remove(button); in removeButton()
274 for (ToggleButtonOfFlowPanel button : this.toggles.keySet()) { in setSelectedButton()
276 this.toggles.get(button).setSelected(true); in setSelectedButton()
299 for (ToggleButtonOfFlowPanel button : this.toggles.keySet()) { in getSelectedItem()
300 if (this.toggles.get(button).isSelected()) { in getSelectedItem()
320 this.toggles.put(button, toggle); in addButtonToPanel()
389 JToggleButton toggle = this.toggles.get(button); in renameButton()
390 this.toggles.remove(button); in renameButton()
[all …]
/dports/x11/xascii/xascii-1.0/
H A Dxascii.c80 toggles[3], variable
239 toggles[i] = XtVaCreateManagedWidget (
259 XtVaSetValues(toggles[i], XtNfromHoriz, toggles[i-1], NULL);
261 XtVaSetValues (toggles[i], XtNradioGroup, toggles[0], NULL);
264 XtVaSetValues (toggles[0],
270 XtVaSetValues (toggles[1],
275 XtVaSetValues (toggles[2],
279 XtAddCallback (toggles[0], XtNcallback, ToHex, NULL);
280 XtAddCallback (toggles[1], XtNcallback, ToDec, NULL);
281 XtAddCallback (toggles[2], XtNcallback, ToOct, NULL);
[all …]
/dports/multimedia/baka-mplayer/Baka-MPlayer-2.0.4/DOCS/
H A Dcommands.md17 media_info # toggles media info state
23 toggle # toggles the playlist
28 dim # toggles dim desktop
29 output # toggles output textbox
36 deinterlace # toggles deinterlation
37 interpolate # toggles vo interpolation
38 mute # toggles mute
40 fullscreen # toggles fullscreen state
41 hide_all_controls # toggles hide all controls state
/dports/cad/gmsh/gmsh-4.9.2-source/Fltk/
H A DclassificationEditor.cpp31 e->toggles[CLASS_TOGGLE_BOUNDARY]->deactivate(); in NoElementsSelectedMode()
45 e->toggles[CLASS_TOGGLE_BOUNDARY]->activate(); in ElementsSelectedMode()
67 if(e->toggles[CLASS_TOGGLE_BOUNDARY]->value()) { in update_edges_cb()
166 if(e->toggles[CLASS_TOGGLE_SHOW_ONLY_EDGES]->value()) { in show_only_edges_cb()
331 toggles[CLASS_TOGGLE_HIDE] = new Fl_Check_Button( in classificationEditor()
334 toggles[CLASS_TOGGLE_HIDE]->type(FL_TOGGLE_BUTTON); in classificationEditor()
335 toggles[CLASS_TOGGLE_HIDE]->callback(hide_cb, this); in classificationEditor()
362 toggles[CLASS_TOGGLE_SHOW_ONLY_EDGES] = new Fl_Check_Button( in classificationEditor()
369 toggles[CLASS_TOGGLE_BOUNDARY] = new Fl_Check_Button( in classificationEditor()
371 toggles[CLASS_TOGGLE_BOUNDARY]->type(FL_TOGGLE_BUTTON); in classificationEditor()
[all …]
/dports/graphics/gimp-app/gimp-2.10.30/libgimpwidgets/
H A Dgimpcolorscales.c115 GtkWidget *toggles[14]; member
292 g_signal_connect (scales->toggles[i], "toggled", in create_group()
298 gtk_table_attach (GTK_TABLE (table), scales->toggles[i], in create_group()
303 gtk_widget_show (scales->toggles[i]); in create_group()
305 gimp_help_set_help_data (scales->toggles[i], in create_group()
540 if (scales->toggles[i]) in gimp_color_scales_togg_sensitive()
541 gtk_widget_set_sensitive (scales->toggles[i], sensitive); in gimp_color_scales_togg_sensitive()
552 if (scales->toggles[i]) in gimp_color_scales_togg_visible()
553 gtk_widget_set_visible (scales->toggles[i], visible); in gimp_color_scales_togg_visible()
579 if (GTK_IS_RADIO_BUTTON (scales->toggles[channel])) in gimp_color_scales_set_channel()
[all …]
/dports/shells/zsh/zsh-5.8.1/Completion/Unix/Command/
H A D_lynx32 '-cookies[toggles handling of Set-Cookie headers (on)]' \
33 '-core[toggles forced core dumps on fatal errors (off)]' \
52 '-forms_options[toggles forms-based vs old-style options menu (on)]' \
62 '-image_links[toggles inclusion of links for all images (off)]' \
73 '-minimal[toggles minimal versus valid comment parsing (on)]' \
100 '-partial[toggles display partial pages while downloading (on)]' \
102 '-passive-ftp[toggles passive ftp connection (on)]' \
117 '-scrollbar[toggles showing scrollbar (off)]' \
126 '-show_rate[toggles display of transfer rate (on)]' \
136 '-tlog[toggles use of a Lynx Trace Log for the current session (on)]' \
[all …]
/dports/audio/spotify-qt/spotify-qt-3.7/src/dialog/
H A Dplaylisteditdialog.cpp27 auto *toggles = new QHBoxLayout();
28 toggles->setAlignment(Qt::AlignLeft);
31 toggles->addWidget(isPublic);
34 toggles->addWidget(isCollaborative);
35 layout->addLayout(toggles);
/dports/astro/siril/siril/src/gui/
H A Dhistogram.c61 static GtkToggleToolButton *toggles[MAXVPORT] = { NULL }; variable
189 if (!toggles[0]) { in init_toggles()
193 toggles[3] = NULL; in init_toggles()
218 gtk_toggle_tool_button_set_active(toggles[0], TRUE); in set_histo_toggles_names()
226 if (toggles[3]) in set_histo_toggles_names()
235 gtk_toggle_tool_button_set_active(toggles[0], TRUE); in set_histo_toggles_names()
236 gtk_toggle_tool_button_set_active(toggles[1], TRUE); in set_histo_toggles_names()
237 gtk_toggle_tool_button_set_active(toggles[2], TRUE); in set_histo_toggles_names()
240 gtk_widget_set_visible(GTK_WIDGET(toggles[1]), TRUE); in set_histo_toggles_names()
242 if (toggles[3]) { in set_histo_toggles_names()
[all …]
/dports/sysutils/smenu/smenu-0.9.18/
H A Dsmenu.h423 help(win_t * win, term_t * term, long last_line, toggle_t * toggles);
435 my_beep(toggle_t * toggles);
457 strip_ansi_color(char * s, toggle_t * toggles, misc_t * misc);
496 disp_lines(win_t * win, toggle_t * toggles, long current, long count,
537 expand(char * src, char * dest, langinfo_t * langinfo, toggle_t * toggles,
594 move_left(win_t * win, term_t * term, toggle_t * toggles,
599 move_right(win_t * win, term_t * term, toggle_t * toggles,
610 move_up(win_t * win, term_t * term, toggle_t * toggles,
615 move_down(win_t * win, term_t * term, toggle_t * toggles,
621 ticker_t * timers, toggle_t * toggles, misc_t * misc,
[all …]
/dports/audio/mixxx/mixxx-2.3.0/src/control/
H A Dcontrolindicator.cpp77 double toggles = floor(tickTime / duration); in toggle() local
78 bool phase = fmod(toggles, 2) >= 1; in toggle()
82 m_nextSwitchTime = (toggles + 2) * duration; in toggle()
84 m_nextSwitchTime = (toggles + 1) * duration; in toggle()

12345678910>>...134