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