summaryrefslogtreecommitdiffstats
path: root/client/deKoratorclient.h
diff options
context:
space:
mode:
authorDaniel Würl <trinity@dwrl.de>2025-03-28 22:08:53 +0100
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-04-05 17:03:06 +0900
commit756e1cd1cae081b3a6fb698dac77ec7402f78ef7 (patch)
treee1a1be541f7a60cb5372a9ffdf365b87e133f3b2 /client/deKoratorclient.h
parentf9080726ffd29058be233af0b2b830d651ac5bb4 (diff)
downloadtwin-style-dekorator-756e1cd1.tar.gz
twin-style-dekorator-756e1cd1.zip
Implement optional images for inactive states.
Signed-off-by: Daniel Würl <trinity@dwrl.de> (cherry picked from commit 04e8bbd8b043741500017bcd61cfee8a72be89b6)
Diffstat (limited to 'client/deKoratorclient.h')
-rw-r--r--client/deKoratorclient.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/client/deKoratorclient.h b/client/deKoratorclient.h
index aef01b9..b9f9474 100644
--- a/client/deKoratorclient.h
+++ b/client/deKoratorclient.h
@@ -126,9 +126,11 @@ enum ButtonType {
enum pixType {
normal = 0,
+ inAct,
actCol,
inActCol,
orig,
+ inActOrig,
pixTypeCount
};
@@ -155,6 +157,7 @@ public:
private:
bool readConfig();
bool loadBorderPixmap(decoType borderPart, const TQString& oldName, const TQString& newName);
+ void loadButtonPixmap(buttonTypeAll btnType, buttonState btnState, const TQString& imageName);
void loadPixmaps();
void colorizeDecoPixmaps( bool isActive );
void colorizeButtonsPixmaps( bool isActive );