Skip to content

Commit 4599b1f

Browse files
committed
Code cleanup
1 parent a6c78e0 commit 4599b1f

19 files changed

+636
-996
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,21 @@
11
# WurmPaint
2+
3+
## Changelog
4+
5+
### 1.03 (2017-12-16)
6+
- Increased image retrieval size
7+
8+
### 1.02 (2017-12-08)
9+
- Added Firebase Crashlytics and Performance Monitoring
10+
- Added feedback and rate app dialog
11+
- Removed brush color functionality
12+
- Images expanded to fill the screen
13+
- User restricted to drawing single strokes
14+
- User can mark images as bad and provide a reason
15+
- Optimized for tablet displays
16+
17+
### 1.01 (2017-12-01)
18+
- Lowered app requirements to be able to install on older Android devices (up to Lollipop)
19+
20+
### 1.0 (2017-11-19)
21+
- Initial Release

app/.idea/libraries/com_github_QuadFlask_colorpicker_0_0_13.xml

Lines changed: 0 additions & 10 deletions
This file was deleted.

app/.idea/workspace.xml

Lines changed: 556 additions & 97 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ android {
1010
minSdkVersion 21
1111
targetSdkVersion 26
1212
versionCode 1
13-
versionName "1.02"
13+
versionName "1.03"
1414
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
1515
}
1616
buildTypes {
@@ -42,7 +42,6 @@ dependencies {
4242
compile 'com.google.firebase:firebase-perf:11.6.2'
4343
compile 'com.android.support:appcompat-v7:26.1.0'
4444
compile 'com.android.support.constraint:constraint-layout:1.0.2'
45-
compile 'com.github.QuadFlask:colorpicker:0.0.13'
4645
compile 'com.android.support:cardview-v7:26.1.0'
4746
compile('com.crashlytics.sdk.android:crashlytics:2.7.1@aar') {
4847
transitive = true

app/src/main/AndroidManifest.xml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,6 @@
3535
android:screenOrientation="portrait"
3636
android:theme="@style/AppTheme.NoActionBar" />
3737

38-
<activity
39-
android:name=".MainActivity"
40-
android:screenOrientation="portrait"
41-
android:theme="@style/AppTheme"/>
42-
43-
<activity
44-
android:name=".DrawActivity"
45-
android:screenOrientation="portrait"
46-
android:theme="@style/AppTheme"/>
47-
4838
</application>
4939

5040
</manifest>

app/src/main/java/com/example/caden/drawingtest/DrawActivity.java

Lines changed: 0 additions & 208 deletions
This file was deleted.

app/src/main/java/com/example/caden/drawingtest/DrawModel.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
import java.util.ArrayList;
44
import java.util.List;
55

6-
/**
7-
* Created by caden on 10/31/17.
8-
*/
9-
106
//a collection of getter and set functions
117
//to draw a character model
128
public class DrawModel {
@@ -48,7 +44,7 @@ public LineElem getElem(int index) {
4844
private int mWidth; // pixel width = 28
4945
private int mHeight; // pixel height = 28
5046

51-
//so a model consits of lines which consists of elements
47+
//so a model consists of lines which consists of elements
5248
//a line begins when a user starts drawing and ends when
5349
//they lift their finger up
5450
private List<Line> mLines = new ArrayList<>();

app/src/main/java/com/example/caden/drawingtest/DrawRenderer.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
import android.graphics.Color;
55
import android.graphics.Paint;
66

7-
/**
8-
* Created by caden on 10/31/17.
9-
*/
10-
117
public class DrawRenderer {
128

139
/**
@@ -28,7 +24,7 @@ public static void renderModel(Canvas canvas, DrawModel model, Paint paint, int
2824
//get the whole line from the model object
2925
DrawModel.Line line = model.getLine(i);
3026
//set its color
31-
paint.setColor(ImageManager.brushColor);
27+
paint.setColor(Color.parseColor("#FF2646"));
3228
//get the first of many lines that make up the overall line
3329
int elemSize = line.getElemSize();
3430
//if its empty, skip

0 commit comments

Comments
 (0)