Skip to content

Commit 82617d6

Browse files
committed
tweak colors, disable out of date images, turn off theme engine
1 parent 4ff8c25 commit 82617d6

File tree

3 files changed

+36
-23
lines changed

3 files changed

+36
-23
lines changed

Diff for: app/src/processing/app/ui/EditorStatus.java

+15-2
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ public class EditorStatus extends BasicSplitPaneDivider {
5959
Color[] bgColor;
6060
Image[] bgImage;
6161

62+
// for beta 1, had to shut off the images because they were out of date
63+
static final boolean USE_IMAGES = false;
64+
6265
@SuppressWarnings("hiding")
6366
static public final int ERROR = 1;
6467
static public final int CURSOR_LINE_ERROR = 2;
@@ -350,7 +353,12 @@ public void paint(Graphics screen) {
350353
ascent = metrics.getAscent();
351354
}
352355

353-
g.drawImage(bgImage[mode], 0, 0, sizeW, sizeH, this);
356+
if (USE_IMAGES) {
357+
g.drawImage(bgImage[mode], 0, 0, sizeW, sizeH, this);
358+
} else {
359+
g.setColor(bgColor[mode]);
360+
g.fillRect(0, 0, sizeW, sizeH);
361+
}
354362

355363
rolloverState = ROLLOVER_NONE;
356364
if (mouseX > sizeW - buttonSize && mouseX < sizeW) {
@@ -414,7 +422,12 @@ public void paint(Graphics screen) {
414422
private void drawButton(Graphics g, String symbol, int pos, boolean highlight) {
415423
int left = sizeW - (pos + 1) * buttonSize;
416424
// Overlap very long errors
417-
g.drawImage(bgImage[mode], left, 0, buttonSize, sizeH, this);
425+
if (USE_IMAGES) {
426+
g.drawImage(bgImage[mode], left, 0, buttonSize, sizeH, this);
427+
} else {
428+
g.setColor(bgColor[mode]);
429+
g.fillRect(left, 0, buttonSize, sizeH);
430+
}
418431

419432
if (highlight) {
420433
// disabling since this doesn't match any of our other UI

Diff for: build/build.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@
336336
<fileset dir="shared/tools">
337337
<patternset>
338338
<include name="MovieMaker/tool/**" />
339-
<include name="ThemeEngine/tool/**" />
339+
<!-- <include name="ThemeEngine/tool/**" /> -->
340340
<!-- <include name="**/tool/**" /> -->
341341
</patternset>
342342
</fileset>

Diff for: build/shared/lib/theme.txt

+20-20
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# STATUS
22
# Status messages (1 file added to sketch, errors, etc)
33
status.notice.fgcolor = #161e3f
4-
status.notice.bgcolor = #7987a0
4+
status.notice.bgcolor = #8497b8
55
status.error.fgcolor = #ffffff
66
status.error.bgcolor = #e10c2f
77
status.warning.bgcolor = #fed456
@@ -18,28 +18,28 @@ header.text.font = processing.sans,bold,14
1818
header.text.selected.color = #161e3f
1919
header.text.unselected.color = #adbcd6
2020
header.tab.arrow.color = #adbcd6
21-
header.gradient.top = #105ef7
21+
header.gradient.top = #1f62d3
2222
header.gradient.bottom = #2b52f6
23-
header.tab.selected.color = #e6edfe
24-
header.tab.unselected.color = #00249f
23+
header.tab.selected.color = #dae8ff
24+
header.tab.unselected.color = #0e3266
2525
header.tab.modified.color = #fff87a
2626

2727
# FOOTER TABS
2828
footer.text.font = processing.sans,bold,12
29-
footer.text.selected.color = #e6edfe
29+
footer.text.selected.color = #dae8ff
3030
footer.text.unselected.color = #4679ff
3131
footer.tab.arrow.color = #ffffff
32-
footer.gradient.top = #29357c
33-
footer.gradient.bottom = #203076
34-
footer.tab.selected.color = #2b67f6
32+
footer.gradient.top = #1e4492
33+
footer.gradient.bottom = #0f408d
34+
footer.tab.selected.color = #3369db
3535
footer.tab.unselected.color = #161e3f
3636
# updates orange #eb7f15
3737
footer.updates.color = #fed456
3838

3939
# CONSOLE
4040
# The font is handled by preferences, so its size/etc are modifiable.
4141
console.color = #000000
42-
console.output.color = #a6b0cd
42+
console.output.color = #a3b1cb
4343
# text color for errors printed in the console
4444
console.error.color = #f73641
4545

@@ -58,15 +58,15 @@ buttons.bgcolor = #000000
5858
#divider.size.windows = 2
5959

6060
divider.height = 9
61-
divider.color = #a6b0cd
61+
divider.color = #a3b1cb
6262
divider.dot.diameter = 3
6363
divider.dot.color = #505050
6464

6565
# TOOLBAR BUTTON TEXT
6666
toolbar.rollover.font = processing.sans,plain,12
6767
toolbar.rollover.color = #ffffff
68-
toolbar.gradient.top = #2b67f6
69-
toolbar.gradient.bottom = #105ef7
68+
toolbar.gradient.top = #3369db
69+
toolbar.gradient.bottom = #1f62d3
7070

7171
# MODE SELECTOR
7272
#mode.title.font = processing.sans,bold,15
@@ -78,8 +78,8 @@ mode.title.color = #ffffff
7878
#mode.arrow.width
7979
#mode.background.color = #3D5362
8080
# stolen from gradient bottom
81-
mode.background.color = #105ef7
82-
mode.outline.color = #9aa6c0
81+
mode.background.color = #1f62d3
82+
mode.outline.color = #8497b8
8383

8484

8585
# EDITOR - DETAILS
@@ -89,16 +89,16 @@ editor.fgcolor = #000000
8989
editor.bgcolor = #ffffff
9090

9191
editor.gradient.top = #2b52f6
92-
editor.gradient.bottom = #29357c
92+
editor.gradient.bottom = #1e4492
9393

9494
# highlight for the current line
9595
#editor.linehighlight.color=#e2e2e2
96-
editor.linehighlight.color=#e6edfe
96+
editor.linehighlight.color=#dae8ff
9797
# highlight for the current line
9898
editor.linehighlight=true
9999

100100
editor.caret.color = #333300
101-
editor.selection.color = #3cd0ff
101+
editor.selection.color = #5cd8ff
102102

103103
# area that's not in use by the text (replaced with tildes)
104104
editor.invalid.style = #7e7e7e,bold
@@ -125,7 +125,7 @@ editor.gutter.text.color = #ffffff
125125
#editor.gutter.currentline.marker.color = #e27500
126126

127127
# bgcolor for the current (highlighted) line
128-
editor.gutter.linehighlight.color=#9aa6c0
128+
editor.gutter.linehighlight.color=#8497b8
129129

130130
# left- and right-hand gutter color
131131
editor.gutter.bgcolor = #2b52f6
@@ -136,7 +136,7 @@ editor.gutter.bgcolor = #2b52f6
136136
editor.gutter.padding = 3
137137

138138
# squiggly line underneath errors in the editor
139-
editor.error.underline.color = #f63943
139+
editor.error.underline.color = #ff6261
140140
# squiggly line underneath warnings
141141
editor.warning.underline.color = #fed456
142142
# lines next to the scrollbar showing where errors are located
@@ -161,7 +161,7 @@ errors.selection.warning.bgcolor = #FDF2E7
161161
errors.indicator.error.color = #9E0A0A
162162
errors.indicator.warning.color = #EF8115
163163

164-
manager.tab.selected.color = #e6edfe
164+
manager.tab.selected.color = #dae8ff
165165
manager.tab.unselected.color = #2d4251
166166
manager.tab.text.font = processing.sans,bold,14
167167
manager.tab.text.selected.color = #000000

0 commit comments

Comments
 (0)