Documentation for the new UI features?

sgreig
10 Dec 2012, 09:03
Is there any documentation around that details the new UI customisation options in Quest? I'm interested in potentially using some of them.

Alex
10 Dec 2012, 10:16
There's not much documentation for 5.3 yet - that's one of my tasks over the next month or so before I release the final version (and there's a bit of catching up to do for documentation from 5.2 as well).

That said, there's not really very much to document properly for UI customisation in 5.3 - as there's no official functionality yet. What you can do at the moment is hack around with the HTML and JS, using the HTML Developer Tools, but the default UI may change in a future release anyway so I wouldn't rely too much on the specific implementation at the moment.

sgreig
10 Dec 2012, 12:40
Well really my specific desire would be to have the input bar removed completely, as the game I'm working on just uses links, much like the gamebook mode.

Thierry
10 Dec 2012, 15:11
Luckily, I asked this question yesterday and jaynabonne gave me the perfect answer :wink:

viewtopic.php?f=10&t=3343&start=30#p22055

sgreig
11 Dec 2012, 01:00
Thanks for that! Now is there any way to disable specific panes without just disabling them all? For one game, I'd like to disable all but the status attributes pane, and for another, I'd just like to disable the compass and places & objects panes.

Alex
11 Dec 2012, 12:09
You can use Javascript to hide individual panes. Technically it's a bit of a hack so no guarantees it will continue to work forever, but if you want to hide the inventory for example you can put the following in a .js file:


$(function() {
var $inventoryLabel = $("#inventoryLabel");
var $inventory = $inventoryLabel.next();
$inventoryLabel.hide();
$inventory.hide();
});


That uses jQuery to hide the inventoryLabel and the element following it. You can find out the label names using the HTML Developer Tools in v5.3.

sgreig
11 Dec 2012, 16:58
Awesome, thanks Alex! :D

sgreig
12 Dec 2012, 19:27
Quick follow up question... is it possible to change the order of the panes at all? I'd like the status pane to display at the top, and the inventory underneath it.

The Pixie
12 Dec 2012, 19:33
sgreig wrote:Quick follow up question... is it possible to change the order of the panes at all? I'd like the status pane to display at the top, and the inventory underneath it.

Actually that is a good idea. If the compass is moved too so the item panes are at the bottom, then the status and compass will not move around as items and associated buttons come and go.

Pertex
12 Dec 2012, 20:53
So you see, Alex, customizing panes is mostly recommended, so this would be a fine feature for the near future . :lol: And don't forget the possibility to create user defined panes! :D