Updated directory structure.

This commit is contained in:
Jakob Friedl
2025-10-03 12:44:28 +02:00
parent ae09e4e7e3
commit b39a0e70e2
18 changed files with 79 additions and 26 deletions

View File

@@ -0,0 +1,19 @@
import strformat, strutils, times
import imguin/[cimgui, glfw_opengl, simple]
import ../../utils/[appImGui, colors]
import ../../../common/types
type
LootDownloadsComponent* = ref object of RootObj
title: string
proc LootDownloads*(title: string): LootDownloadsComponent =
result = new LootDownloadsComponent
result.title = title
proc draw*(component: LootDownloadsComponent, showComponent: ptr bool) =
igBegin(component.title, showComponent, 0)
defer: igEnd()
igText("asd")

View File

@@ -0,0 +1,19 @@
import strformat, strutils, times
import imguin/[cimgui, glfw_opengl, simple]
import ../../utils/[appImGui, colors]
import ../../../common/types
type
LootScreenshotsComponent* = ref object of RootObj
title: string
proc LootScreenshots*(title: string): LootScreenshotsComponent =
result = new LootScreenshotsComponent
result.title = title
proc draw*(component: LootScreenshotsComponent, showComponent: ptr bool) =
igBegin(component.title, showComponent, 0)
defer: igEnd()
igText("asd")