Background.h
Background.h
CPP1/* Copyright Statement:2 *3 * (C) 2021-2024 Cubios Inc. All rights reserved.4 */56#pragma once7#include "SceneObject.h"8#include <string>910namespace Cubios11{12namespace Gfx13{14class Background: public Cubios::SceneObject15{16 public:1718 Background(uint32_t color);19 Background(uint8_t R, uint8_t G, uint8_t B);20 Background(uint8_t R, uint8_t G, uint8_t B, uint8_t A);2122 virtual ~Background();23 void Render() override;2425 //Inplace setters26 Cubios::SceneObject* SetColor(uint32_t color);27 Cubios::SceneObject* SetColor(uint8_t R, uint8_t G, uint8_t B);28 Cubios::SceneObject* SetColor(uint8_t R, uint8_t G, uint8_t B, uint8_t A);29};30}31}32
Wrapped for easier reading. Turn wrap off to inspect exact line lengths.