53f75ce5d6
...and rename fBitmap to fOffscreenBitmap to make it more clear what it is. We don't need to save a pointer to both the offscreen bitmap and the offscreen view, just the bitmap. We can access the view by calling fOffscreenBitmap->ChildAt((int32)0). This gives us back a _reserved private variable slot. In the (unlikely) case that _InitData() is called with offscreen = false but the fOffscreenBitmap is not NULL, delete fOffscreenBitmap before setting it to NULL so that memory is not leaked. |
||
---|---|---|
.. | ||
AbstractLayout.h | ||
AbstractLayoutItem.h | ||
AffineTransform.h | ||
Alert.h | ||
Alignment.h | ||
Bitmap.h | ||
Box.h | ||
Button.h | ||
CardLayout.h | ||
CardView.h | ||
ChannelControl.h | ||
ChannelSlider.h | ||
CheckBox.h | ||
ColorControl.h | ||
Control.h | ||
ControlLook.h | ||
Deskbar.h | ||
Dragger.h | ||
Font.h | ||
Gradient.h | ||
GradientConic.h | ||
GradientDiamond.h | ||
GradientLinear.h | ||
GradientRadial.h | ||
GradientRadialFocus.h | ||
GraphicsDefs.h | ||
GridLayout.h | ||
GridLayoutBuilder.h | ||
GridView.h | ||
GroupLayout.h | ||
GroupLayoutBuilder.h | ||
GroupView.h | ||
IconUtils.h | ||
Input.h | ||
InterfaceDefs.h | ||
Layout.h | ||
LayoutBuilder.h | ||
LayoutContext.h | ||
LayoutItem.h | ||
LayoutUtils.h | ||
ListItem.h | ||
ListView.h | ||
Menu.h | ||
MenuBar.h | ||
MenuField.h | ||
MenuItem.h | ||
MultiChannelControl.h | ||
OptionControl.h | ||
OptionPopUp.h | ||
OutlineListView.h | ||
Picture.h | ||
PictureButton.h | ||
Point.h | ||
Polygon.h | ||
PopUpMenu.h | ||
PrintJob.h | ||
RadioButton.h | ||
Rect.h | ||
Region.h | ||
Screen.h | ||
ScrollBar.h | ||
ScrollView.h | ||
SeparatorItem.h | ||
SeparatorView.h | ||
Shape.h | ||
Shelf.h | ||
Size.h | ||
Slider.h | ||
SpaceLayoutItem.h | ||
SplitLayoutBuilder.h | ||
SplitView.h | ||
StatusBar.h | ||
StringItem.h | ||
StringView.h | ||
TabView.h | ||
TextControl.h | ||
TextView.h | ||
TwoDimensionalLayout.h | ||
UnicodeBlockObjects.h | ||
View.h | ||
Window.h |