1:1 MSPaint clone - not ? but !

Here you can discuss ReactOS related topics.

Moderator: Moderator Team

hefner
Posts: 240
Joined: Fri Dec 16, 2005 11:49 am

Re: 1:1 MSPaint clone - not ? but !

Post by hefner »

hey :D cool , great idea

one sugesstion:
i tested your tool with wine/linux and saw the buttons are radio buttons with overlaying icons ... probably there are real buttons better (to use with wine ;) )
[ external image ]
Ged
Developer
Posts: 925
Joined: Thu Sep 29, 2005 3:00 pm
Location: UK

Re: 1:1 MSPaint clone - not ? but !

Post by Ged »

gyROS wrote: The reason, for which I want to use IPicture in the future actually is not to work around bugs, but to greatly ease the implementation of the open/save functions. As I already mentioned it already serves a save to stream function which outputs the data the way it is stored in a file.
Opening and saving bitmaps with the win32 api is very easy if you've used DIBs (which I hope is the case)
GoBusto
Posts: 579
Joined: Fri Jan 25, 2008 11:13 am
Location: UK
Contact:

Bugzilla Style

Post by GoBusto »

Summary: Bug in pen tool code.
Bug#: -1
Product: Paint Clone
Component: Win32
Status: UNCONFIRMED

Description:

The pen tool behaves oddly when the user clicks and drags from the menu bar onto the canvas area.

Steps to reproduce:

+ Open Projekt1.exe
+ Click and drag the mouse from the grey area on the right of the colour bar at the top to somewhere on the canvas.
+ A line will be drawn from the top left of the canvas to wherever you released the left mouse button.

It seems that doing this when the pen tool has already been used normally has the line originate from wherever the last pen-line ended.

Tested using bootcd-WindowsServer2008SP1-rel.iso
forart
Posts: 1050
Joined: Mon Nov 29, 2004 1:36 pm
Location: Italy
Contact:

Re: 1:1 MSPaint clone - not ? but !

Post by forart »

»Forward Agency NPO
In progress we (always) trust.
vicmarcal
Test Team
Posts: 2733
Joined: Mon Jul 07, 2008 12:35 pm

Re: 1:1 MSPaint clone - not ? but !

Post by vicmarcal »

forart: It is a javascript app ;)...
gyROS
Posts: 199
Joined: Sun Nov 09, 2008 8:10 pm
Location: Deutschland

Re: 1:1 MSPaint clone - not ? but !

Post by gyROS »

@hefner:

I've no idea why the program behaves that way in your wine. In mi installation (openSUSE 11.0, no idea which wine version) it looks exactly the way it looks in windows.
I use a group of buttons styled with BS_AUTORADIOBUTTON and BS_PUSHLIKE, to make it a radio group looking like a group of pushbuttons.
It appears to me (although I did not see any code), that msPaint does it the same way and that it's impossible to do it with normal pushbuttons (it wouldn't look like msPaint anymore)
gyROS
Posts: 199
Joined: Sun Nov 09, 2008 8:10 pm
Location: Deutschland

Re: 1:1 MSPaint clone - not ? but !

Post by gyROS »

@GoBusto

I fixed it. I'll also update the uploaded exe.
be59
Posts: 143
Joined: Sun Dec 09, 2007 9:05 pm
Location: Braunschweig / Brunswiek

Re: 1:1 MSPaint clone - not ? but !

Post by be59 »

I know, i addle the adour about the paint clon, but the new paint(under Windows 7) use Ribbon.
It is not a long time to support Ribbons.
Ged
Developer
Posts: 925
Joined: Thu Sep 29, 2005 3:00 pm
Location: UK

Re: 1:1 MSPaint clone - not ? but !

Post by Ged »

gyROS wrote: I use a group of buttons styled with BS_AUTORADIOBUTTON and BS_PUSHLIKE, to make it a radio group looking like a group of pushbuttons.
It appears to me (although I did not see any code), that msPaint does it the same way and that it's impossible to do it with normal pushbuttons (it wouldn't look like msPaint anymore)
It definitelyl doesn't, it uses normal push buttons.
It sounds to me like you're using radiobuttons and painting over them. Not exactly good practice.
If you come to IRC, we can guide you on how to do things correctly.
gyROS
Posts: 199
Joined: Sun Nov 09, 2008 8:10 pm
Location: Deutschland

Re: 1:1 MSPaint clone - not ? but !

Post by gyROS »

painting over them?! definetly not!

I create a valid instance of the "BUTTON" class using CreateWindowEx and only tell windows through the parameters to create buttons that act like radio buttons but look like push buttons.
I do not do any ugly painting so far.
vicmarcal
Test Team
Posts: 2733
Joined: Mon Jul 07, 2008 12:35 pm

Re: 1:1 MSPaint clone - not ? but !

Post by vicmarcal »

Maybe Wine code is translating in a wrong way the act as radiobuttons,and that´s why Wine is drawing them as radiobuttons.
Maybe also is Wine hack code ;)...
hefner
Posts: 240
Joined: Fri Dec 16, 2005 11:49 am

Re: 1:1 MSPaint clone - not ? but !

Post by hefner »

i tested paint again on an other pc, with the same linux-distro and the same wine (1.0.13) and there the buttons are ok ...

hmm ... i dont know why ....
roytam1
Posts: 44
Joined: Thu Oct 06, 2005 11:14 am

Re: 1:1 MSPaint clone - not ? but !

Post by roytam1 »

be59 wrote:I know, i addle the adour about the paint clon, but the new paint(under Windows 7) use Ribbon.
It is not a long time to support Ribbons.
No Ribbon UI please.
if you ask why, please look this:
http://www.blog.cadnauseam.com/2008/06/ ... he-ribbon/
be59
Posts: 143
Joined: Sun Dec 09, 2007 9:05 pm
Location: Braunschweig / Brunswiek

Re: 1:1 MSPaint clone - not ? but !

Post by be59 »

But the question, do ROS want to be full compabality without exception or this compability has exceptions.
gyROS
Posts: 199
Joined: Sun Nov 09, 2008 8:10 pm
Location: Deutschland

Re: 1:1 MSPaint clone - not ? but !

Post by gyROS »

I think what you mean is not a question of compatiblity, but a question of presenting a user interface people are familar with. By rebuilding things that nobody knows or even nobody wants, we make the whole thing useless.

However I've now (re-)implemented the undo / redo functions, so that they are working perfectly now.
One more time the link to the exe:
http://www.freenet-homepage.de/meinstuss/Projekt1.exe
Post Reply

Who is online

Users browsing this forum: No registered users and 33 guests