Lot of bugfix and enhancement

Discussion regarding the development of CEGUI itself - as opposed to questions about CEGUI usage that should be in the help forums.

Moderators: CEGUI MVP, CEGUI Team

User avatar
Genva
Just popping in
Just popping in
Posts: 4
Joined: Sat Feb 05, 2005 05:40

Lot of bugfix and enhancement

Postby Genva » Sat Feb 05, 2005 05:48

I submitted a patch to SF here, please give it a try.
The patch do:
1. Support 8 direction image render, (This feature
support in OpenGL and Irrlicht renderer is out-of-date.
Hit: support in OpenGL is easy, support in Irrlicht is
a little hard)
2. Better negative image offset support in frame window
3. Removed unnecessary destructor for simple class
(ColourRect, Rect, colour, Vector2, Vector3, etc)
4. Added/Moved some useful function of 'System' for
working with other application seamless.
5. System::getTargetWindow: Doesn't pass the mouse
message to child when exist a capture window
(Otherwise, if drag mouse fast when resizing/moving the
window, the mouse message will dispatch to another
window, this behavior isn't what we need).
6. Optimize overall colour rect fill, compute
sub-rectangle only if need.

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: Lot of bugfix and enhancement

Postby CrazyEddie » Sat Feb 05, 2005 08:59

Thanks for the patch.

I have very briefly looked over the modifications, and in general everything looks reasonable, though will obviously require more testing due to the number and range of the changes; I'll try to get this sorted out next week.

The ability to specify the orientation of images is a very nice addition :)

Where new parameters have been inserted mid-signature, it's likely that I'll move these to the end of the list and default them; I won't make such a breaking change without a very good reason (which generally means either a major bug fix or a "CrazyEddie executive decision" ;) )

Could you elaborate a little on the expected use of the System::injectMouseLeaves method?

Thanks again,

CE.

User avatar
Genva
Just popping in
Just popping in
Posts: 4
Joined: Sat Feb 05, 2005 05:40

Re: Lot of bugfix and enhancement

Postby Genva » Mon Feb 07, 2005 02:08

Could you elaborate a little on the expected use of the System::injectMouseLeaves method?

I write an in-game editor using the OGRE/CEGUI, and I want it can work with other Windows application. I setup mouse tracking use TrackMouseEvent() and respond WM_MOUSELEAVE message, When I receive the WM_MOUSELEAVE message, call to System::injectMouseLeaves() make sure hovering window (a button for examples) known they should be change to normal state (This is require when hover text colour difference with normal text colour, or other appearance that based on hover/normal state).

[edit]The orientation of image support I write about two month ago, but I submit the patch the day before yesterday, so the 'orientation' parameter is place before the 'quad_split_mode' :? [/edit]

User avatar
Genva
Just popping in
Just popping in
Posts: 4
Joined: Sat Feb 05, 2005 05:40

Re: Lot of bugfix and enhancement

Postby Genva » Mon Feb 07, 2005 02:44

Another Bugfix for Window::moveToBack posted to SF, fixed the bug in Window::moveToBack cause the window insert itself as its' children.

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: Lot of bugfix and enhancement

Postby CrazyEddie » Mon Feb 07, 2005 09:25

Genva wrote:
Another Bugfix for Window::moveToBack posted to SF, fixed the bug in Window::moveToBack cause the window insert itself as its' children.

Thanks for this one :) This fix will be in CVS later today. How this has gone undetected for almost 12 months I'll never know :roll:


Return to “CEGUI Library Development Discussion”

Who is online

Users browsing this forum: No registered users and 2 guests