1
0
mirror of https://github.com/Halofreak1990/XFXFramework synced 2024-12-26 13:49:34 +01:00
Tom Lint 52ef14a94b Transition from SVN to Git
Added implicit conversion to base types to all primary types (UInt32 et
al)
Added implicit conversion from System::String to const char*
2013-05-05 18:18:41 +02:00

44 lines
1007 B
C++

#pragma once
#include <System/Windows/Controls/Control.h>
#include <System/Windows/Controls/Enums.h>
#include <System/Windows/Controls/Primitives/DragCompletedEventArgs.h>
#include <System/Windows/Controls/Primitives/DragDeltaEventArgs.h>
#include <System/Windows/Controls/Primitives/DragStartedEventArgs.h>
namespace System
{
namespace Windows
{
namespace Controls
{
namespace Primitives
{
// Represents a control that can be dragged by the user.
class Thumb : public Control
{
protected:
void OnGotFocus(RoutedEventArgs* e);
void OnLostFocus(RoutedEventArgs* e);
void OnMouseEnter(MouseEventArgs* e);
void OnMouseLeave(MouseEventArgs* e);
void OnMouseMove(MouseEventArgs* e);
public:
ClickMode_t ClickMode;
Thumb();
void CancelDrag();
int GetType() const;
bool operator ==(const Thumb& right) const;
bool operator !=(const Thumb& right) const;
DragCompletedEventHandler DragCompleted;
};
}
}
}
}