I'm currently reworking a previous job i've done by adding a Zoom feature to Desktop (in Desktop environment not mobile one).
Currently I was doing by duplicating in my own project : - qx.ui.window.Desktop - qx.ui.window.Window - qx.ui.core.Widget - qx.ui.core.MMovable - qx.ui.core.MResizable - qx.ui.core.LayoutItem As i know this way i don't have any bug from it, Qooxdoo dislike the fact that my Window version does not comes from qx.ui.window.Window but that's all... The system is compatible IE6+, FF3.6+, Chrome 3+ (not tested in opera) It was extremely ulgy way of doing it, but it was working. Now I want to do that by patching core directly, instead of using thoose duplicate items. I already do know exactly what i've to change and where to make it working. But I face a problem, this time I want qooxdoo debugger to never output any warning or error (I do say it is working fine even so, it's most of time typecast problem without bug). For now I'm facing 2 problems (maybe more later but I can't go further) I have no idea how to solve : - When applying the zoom to system, it is of course changing the width/height of the element I want to zoom in/out (basically the Desktop). This makes the height and width to not be "Integer" compliant but rather float compliant. Which makes the debugger unhappy. To solve this, I try to patch min/normal/max properties of width & height, by changing check (setting a check : "Number" instead of current "Integer"), or better, setting a transform to apply a Math.round or parseInt on incoming value, but, both of them are refused : "Class qx.ui.window.Desktop could not refine property: minWidth! Key: check could not be refined!" "Class qx.ui.window.Desktop could not refine property: minWidth! Key: transform could not be refined!" => both time the same error, and no idea how to solve this one/go threw. - All the private function (for example "__computeMoveCoordinates" from MResizable) are failing "Overwriting private member "__computeMoveCoordinates" of Class "qx.ui.window.Window" is not allowed! " If you have any tips... PS : should I, after, submit full patch to Qooxdoo team, do they care to implements such feature ? PS 2 : you can find full patch to apply there (see the description tag to know which item should be patched) : http://www47.zippyshare.com/v/27177277/file.html => basically just search "getZoom" or "setZoom", usually only one or two lines in full function is patched... -- View this message in context: http://qooxdoo.678.n2.nabble.com/Qooxdoo-patch-properties-tp7583176.html Sent from the qooxdoo mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
