Ignore:
Timestamp:
03/15/19 16:48:00 (5 years ago)
Author:
bln4
Message:

Support for new regime in the form of new fields and conditional setting of all paths fields.

Settings are now able to generate their own representation. This allows for the user to explicitly inspect the default values.

When profiles are created, an optional parameter may now be provided. If not null, the new map parameter can contain default values for settings to apply to this profile. This allows for the creation of profiles to that have (for example), their username set to an explicit value. Multiuser mode uses this functionality for usernames and key values among other things.

Frames can now be asked were they are located on the file system. Furthermore, frame indirection is now a thing. Rather than containing data to display, an exp file can contain a line in the format of "REDIRECT:<path>" to go looking for that data. Frames are able to return both their logical (their exp file) and real (the file actually containing the data) paths.

Frames can now store data.

Further fixes to how edits from other users are loaded in.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/core/Colour.java

    r1097 r1242  
    11package org.expeditee.core;
     2
     3import org.expeditee.items.Text;
    24
    35/**
     
    911 *
    1012 */
    11 public class Colour {
     13public class Colour implements Representable {
    1214
    1315        private short r, g, b, a;
     
    280282                return new Colour(this);
    281283        }
     284
     285        @Override
     286        public Text generateRepresentation(String content, String frameset) {
     287                Text t = new Text(content);
     288                t.setColor(this);
     289                return t;
     290        }
    282291}
Note: See TracChangeset for help on using the changeset viewer.