toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.io.resources
/
GlobalResources
Global
Resources
open
class
GlobalResources
(
val
coroutineContext
:
CoroutineContext
,
val
root
:
VfsFile
=
resourcesVfs
)
:
Resources
Members
Constructors
Global
Resources
Link copied to clipboard
constructor
(
coroutineContext
:
CoroutineContext
,
root
:
VfsFile
=
resourcesVfs
)
Properties
coroutine
Context
Link copied to clipboard
val
coroutineContext
:
CoroutineContext
map
Link copied to clipboard
open
val
map
:
MutableMap
<
String
,
Resource
<
*
>
>
parent
Link copied to clipboard
val
parent
:
Resources
?
=
null
resources
Link copied to clipboard
open
override
val
resources
:
Resources
root
Link copied to clipboard
val
root
:
VfsFile
Functions
add
Link copied to clipboard
open
fun
add
(
resource
:
Resource
<
*
>
)
get
Link copied to clipboard
open
fun
<
T
:
Any
>
get
(
name
:
String
,
cache
:
ResourceCache
=
ResourceCache.GLOBAL
)
:
Resource
<
T
>
?
remove
Link copied to clipboard
open
fun
remove
(
name
:
String
)