Home
last modified time | relevance | path

Searched refs:widget_x (Results 1 – 25 of 106) sorted by relevance

12345

/dports/graphics/birdfont/birdfont-2.29.5/libbirdfont/
H A DCheckBox.vala61 draw_rounded_rectangle (cr, widget_x, widget_y + center_y, w, h - padding, padding);
74 draw_rounded_rectangle (cr, widget_x, widget_y + center_y, w, h - padding, padding);
84 cr.move_to (widget_x + d, widget_y + d + center_y);
85 cr.line_to (widget_x + w - d, widget_y + h - d + center_y);
88 cr.move_to (widget_x + w - d, widget_y + d + center_y);
89 cr.line_to (widget_x + d, widget_y + h - d + center_y);
95 label.widget_x = widget_x + 1.5 * w;
H A DOverwriteDialog.vala68 overwrite_button.widget_x = cx;
71 cancel_button.widget_x = cx;
74 dont_ask_again_button.widget_x = cx;
80 question.widget_x = overwrite_button.widget_x + center;
86 overwrite_button.widget_x += center;
89 cancel_button.widget_x += center;
92 dont_ask_again_button.widget_x += center;
H A DSaveDialog.vala66 save_button.widget_x = cx;
69 discard_button.widget_x = cx;
72 cancel_button.widget_x = cx;
78 save_question.widget_x = save_button.widget_x + center;
84 save_button.widget_x += center;
87 discard_button.widget_x += center;
90 cancel_button.widget_x += center;
H A DLicenseDialog.vala60 decline.widget_x = cx;
63 accept.widget_x = cx;
68 agreement.widget_x = margin + center;
75 decline.widget_x += center;
78 accept.widget_x += center;
H A DSpacingTab.vala116 cap.widget_x = middle - cap.get_extent () / 2.0;
118 cap.draw_at_baseline (cr, cap.widget_x, cap.widget_y);
128 left.widget_x = middle - box_size / 2.0 + (box_size / 2.0 - left.get_extent ()) / 2.0;
130 left.draw_at_baseline (cr, left.widget_x, left.widget_y);
140 right.widget_x = end - (box_size / 2.0 - right.get_extent ()) / 2.0 - right.get_extent ();
142 right.draw_at_baseline (cr, right.widget_x, right.widget_y);
H A DButton.vala37 draw_rounded_rectangle (cr, widget_x, widget_y, get_width (), padding, padding);
44 draw_rounded_rectangle (cr, widget_x, widget_y, get_width (), padding, padding);
50 …label.draw_at_top (cr, widget_x + padding, widget_y + (2 * padding - font_size - 3 * MainWindow.un…
H A DWidget.vala23 public double widget_x = 0;
50 return widget_x <= x <= widget_x + get_width ()
H A DQuestionDialog.vala54 button.widget_x = cx;
61 question.widget_x = margin + center;
68 button.widget_x += center;
/dports/games/supertuxkart/SuperTuxKart-1.2-src/src/guiengine/widgets/
H A Dribbon_widget.cpp155 int widget_x = -1; in add() local
189 if (widget_x == -1) widget_x = small_tab/2; in add()
190 else widget_x += small_tab/2; in add()
194 if (widget_x == -1) widget_x = large_tab/2; in add()
195 else widget_x += large_tab/2; in add()
319 if (message.size() == 0) widget_x += small_tab/2; in add()
320 else widget_x += large_tab/2; in add()
333 widget_x = tab_width/2; in add()
432 if (widget_x == -1) widget_x = one_button_width/2; in add()
480 m_active_children[i].m_x = widget_x - int(image_w*zoom/2.0f); in add()
[all …]
/dports/graphics/birdfont/birdfont-2.29.5/libbirdfont/Renderer/
H A DTextArea.vala814 …&& (next_word.widget_x + widget_x <= click_x <= next_word.widget_x + widget_x + padding + next_wor…
816 tx = widget_x + next_word.widget_x + padding;
931 next_word.widget_x = tx;
948 next_word.widget_x = tx;
1041 double x = widget_x;
1126 double bx = widget_x + padding + next_word.widget_x + (partial_start ? 0 : 1);
1268 pos_x = next_word.widget_x + widget_x + padding;
1271 pos_x = next_word.widget_x + next_word.get_sidebearing_extent () + widget_x + padding;
1275 pos_x = widget_x + padding;
1279 tx = widget_x + next_word.widget_x;
[all …]
/dports/audio/gtkpod/gtkpod-1.0.0/src/
H A Drb_rating_helper.c185 gint widget_x, in rb_rating_get_rating_from_widget() argument
195 if (widget_x >= 0 && widget_x <= widget_width) { in rb_rating_get_rating_from_widget()
198 rating = (int) (widget_x / icon_width) + 1; in rb_rating_get_rating_from_widget()
/dports/graphics/gimp-app/gimp-2.10.30/app/propgui/
H A Dgimppropgui-generic.c97 GtkWidget *widget_x; in _gimp_prop_gui_new_generic() local
109 widget_x = gimp_prop_widget_new_from_pspec (config, pspec, in _gimp_prop_gui_new_generic()
122 adj_x = gtk_spin_button_get_adjustment (GTK_SPIN_BUTTON (widget_x)); in _gimp_prop_gui_new_generic()
129 gimp_prop_gui_bind_container (widget_x, hbox); in _gimp_prop_gui_new_generic()
135 gtk_box_pack_start (GTK_BOX (vbox), widget_x, FALSE, FALSE, 0); in _gimp_prop_gui_new_generic()
136 gtk_widget_show (widget_x); in _gimp_prop_gui_new_generic()
/dports/audio/rhythmbox/rhythmbox-3.4.4/widgets/
H A Drb-rating-helper.c241 gint widget_x, in rb_rating_get_rating_from_widget() argument
251 if (widget_x >= 0 && widget_x <= widget_width) { in rb_rating_get_rating_from_widget()
254 rating = (int) (widget_x / icon_width) + 1; in rb_rating_get_rating_from_widget()
/dports/multimedia/olive/olive-0.1.2/ui/
H A Dviewercontainer.cpp99 int widget_x = 0; in adjust() local
115 widget_x = (width() / 2) - (widget_width / 2); in adjust()
121 child->move(widget_x, widget_y); in adjust()
/dports/cad/pcb/pcb-4.2.0/src/hid/gtk/
H A Dgtkhid-main.c122 int widget_x, widget_y; in ghid_flip_view() local
131 ghid_pan_view_abs (center_x, center_y, widget_x, widget_y); in ghid_flip_view()
288 int widget_x, widget_y; in ghid_set_crosshair() local
345 &widget_x, &widget_y); in ghid_set_crosshair()
361 widget_x = pointer_x - offset_x; in ghid_set_crosshair()
365 ghid_pan_view_abs (pcb_x, pcb_y, widget_x, widget_y); in ghid_set_crosshair()
377 pointer_x = offset_x + widget_x; in ghid_set_crosshair()
1757 int widget_x, widget_y; in Center() local
1764 widget_x = gport->width / 2; in Center()
1767 ghid_pan_view_abs (pcb_x, pcb_y, widget_x, widget_y); in Center()
[all …]
/dports/devel/lua-lgi/lgi-0.9.2/samples/gtk-demo/
H A Ddemo-ofw-mirror.lua19 local function to_child(bin, widget_x, widget_y)
20 return widget_x, widget_y
57 function window:on_pick_embedded_child(widget_x, widget_y)
59 local x, y = to_child(bin, widget_x, widget_y)
H A Ddemo-ofw-rotbutton.lua19 local function to_child(bin, widget_x, widget_y)
25 local x = widget_x - w / 2
80 function window:on_pick_embedded_child(widget_x, widget_y)
82 local x, y = to_child(bin, widget_x, widget_y)
/dports/games/retroarch/RetroArch-1.9.7/gfx/widgets/
H A Dgfx_widget_progress_message.c40 float widget_x; member
192 state->widget_x = 0.0f; in gfx_widget_progress_message_layout()
248 state->widget_x, in gfx_widget_progress_message_frame()
/dports/emulators/vice/vice-3.5/src/arch/gtk3/
H A Duimachinewindow.c259 int widget_x, widget_y; in event_box_motion_cb() local
260 …gtk_widget_translate_coordinates(widget, gtk_widget_get_toplevel(widget), 0, 0, &widget_x, &widget… in event_box_motion_cb()
275 native_frame.origin.x + widget_x + motion->x, in event_box_motion_cb()
288 (widget_x + motion->x) * scale, in event_box_motion_cb()
/dports/x11-toolkits/open-motif/motif-2.3.8/lib/Xm/
H A DOutlineP.h67 #define XmOutlineC_widget_x(c) (((XmOutlineConstraintPtr)(c))->outline.widget_x)
116 Position widget_x, open_close_x; /*location of node and open/close button*/ member
/dports/audio/abgate-lv2/abGate-1.2.0/
H A Dknob.cpp85 widget_x = (gint)(ev->x_root - ev->x); in on_button_press_event()
128 gfloat x = x_abs - (widget_x + center_x); in mouse_pos_change()
/dports/databases/libgda5-bdb/libgda-5.2.10/libgda-ui/data-entries/
H A Dwidget-embedder.c52 double widget_x, in to_child() argument
57 *x_out = widget_x; in to_child()
115 double widget_x, in pick_offscreen_child() argument
123 to_child (bin, widget_x, widget_y, &x, &y); in pick_offscreen_child()
/dports/databases/libgda5-ui/libgda-5.2.10/libgda-ui/data-entries/
H A Dwidget-embedder.c52 double widget_x, in to_child() argument
57 *x_out = widget_x; in to_child()
115 double widget_x, in pick_offscreen_child() argument
123 to_child (bin, widget_x, widget_y, &x, &y); in pick_offscreen_child()
/dports/databases/libgda5-jdbc/libgda-5.2.10/libgda-ui/data-entries/
H A Dwidget-embedder.c52 double widget_x, in to_child() argument
57 *x_out = widget_x; in to_child()
115 double widget_x, in pick_offscreen_child() argument
123 to_child (bin, widget_x, widget_y, &x, &y); in pick_offscreen_child()
/dports/databases/libgda5-postgresql/libgda-5.2.10/libgda-ui/data-entries/
H A Dwidget-embedder.c52 double widget_x, in to_child() argument
57 *x_out = widget_x; in to_child()
115 double widget_x, in pick_offscreen_child() argument
123 to_child (bin, widget_x, widget_y, &x, &y); in pick_offscreen_child()

12345