Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Locked Changing the Signal Mast icons
I am using Layout Editor and I now have a fully operational panel thanks to the help and support I have received on here and from others.? Thank you all.
I am not very happy with the BR2003 signal icons - the "Aspects" icons are a bit insipid (I'd like a heavier outline in black and a bit larger) and the "Large" ones are so huge as to be as big as the height of my panel. I have changed sensor icons by manipulating the USS gifs into various sizes - indeed I bulk edited some of my changes direct into the xml file.? I would like to just chop off the bottom of the "Large" signals (maybe re-scale too?) and use just the heads of the relevant ones instead. I am used to using the "Edit Sensor Icon" approach on Layout Editor, which works simply.? There does not seem to be something similar for Signal Mast Icons.? I have looked through the xml file but there does not seem to be an address string for the icon anywhere (like there is with Sensors).? I am loathe to try altering the JMRI definition files in the program resources directory. Is there another way? |
Iain,
toggle quoted message
Show quoted text
The signal mast icon locations are specified in the appearance xml file for each signal mast type. The appearance xml files are located at "program:xml/signals/<signal system>/" where ¡°program:" is a keyword for the JMRI install location. For example, BR-2003/appearance-2-h-d-sema.xml is the appearance file for "Semephore Home + Distant Signal¡±. A typical appearance entry: ? ? <appearance> ? ? ? <aspectname>Proceed</aspectname> ? ? ? <show>green</show> ? ? ? <show>green</show> ? ? ? <delay>1500</delay> ? ? ? <imagelink type="large">../../../resources/icons/BritishRailSignals/Large/semaHomeDistantClear.gif</imagelink> ? ? ? <imagelink type="aspects">../../../resources/icons/BritishRailSignals/Aspects/Proceed-sema-h-d.gif</imagelink> ? ? </appearance> The image links are relative with the triple ../ moving up the directory tree. ?The icons are in the resources directory tree. To use custom icons, copy the appearance xml file to "preference:resources/signals/<signal system>/¡°. ?The "preference:" keyword refers to the user files location as shown in Help >> Locations... Create your custom icons at the exact same path and name within the user files location: ?preference:resources/icons/BritishRailSignals... When JMRI starts, the signal system data is loaded. ?If the uses files location contains alternate appearance files, those are loaded instead of the standard ones. Dave Sand On Dec 10, 2018, at 9:35 AM, Iain <iain@...> wrote: |
Iain,
toggle quoted message
Show quoted text
Thanks for the confirmation of the process. Dave Sand On Dec 10, 2018, at 1:06 PM, Iain <iain@...> wrote: |
to navigate to use esc to dismiss