Opened 12 years ago

Closed 12 years ago

#1382 closed bug (fixed)

Nested recording of BPictures does not work

Reported by: laplace Owned by: jackburton
Priority: normal Milestone: R1
Component: Kits/Interface Kit Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

The outer BView::EndPicture() returns NULL!

Sample code: BView *view = ... view->BeginPicture(new BPicture()); ...

view->BeginPicture(new BPicture()); BPicture *nestedPicture = view->EndPicture();

... BPicture *picture = view->EndPicture(); picture should be the BPicture object created at the beginning

See FlattenPictureTest application src/tests/kits/interface/flatten_picture http://svn.berlios.de/viewcvs/haiku/haiku/trunk/src/tests/kits/interface/flatten_picture/PictureTestCases.cpp?rev=21888&view=markup

Change History (3)

comment:1 by jackburton, 12 years ago

Owner: changed from axeld to jackburton

comment:2 by jackburton, 12 years ago

Status: newassigned

comment:3 by jackburton, 12 years ago

Resolution: fixed
Status: assignedclosed

Fixed in hrev21920.

Note: See TracTickets for help on using tickets.