summaryrefslogtreecommitdiff
path: root/redo/table.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-16 17:37:21 -0400
committerPietro Gagliardi <[email protected]>2014-08-16 17:37:21 -0400
commitd5f9c237b7e81e54e91241d49d2a8ad718bd397c (patch)
treeee7d4c75c05b1b2144f83f7f07c1e20bcea6eab3 /redo/table.go
parent5d69bc2534cd3a90a2c93c564c2fcfc5accd5fad (diff)
Added image lists to Tables and added them to the Windows backend... mostly. There are a few kinks to work out...
Diffstat (limited to 'redo/table.go')
-rw-r--r--redo/table.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/redo/table.go b/redo/table.go
index fab2eb8..314b8e7 100644
--- a/redo/table.go
+++ b/redo/table.go
@@ -27,6 +27,10 @@ type Table interface {
// The returned value will contain an object of type pointer to slice of some structure; use a type assertion to get the properly typed object out.
// Do not call this outside a Lock()..Unlock() or RLock()..RUnlock() pair.
Data() interface{}
+
+ // LoadImageList loads the given ImageList into the Table.
+ // This function copies; changes to the ImageList made later will not be reflected by the Table.
+ LoadImageList(ImageList)
}
type tablebase struct {