summaryrefslogtreecommitdiffstats
path: root/deco/config/aquariusbutton.cc
diff options
context:
space:
mode:
authorgregory guy <[email protected]>2020-07-16 14:07:49 +0200
committerSlávek Banko <[email protected]>2020-07-26 11:33:19 +0200
commitcd1471858e29d0d23355a93178e063fd0550d31c (patch)
tree6a4d62d831ce3a5a9b7cabac8cf578f622fd5b43 /deco/config/aquariusbutton.cc
parent443bb972fa23026cdd48cfd5976b210c5dd470eb (diff)
downloadtde-style-baghira-cd1471858e29d0d23355a93178e063fd0550d31c.tar.gz
tde-style-baghira-cd1471858e29d0d23355a93178e063fd0550d31c.zip
Conversion to the cmake building system.
Added a man page taken from the Debian packaging system. Signed-off-by: gregory guy <[email protected]> Resolve issues that occurred during CMake conversion. Concatenate the commands for generating pixmaps.h with CMake so that there is no need to use the GNU specific sed option -i. Signed-off-by: Slávek Banko <[email protected]> Signed-off-by: gregory guy <[email protected]> (cherry picked from commit d0c03cc9a910ea44cea57b1af43bbd90eb86d4bc)
Diffstat (limited to 'deco/config/aquariusbutton.cc')
-rw-r--r--deco/config/aquariusbutton.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/deco/config/aquariusbutton.cc b/deco/config/aquariusbutton.cc
index 6a8011f..9cf1b0e 100644
--- a/deco/config/aquariusbutton.cc
+++ b/deco/config/aquariusbutton.cc
@@ -1,10 +1,12 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "aquariusbutton.h"
#include <tqcolor.h>
#include <tqpixmap.h>
#include <tqpainter.h>
#include <kimageeffect.h>
-#include "config.h"
-
#define COLOR_SPACE(R,G,B) \
if ( R < 0 ) R = 0; else if ( R > 255 ) R = 255; \
@@ -160,3 +162,5 @@ void AquariusButton::paintEvent( TQPaintEvent *e){
// void AquariusButton::clicked(){
// }
+
+#include "aquariusbutton.moc"