Initial commit of Computer 3 from Paradise, along with a bunch of fixes.

This commit is contained in:
DJSnapshot
2014-06-22 02:08:42 -07:00
parent 40e4528726
commit 9de9dab362
77 changed files with 9336 additions and 0 deletions

View File

@@ -13,6 +13,7 @@
var/body_elements
var/head_content = ""
var/content = ""
var/title_buttons = ""
/datum/browser/New(nuser, nwindow_id, ntitle = 0, nwidth = 0, nheight = 0, var/atom/nref = null)
@@ -29,9 +30,15 @@
ref = nref
add_stylesheet("common", 'html/browser/common.css') // this CSS sheet is common to all UIs
/datum/browser/proc/set_title(ntitle)
title = format_text(ntitle)
/datum/browser/proc/add_head_content(nhead_content)
head_content = nhead_content
/datum/browser/proc/set_title_buttons(ntitle_buttons)
title_buttons = ntitle_buttons
/datum/browser/proc/set_window_options(nwindow_options)
window_options = nwindow_options