mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-13 02:08:49 +12:00
Qt: icon overhaul
This commit is contained in:
parent
639245c071
commit
6862790cf7
11 changed files with 63 additions and 43 deletions
|
@ -1,4 +1,4 @@
|
|||
#include "game_list_grid.h"
|
||||
#include "game_list_grid.h"
|
||||
#include "game_list_grid_delegate.h"
|
||||
#include "qt_utils.h"
|
||||
|
||||
|
@ -87,6 +87,7 @@ void game_list_grid::addItem(const QPixmap& img, const QString& name, const int&
|
|||
|
||||
// place raw image inside expanded image
|
||||
QPainter painter(&exp_img);
|
||||
painter.setRenderHint(QPainter::SmoothPixmapTransform);
|
||||
painter.drawImage(offset, bg_img);
|
||||
painter.drawPixmap(offset, img);
|
||||
painter.end();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue