NanoUI changes from Faerdan

Conflicts:
	code/game/dna/dna_modifier.dm
	code/game/machinery/cryo.dm
	code/modules/nano/nanomanager.dm
	code/modules/nano/nanoui.dm
	code/modules/reagents/Chemistry-Machinery.dm
This commit is contained in:
Rob Nelson
2014-01-20 02:02:31 -05:00
committed by ZomgPonies
parent d31bc9def9
commit 520a2cd401
4 changed files with 11 additions and 8 deletions
+1 -2
View File
@@ -149,10 +149,9 @@
// update the ui if it exists, returns null if no ui is passed/found
ui = nanomanager.try_update_ui(user, src, ui_key, ui, data)
if (!ui)
// the ui does not exist, so we'll create a new() one
// for a list of parameters and their descriptions see the code docs in \code\modules\nano\nanoui.dm
ui = new(user, src, ui_key, "chem_dispenser.tmpl", ui_title, 380, 650)
ui = new(user, src, ui_key, "chem_dispenser.tmpl", ui_title, 370, 605)
// when the ui is first opened this is the data it will use
ui.set_initial_data(data)
// open the new ui window