yyagl.engine.gui package

Submodules

yyagl.engine.gui.browser module

class yyagl.engine.gui.browser.Browser

Bases: object

static init_cls()
static open(url)
class yyagl.engine.gui.browser.BrowserLinux

Bases: yyagl.engine.gui.browser.Browser

static open(url)

yyagl.engine.gui.cursor module

class yyagl.engine.gui.cursor.MouseCursor(fpath, scale, hotspot)

Bases: yyagl.gameobject.GameObject

cursor_top()
hide()
hide_standard()
on_frame()
on_frame_unpausable()
show()
show_standard()

yyagl.engine.gui.gui module

class yyagl.engine.gui.gui.EngineGui(mdt)

Bases: yyagl.engine.gui.gui.EngineGuiBase

set_resolution(res, check=True, fullscreen=None)
class yyagl.engine.gui.gui.EngineGuiBase(mdt)

Bases: yyagl.gameobject.Gui

closest_res
static init_cls()
static open_browser(url)
resolution
resolutions
set_resolution_check(res)
toggle_fullscreen()

yyagl.engine.gui.imgbtn module

class yyagl.engine.gui.imgbtn.ImgBtn(*args, **kwargs)

Bases: direct.gui.DirectButton.DirectButton

disable()
enable()

yyagl.engine.gui.mainpage module

class yyagl.engine.gui.mainpage.MainPage

Bases: yyagl.engine.gui.page.Page, yyagl.engine.gui.page.PageFacade

gui_cls

alias of MainPageGui

class yyagl.engine.gui.mainpage.MainPageGui(mdt, menu_args)

Bases: yyagl.engine.gui.page.PageGui

bld_page(back_btn=True)

yyagl.engine.gui.menu module

class yyagl.engine.gui.menu.Menu(menu_args)

Bases: yyagl.gameobject.GameObject, yyagl.engine.gui.menu.MenuFacade

destroy()
gui_cls

alias of MenuGui

logic_cls

alias of MenuLogic

class yyagl.engine.gui.menu.MenuArgs(font, text_fg, text_bg, text_err, text_scale, btn_size, btn_color, background_img, rollover_sfx, click_sfx, social_imgs_dpath)

Bases: yyagl.gameobject.GameObject

btn_args
checkbtn_args
click_sfx
font
imgbtn_args
label_args
option_args
rollover_sfx
text_args
class yyagl.engine.gui.menu.MenuFacade

Bases: yyagl.facade.Facade

class yyagl.engine.gui.menu.MenuGui(mdt, menu_args)

Bases: yyagl.gameobject.Gui

destroy()
class yyagl.engine.gui.menu.MenuLogic(mdt)

Bases: yyagl.gameobject.Logic

destroy()
on_back()
on_push_page(page_code, args=[])
push_page(page)

yyagl.engine.gui.page module

class yyagl.engine.gui.page.Page(menu_args)

Bases: yyagl.gameobject.GameObject, yyagl.engine.gui.page.PageFacade

destroy()
event_cls

alias of PageEvent

gui_cls

alias of PageGui

init_lst
class yyagl.engine.gui.page.PageEvent(mdt, *args, **kwargs)

Bases: yyagl.gameobject.Event

on_back()
class yyagl.engine.gui.page.PageFacade

Bases: yyagl.facade.Facade

class yyagl.engine.gui.page.PageGui(mdt, menu_args)

Bases: yyagl.gameobject.Gui

add_widget(wdg)
bld_page(back_btn=True)
buttons
destroy()
enable()
hide()
on_arrow(direction)
on_enter()
show()
transition_enter()
transition_exit(destroy=True)
static transl_text(obj, text_src, text_transl)
update_texts()

yyagl.engine.gui.widget module

class yyagl.engine.gui.widget.Widget

Bases: object

col_offset = (0.3, 0.3, 0.3, 0)
disable()
enable()
init(wdg)
on_arrow(direction)
on_enter()
on_wdg_enter(pos=None)
on_wdg_exit(pos=None)

Module contents

Table Of Contents

Previous topic

yyagl.engine package

Next topic

yyagl.engine.network package

This Page

Please, support us!




Flattr this