mirror of
https://github.com/sbrow/ps.git
synced 2025-12-29 18:47:38 -05:00
- close() / quit() Added functionality - setlayervisibility() Made SaveOptions into an enum for better readibility
26 lines
414 B
Go
26 lines
414 B
Go
package ps
|
|
|
|
// type layer interface {
|
|
// Name() string
|
|
// TextItem() []string
|
|
// }
|
|
|
|
type ArtLayer struct {
|
|
Name string
|
|
TextItem string
|
|
Bounds [2][2]int
|
|
LayerSet string
|
|
}
|
|
|
|
func (a *ArtLayer) SetVisible() {
|
|
DoJs("setLayerVisibility.jsx", a.LayerSet+"/"+a.Name, "true")
|
|
}
|
|
|
|
// func (a *ArtLayer) Name() string {
|
|
// return a.name
|
|
// }
|
|
|
|
// func (a *ArtLayer) TextItem() string {
|
|
// return a.textItem
|
|
// }
|