mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
Add phase, a Qt/KDE widget style
PR: 68885 Submitted by: David Johnson <david@usermode.org>
This commit is contained in:
parent
b9f21a8c3b
commit
c7a556e470
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=115215
@ -81,6 +81,7 @@
|
||||
SUBDIR += metacity-theme-iridium-rounded
|
||||
SUBDIR += metacity-theme-microgui
|
||||
SUBDIR += metacity-themes
|
||||
SUBDIR += phase
|
||||
SUBDIR += qinx
|
||||
SUBDIR += qnxstyle
|
||||
SUBDIR += qt-bluecurve-theme
|
||||
|
21
x11-themes/phase/Makefile
Normal file
21
x11-themes/phase/Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
# New ports collection makefile for: Phase
|
||||
# Date created: July 9th, 2004
|
||||
# Whom: David Johnson <david@usermode.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= phase
|
||||
PORTVERSION= 0.4
|
||||
CATEGORIES= x11-themes kde
|
||||
MASTER_SITES= http://www.usermode.org/code/
|
||||
|
||||
MAINTAINER= david@usermode.org
|
||||
COMMENT= An original Qt/KDE widget style
|
||||
|
||||
USE_KDEBASE_VER=3
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
INSTALLS_SHLIB= yes
|
||||
|
||||
.include <bsd.port.mk>
|
2
x11-themes/phase/distinfo
Normal file
2
x11-themes/phase/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (phase-0.4.tar.gz) = 4e5f5bf08e0b185318e5d2d4df5b1b5b
|
||||
SIZE (phase-0.4.tar.gz) = 474702
|
29
x11-themes/phase/files/patch-phasestyle.cc
Normal file
29
x11-themes/phase/files/patch-phasestyle.cc
Normal file
@ -0,0 +1,29 @@
|
||||
--- phasestyle/phasestyle.cc.orig Mon Jul 5 19:38:55 2004
|
||||
+++ phasestyle/phasestyle.cc Sun Jul 25 20:58:33 2004
|
||||
@@ -1085,7 +1085,7 @@
|
||||
case KPE_SliderHandle: {
|
||||
const QSlider* slider = dynamic_cast<const QSlider*>(widget);
|
||||
if (slider) {
|
||||
- QColor color = (slider==hover_)
|
||||
+ QColor color = ((QWidget*)slider==hover_)
|
||||
? group.button().light(contrast)
|
||||
: group.button();
|
||||
if (slider->orientation() == Horizontal) {
|
||||
@@ -1619,7 +1619,7 @@
|
||||
|
||||
sunken = (active == SC_ComboBoxArrow);
|
||||
drawPhaseButton(painter, x, y, w, h, group,
|
||||
- (combo==hover_)
|
||||
+ ((QWidget*)combo==hover_)
|
||||
? group.button().light(contrast)
|
||||
: group.button(), sunken);
|
||||
|
||||
@@ -1774,7 +1774,7 @@
|
||||
if (reverse_) subrect.moveLeft(spin->upRect().left());
|
||||
drawPhaseBevel(painter, subrect.x(), subrect.y(),
|
||||
subrect.width(), subrect.height(), group,
|
||||
- (spin==hover_)
|
||||
+ ((QWidget*)spin==hover_)
|
||||
? group.button().light(contrast)
|
||||
: group.button(), false, false, false);
|
||||
}
|
7
x11-themes/phase/pkg-descr
Normal file
7
x11-themes/phase/pkg-descr
Normal file
@ -0,0 +1,7 @@
|
||||
Phase is an original Qt/KDE widget style. It is designed to be functional but
|
||||
not drab and aesthetic but not distracting.
|
||||
|
||||
WWW: http://www.usermode.org/code.html
|
||||
|
||||
- David Johnson
|
||||
david@usermode.org
|
11
x11-themes/phase/pkg-plist
Normal file
11
x11-themes/phase/pkg-plist
Normal file
@ -0,0 +1,11 @@
|
||||
lib/kde3/kstyle_phase_config.la
|
||||
lib/kde3/kstyle_phase_config.so
|
||||
lib/kde3/plugins/styles/phasestyle.la
|
||||
lib/kde3/plugins/styles/phasestyle.so
|
||||
share/apps/kstyle/themes/phase.themerc
|
||||
@dirrm share/apps/kstyle/themes
|
||||
@dirrm share/apps/kstyle
|
||||
@dirrm share/apps
|
||||
@dirrm lib/kde3/plugins/styles
|
||||
@dirrm lib/kde3/plugins
|
||||
@dirrm lib/kde3
|
Loading…
Reference in New Issue
Block a user