Nodeeditor Colors

Next
 From:  bemfarmer
8342.1 
Nodeeditor Colors

The colors used in Max's Nodeeditor program, (v.93), were investigated using Microsoft Visual Studio 2015, free community edition.
In Visual Studio, line numbers were turned on under Tools/ Options/ Text Editor/ All Languages.

The file editor.js uses two colors.
Line 27 has bgvctx.fillStyle, rgb(62,62,62), which in combination with other color setting(s) located elsewere, is dark. [name: background v context?].
I have preferred rgb(250,250,250), at least for an ititial test of lighter colors.
This may change depending upon other color selections(?)

Line 31 has bgvtx.strokeStyle, rgb(50,50,50), which are the many gridlines.
(I have tested with rgb(200,200,200).

The file editor.css uses about 30 color settings.
-----------------------------------------------------

The file style.css uses about 31 color settings.
--------------------------------------------------------

The file editor-hd.css uses about 36 color settings.
------------------------------------------------------------

My test colors were so garish, I will not post them. Many color changes seemed to have no visual effect.
Some colors seem add or subtract?
Mouse Hover has different colors.

- Brian

What would be a good program to edit the colors, such as GUI?
Right now I change a color, reload MoI, and select NodeEditMod icon, to see if a color changed.

EDITED: 12 Mar 2017 by BEMFARMER

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
8342.2 In reply to 8342.1 
Hi Brian,

> What would be a good program to edit the colors, such as GUI?
> Right now I change a color, reload MoI, and select NodeEditMod icon, to see if a color changed.

If you have DisableFileCaching=y set in moi.ini (which you probably do from all your previous script editing) , I would think you shouldn't have to reload MoI between each tweak, just close and reopen the node editor while leaving MoI open.

Another thing you might try if you're having difficulty figuring out what CSS controls a particular element is to try loading the node editor in a regular web browser and use the browser's developer tools to look over the structure of things. For example in Firefox you can push F12 to pull up developer tools.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  bemfarmer
8342.3 In reply to 8342.2 
Thank you Michael !
- B
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All