information it needs out of the messages it gets. Now used MessageSettings::Defaults() instead of having an own implementation. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5960 a95241bf-73f2-0310-859d-f6bbb57e9c96
45 lines
991 B
C++
45 lines
991 B
C++
// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
|
|
//
|
|
// Copyright (c) 2003, OpenBeOS
|
|
//
|
|
// This software is part of the OpenBeOS distribution and is covered
|
|
// by the OpenBeOS license.
|
|
//
|
|
//
|
|
// File: MouseWindow.h
|
|
// Authors: Jérôme Duval,
|
|
// Andrew McCall ([email protected])
|
|
// Axel Dörfler ([email protected])
|
|
// Description: Mouse Preferences
|
|
// Created: December 10, 2003
|
|
//
|
|
// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
|
|
#ifndef MOUSE_WINDOW_H
|
|
#define MOUSE_WINDOW_H
|
|
|
|
|
|
#include <Window.h>
|
|
#include <Button.h>
|
|
|
|
#include "MouseSettings.h"
|
|
|
|
class SettingsView;
|
|
|
|
|
|
class MouseWindow : public BWindow {
|
|
public:
|
|
MouseWindow(BRect rect);
|
|
|
|
virtual bool QuitRequested();
|
|
virtual void MessageReceived(BMessage *message);
|
|
|
|
void SetRevertable(bool revertable);
|
|
|
|
private:
|
|
MouseSettings fSettings;
|
|
BButton *fRevertButton;
|
|
SettingsView *fSettingsView;
|
|
};
|
|
|
|
#endif /* MOUSE_WINDOW_H */
|