1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/mirrors-Fyne

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
settings.go 1 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
Jonathan Hall Отправлено 09.09.2024 22:41 00390a8
package fyne
// BuildType defines different modes that an application can be built using.
type BuildType int
const (
// BuildStandard is the normal build mode - it is not debug, test or release mode.
BuildStandard BuildType = iota
// BuildDebug is used when a developer would like more information and visual output for app debugging.
BuildDebug
// BuildRelease is a final production build, it is like [BuildStandard] but will use distribution certificates.
// A release build is typically going to connect to live services and is not usually used during development.
BuildRelease
)
// Settings describes the application configuration available.
type Settings interface {
Theme() Theme
SetTheme(Theme)
// ThemeVariant defines which preferred version of a theme should be used (i.e. light or dark)
//
// Since: 2.0
ThemeVariant() ThemeVariant
Scale() float32
// PrimaryColor indicates a user preference for a named primary color
//
// Since: 1.4
PrimaryColor() string
AddChangeListener(chan Settings)
BuildType() BuildType
ShowAnimations() bool
}

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/mirrors-Fyne.git
git@api.gitlife.ru:oschina-mirror/mirrors-Fyne.git
oschina-mirror
mirrors-Fyne
mirrors-Fyne
master