-
Notifications
You must be signed in to change notification settings - Fork 304
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
10 changed files
with
132 additions
and
145 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
Oops, something went wrong.