/// /// LDP_CustomStyle.kt /// This file was generated by nitrogen. DO NOT MODIFY THIS FILE. /// https://github.com/mrousavy/nitro /// Copyright © Marc Rousavy @ Margelo /// package com.margelo.nitro.lunardatepicker import androidx.annotation.Keep import com.facebook.proguard.annotations.DoNotStrip /** * Represents the JavaScript object/struct "LDP_CustomStyle". */ @DoNotStrip @Keep data class LDP_CustomStyle( @DoNotStrip @Keep val titleColor: String, @DoNotStrip @Keep val cancelColor: String, @DoNotStrip @Keep val dateLabelColor: String, @DoNotStrip @Keep val todayLabelColor: String, @DoNotStrip @Keep val lunarDateLabelColor: String, @DoNotStrip @Keep val selectedTextColor: String, @DoNotStrip @Keep val weekendLabelColor: String, @DoNotStrip @Keep val specialDayLabelColor: String, @DoNotStrip @Keep val monthLabelColor: String, @DoNotStrip @Keep val secondColor: String, @DoNotStrip @Keep val backgroundColor: String, @DoNotStrip @Keep val weekViewBackgroundColor: String, @DoNotStrip @Keep val selectedBackgroundColor: String, @DoNotStrip @Keep val rangeBackgroundColor: String, @DoNotStrip @Keep val gradientColors: Array, @DoNotStrip @Keep val borderColor: String ) { /* primary constructor */ companion object { /** * Constructor called from C++ */ @DoNotStrip @Keep @Suppress("unused") @JvmStatic private fun fromCpp(titleColor: String, cancelColor: String, dateLabelColor: String, todayLabelColor: String, lunarDateLabelColor: String, selectedTextColor: String, weekendLabelColor: String, specialDayLabelColor: String, monthLabelColor: String, secondColor: String, backgroundColor: String, weekViewBackgroundColor: String, selectedBackgroundColor: String, rangeBackgroundColor: String, gradientColors: Array, borderColor: String): LDP_CustomStyle { return LDP_CustomStyle(titleColor, cancelColor, dateLabelColor, todayLabelColor, lunarDateLabelColor, selectedTextColor, weekendLabelColor, specialDayLabelColor, monthLabelColor, secondColor, backgroundColor, weekViewBackgroundColor, selectedBackgroundColor, rangeBackgroundColor, gradientColors, borderColor) } } }