Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Done prettifying for now
  • Loading branch information
rwb11001 committed Nov 27, 2015
1 parent da94046 commit 6ac006c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 6 deletions.
15 changes: 11 additions & 4 deletions kdtest/Mode.pde
Expand Up @@ -9,9 +9,11 @@ class Mode {

void draw() {
pushStyle();
fill(c);
rect(0,height,_w,height-_h);
fill(0);
fill(c_statusBackground);
rect(0, height - 35, width, 35);
fill(c_statusMode);
rect(-10,height -35, 140, 35, 10);
fill(c_statusBackground);
textSize(30);
String s = new String();
switch(G_mode) {
Expand All @@ -27,8 +29,13 @@ class Mode {
case 4:
s = "PLACE";
break;
case 5:
s = "SELECT";
break;
}
text(s,10, height-_h);
text(s, 5, height - 5);
fill(c_statusText);
text("Point Count: " + pointList.size(), 150, height - 5);
popStyle();
}
}
11 changes: 9 additions & 2 deletions kdtest/Properties.pde
Expand Up @@ -3,6 +3,8 @@
// Pallete
color c_WHITE = color (255, 255, 255);
color c_BLACK = color (0, 0, 0);
color c_PROCBLUE = color (5,13,22);
color c_YELLOW = color (215, 255, 0);

// Screen Color
color c_background = color (50, 50, 50);
Expand All @@ -13,11 +15,16 @@ color c_modeText = c_BLACK;
color c_modeBackground = color (200,200,200,200);

// Help Colors
color c_helpBackground = color (5,13,22);
color c_helpBackground = c_PROCBLUE;
color c_helpStroke = c_BLACK;
color c_helpText = c_WHITE;
int i_helpStrokeWidth = 2;

// Status Colors
color c_statusMode = c_YELLOW;
color c_statusBackground = c_PROCBLUE;
color c_statusText = c_WHITE;

// Point
color c_pointStroke = c_BLACK;
color c_pointDefault = c_WHITE;
Expand All @@ -31,7 +38,7 @@ String[] s_helpStrings = {
"f: Scale",
"d: Pan",
"s: Rotate",
"a: Place Points",
"a: Place Point",
"g: Select Point",
"c: Clear Points"
};

0 comments on commit 6ac006c

Please sign in to comment.