mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-05 08:10:40 -07:00
Initial commit for GitHub migration based on spice2x-25-03-03
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
#include <optional>
|
||||
#include "overlay/window.h"
|
||||
|
||||
namespace overlay::windows {
|
||||
|
||||
extern uint32_t IIDX_SEGMENT_FONT_SIZE;
|
||||
extern std::optional<uint32_t> IIDX_SEGMENT_FONT_COLOR;
|
||||
extern std::string IIDX_SEGMENT_LOCATION;
|
||||
|
||||
class IIDXSegmentDisplay : public Window {
|
||||
public:
|
||||
IIDXSegmentDisplay(SpiceOverlay *overlay);
|
||||
void calculate_initial_window() override;
|
||||
void build_content() override;
|
||||
private:
|
||||
ImVec4 color;
|
||||
void draw_ticker(char *ticker_string);
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user