Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BudgetMaster
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
PlayWallDesktop wird heute 10 Jahre alt!
Show more breadcrumbs
Robert Goldmann
BudgetMaster
Commits
aac4b18b
Commit
aac4b18b
authored
Feb 15, 2017
by
Robert Goldmann
Browse files
Options
Downloads
Patches
Plain Diff
added better color scheme
parent
eed0973d
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/de/deadlocker8/budgetmaster/ui/NewCategoryController.java
+17
-29
17 additions, 29 deletions
...de/deadlocker8/budgetmaster/ui/NewCategoryController.java
with
17 additions
and
29 deletions
src/de/deadlocker8/budgetmaster/ui/NewCategoryController.java
+
17
−
29
View file @
aac4b18b
...
@@ -54,36 +54,23 @@ public class NewCategoryController
...
@@ -54,36 +54,23 @@ public class NewCategoryController
buttonColor
.
prefWidthProperty
().
bind
(
textFieldName
.
widthProperty
());
buttonColor
.
prefWidthProperty
().
bind
(
textFieldName
.
widthProperty
());
// DEBUG
ArrayList
<
Color
>
colors
=
new
ArrayList
<>();
ArrayList
<
Color
>
colors
=
new
ArrayList
<>();
//grey (light to dark)
colors
.
add
(
Color
.
web
(
"#ecf0f1"
));
colors
.
add
(
Color
.
web
(
"#ecf0f1"
));
colors
.
add
(
Color
.
web
(
"#CCCCCC"
));
colors
.
add
(
Color
.
web
(
"#CCCCCC"
));
colors
.
add
(
Color
.
web
(
"#888888"
));
colors
.
add
(
Color
.
web
(
"#888888"
));
colors
.
add
(
Color
.
web
(
"#333333"
));
colors
.
add
(
Color
.
web
(
"#333333"
));
colors
.
add
(
Color
.
web
(
"#000000"
));
colors
.
add
(
Color
.
rgb
(
255
,
204
,
0
));
//yellow
colors
.
add
(
Color
.
rgb
(
255
,
149
,
0
));
//orange
colors
.
add
(
Color
.
web
(
"#00FF00"
));
colors
.
add
(
Color
.
rgb
(
255
,
59
,
48
));
//red
colors
.
add
(
Color
.
web
(
"#64dd17"
));
colors
.
add
(
Color
.
rgb
(
169
,
3
,
41
));
//darkred
colors
.
add
(
Color
.
web
(
"#27ae60"
));
colors
.
add
(
Color
.
rgb
(
255
,
81
,
151
));
//pink
colors
.
add
(
Color
.
web
(
"#1b5e20"
));
colors
.
add
(
Color
.
rgb
(
155
,
89
,
182
));
//purple
colors
.
add
(
Color
.
web
(
"#00FFFF"
));
colors
.
add
(
Color
.
rgb
(
88
,
86
,
214
));
//darkpurple
colors
.
add
(
Color
.
rgb
(
0
,
122
,
250
));
//blue
colors
.
add
(
Color
.
web
(
"#8FC6EA"
));
colors
.
add
(
Color
.
rgb
(
90
,
200
,
250
));
//lightblue
colors
.
add
(
Color
.
web
(
"#2980b9"
));
colors
.
add
(
Color
.
rgb
(
76
,
217
,
100
));
//lightgreen
colors
.
add
(
Color
.
web
(
"#0d47a1"
));
colors
.
add
(
Color
.
rgb
(
46
,
124
,
43
));
//darkgreen
colors
.
add
(
Color
.
web
(
"#0000FF"
));
colors
.
add
(
Color
.
web
(
"#9b59b6"
));
colors
.
add
(
Color
.
web
(
"#B200FF"
));
colors
.
add
(
Color
.
web
(
"#FF00DC"
));
colors
.
add
(
Color
.
web
(
"#ffff00"
));
colors
.
add
(
Color
.
web
(
"#e67e22"
));
colors
.
add
(
Color
.
web
(
"#FF7F00"
));
colors
.
add
(
Color
.
web
(
"#EB6C5F"
));
colors
.
add
(
Color
.
web
(
"#c0392b"
));
colors
.
add
(
Color
.
web
(
"#FF0000"
));
colors
.
add
(
Color
.
web
(
"#7F3300"
));
buttonColor
.
setOnMouseClicked
((
e
)
->
{
buttonColor
.
setOnMouseClicked
((
e
)
->
{
...
@@ -120,6 +107,7 @@ public class NewCategoryController
...
@@ -120,6 +107,7 @@ public class NewCategoryController
colorView
=
new
ColorView
(
colors
.
get
(
0
),
colors
,
this
,
(
finishColor
)
->
{
colorView
=
new
ColorView
(
colors
.
get
(
0
),
colors
,
this
,
(
finishColor
)
->
{
setColor
(
finishColor
);
setColor
(
finishColor
);
});
});
setColor
(
colors
.
get
(
0
));
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment