mirror of
https://review.haiku-os.org/haiku
synced 2025-02-12 08:39:18 +01:00
creation (ATM BFS only) and deletion. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31237 a95241bf-73f2-0310-859d-f6bbb57e9c96
53 lines
1.1 KiB
C++
53 lines
1.1 KiB
C++
/*
|
|
* Copyright 2008 Haiku Inc. All rights reserved.
|
|
* Distributed under the terms of the MIT license.
|
|
*
|
|
* Authors:
|
|
* Stephan Aßmus <superstippi@gmx.de>
|
|
* Bryce Groff <bgroff@hawaii.edu>
|
|
*/
|
|
#ifndef CREATE_PARAMS_PANEL_H
|
|
#define CREATE_PARAMS_PANEL_H
|
|
|
|
#include "Support.h"
|
|
|
|
#include <Window.h>
|
|
#include <InterfaceKit.h>
|
|
#include <Partition.h>
|
|
|
|
class BMenuField;
|
|
class BTextControl;
|
|
class SizeSlider;
|
|
|
|
class CreateParamsPanel : public BWindow {
|
|
public:
|
|
CreateParamsPanel(BWindow* window,
|
|
off_t offset, off_t size);
|
|
virtual ~CreateParamsPanel();
|
|
|
|
virtual bool QuitRequested();
|
|
virtual void MessageReceived(BMessage* message);
|
|
|
|
int32 Go(off_t& offset, off_t& size,
|
|
BString& parameters);
|
|
void Cancel();
|
|
|
|
|
|
private:
|
|
void _CreateViewControls(off_t offset, off_t size);
|
|
|
|
class EscapeFilter;
|
|
EscapeFilter* fEscapeFilter;
|
|
sem_id fExitSemaphore;
|
|
BWindow* fWindow;
|
|
int32 fReturnValue;
|
|
|
|
BPopUpMenu* fTypePopUpMenu;
|
|
BMenuField* fTypeMenuField;
|
|
SizeSlider* fSizeSlider;
|
|
BButton* fOKButton;
|
|
BButton* fCancelButton;
|
|
};
|
|
|
|
#endif // CREATE_PARAMS_PANEL_H
|