Home
last modified time | relevance | path

Searched refs:button_ev (Results 1 – 25 of 26) sorted by relevance

12

/dports/graphics/tgif/tgif-QPL-4.2.5/
H A Dscroll.c595 void ScrollUp(button_ev) in ScrollUp() argument
596 XButtonEvent *button_ev; in ScrollUp()
689 void ScrollDown(button_ev) in ScrollDown() argument
690 XButtonEvent *button_ev; in ScrollDown()
930 XButtonEvent *button_ev; in VSBarHandler()
943 } else if (button_ev->button == Button1 && button_ev->type == ButtonPress) {
968 hit = TgGetScrollHit(button_ev->x, button_ev->y, VERT_SCROLLBAR,
987 void ScrollLeft(button_ev) in ScrollLeft() argument
1055 if (button_ev!=NULL && (button_ev->state & (ShiftMask|ControlMask))) {
1277 } else if (button_ev->button == Button1 && button_ev->type == ButtonPress) {
[all …]
H A Dtdgtbmpl.c375 XButtonEvent *button_ev;
410 block_start = button_ev->y;
479 XButtonEvent *button_ev;
497 } else if (button_ev->button == Button1 && button_ev->type == ButtonPress) {
498 if (button_ev->y < scrollBarW ||
523 hit = TgGetScrollHit(button_ev->x, button_ev->y, VERT_SCROLLBAR,
540 DoDragInTdgtBmpList(pTdgtBmpList, button_ev, button_ev->y, btn_offset);
752 XButtonEvent *button_ev;
755 int btn_x=button_ev->x, btn_y=button_ev->y;
762 Time click_time=button_ev->time;
[all …]
H A Dtdgtlist.c443 XButtonEvent *button_ev;
474 block_start = button_ev->y;
539 XButtonEvent *button_ev;
559 } else if (button_ev->button == Button1 && button_ev->type == ButtonPress) {
560 if (button_ev->y < scrollBarW ||
565 if (button_ev->y < scrollBarW) {
583 hit = TgGetScrollHit(button_ev->x, button_ev->y, VERT_SCROLLBAR,
600 DoDragInTdgtList(pTdgtList, button_ev, button_ev->y, btn_offset);
609 XButtonEvent *button_ev;
612 (button_ev->button == Button4 || button_ev->button == Button5)) {
[all …]
H A Dmainmenu.c563 XButtonEvent *button_ev=NULL; local
654 switch (button_ev->button) {
663 new_selected = TgWhichMenuIndex(menu, button_ev->x, button_ev->y,
680 ScrollMenu(menu, button_ev->x, button_ev->y, menu_w,
706 if (TgWhichMenuIndex(menu, button_ev->x, button_ev->y, FALSE) !=
712 ScrollMenu(menu, button_ev->x, button_ev->y, menu_w,
719 switch (button_ev->button) {
726 new_selected = TgWhichMenuIndex(menu, button_ev->x, button_ev->y,
766 if (TgWhichMenuIndex(menu, button_ev->x, button_ev->y, FALSE) !=
768 if (button_ev->x>=0 && button_ev->x<=subMenuInfo[menu_index].w &&
[all …]
H A Dchoose.c1314 XButtonEvent *button_ev; in NameScrollHandler()
1332 } else if (button_ev->button == Button1 && button_ev->type == ButtonPress) {
1355 hit = TgGetScrollHit(button_ev->x, button_ev->y, VERT_SCROLLBAR,
1456 int NameDspHandler(button_ev) in NameDspHandler() argument
1457 XButtonEvent *button_ev; in NameDspHandler()
1466 (button_ev->button == Button4 || button_ev->button == Button5)) {
1523 click_time = button_ev->time;
1798 XButtonEvent *button_ev; in ButtonPressInPath()
1852 XButtonEvent *button_ev; in ButtonPressInNames()
1860 if (PointInBBox(button_ev->x, button_ev->y, pni->path_bbox)) {
[all …]
H A Ddrawing.c4270 XButtonEvent *button_ev; local
4274 (button_ev->button == Button4 || button_ev->button == Button5)) {
4291 if ((button_ev->state & ShiftMask) && (button_ev->state & ControlMask)) {
4324 Teleport(button_ev);
4330 Teleport(button_ev);
4354 ModeMenu(button_ev->x_root, button_ev->y_root, FALSE);
4359 ContextMenu(button_ev->x_root, button_ev->y_root, FALSE);
4363 if ((obj_ptr=FindAnObj(button_ev->x, button_ev->y, &owner_obj,
4368 ModeMenu(button_ev->x_root, button_ev->y_root, FALSE);
4396 ContextMenu(button_ev->x_root, button_ev->y_root, FALSE);
[all …]
H A Dchoice.c1181 void TextVSpaceLoop(button_ev) in TextVSpaceLoop() argument
1182 XButtonEvent *button_ev; in TextVSpaceLoop()
1185 int orig_x=button_ev->x, orig_y=button_ev->y, saved_change=0;
1226 void RCBRadiusLoop(button_ev) in RCBRadiusLoop() argument
1227 XButtonEvent *button_ev; in RCBRadiusLoop()
1230 int orig_x=button_ev->x, orig_y=button_ev->y, saved_change=0;
1262 void ZoomLoop(button_ev) in ZoomLoop() argument
1263 XButtonEvent *button_ev; in ZoomLoop()
1268 int orig_x=button_ev->x, orig_y=button_ev->y;
1542 switch (button_ev->button) {
[all …]
H A Dselect.c1620 XButtonEvent button_ev; local
1644 button_ev.state = ShiftMask;
1646 ScrollUp(&button_ev);
1648 ScrollDown(&button_ev);
1751 XButtonEvent *button_ev; local
1771 mouse_x = button_ev->x;
1772 mouse_y = button_ev->y;
1785 Teleport(button_ev);
2328 void Teleport(button_ev) in Teleport() argument
2329 XButtonEvent *button_ev; in Teleport()
[all …]
H A Dpage.c355 void HandleClickInPageWindow(button_ev) in HandleClickInPageWindow() argument
356 XButtonEvent *button_ev; in HandleClickInPageWindow()
361 if (button_ev->x <= 0) {
364 index = (int)((button_ev->x-1) / scrollBarW);
412 offset = button_ev->x-(scrollBarW<<2)-1;
2112 XButtonEvent *button_ev=(&(input->xbutton)); local
2115 if (button_ev->button == Button2) {
2116 PageMenu(button_ev->x_root, button_ev->y_root, FALSE);
2119 if (button_ev->button == Button1) {
2120 HandleClickInPageWindow(button_ev);
[all …]
H A Dtgisdl.c241 int ClickInInsertSymbolPixmap(pTdgtDraw, button_ev) in ClickInInsertSymbolPixmap() argument
243 XButtonEvent *button_ev;
248 int x=button_ev->x, y=button_ev->y;
251 Time click_time=button_ev->time;
304 XButtonEvent *button_ev=(&(pXEv->xbutton)); local
306 return ClickInInsertSymbolPixmap(pTdgtDraw, button_ev);
H A Dmainloop.c2119 void SetLastBtnEvInfo(button_ev) in SetLastBtnEvInfo() argument
2120 XButtonEvent *button_ev; in SetLastBtnEvInfo()
2122 lastKeyOrBtnEvInfo.type = button_ev->type;
2123 lastKeyOrBtnEvInfo.send_event = button_ev->send_event;
2124 lastKeyOrBtnEvInfo.display = button_ev->display;
2125 lastKeyOrBtnEvInfo.window = button_ev->window;
2126 memcpy(&lastKeyOrBtnEvInfo.time, &button_ev->time, sizeof(Time));
2127 lastKeyOrBtnEvInfo.x = button_ev->x;
2128 lastKeyOrBtnEvInfo.y = button_ev->y;
2129 lastKeyOrBtnEvInfo.keycode_or_button = button_ev->button;
[all …]
H A Dcolor.c1977 void HandleClickInColorWindow(button_ev) in HandleClickInColorWindow() argument
1978 XButtonEvent *button_ev; in HandleClickInColorWindow()
1985 index = (int)((button_ev->y-1) / scrollBarW);
1996 if (button_ev->button != Button1) return;
2008 if (button_ev->state & (ShiftMask | ControlMask)) {
2021 if (button_ev->state & (ShiftMask | ControlMask)) {
2054 if (button_ev->button == Button1) {
2071 } else if (button_ev->button == Button3) {
2155 XButtonEvent *button_ev=(&(input->xbutton)); local
2157 if (button_ev->button == Button1 || button_ev->button == Button3) {
[all …]
H A Druler.c849 XButtonEvent *button_ev=(&input->xbutton); local
850 int mouse_x=button_ev->x, mouse_y=button_ev->y;
854 } else if (button_ev->button == Button1) {
856 } else if (button_ev->button == Button2) {
857 GridMenu(button_ev->x_root, button_ev->y_root, FALSE);
858 } else if (button_ev->button == Button3) {
H A Ddialog.c896 XButtonEvent *button_ev=(&(input->xbutton)); local
900 if (button_ev->button != Button2) return;
935 XButtonEvent *button_ev=(&(input->xbutton)); local
936 int i, x=button_ev->x, y=button_ev->y;
962 button_ev = &(ev.xbutton);
963 x = button_ev->x;
964 y = button_ev->y;
H A Dtgtwb5dl.c671 int ClickInZyfh(pTdgtDraw, button_ev) in ClickInZyfh() argument
673 XButtonEvent *button_ev;
681 down_index = GetZhuYenFuHao(pTdgtDraw, button_ev->x, button_ev->y,
772 XButtonEvent *button_ev=(&(pXEv->xbutton)); local
777 switch (button_ev->button) {
789 return ClickInZyfh(pTdgtDraw, button_ev);
H A Dtgcwdl.c759 int ClickInColorWheelHSPixmap(pTdgtDraw, button_ev) in ClickInColorWheelHSPixmap() argument
761 XButtonEvent *button_ev;
766 int x=button_ev->x-pTdgtDraw->client_area.x;
767 int y=button_ev->y-pTdgtDraw->client_area.y;
804 XButtonEvent *button_ev=(&(pXEv->xbutton)); local
806 return ClickInColorWheelHSPixmap(pTdgtDraw, button_ev);
841 int ClickInColorWheelVPixmap(pTdgtDraw, button_ev) in ClickInColorWheelVPixmap() argument
843 XButtonEvent *button_ev;
848 int y=button_ev->y-pTdgtDraw->client_area.y;
881 XButtonEvent *button_ev=(&(pXEv->xbutton)); local
[all …]
H A Dmsg.c1016 XButtonEvent *button_ev; local
1025 button_ev = &(input->xbutton);
1026 if (button_ev->button == Button1) {
1027 if (button_ev->state & (ShiftMask | ControlMask)) {
1037 } else if (button_ev->button == Button2) {
1038 int done=FALSE, saved_x=button_ev->x, saved_y=button_ev->y, x, y;
1082 } else if (button_ev->button == Button3) {
1083 if (button_ev->state & (ShiftMask | ControlMask)) {
H A Dbox.c497 XButtonEvent *button_ev; local
502 button_ev = &(input->xbutton);
503 if (button_ev->button == Button1) {
504 mouse_x = button_ev->x;
505 mouse_y = button_ev->y;
H A Doval.c694 XButtonEvent *button_ev; local
699 button_ev = &(input->xbutton);
700 if (button_ev->button == Button1) {
701 mouse_x = button_ev->x;
702 mouse_y = button_ev->y;
H A Drcbox.c691 XButtonEvent *button_ev; local
696 button_ev = &(input->xbutton);
697 if (button_ev->button == Button1) {
698 mouse_x = button_ev->x;
699 mouse_y = button_ev->y;
H A Dpolygon.c1087 XButtonEvent *button_ev; local
1382 button_ev = &(input.xbutton);
1384 end_x = button_ev->x;
1385 end_y = button_ev->y;
1549 if (num_pts == 2 && closed && button_ev->button == Button1 &&
1589 switch(button_ev->button) {
1787 XButtonEvent *button_ev; local
1792 button_ev = &(input->xbutton);
1793 if (button_ev->button == Button1) {
1794 mouse_x = button_ev->x;
[all …]
H A Dtdgtbtn.c220 int ButtonPressInTdgtBtn(pTdgtBtn, button_ev, pn_changing, in ButtonPressInTdgtBtn() argument
223 XButtonEvent *button_ev;
H A Dmenu.c1933 XButtonEvent *button_ev=(&(ev.xbutton)); local
1937 x = button_ev->x;
1938 y = button_ev->y;
1940 switch (button_ev->button) {
3251 XButtonEvent *button_ev=(&(input->xbutton)); local
3253 if (iconWindowShown && !justIconified && button_ev->button == Button2 &&
3254 (button_ev->state & (ShiftMask | ControlMask))) {
H A Darc.c1756 XButtonEvent *button_ev; local
1761 button_ev = &(input->xbutton);
1762 if (button_ev->button == Button1) {
1763 mouse_x = button_ev->x;
1764 mouse_y = button_ev->y;
/dports/x11-toolkits/gtkimageview/gtkimageview-1.6.4/tests/
H A Dtest-tool-selector.c290 GdkEventButton button_ev = {.button = 1, in test_motion_notify_keeps_accuracy() local
293 wid_class->button_press_event (widget, &button_ev); in test_motion_notify_keeps_accuracy()

12