protected function OverrideColors() { if (!is_null($this->m_CustomLightColor)) { $this->BackColor = $this->m_CustomLightColor; } if (!is_null($this->m_CustomDarkColor)) { $this->TextColor = $this->m_CustomDarkColor; } $this->TrademarkColor = LBD_Color::Median($this->BackColor, $this->TextColor); }
protected function OverrideColors() { if (!is_null($this->m_CustomLightColor)) { $this->TextColor = $this->m_CustomLightColor; } if (!is_null($this->m_CustomDarkColor)) { $this->BackColor = $this->m_CustomDarkColor; } $this->OutlineColor = LBD_Color::Lightened(LBD_Color::Median($this->TextColor, $this->BackColor), 150); }