Not Logged In
|
Login
|
Register
Home
|
News
|
Projects
|
Releases
Bugs
|
RFE
|
Repositories
|
Help
projects
/
xestiacalendar
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c8e63e
)
Set default values for the colours/alpha in the Colour struct
author
Steve Brokenshire
<sbrokenshire@xestia.co.uk>
Sat, 18 Jun 2016 22:31:47 +0000
(23:31 +0100)
committer
Steve Brokenshire
<sbrokenshire@xestia.co.uk>
Sat, 18 Jun 2016 22:31:47 +0000
(23:31 +0100)
source/common/colour.h
patch
|
blob
|
history
diff --git
a/source/common/colour.h
b/source/common/colour.h
index
8eebe41
..
93d42a6
100644
(file)
--- a/
source/common/colour.h
+++ b/
source/common/colour.h
@@
-26,10
+26,10
@@
using namespace std;
struct Colour{
- int red;
- int blue;
- int green;
- int alpha;
+ int red
= 0
;
+ int blue
= 0
;
+ int green
= 0
;
+ int alpha
= 255
;
operator string() {
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy