jiayouxjh / grafx2

Automatically exported from code.google.com/p/grafx2
0 stars 0 forks source link

Custom brushes #345

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In skins, the preset-brushes seem to have hardcoded sizes...can this be
changed to dynamic sizes, so one is free to design whatever preset-brushes
desired?
(asked by Dawnbringer)

Original issue reported on code.google.com by yrizoud on 7 May 2010 at 9:23

GoogleCodeExporter commented 9 years ago
This is about the 3 brushes in bottom right of list : Indeed, their size is 
currently
hard-coded in the program, so even if you draw a different pattern on them in 
the
skin file, the brush still behave as 3x3, 3x3 and 7x7 respectively.

We could make these 3 brushes auto-detect the right size, but IMO it's a bad 
idea to
start customizing brushes in skin files : I think it's not the skin's job to
determine brush data. The selection of brushes in Paintbrush screen should be 
up to
user's preference, saved and restored when he exits grafx2, and not overwritten 
when
he installs a new version of Grafx2 or switches to another GUI skin.

The behavior could be like the brush container (bottom row), right-click a 
button to
replace its contents with current brush.
Or if leads to too many accidents, we could make it a right-button contextual 
menu
instead, or have a global "lock" on all buttons until the user unchecks a 
checkbox.

To select a shape that is no longer present in any paintbrush, there should be a
separate window or contextual menu list to choose (there are 12 such shapes). 
If it's
a pop-up window, a slider could be shown to set size, and preview area to see 
result.

Original comment by yrizoud on 7 May 2010 at 10:24

GoogleCodeExporter commented 9 years ago
Started...
Ex: http://i42.tinypic.com/11iha2s.jpg

Original comment by yrizoud on 16 May 2010 at 5:39

GoogleCodeExporter commented 9 years ago
Uploaded a windows build:
http://code.google.com/p/grafx2/downloads/detail?name=grafx2-2.3wip1480-win32.zi
p

I'm thinking the shortcuts for next/previous brush size should have the 
following
behavior when the current brush is a bitmap brush (from the selection): Switch 
to the
next/previous paintbrush if it's also a bitmap brush. This way, you can arrange
several custom brushes in a line, and you can quickly move from one to the next.

Original comment by yrizoud on 16 May 2010 at 11:22

GoogleCodeExporter commented 9 years ago
http://code.google.com/p/grafx2/downloads/detail?name=grafx2-2.3wip1489-win32.zi
p
Fixes bad offset of the normal brush.
Note to self: Remember to update help screens.

Original comment by yrizoud on 24 May 2010 at 10:39

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by pulkoma...@gmail.com on 22 Aug 2010 at 1:39

GoogleCodeExporter commented 9 years ago
Status update on this ? Where are we ? What's missing ?

Original comment by pulkoma...@gmail.com on 22 Aug 2010 at 7:11

GoogleCodeExporter commented 9 years ago
I should at least update help screen.
Is it a good thing to save the mono brushes in gfx2.cfg ? IMO yes.
Should we save the color brushes? Probably, but this should wait until we 
handle brushes with original palette.

Original comment by yrizoud on 22 Aug 2010 at 10:03

GoogleCodeExporter commented 9 years ago
Help is updated.

Original comment by yrizoud on 18 Jan 2011 at 7:54