BFilePanel::Show() is now virtual, so my previous change didn't work -
ImageFilePanel::Show() must be called explicetely. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15713 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -35,6 +35,8 @@
|
|||||||
|
|
||||||
#define SETTINGS_FILE "Backgrounds_settings"
|
#define SETTINGS_FILE "Backgrounds_settings"
|
||||||
|
|
||||||
|
class ImageFilePanel;
|
||||||
|
|
||||||
class BGImageMenuItem : public BMenuItem {
|
class BGImageMenuItem : public BMenuItem {
|
||||||
public:
|
public:
|
||||||
BGImageMenuItem(const char *label, int32 imageIndex, BMessage *message,
|
BGImageMenuItem(const char *label, int32 imageIndex, BMessage *message,
|
||||||
@@ -122,7 +124,7 @@ class BackgroundsView : public BBox {
|
|||||||
PreView *fPreView; // the view for previewing the result
|
PreView *fPreView; // the view for previewing the result
|
||||||
PreviewBox *fPreview; // the box which draws a computer/folder
|
PreviewBox *fPreview; // the box which draws a computer/folder
|
||||||
BFilePanel *fFolderPanel; // the file panels for folders
|
BFilePanel *fFolderPanel; // the file panels for folders
|
||||||
BFilePanel *fPanel; // the file panels for images
|
ImageFilePanel *fPanel; // the file panels for images
|
||||||
|
|
||||||
BackgroundImage *fCurrent; // the current BackgroundImage object
|
BackgroundImage *fCurrent; // the current BackgroundImage object
|
||||||
BackgroundImage::BackgroundImageInfo *fCurrentInfo;//the current BackgroundImageInfo object
|
BackgroundImage::BackgroundImageInfo *fCurrentInfo;//the current BackgroundImageInfo object
|
||||||
|
|||||||
@@ -37,7 +37,8 @@ class ImageFilePanel : public BFilePanel {
|
|||||||
bool modal = false, bool hideWhenDone = true);
|
bool modal = false, bool hideWhenDone = true);
|
||||||
|
|
||||||
virtual void SelectionChanged();
|
virtual void SelectionChanged();
|
||||||
virtual void Show();
|
|
||||||
|
void Show();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
BView* fImageView;
|
BView* fImageView;
|
||||||
|
|||||||
Reference in New Issue
Block a user