Sketcher: Constraint_Parallel, new icon, with the parallel lines of different lenghts, so that the constraint isn't mistaken for the equal lengths constraint.
This commit is contained in:
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 20 KiB |
@@ -1,44 +1,27 @@
|
||||
/* XPM */
|
||||
static char * Constraint_Parallel_sm_xpm[] = {
|
||||
"16 16 25 1",
|
||||
" c None",
|
||||
". c #760A0A",
|
||||
"+ c #C01717",
|
||||
"@ c #790A0A",
|
||||
"# c #D81515",
|
||||
"$ c #D60C0C",
|
||||
"% c #A01212",
|
||||
"& c #D91515",
|
||||
"* c #D20606",
|
||||
"= c #C61818",
|
||||
"- c #C81818",
|
||||
"; c #9E1111",
|
||||
"> c #C31717",
|
||||
", c #D70D0D",
|
||||
"' c #C41717",
|
||||
") c #D10707",
|
||||
"! c #D71313",
|
||||
"~ c #7B0B0B",
|
||||
"{ c #D71414",
|
||||
"] c #C71818",
|
||||
"^ c #C51717",
|
||||
"/ c #9F1212",
|
||||
"( c #9F1111",
|
||||
"_ c #D81414",
|
||||
": c #7A0A0A",
|
||||
" ",
|
||||
" .+ ",
|
||||
" @#$% ",
|
||||
" .&*= ",
|
||||
" .&*- ; ",
|
||||
" .&*= >,+ ",
|
||||
" .&*= ')!~ ",
|
||||
" .&*= ')!~ ",
|
||||
" .{*] ')!~ ",
|
||||
" .{*] ^)!~ ",
|
||||
" +,' ^)!~ ",
|
||||
" / ^)!~ ",
|
||||
" ^)&~ ",
|
||||
" (,_: ",
|
||||
" +@ ",
|
||||
" "};
|
||||
static char *Constraint_Parallel_sm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"16 16 5 1 ",
|
||||
" c None",
|
||||
". c #932F2F",
|
||||
"+ c #AB2121",
|
||||
"# c #CF0C0C",
|
||||
"@ c #790A0A",
|
||||
/* pixels */
|
||||
" . ",
|
||||
" @## ",
|
||||
" @##+ ",
|
||||
" @##+ ",
|
||||
" @##+ ",
|
||||
" @##+ ",
|
||||
" @##+ ++ ",
|
||||
" @##+ +##@ ",
|
||||
" @##+ +##@ ",
|
||||
" @##+ +##@ ",
|
||||
"@##+ +##@ ",
|
||||
"@#+ +##@ ",
|
||||
" . +##@ ",
|
||||
" +#@ ",
|
||||
" . ",
|
||||
" "
|
||||
};
|
||||
|
||||
24
src/Mod/Sketcher/Gui/Resources/icons/small/README.md
Normal file
24
src/Mod/Sketcher/Gui/Resources/icons/small/README.md
Normal file
@@ -0,0 +1,24 @@
|
||||
To create an XPM file from an SVG file, you need the ImageMagick libraries.
|
||||
Then run
|
||||
```
|
||||
convert file.svg -geometry 16x16 -colors 16 file_sm.xpm
|
||||
```
|
||||
|
||||
The XPM icon is very small, 16x16 px in size, and you usually don't need
|
||||
more than 16 colors.
|
||||
|
||||
Edit the xpm file manually to do small retouches, for example, setting up
|
||||
the transparency and reducing the number of colors exactly to the desired ones.
|
||||
|
||||
The space character (empty) can be set to the color `None`,
|
||||
to indicate transparency.
|
||||
|
||||
```
|
||||
/* XPM */
|
||||
static char * file_sm_xpm[] = {
|
||||
"16 16 7 1",
|
||||
" c None",
|
||||
". c #BB1616",
|
||||
"+ c #DE1515",
|
||||
"@ c #BE1616",
|
||||
```
|
||||
Reference in New Issue
Block a user