Igor Demin
4 years ago
committed by
GitHub
8 changed files with 47 additions and 42 deletions
@ -1,38 +1,38 @@ |
|||||||
package example.imageviewer.style |
package example.imageviewer.style |
||||||
|
|
||||||
import androidx.compose.runtime.Composable |
import androidx.compose.runtime.Composable |
||||||
import androidx.compose.ui.res.imageResource |
import androidx.compose.ui.res.painterResource |
||||||
import example.imageviewer.common.R |
import example.imageviewer.common.R |
||||||
|
|
||||||
@Composable |
@Composable |
||||||
fun icEmpty() = imageResource(R.raw.empty) |
fun icEmpty() = painterResource(R.raw.empty) |
||||||
|
|
||||||
@Composable |
@Composable |
||||||
fun icBack() = imageResource(R.raw.back) |
fun icBack() = painterResource(R.raw.back) |
||||||
|
|
||||||
@Composable |
@Composable |
||||||
fun icRefresh() = imageResource(R.raw.refresh) |
fun icRefresh() = painterResource(R.raw.refresh) |
||||||
|
|
||||||
@Composable |
@Composable |
||||||
fun icDots() = imageResource(R.raw.dots) |
fun icDots() = painterResource(R.raw.dots) |
||||||
|
|
||||||
@Composable |
@Composable |
||||||
fun icFilterGrayscaleOn() = imageResource(R.raw.grayscale_on) |
fun icFilterGrayscaleOn() = painterResource(R.raw.grayscale_on) |
||||||
|
|
||||||
@Composable |
@Composable |
||||||
fun icFilterGrayscaleOff() = imageResource(R.raw.grayscale_off) |
fun icFilterGrayscaleOff() = painterResource(R.raw.grayscale_off) |
||||||
|
|
||||||
@Composable |
@Composable |
||||||
fun icFilterPixelOn() = imageResource(R.raw.pixel_on) |
fun icFilterPixelOn() = painterResource(R.raw.pixel_on) |
||||||
|
|
||||||
@Composable |
@Composable |
||||||
fun icFilterPixelOff() = imageResource(R.raw.pixel_off) |
fun icFilterPixelOff() = painterResource(R.raw.pixel_off) |
||||||
|
|
||||||
@Composable |
@Composable |
||||||
fun icFilterBlurOn() = imageResource(R.raw.blur_on) |
fun icFilterBlurOn() = painterResource(R.raw.blur_on) |
||||||
|
|
||||||
@Composable |
@Composable |
||||||
fun icFilterBlurOff() = imageResource(R.raw.blur_off) |
fun icFilterBlurOff() = painterResource(R.raw.blur_off) |
||||||
|
|
||||||
@Composable |
@Composable |
||||||
fun icFilterUnknown() = imageResource(R.raw.filter_unknown) |
fun icFilterUnknown() = painterResource(R.raw.filter_unknown) |
||||||
|
Loading…
Reference in new issue