From 9aa0015747962429c9f42bc8d75b2447116747a7 Mon Sep 17 00:00:00 2001 From: Nic Gaffney Date: Mon, 9 Sep 2024 15:20:36 -0500 Subject: Changed rlimgui to be a git submodule --- .../examples/asset_browser/item_view.h | 47 ---------------------- 1 file changed, 47 deletions(-) delete mode 100644 vendor/rlImGui-main/examples/asset_browser/item_view.h (limited to 'vendor/rlImGui-main/examples/asset_browser/item_view.h') diff --git a/vendor/rlImGui-main/examples/asset_browser/item_view.h b/vendor/rlImGui-main/examples/asset_browser/item_view.h deleted file mode 100644 index c70191b..0000000 --- a/vendor/rlImGui-main/examples/asset_browser/item_view.h +++ /dev/null @@ -1,47 +0,0 @@ -/******************************************************************************************* -* -* 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 -#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; -}; -- cgit v1.2.3