-
Notifications
You must be signed in to change notification settings - Fork 305
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
49 additions
and
139 deletions.
There are no files selected for viewing
6 changes: 0 additions & 6 deletions
6
...oid/src/androidTest/java/org/catrobat/paintroid/test/espresso/ToolPixelIntegrationTest.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 3 additions & 13 deletions
16
Paintroid/src/main/java/org/catrobat/paintroid/tools/options/PixelationToolOptionsView.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,14 @@ | ||
package org.catrobat.paintroid.tools.options | ||
|
||
import android.view.View | ||
|
||
interface PixelationToolOptionsView { | ||
fun invalidate () | ||
|
||
fun getTopToolOptions(): View | ||
|
||
fun getBottomToolOptions(): View | ||
|
||
fun setPixelPreviewListener(onPixelationPreviewListener: OnPixelationPreviewListener) | ||
|
||
interface OnPixelationPreviewListener{ | ||
fun setPixelWidth(widthPixels : Float) | ||
interface OnPixelationPreviewListener { | ||
fun setPixelWidth(widthPixels: Float) | ||
|
||
fun setPixelHeight(heightPixels : Float) | ||
fun setPixelHeight(heightPixels: Float) | ||
|
||
fun setNumCollor(collorNum: Float) | ||
} | ||
} | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters