コード例 #1
0
 protected function OverrideColors()
 {
     if (!is_null($this->m_CustomLightColor)) {
         $this->BackColor = LBD_Color::Randomized($this->m_CustomLightColor, 50)->Frozen;
         $this->TextColor = $this->BackColor;
     }
     if (!is_null($this->m_CustomDarkColor)) {
         $this->OutlineColor = LBD_Color::Randomized($this->m_CustomDarkColor, 100);
     }
 }