Updated directory structure.
This commit is contained in:
19
src/client/views/loot/downloads.nim
Normal file
19
src/client/views/loot/downloads.nim
Normal 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")
|
||||
19
src/client/views/loot/screenshots.nim
Normal file
19
src/client/views/loot/screenshots.nim
Normal 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")
|
||||
Reference in New Issue
Block a user