Rebuild trinity visualizer from bare SDL and OpenGL to using Raylib. Added Code for serial parsing on linux. Current functionality reads incoming quaternion packet data coming in over serial and displays the values and also visualizes with a cube, connect and disconnect is implemented. Essentially rebuild the functionality of the old version with added linux support.

This commit is contained in:
2026-09-13 19:44:26 +02:00
commit 62abf4d5d6
821 changed files with 239694 additions and 0 deletions
@@ -0,0 +1,47 @@
/*******************************************************************************************
*
* raylib-extras [ImGui] example - asset browser
*
* This is a more complex ImGui Integration
* It shows how to build windows on top of 2d and 3d views using a render texture
*
* Copyright (c) 2024 Jeffery Myers
*
********************************************************************************************/
#pragma once
#include <string>
#include "raylib.h"
class ViewableItem
{
public:
virtual ~ViewableItem() = default;
std::string Name;
std::string Icon;
Color Tint = BLANK;
};
class ViewableItemContainer
{
public:
virtual ~ViewableItemContainer() = default;
virtual ViewableItem* Reset() = 0;
virtual size_t Count() = 0;
virtual ViewableItem* Next() = 0;
};
class ItemView
{
public:
virtual ~ItemView() = default;
virtual ViewableItem* Show(ViewableItemContainer& container) = 0;
};
class ListItemView : public ItemView
{
public:
ViewableItem* Show(ViewableItemContainer& container) override;
};