/dports/games/stendhal/stendhal-1.35/src/games/stendhal/client/gui/styled/ |
H A D | StyledCheckBoxUI.java | 115 BufferedImage image = gc.createCompatibleImage(ICON_WIDTH, ICON_WIDTH, Transparency.OPAQUE); in createIcons() 120 g.fillRect(0, 0, ICON_WIDTH, ICON_WIDTH); in createIcons() 121 g.setClip(0, 0, ICON_WIDTH, ICON_WIDTH); in createIcons() 122 border.paintBorder(null, g, 0, 0, ICON_WIDTH, ICON_WIDTH); in createIcons() 128 BufferedImage image2 = gc.createCompatibleImage(ICON_WIDTH, ICON_WIDTH, Transparency.OPAQUE); in createIcons() 141 image2 = gc.createCompatibleImage(ICON_WIDTH, ICON_WIDTH, Transparency.OPAQUE); in createIcons() 144 g.fillRect(0, 0, ICON_WIDTH, ICON_WIDTH); in createIcons() 145 g.setClip(0, 0, ICON_WIDTH, ICON_WIDTH); in createIcons() 146 border.paintBorder(null, g, 0, 0, ICON_WIDTH, ICON_WIDTH); in createIcons() 151 image = gc.createCompatibleImage(ICON_WIDTH, ICON_WIDTH, Transparency.OPAQUE); in createIcons() [all …]
|
/dports/audio/amarok/amarok-3e11ccdd1417e70486eaaa84d8475182eec44c20/src/widgets/ |
H A D | EditDeleteDelegate.cpp | 26 #define ICON_WIDTH 16 macro 42 int iconOffset = option.rect.width() - ( MARGIN * 3 + ICON_WIDTH * 2 ); in paint() 52 QPixmap editPixmap = editIcon.pixmap( ICON_WIDTH, ICON_WIDTH ); in paint() 53 QPixmap deletePixmap = deleteIcon.pixmap( ICON_WIDTH, ICON_WIDTH ); in paint() 55 painter->drawPixmap( iconOffset + MARGIN, y, ICON_WIDTH, ICON_WIDTH, editPixmap ); in paint() 56 …painter->drawPixmap( iconOffset + MARGIN *2 + ICON_WIDTH, y, ICON_WIDTH, ICON_WIDTH, deletePixmap … in paint() 63 const QSize addSize( MARGIN * 3 + ICON_WIDTH * 2, 0 ); in sizeHint() 72 int right = ( rect.x() + rect.width() ) - ( MARGIN * 2 + ICON_WIDTH ); in hitsEdit() 73 int left = right - ICON_WIDTH; in hitsEdit() 82 int left = right - ICON_WIDTH; in hitsDelete()
|
/dports/net/mpich2/mpich2-1.5/src/mpe2/src/slog2sdk/src/viewer/legends/ |
H A D | CategoryIcon.java | 27 private static final int ICON_WIDTH = Const.ICON_WIDTH; field in CategoryIcon 29 private static final int ICON_HALF_WIDTH = Const.ICON_WIDTH / 2; 83 return ICON_WIDTH; in getIconWidth() 115 g.fillRect( x, y, ICON_WIDTH, ICON_HEIGHT ); in paintStateIcon() 119 x2 = x + ICON_WIDTH - 1; y2 = y1; in paintStateIcon() 128 g.fillRect( x1, y1, ICON_WIDTH-2*XOFF, ICON_HEIGHT-2*YOFF ); in paintStateIcon() 151 g.fillRect( x, y, ICON_WIDTH, ICON_HEIGHT ); in paintArrowIcon() 157 x2 = x + ICON_WIDTH - 1; y2 = y1; in paintArrowIcon() 175 g.fillRect( x, y, ICON_WIDTH, ICON_HEIGHT ); in paintEventIcon() 179 x2 = x + ICON_WIDTH - 1; y2 = y1; in paintEventIcon() [all …]
|
/dports/games/crimson/crimson-0.5.3/src/common/ |
H A D | gamewindow.cpp | 135 Image def_icon( view->GetSystemIcons(), 32, 0, ICON_WIDTH, ICON_HEIGHT ); in DrawUnitInfo() 154 xspacing = (rect.w - 2 * ICON_WIDTH - 3 * sfont->Width()) / 3; in DrawUnitInfo() 158 sfont->Write( buf, dest, xpos + ICON_WIDTH + 4, in DrawUnitInfo() 162 xpos += ICON_WIDTH + xspacing; in DrawUnitInfo() 164 sfont->Write( buf, dest, xpos + ICON_WIDTH + 4, in DrawUnitInfo() 169 xspacing = (rect.w - 3 * ICON_WIDTH) / 4; in DrawUnitInfo() 178 sfont->Write( buf, dest, xpos + (ICON_WIDTH - sfont->TextWidth(buf))/2, in DrawUnitInfo() 181 xpos += ICON_WIDTH + xspacing; in DrawUnitInfo() 188 sfont->Write( buf, dest, xpos + (ICON_WIDTH - sfont->TextWidth(buf))/2, in DrawUnitInfo() 191 xpos += ICON_WIDTH + xspacing; in DrawUnitInfo() [all …]
|
/dports/games/xorgramana/XorGramana-0.0.8/ |
H A D | game_display.c | 29 int rx=scr_win->win_brx-ICON_WIDTH; in game_win_create() 58 game_win->blk_tlx+x*ICON_WIDTH, in game_win_display() 63 game_win->blk_tlx+x*ICON_WIDTH, in game_win_display() 67 game_win->blk_tlx+x*ICON_WIDTH, in game_win_display() 72 game_win->blk_tlx+x*ICON_WIDTH, in game_win_display() 136 game_win->blk_tlx+x*ICON_WIDTH, in game_win_show() 150 game_win->blk_tlx+x*ICON_WIDTH, in game_win_show() 247 game_win->blk_tlx+xx*ICON_WIDTH, in game_win_icon_display() 252 game_win->blk_tlx+xx*ICON_WIDTH, in game_win_icon_display() 256 game_win->blk_tlx+xx*ICON_WIDTH, in game_win_icon_display() [all …]
|
H A D | level_menu.c | 42 rx= ((main_win->win_w/ICON_WIDTH) in level_win_create() 44 ) * ICON_WIDTH; in level_win_create() 53 level_win=gfx_new_win(flags,0,0,rx,by,ICON_WIDTH,ICON_HEIGHT); in level_win_create()
|
/dports/chinese/fcitx-ui-light/fcitx-ui-light-0.1.3/src/ |
H A D | MainWindow.c | 56 #define ICON_WIDTH ICON_SIZE macro 157 currentX += ICON_WIDTH; in DrawMainWindow() 172 currentX += ICON_WIDTH; in DrawMainWindow() 191 currentX += ICON_WIDTH; in DrawMainWindow() 206 …mage(mainWindow->dpy, mainWindow->pm_main_bar, logo, currentX, MarginTop, ICON_WIDTH, ICON_HEIGHT); in DrawMainWindow() 208 currentX += ICON_WIDTH; in DrawMainWindow() 210 …ge(mainWindow->dpy, mainWindow->pm_main_bar, imicon, currentX, MarginTop, ICON_WIDTH, ICON_HEIGHT); in DrawMainWindow() 212 currentX += ICON_WIDTH; in DrawMainWindow() 232 …ainWindow->dpy, mainWindow->pm_main_bar, statusicon, currentX, MarginTop, ICON_WIDTH, ICON_HEIGHT); in DrawMainWindow() 234 currentX += ICON_WIDTH; in DrawMainWindow() [all …]
|
/dports/x11/apwal/apwal/src/ |
H A D | editor.c | 125 width = width < ICON_WIDTH ? width : ICON_WIDTH; in editor_draw_icon() 136 (x - e->x) * ICON_WIDTH/*dest_x*/, in editor_draw_icon() 140 (x - e->x) * ICON_WIDTH/*offset_x*/, in editor_draw_icon() 141 (y - e->y) * ICON_WIDTH/*offset_y*/, in editor_draw_icon() 164 e->width * ICON_WIDTH, in editor_refresh() 290 x = (((int)event->x)/ICON_WIDTH) + e->x; in editor_button_press_event() 291 y = (((int)event->y)/ICON_WIDTH) + e->y; in editor_button_press_event() 320 x = (((int)event->x)/ICON_WIDTH) + e->x; in editor_motion_notify_event() 321 y = (((int)event->y)/ICON_WIDTH) + e->y; in editor_motion_notify_event() 375 pos_x = (((int)event->x)/ICON_WIDTH) + e->x; in editor_button_release_event() [all …]
|
H A D | launcher.c | 102 l->width = ICON_WIDTH * (app_list_delta_x(l->apps) + 1); in launcher_load_apps() 112 l->x = l->x + (x_min * ICON_WIDTH); in launcher_load_apps() 141 width = width < ICON_WIDTH ? width : ICON_WIDTH; in launcher_load_apps() 146 (app->x - x_min)*ICON_WIDTH/*dest_x*/, in launcher_load_apps() 246 pos_x = (((int)event->x) / ICON_WIDTH) + app_list_min_x(l->apps); in launcher_button_release_event() 247 pos_y = (((int)event->y) / ICON_WIDTH) + app_list_min_y(l->apps); in launcher_button_release_event()
|
/dports/x11-toolkits/open-motif/motif-2.3.8/clients/mwm/ |
H A D | WmIDecor.c | 170 (unsigned int) ICON_WIDTH(pcd), in MakeIcon() 288 (unsigned int) ICON_WIDTH(pcd), in MakeIconShadows() 300 (unsigned int) ICON_WIDTH(pcd), in MakeIconShadows() 329 (unsigned int) ICON_WIDTH(pcd), in MakeIconShadows() 342 (unsigned int) ICON_WIDTH(pcd), in MakeIconShadows() 368 (unsigned int) ICON_WIDTH(pcd), in MakeIconShadows() 461 (unsigned int) ICON_WIDTH(pcd), in IconExposureProc() 1305 dwidth = ICON_WIDTH(pcd) - in ShowActiveIcon() 1336 (unsigned int) ICON_WIDTH(pcd), in ShowActiveIcon() 1353 (unsigned int) ICON_WIDTH(pcd), in ShowActiveIcon() [all …]
|
/dports/net-p2p/transmission-cli/transmission-3.00/macosx/ |
H A D | DragOverlayView.m | 26 #define ICON_WIDTH 64.0 macro 74 … drawInRect: NSMakeRect(PADDING, (NSHeight(badgeRect) - ICON_WIDTH) * 0.5, ICON_WIDTH, ICON_WIDTH)… 81 NSRect lineRect = NSMakeRect(PADDING + ICON_WIDTH + 5.0, 83 … NSWidth(badgeRect) - (PADDING + ICON_WIDTH + 2.0) - PADDING, mainLineSize.height);
|
/dports/net-p2p/transmission-gtk/transmission-3.00/macosx/ |
H A D | DragOverlayView.m | 26 #define ICON_WIDTH 64.0 macro 74 … drawInRect: NSMakeRect(PADDING, (NSHeight(badgeRect) - ICON_WIDTH) * 0.5, ICON_WIDTH, ICON_WIDTH)… 81 NSRect lineRect = NSMakeRect(PADDING + ICON_WIDTH + 5.0, 83 … NSWidth(badgeRect) - (PADDING + ICON_WIDTH + 2.0) - PADDING, mainLineSize.height);
|
/dports/net-p2p/transmission-daemon/transmission-3.00/macosx/ |
H A D | DragOverlayView.m | 26 #define ICON_WIDTH 64.0 macro 74 … drawInRect: NSMakeRect(PADDING, (NSHeight(badgeRect) - ICON_WIDTH) * 0.5, ICON_WIDTH, ICON_WIDTH)… 81 NSRect lineRect = NSMakeRect(PADDING + ICON_WIDTH + 5.0, 83 … NSWidth(badgeRect) - (PADDING + ICON_WIDTH + 2.0) - PADDING, mainLineSize.height);
|
/dports/net-p2p/transmission-qt/transmission-3.00/macosx/ |
H A D | DragOverlayView.m | 26 #define ICON_WIDTH 64.0 macro 74 … drawInRect: NSMakeRect(PADDING, (NSHeight(badgeRect) - ICON_WIDTH) * 0.5, ICON_WIDTH, ICON_WIDTH)… 81 NSRect lineRect = NSMakeRect(PADDING + ICON_WIDTH + 5.0, 83 … NSWidth(badgeRect) - (PADDING + ICON_WIDTH + 2.0) - PADDING, mainLineSize.height);
|
/dports/net-p2p/transmission-utils/transmission-3.00/macosx/ |
H A D | DragOverlayView.m | 26 #define ICON_WIDTH 64.0 macro 74 … drawInRect: NSMakeRect(PADDING, (NSHeight(badgeRect) - ICON_WIDTH) * 0.5, ICON_WIDTH, ICON_WIDTH)… 81 NSRect lineRect = NSMakeRect(PADDING + ICON_WIDTH + 5.0, 83 … NSWidth(badgeRect) - (PADDING + ICON_WIDTH + 2.0) - PADDING, mainLineSize.height);
|
/dports/www/transmission-web/transmission-3.00/macosx/ |
H A D | DragOverlayView.m | 26 #define ICON_WIDTH 64.0 macro 74 … drawInRect: NSMakeRect(PADDING, (NSHeight(badgeRect) - ICON_WIDTH) * 0.5, ICON_WIDTH, ICON_WIDTH)… 81 NSRect lineRect = NSMakeRect(PADDING + ICON_WIDTH + 5.0, 83 … NSWidth(badgeRect) - (PADDING + ICON_WIDTH + 2.0) - PADDING, mainLineSize.height);
|
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/toonzlib/ |
H A D | orientation.cpp | 45 const int ICON_WIDTH = 18; member in TopToBottomOrientation 99 const int ICON_WIDTH = 20; member in LeftToRightOrientation 101 const int ICON_OFFSET = ICON_WIDTH; 434 iconRect(eyeArea, ICON_WIDTH, ICON_HEIGHT - 1, 1)); in TopToBottomOrientation() 443 ICON_WIDTH, HDRROW_HEIGHT); in TopToBottomOrientation() 454 HDRROW2, ICON_WIDTH, HDRROW_HEIGHT); in TopToBottomOrientation() 544 iconRect(eyeArea, ICON_WIDTH, ICON_HEIGHT - 1, 1)); in TopToBottomOrientation() 580 iconRect(cameraIconArea, ICON_WIDTH, ICON_HEIGHT)); in TopToBottomOrientation() 990 QRect panelEye(1, 0, ICON_WIDTH, ICON_HEIGHT); in LeftToRightOrientation() 1055 QRect eyeArea(1, 0, ICON_WIDTH, CELL_HEIGHT); in LeftToRightOrientation() [all …]
|
/dports/games/uqm/uqm-0.8.0/src/uqm/ |
H A D | pickship.c | 40 #define ICON_WIDTH 16 macro 133 + ((ICON_WIDTH + 4) * new_col); in DoPickBattleShip() 137 pMS->flash_rect0.corner.x += FLAGSHIP_WIDTH - ICON_WIDTH; in DoPickBattleShip() 141 pMS->flash_rect0.extent.width = ICON_WIDTH + 4; in DoPickBattleShip() 172 r.extent.width = ((ICON_WIDTH + 4) * 3) - 4; in DoPickBattleShip() 218 r.corner.x += (ICON_WIDTH + 4) in DoPickBattleShip() 220 + FLAGSHIP_WIDTH - ICON_WIDTH; in DoPickBattleShip() 445 r.extent.width = ICON_WIDTH; in DrawArmadaPickShip() 459 + (5 + ((ICON_WIDTH + 4) in DrawArmadaPickShip()
|
/dports/games/crimson/crimson-0.5.3/src/cf/ |
H A D | unitwindow.cpp | 112 uset(uset), tset(tset), hex_bg( 32, 32, ICON_WIDTH, ICON_HEIGHT ) { in UnitListWidget() 147 Rect dest( xoff, yoff, ICON_WIDTH, ICON_HEIGHT ); in DrawNodes() 151 uset.DrawTile( n->image, surface, xoff + (ICON_WIDTH - uset.TileWidth()) / 2, in DrawNodes() 155 xoff + (ICON_WIDTH - tset.TileWidth()) / 2, in DrawNodes() 161 dest = Rect( xoff + ICON_WIDTH + 4, yoff + 2, XP_ICON_WIDTH, XP_ICON_HEIGHT ); in DrawNodes() 167 font->Write( itoa( n->type->Cost(), buf ), surface, xoff + ICON_WIDTH + 4, in DrawNodes() 325 crystals_icon.Draw( this, w - 5 - ICON_WIDTH, lfont->Height() + 30 ); in Draw() 349 Rect rect( w - ICON_WIDTH - tlen - 5 - 30, in DrawCrystals() 351 tlen + ICON_WIDTH + 5, sfont->Height() ); in DrawCrystals() 638 wd_slider = new SliderWidget( ULW_WIDGET_CRYSTALS, unitinfo.x + ICON_WIDTH, in UnitLoadWindow() [all …]
|
/dports/editors/e93/e93/xgui/ |
H A D | pixmap.c | 268 …Display,RootWindow(xDisplay,xScreenNum),(char *)&documentIconBitmap[0],ICON_WIDTH,ICON_HEIGHT))!=N… in InitPixmaps() 270 …RootWindow(xDisplay,xScreenNum),(char *)&documentModifiedIconBitmap[0],ICON_WIDTH,ICON_HEIGHT))!=N… in InitPixmaps() 272 …(xDisplay,RootWindow(xDisplay,xScreenNum),(char *)&editorIconBitmap[0],ICON_WIDTH,ICON_HEIGHT))!=N… in InitPixmaps()
|
/dports/graphics/blender/blender-2.91.0/source/blender/editors/animation/ |
H A D | anim_channels_defines.c | 4405 offset += ICON_WIDTH; in ANIM_channel_draw() 4411 offset += ICON_WIDTH; in ANIM_channel_draw() 4456 offset += ICON_WIDTH; in ANIM_channel_draw() 4461 offset += ICON_WIDTH; in ANIM_channel_draw() 4555 offset += ICON_WIDTH; in ANIM_channel_draw() 4560 offset += ICON_WIDTH; in ANIM_channel_draw() 4565 offset += ICON_WIDTH; in ANIM_channel_draw() 4570 offset += ICON_WIDTH; in ANIM_channel_draw() 5148 offset += ICON_WIDTH; in ANIM_channel_draw_widgets() 5154 offset += ICON_WIDTH; in ANIM_channel_draw_widgets() [all …]
|
/dports/emulators/fs-uae-launcher/fs-uae-launcher-3.0.5/workspace/shell/ |
H A D | ui.py | 8 ICON_WIDTH = 120 variable 43 icon_width = ICON_WIDTH 73 self.set_size((ICON_WIDTH, ICON_HEIGHT))
|
/dports/emulators/dolphin-emu/dolphin-3152428/Source/Core/DiscIO/ |
H A D | WiiSaveBanner.cpp | 23 constexpr u32 ICON_WIDTH = 48; variable 25 constexpr u32 ICON_SIZE = ICON_WIDTH * ICON_HEIGHT * 2;
|
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/toonz/ |
H A D | versioncontroltimeline.cpp | 38 #define ICON_WIDTH 60 macro 64 m_listWidget->setIconSize(QSize(ICON_WIDTH, ICON_HEIGHT)); in TimelineWidget() 258 QPixmap pixmap(ICON_WIDTH, ICON_HEIGHT); in onLogDone() 488 if (filePixmap.size() != QSize(ICON_WIDTH, ICON_HEIGHT)) in createIcon() 489 filePixmap = filePixmap.scaled(ICON_WIDTH, ICON_HEIGHT, Qt::KeepAspectRatio, in createIcon() 492 if (filePixmap.size() == QSize(ICON_WIDTH, ICON_HEIGHT)) in createIcon() 495 QPixmap iconPixmap(ICON_WIDTH, ICON_HEIGHT); in createIcon()
|
/dports/graphics/opendx/dx-4.4.4/src/uipp/base/ |
H A D | icon50.h | 12 #define ICON_WIDTH 50 macro
|