google-code-export / haxegui

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

Some Unexpected Thing #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
the cursor isn't following the mouse, because in CursorManager
public inline function inject(e:MouseEvent) {

        Mouse.hide();
        _mc.visible = false;

        _mc.x = e.stageX;
...
should be
public inline function inject(e:MouseEvent) {

        Mouse.hide();
        _mc.visible = true;

        _mc.x = e.stageX;
...

And i think it'll be nice if the 'real' mouse cursor is hidden when
MouseMove events.

-------

The ScrollBar's Handler can be out of bounds if we scroll it with mouse's
wheel.

-------

The Window can be inverted, if we drag a side to the another side.

-------

The Window's Title can be out of bounds if the Window has the smaller size.

Original issue reported on code.google.com by alijayameilio on 1 Aug 2009 at 9:50

GoogleCodeExporter commented 9 years ago
the CursorManager has been mostly disabled until it behaves :)
still on occasion, certain mouse events (probably those locking the cursor) 
cause it
show...

ScrollBar has been partially fixed, it still needs to implement an interface and
undergo some changes...

Window and other components too, can be resized to negative (inverted) sizes, 
i've
got a class for that now, but will take some time until it reaches all widgets.

The title on a TitleBar misbehaves too, its better now but still buggy...

Original comment by gershon%...@gtempaccount.com on 2 Aug 2009 at 11:59

GoogleCodeExporter commented 9 years ago
hello again... :D
hmmm... i don't know how to contact you.
so i will comment in this issue.
i hope you don't mind about it :p.

ok... i have made some color utility class (if you haven't made it, it can help 
you a
little :D), it can change rgb2hsl, hsl2rgb, rgb2hsv, hsv2rgb, hsl2hsv, hsv2hsl, 
and
the algorithm is based on wikipedia "http://en.wikipedia.org/wiki/HSL_and_HSV" 
and of
course you can modify and correct the algorithm :D

ok the file is attached :D.

Original comment by alijayameilio on 7 Aug 2009 at 8:03

Attachments:

GoogleCodeExporter commented 9 years ago
thank you, will be merged, also nice to see it in http://haxe.org/doc/snip too.

i'm usually around on irc at #haxe, and follow scrollbacks if not :)

most issues in the first post have been fixed, issue closed.

Original comment by gershon%...@gtempaccount.com on 21 Aug 2009 at 1:39