Documentation
¶
Overview ¶
a-events.go
(c) 2017 Jeroen Petrus Broks.
This Source Code Form is subject to the terms of the
Mozilla Public License, v. 2.0. If a copy of the MPL was not
distributed with this file, You can obtain one at
http://mozilla.org/MPL/2.0/.
Version: 17.12.26
a-graphics.go
(c) 2017 Jeroen Petrus Broks.
This Source Code Form is subject to the terms of the
Mozilla Public License, v. 2.0. If a copy of the MPL was not
distributed with this file, You can obtain one at
http://mozilla.org/MPL/2.0/.
Version: 17.12.25
a-window.go
(c) 2017 Jeroen Petrus Broks.
This Source Code Form is subject to the terms of the
Mozilla Public License, v. 2.0. If a copy of the MPL was not
distributed with this file, You can obtain one at
http://mozilla.org/MPL/2.0/.
Version: 17.12.24
console.go
(c) 2017 Jeroen Petrus Broks.
This Source Code Form is subject to the terms of the
Mozilla Public License, v. 2.0. If a copy of the MPL was not
distributed with this file, You can obtain one at
http://mozilla.org/MPL/2.0/.
Version: 17.12.25
crash.go
(c) 2017 Jeroen Petrus Broks.
This Source Code Form is subject to the terms of the
Mozilla Public License, v. 2.0. If a copy of the MPL was not
distributed with this file, You can obtain one at
http://mozilla.org/MPL/2.0/.
Version: 17.12.24
globals.go
(c) 2017 Jeroen Petrus Broks.
This Source Code Form is subject to the terms of the
Mozilla Public License, v. 2.0. If a copy of the MPL was not
distributed with this file, You can obtain one at
http://mozilla.org/MPL/2.0/.
Version: 17.12.26
initstuff.go
(c) 2017 Jeroen Petrus Broks.
This Source Code Form is subject to the terms of the
Mozilla Public License, v. 2.0. If a copy of the MPL was not
distributed with this file, You can obtain one at
http://mozilla.org/MPL/2.0/.
Version: 17.12.26
lua.go
(c) 2017 Jeroen Petrus Broks.
This Source Code Form is subject to the terms of the
Mozilla Public License, v. 2.0. If a copy of the MPL was not
distributed with this file, You can obtain one at
http://mozilla.org/MPL/2.0/.
Version: 17.12.24
resource_linux.go
(c) 2017 Jeroen Petrus Broks.
This Source Code Form is subject to the terms of the
Mozilla Public License, v. 2.0. If a copy of the MPL was not
distributed with this file, You can obtain one at
http://mozilla.org/MPL/2.0/.
Version: 17.12.23
Index ¶
Constants ¶
This section is empty.
Variables ¶
var EngineCopyright = "(c) Jeroen P. Broks"
var EngineName string
This must be set prior it initizing. This string will be used to check the data in the ID/Identify.gini file
Functions ¶
func BDEFER ¶
func BDEFER(f func())
Similar to Go's "defer" keyword, but it only takes functions without parameters, returning nothing and they are used whenever bubble is closed dow in the way it should.
func Col ¶
A quick routine for quickly seeing color values. Most of use for the tricon support, but why not make it "public"? :P
func Crash ¶
func Crash(ec ...int)
Executes all BDEFER registered funcions in reversed order as they were given and closes Optionally the first parameter may contain the exit code
func InitBubble ¶
func InitBubble()
Reads the ID/Identify.gini file from the JCR resource. The JCR file can basically be any file JCR6 supports (except for WAD, as it has a limitation of 8 characters per entry name) but it must be named the same as the executable file running it with it's regular extension replaced with .jcr Please note that on Mac this file must be located inside the application bundle's Resources folder (mac users expect this).
Types ¶
This section is empty.