Ignore:
Timestamp:
02/11/14 01:27:13 (10 years ago)
Author:
ngw8
Message:

Updating the design of the Exploratory Search overlays, along with a few related fixes.

Added the FontAwesome font (used for the ES Back/Forward/Home buttons). Copying and pasting the symbol characters from http://fortawesome.github.io/Font-Awesome/cheatsheet/ to an Expeditee text item with "family: fontawesome" set is the easiest way to use it.

Added image-based buttons with icons for the main Exploratory Search actions. The label part of the buttons are still Expeditee text, but I wasn't able to simply use FontAwesome text items for the icon part, as this meant hovering over a button gave two distinct clickable regions (even when the text and the icon were positioned at the same coord, unless the icon item was loaded to the frame's list of items after the label), which seemed like it might be confusing to the user. Instead the icons are just part of the bitmaps, so it's a little harder to change the icon (setting the icon as a layer mask on the base button image in GIMP or Photoshop is the best way).

Changed the JFXBrowser initialization code so that the initial URL (grabbed from the text item source) is passed through the navigate() method, so search queries or URLs without a protocol can be used as the intial value.

Modified ExploratorySearchActions so that the startBrowserSession() action can be called from items that aren't text (needed so that it could be used on the image buttons). Also changed it so that the widget itself isn't created when the action is run, just its source text item, since the widget gets created automatically when the new frame is opened (and creating it in the action causes some issues with loading the initial page).

With the updated overlays, you'll need to re-copy the resources folder across to your local .expeditee folder.
I haven't changed the positioning of the @ao and @old tags in the ES stuff, so that might need to be adjusted.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/assets/resources/framesets/overlayset/0.exp

    r617 r877  
    1 V 1
     1V 3
    22U csl14A
    33D 12Dec2013[10:13]
    4 M csl14A
    5 d 12Dec2013[10:13]
     4M Nathaniel
     5d 06Feb2014[22:28]
    66Z
    77
     
    1313o csl14A
    1414v S
     15f tr18
     16t -1.0
     17b 0.0
     18m 0.0
    1519w 886
     20h -1.0
    1621
    1722Z
     
    2126Z
    2227
    23 ActiveTime:00:00:00
     28ActiveTime:00:00:04
    2429DarkTime:00:00:00
     3028:09:461 475 186 Rd
     3128:09:485 475 186 Md
     3228:10:030 586 131 kRight
Note: See TracChangeset for help on using the changeset viewer.