Searched refs:fMargin (Results 1 – 4 of 4) sorted by relevance
89 int fMargin = 10; member108 canvas->translate(fMargin, (float)(fMargin - fPos)); in onPaint()133 fEditor.setWidth(fWidth - 2 * fMargin); in onResize()142 int maxPos = std::max(0, fEditor.getHeight() + 2 * fMargin - fHeight / 2); in scroll()167 return this->move(fEditor.getPosition({x - fMargin, y + fPos - fMargin}), shiftOrDrag); in onMouse()256 if (fPos < cursor.bottom() - fHeight + 2 * fMargin) { in move()257 fPos = cursor.bottom() - fHeight + 2 * fMargin; in move()
100 int fMargin = 10; member127 canvas->translate(fMargin, (float)(fMargin - fPos)); in onPaint()152 fEditor.setWidth(fWidth - 2 * fMargin); in onResize()161 int maxPos = std::max(0, fEditor.getHeight() + 2 * fMargin - fHeight / 2); in scroll()186 return this->move(fEditor.getPosition({x - fMargin, y + fPos - fMargin}), shiftOrDrag); in onMouse()293 if (fPos < cursor.bottom() - fHeight + 2 * fMargin) { in move()294 fPos = cursor.bottom() - fHeight + 2 * fMargin; in move()
180 const int fMargin = 100; variable217 if (cur_x + bm.width() >= fGMWidth - fMargin) {
189 const int fMargin = 100; variable226 if (cur_x + bm.width() >= fGMWidth - fMargin) {