package com.remax.visualnovel.extension

import android.view.ViewGroup
import androidx.annotation.ColorRes
import androidx.core.content.ContextCompat
import eightbitlab.com.blurview.BlurView

/**
 * Created by HJW on 2025/8/8
 */
fun BlurView.setup(root: ViewGroup, @ColorRes overlayColorRes: Int) {
    setupWith(root)
    setOverlayColor(ContextCompat.getColor(context, overlayColorRes))
}