[Marble-bugs] [Bug 202072] New: MGI::positions() isn't const, positivePosition() reinterpretation

Torsten Rahn rahn at kde.org
Fri Jul 31 13:02:19 CEST 2009


https://bugs.kde.org/show_bug.cgi?id=202072

           Summary: MGI::positions() isn't const, positivePosition()
                    reinterpretation
           Product: marble
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: unspecified
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: marble-bugs at kde.org
        ReportedBy: rahn at kde.org


Version:            (using Devel)
Installed from:    Compiled sources

Currently the positions() method isn't a const getter. 

We might want to change this.

In related matters the ScreenGraphicsItem::positions method already
reinterpretes the negative position as a positive one (which I feel should
maybe better be done in AbstractFloatItem itself, so that it's still possible
to create ScreenGraphicsItems that are partially out of the viewport ).

Also as another suggestion by ariya we might consider using alignment
properties instead of the current implementation. However this might introduce
additional complexity, so this should be discussed.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Marble-bugs mailing list