Hi,
I do not use that feature often and usually only for highlighting some features
for printing or screen captures and setting arbitrary RGB values is not so
important. But maybe some users want to use their own palette with fixed RGB
values. Also the common names like "Dark Orange" were easier to remember than
Index color: 20. But probably good AutoCAD import/export overrides these minor
drawbacks.
-Jukka-
________________________________
Lähettäjä: Giuseppe Aruta <giuseppe.ar...@gmail.com>
Lähetetty: 4. joulukuuta 2016 19:58
Vastaanottaja: OpenJump develop and use
Aihe: Re: [JPP-Devel] New version of Color Chooser plugin
Yes. As index colors are a limited number of colors defined by rgb parameters,
even if the number us huge (255). If you want I can reactivate the panels.
Il 04/Dic/2016 18:19, "Rahkonen Jukka (MML)"
<jukka.rahko...@maanmittauslaitos.fi<mailto:jukka.rahko...@maanmittauslaitos.fi>>
ha scritto:
Have we now lost the "other color" option that used to open a dialog with
Swatches, HSV, HSL, RGB, and CMYG tabs?
-Jukka Rahkonen-
________________________________
Lähettäjä: Giuseppe Aruta
<giuseppe.ar...@gmail.com<mailto:giuseppe.ar...@gmail.com>>
Lähetetty: 4. joulukuuta 2016 16:52
Vastaanottaja: OpenJump develop and use
Aihe: [JPP-Devel] New version of Color Chooser plugin
Hi all
I have added an enhenced version of Color Chooser Plugin on OJ NB 5241
This new version has been rewrite in order to use Autocad index colors.
this are the new improvements:
a) Rewrite color panel to limit to 255 autocad Index colors
This panel has been redraw at Autocad Style, showing 255 indexed colors, moving
the cursor over the single box, a tooltip shown the index color number with
both hexadecimal and decimal RGB value.
[Immagine incorporata 1]
By choosing the color. Together with the "R_G_B" attribute value, also the
conresponding index color will be added to a "COLOR" field attribue at the
feature schema.
I added this opyion in order to extend OJ capability to export colors when a
layer is saved as DXF file (Michael's DXF plugin is able to export /import
correct acad indexed colors)
I limit the color set to those 255 indexed colors. OJ is still able to decode
other hexadecmal color values. I feel that those 255 is more than we can use.
b) Added Color picker tool
The third tool is single clik tool. By clicking on a feature (of a selected
vector layer), if this feature has an "R_G_B" attribute value. This value will
be recorded by the plugin
I decide to add this CAD-oriented version of Coolor chooser plugin as I worked
a lot on import/export autocad files.
I took the idea of a Jmenu color panel from this nice book: Swing, Second
Edition 2nd Edition ( https://www.grandt.com/sbe/)
All references, licences and source codes are embedded on plugin file
(colorchooser-08.jar).
There are some language codes that need to be translated in Finnic.German and
possibly in French
These are the codes:
msg1=No R_G_B attribute value found
msg2=Click on a feature to get the color
picker-color = Color Picker Tool
pick-color-tools=Color Tools
Any comment is welcome. Best regards
Peppe
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net<mailto:Jump-pilot-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel