Files
haiku-beta6/src/preferences/notifications/DisplayView.h
T
Stephan Aßmus de9dcd41f8 Patch by plfiorini: Integration of InfoPopper as a system service. See ticket
#1245. There are some TODOs outlined in the ticket, but they will be much
easier to review as individual patches against trunk, versus as a new version
of the huge patch.

I've messed a lot with src/servers/notification/NotificationsView.cpp in order
to resolve a crash I was getting when testing this thing (rewrote line
wrapping). I've also replaced the icons with the one that zuMi did long ago.

Thanks, plfiorini, for working on this code as much as you did!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36949 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-27 14:48:27 +00:00

37 lines
735 B
C++

/*
* Copyright 2010, Haiku, Inc. All Rights Reserved.
* Copyright 2009, Pier Luigi Fiorini.
* Distributed under the terms of the MIT License.
*/
#ifndef _DISPLAY_VIEW_H
#define _DISPLAY_VIEW_H
#include "SettingsPane.h"
class BTextControl;
class BMenu;
class BMenuField;
class DisplayView : public SettingsPane {
public:
DisplayView(SettingsHost* host);
virtual void AttachedToWindow();
virtual void MessageReceived(BMessage* msg);
// SettingsPane hooks
status_t Load();
status_t Save();
status_t Revert();
private:
BTextControl* fWindowWidth;
BMenu* fIconSize;
BMenuField* fIconSizeField;
BMenu* fTitlePosition;
BMenuField* fTitlePositionField;
};
#endif // _DISPLAY_VIEW_H