Skip to content
Jonas Minnberg edited this page Nov 20, 2015 · 1 revision

UI is currently simple. For things like creating/editing playlists and logging in to playlist server, some more functionality is needed.

UI System - Has renderlist. Peeks at input and grabs appropriate stuff.

Dialog

Box. Normally centered on screen.

makeDialog(text, editBox, button0, button1, flags);

if(rename) d = makeDialog("Name:", currentName, "OK", 0).onOk([=playList](string newName) { playList.setName(newName); }); }

UISystem.update() UISystem.render()

UISystem.isModal()

Clone this wiki locally