Home
last modified time | relevance | path

Searched refs:BUTTON_SPACE (Results 1 – 17 of 17) sorted by relevance

/dports/games/spellcast/spellcast/
H A Dxbutton.c16 #define BUTTON_SPACE (4) macro
104 BBOX_Y+hity*BUTTON_H-1, BUTTON_W-BUTTON_SPACE+2,
105 BUTTON_H-BUTTON_SPACE+2);
113 BBOX_Y+hity*BUTTON_H-1, BUTTON_W-BUTTON_SPACE+2,
114 BUTTON_H-BUTTON_SPACE+2);
139 {BUTTON_W-BUTTON_SPACE-2*BUTTON_CORNER, 0},
141 {0, BUTTON_H-BUTTON_SPACE-2*BUTTON_CORNER},
143 {-(BUTTON_W-BUTTON_SPACE-2*BUTTON_CORNER), 0},
145 {0, -(BUTTON_H-BUTTON_SPACE-2*BUTTON_CORNER)},
162 BUTTON_W-BUTTON_SPACE-2*BUTTON_CORNER,
[all …]
/dports/shells/ion/ion-a8872014dbce730ccd00aaa722397dc394a52bf4/cargo-crates/smithay-client-toolkit-0.4.6/src/window/
H A Dbasic_frame.rs31 const BUTTON_SPACE: u32 = 10; const
206 if (w >= 24 + 2 * BUTTON_SPACE) in find_button()
207 && (x >= f64::from(w - 24 - BUTTON_SPACE)) in find_button()
208 && (x <= f64::from(w - BUTTON_SPACE)) in find_button()
213 } else if (w >= 56 + 2 * BUTTON_SPACE) in find_button()
214 && (x >= f64::from(w - 56 - BUTTON_SPACE)) in find_button()
215 && (x <= f64::from(w - 32 - BUTTON_SPACE)) in find_button()
220 } else if (w >= 88 + 2 * BUTTON_SPACE) in find_button()
825 if width >= 24 + 2 * BUTTON_SPACE { in draw_buttons()
848 if width >= 56 + 2 * BUTTON_SPACE { in draw_buttons()
[all …]
H A Dconcept_frame.rs32 const BUTTON_SPACE: u32 = 10; const
208 if (w >= 24 + 2 * BUTTON_SPACE) in find_button()
215 } else if (w >= 56 + 2 * BUTTON_SPACE) in find_button()
222 } else if (w >= 88 + 2 * BUTTON_SPACE) in find_button()
522 if (width as isize - 88 - 4 * BUTTON_SPACE as isize) in redraw()
523 > (title_text.get_width() + BUTTON_SPACE as usize) as isize in redraw()
529 > (width - 88 - 2 * 2 * BUTTON_SPACE) as usize in redraw()
533 - (width - 88 - 2 * 2 * BUTTON_SPACE) as usize; in redraw()
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/smithay-client-toolkit-0.6.6/src/window/
H A Dbasic_frame.rs25 const BUTTON_SPACE: u32 = 10; const
201 if (w >= 24 + 2 * BUTTON_SPACE) in find_button()
202 && (x >= f64::from(w - 24 - BUTTON_SPACE)) in find_button()
203 && (x <= f64::from(w - BUTTON_SPACE)) in find_button()
208 } else if (w >= 56 + 2 * BUTTON_SPACE) in find_button()
209 && (x >= f64::from(w - 56 - BUTTON_SPACE)) in find_button()
210 && (x <= f64::from(w - 32 - BUTTON_SPACE)) in find_button()
215 } else if (w >= 88 + 2 * BUTTON_SPACE) in find_button()
821 if width >= 24 + 2 * BUTTON_SPACE { in draw_buttons()
844 if width >= 56 + 2 * BUTTON_SPACE { in draw_buttons()
[all …]
H A Dconcept_frame.rs27 const BUTTON_SPACE: u32 = 10; const
204 if (w >= 24 + 2 * BUTTON_SPACE) in find_button()
211 } else if (w >= 56 + 2 * BUTTON_SPACE) in find_button()
218 } else if (w >= 88 + 2 * BUTTON_SPACE) in find_button()
540 if (width as isize - 88 - 4 * BUTTON_SPACE as isize) in redraw()
541 > (title_text.get_width() + BUTTON_SPACE as usize) as isize in redraw()
547 > (width - 88 - 2 * 2 * BUTTON_SPACE) as usize in redraw()
551 - (width - 88 - 2 * 2 * BUTTON_SPACE) as usize); in redraw()
/dports/games/dose-response/dose-response-179c326/cargo-crates/smithay-client-toolkit-0.4.5/src/window/
H A Dbasic_frame.rs31 const BUTTON_SPACE: u32 = 10; const
206 if (w >= 24 + 2 * BUTTON_SPACE) in find_button()
207 && (x >= f64::from(w - 24 - BUTTON_SPACE)) in find_button()
208 && (x <= f64::from(w - BUTTON_SPACE)) in find_button()
213 } else if (w >= 56 + 2 * BUTTON_SPACE) in find_button()
214 && (x >= f64::from(w - 56 - BUTTON_SPACE)) in find_button()
215 && (x <= f64::from(w - 32 - BUTTON_SPACE)) in find_button()
220 } else if (w >= 88 + 2 * BUTTON_SPACE) in find_button()
825 if width >= 24 + 2 * BUTTON_SPACE { in draw_buttons()
848 if width >= 56 + 2 * BUTTON_SPACE { in draw_buttons()
[all …]
H A Dconcept_frame.rs32 const BUTTON_SPACE: u32 = 10; const
208 if (w >= 24 + 2 * BUTTON_SPACE) in find_button()
215 } else if (w >= 56 + 2 * BUTTON_SPACE) in find_button()
222 } else if (w >= 88 + 2 * BUTTON_SPACE) in find_button()
522 if (width as isize - 88 - 4 * BUTTON_SPACE as isize) in redraw()
523 > (title_text.get_width() + BUTTON_SPACE as usize) as isize in redraw()
529 > (width - 88 - 2 * 2 * BUTTON_SPACE) as usize in redraw()
533 - (width - 88 - 2 * 2 * BUTTON_SPACE) as usize; in redraw()
/dports/x11/multi-aterm/multi-aterm-0.2.1/src/
H A Dnotebook2.c60 #define BUTTON_SPACE 5 macro
62 #define THUMBS_PLACE (width-(4*(BUTTON_SIZE+BUTTON_SPACE)+THUMB_SPACE))
301 if( x+thumbs_widths[TermWin.last_page] > width-(4*(BUTTON_SIZE+BUTTON_SPACE)+THUMB_SPACE) ) { in append_page()
310 …if( x + thumbs_widths[TermWin.last_page] - tmp <= width-(4*(BUTTON_SIZE+BUTTON_SPACE)+THUMB_SPACE)… in append_page()
311 …tmp = width -(4*(BUTTON_SIZE+BUTTON_SPACE)+THUMB_SPACE) - (x + thumbs_widths[TermWin.last_page] - … in append_page()
320 tmp = width - (4*(BUTTON_SIZE+BUTTON_SPACE)+THUMB_SPACE) - x; in append_page()
642 x = width - (4*(BUTTON_SIZE+BUTTON_SPACE)+THUMB_SPACE); in resize_thumb_bar()
693 if( z < 4*(BUTTON_SIZE+BUTTON_SPACE) && (z%(BUTTON_SIZE+BUTTON_SPACE)) > BUTTON_SPACE) { in dispatch_button_press()
694 but = z/(BUTTON_SIZE+BUTTON_SPACE); in dispatch_button_press()
739 width-(i*(BUTTON_SIZE+BUTTON_SPACE)),THUMB_PAD, in thumb_bar_expose()
[all …]
/dports/games/dhewm3/dhewm3-1.5.1/neo/tools/decl/
H A DDialogDeclBrowser.cpp647 #define BUTTON_SPACE 4 macro
669 rect.top = clientRect.Height() - 100 + BUTTON_SPACE + 2; in OnSize()
677 rect.top = clientRect.Height() - 78 + BUTTON_SPACE + 2; in OnSize()
685 rect.top = clientRect.Height() - 100 + BUTTON_SPACE; in OnSize()
693 rect.top = clientRect.Height() - 78 + BUTTON_SPACE; in OnSize()
714 rect.left = BORDER_SIZE + BUTTON_SPACE + width; in OnSize()
716 rect.right = BORDER_SIZE + BUTTON_SPACE + 2 * width; in OnSize()
725 rect.left = BORDER_SIZE + 2 * BUTTON_SPACE + 2 * width; in OnSize()
727 rect.right = BORDER_SIZE + 2 * BUTTON_SPACE + 3 * width; in OnSize()
736 rect.left = BORDER_SIZE + 3 * BUTTON_SPACE + 3 * width; in OnSize()
[all …]
H A DDialogEntityDefEditor.cpp448 #define BUTTON_SPACE 4
465 rect.top = (TOOLBAR_HEIGHT * 2) + (BUTTON_SPACE * 3);
466 rect.bottom = clientRect.bottom - (TOOLBAR_HEIGHT * 4) - BUTTON_SPACE;
501 rect.left = clientRect.Width() - BORDER_SIZE - BUTTON_SPACE - 2 * width;
502 rect.right = clientRect.Width() - BORDER_SIZE - BUTTON_SPACE - width;
541 rect.left = clientRect.Width() - BORDER_SIZE - BUTTON_SPACE - 2 * width;
542 rect.right = clientRect.Width() - BORDER_SIZE - BUTTON_SPACE - width;
H A DDialogDeclEditor.cpp375 #define BUTTON_SPACE 4 macro
410 rect.left = clientRect.Width() - BORDER_SIZE - BUTTON_SPACE - 2 * width; in OnSize()
412 rect.right = clientRect.Width() - BORDER_SIZE - BUTTON_SPACE - width; in OnSize()
/dports/games/scummvm/scummvm-2.5.1/engines/ultima/ultima8/gumps/
H A Ddifficulty_gump.cpp49 static const int BUTTON_SPACE = 17; variable
103 const int y = BUTTON_Y + (BUTTON_SPACE + BUTTON_HEIGHT) * s; in InitGump()
140 int highlihght_y = BUTTON_Y + ((_highlighted - 1) * (BUTTON_SPACE + BUTTON_HEIGHT)); in PaintThis()
/dports/x11/i3lock/i3lock-2.13/
H A Dunlock_indicator.c26 #define BUTTON_SPACE (BUTTON_RADIUS + 5) macro
28 #define BUTTON_DIAMETER (2 * BUTTON_SPACE)
/dports/games/dhewm3/dhewm3-1.5.1/neo/tools/script/
H A DDialogScriptEditor.cpp485 #define BUTTON_SPACE 4 macro
509 rect.left = clientRect.Width() - BORDER_SIZE - BUTTON_SPACE - 2 * width; in OnSize()
511 rect.right = clientRect.Width() - BORDER_SIZE - BUTTON_SPACE - width; in OnSize()
/dports/devel/codeblocks/codeblocks-20.03/src/plugins/contrib/wxContribItems/wxFlatNotebook/include/wx/wxFlatNotebook/
H A DwxFlatNotebook.h87 #define BUTTON_SPACE 16 macro
/dports/x11/i3lock-color/i3lock-color-2.13.c.4/
H A Dunlock_indicator.c38 #define BUTTON_SPACE (BUTTON_RADIUS + (RING_WIDTH / 2)) macro
39 #define BUTTON_DIAMETER (2 * BUTTON_SPACE)
/dports/x11-toolkits/py-wxPython40/wxPython-4.0.7/wx/lib/agw/
H A Dflatnotebook.py296 BUTTON_SPACE = 16 variable