mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-06 07:32:29 -06:00
Add possibility to change colors in runtime.
This commit is contained in:
@@ -50,6 +50,8 @@ private:
|
||||
|
||||
// background color
|
||||
int bg_color;
|
||||
// border color
|
||||
int border_color;
|
||||
// complete piece color
|
||||
int piece_color;
|
||||
// incomplete piece color
|
||||
@@ -76,6 +78,8 @@ public:
|
||||
void updatePieceColors();
|
||||
void clear();
|
||||
|
||||
void setColors(int background, int border, int complete, int incomplete);
|
||||
|
||||
protected:
|
||||
void paintEvent(QPaintEvent *);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user