/dports/devel/hexcompare/hexcompare-1.0.4/ |
H A D | gui.c | 42 *total_blocks = (*width - SIDE_MARGIN*2) * in calculate_dimensions() 112 if (mouse_x < SIDE_MARGIN || mouse_x > width - SIDE_MARGIN - 1 in mouse_clicked() 117 index = (width-SIDE_MARGIN*2) * (mouse_y-2) + in mouse_clicked() 118 mouse_x-SIDE_MARGIN; in mouse_clicked() 309 int blocks_in_row = width - SIDE_MARGIN*2; in calculate_offset() 394 mvprintw(row, SIDE_MARGIN+offset_char_size+4+ in display_file_names() 425 for (j = SIDE_MARGIN+offset_char_size+3; j < in draw_hex_data() 562 for (j = 0; j < width - SIDE_MARGIN*2; j++) { in generate_overview() 565 int index = i*(width-SIDE_MARGIN*2)+j; in generate_overview() 567 mvprintw(i+2,j+SIDE_MARGIN," "); in generate_overview() [all …]
|
H A D | gui.h | 36 #define SIDE_MARGIN 2 /* Width of the side margins in chars */ macro
|
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/toonz/ |
H A D | cameracapturelevelcontrol_qt.cpp | 17 const int SIDE_MARGIN = 7; variable 67 setFixedSize(256 + SIDE_MARGIN * 2, HISTOGRAM_HEIGHT + 15); in CameraCaptureLevelHistogram() 105 QRect histoRect(SIDE_MARGIN, 1, 256, HISTOGRAM_HEIGHT); in paintEvent() 127 QPoint sliderBasePos(SIDE_MARGIN, HISTOGRAM_HEIGHT + 2); in paintEvent() 157 m_offset = pos.x() - SIDE_MARGIN - m_black; in mousePressEvent() 159 m_offset = pos.x() - SIDE_MARGIN - gammaToHPos(m_gamma, m_black, m_white); in mousePressEvent() 161 m_offset = pos.x() - SIDE_MARGIN - m_white; in mousePressEvent() 163 m_offset = pos.x() - SIDE_MARGIN - m_threshold; in mousePressEvent() 173 int hPos = pos.x() - SIDE_MARGIN - m_offset; in mouseMoveEvent() 230 QPoint sliderBasePos(SIDE_MARGIN, HISTOGRAM_HEIGHT + 2); in mouseMoveEvent()
|
H A D | cameracapturelevelcontrol.cpp | 17 const int SIDE_MARGIN = 7; variable 67 setFixedSize(256 + SIDE_MARGIN * 2, HISTOGRAM_HEIGHT + 15); in CameraCaptureLevelHistogram() 103 QRect histoRect(SIDE_MARGIN, 1, 256, HISTOGRAM_HEIGHT); in paintEvent() 121 QPoint sliderBasePos(SIDE_MARGIN, HISTOGRAM_HEIGHT + 2); in paintEvent() 147 m_offset = pos.x() - SIDE_MARGIN - m_black; in mousePressEvent() 149 m_offset = pos.x() - SIDE_MARGIN - gammaToHPos(m_gamma, m_black, m_white); in mousePressEvent() 151 m_offset = pos.x() - SIDE_MARGIN - m_white; in mousePressEvent() 153 m_offset = pos.x() - SIDE_MARGIN - m_threshold; in mousePressEvent() 163 int hPos = pos.x() - SIDE_MARGIN - m_offset; in mouseMoveEvent() 219 QPoint sliderBasePos(SIDE_MARGIN, HISTOGRAM_HEIGHT + 2); in mouseMoveEvent()
|
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/client/gui/j2d/ |
H A D | AchievementBoxFactory.java | 47 private static final int SIDE_MARGIN = 20; field in AchievementBoxFactory 84 width += 2 * SIDE_MARGIN + IMAGE_PAD; in createAchievementBox() 98 …g2d.drawString(title, SIDE_MARGIN + IMAGE_PAD + categoryImage.getWidth(), TOP_MARGIN + (int) title… in createAchievementBox() 101 …g2d.drawString(description, SIDE_MARGIN + IMAGE_PAD + categoryImage.getWidth(), height - BOTTOM_MA… in createAchievementBox() 106 g2d.drawImage(categoryImage, SIDE_MARGIN, y, null); in createAchievementBox()
|
/dports/net/c3270/suite3270-4.0/x3270/ |
H A D | keypad.c | 70 #define SIDE_MARGIN rescale(4) macro 73 (SIDE_MARGIN + \ 79 SIDE_MARGIN) 82 (SIDE_MARGIN + \ 85 SIDE_MARGIN) 393 x0 = SIDE_MARGIN; in keypad_keys_horiz() 410 x0 = SIDE_MARGIN + 12*(pf_width+2*BORDER+SPACING) + HGAP; in keypad_keys_horiz() 429 x0 = SIDE_MARGIN; in keypad_keys_horiz() 485 x0 = SIDE_MARGIN; in keypad_keys_vert()
|
/dports/x11/x3270/suite3270-4.0/x3270/ |
H A D | keypad.c | 70 #define SIDE_MARGIN rescale(4) macro 73 (SIDE_MARGIN + \ 79 SIDE_MARGIN) 82 (SIDE_MARGIN + \ 85 SIDE_MARGIN) 393 x0 = SIDE_MARGIN; in keypad_keys_horiz() 410 x0 = SIDE_MARGIN + 12*(pf_width+2*BORDER+SPACING) + HGAP; in keypad_keys_horiz() 429 x0 = SIDE_MARGIN; in keypad_keys_horiz() 485 x0 = SIDE_MARGIN; in keypad_keys_vert()
|
/dports/games/torcs/torcs-1.3.7/src/drivers/sparkle/ |
H A D | opponent.cpp | 28 float Opponent::SIDE_MARGIN = 1.0; /* [m] savety margin */ member in Opponent 100 if (cardist < SIDE_MARGIN) state |= OPP_COLL; in update()
|
H A D | opponent.h | 85 static float SIDE_MARGIN; variable
|
/dports/games/torcs/torcs-1.3.7/src/drivers/olethros/ |
H A D | opponent.cpp | 31 const float Opponent::SIDE_MARGIN = 1.0; // [m] safety margin. member in olethros::Opponent 116 if (cardist < SIDE_MARGIN in update()
|
H A D | opponent.h | 95 static const float SIDE_MARGIN; variable
|
/dports/games/torcs/torcs-1.3.7/src/drivers/bt/ |
H A D | opponent.cpp | 28 const float Opponent::SIDE_MARGIN = 1.0f; // [m] savety margin. member in Opponent 101 if (cardist < SIDE_MARGIN) { in update()
|
H A D | opponent.h | 94 static const float SIDE_MARGIN; variable
|
/dports/games/torcs/torcs-1.3.7/src/drivers/damned/ |
H A D | opponent.cpp | 28 const float Opponent::SIDE_MARGIN = 1.0f; // [m] savety margin. member in Opponent 101 if (cardist < SIDE_MARGIN) { in update()
|
H A D | opponent.h | 94 static const float SIDE_MARGIN; variable
|
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/gui2/tweak_book/completion/ |
H A D | popup.py | 24 SIDE_MARGIN = 4 variable in ChoosePopupWidget 89 …self.current_size_hint = QSize(max_width + 2 * self.SIDE_MARGIN, height + self.BOTTOM_MARGIN + sel… 126 painter.drawStaticText(self.SIDE_MARGIN, y, st)
|
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/gui2/tweak_book/ |
H A D | live_css.py | 99 SIDE_MARGIN = 5 variable in Cell 116 rect.setRight(width - self.SIDE_MARGIN) 120 … r = QRect(br.right() + self.SIDE_MARGIN // 2, br.top() + 2, br.height() - 4, br.height() - 4) 148 side_margin = Cell.SIDE_MARGIN
|