diff options
Diffstat (limited to 'c/layout.cpp')
-rw-r--r-- | c/layout.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/c/layout.cpp b/c/layout.cpp index 24ad11f..09c0958 100644 --- a/c/layout.cpp +++ b/c/layout.cpp @@ -39,7 +39,7 @@ void UpdateLayout(int w, int h) RDW_ERASE|RDW_FRAME|RDW_INVALIDATE|RDW_ALLCHILDREN); } -bool DlvDragger::InDragArea(const int x, const int y) +bool DlvDragger::InDragArea(const int x, const int y) const { RECT rrDlv; Require(GetRelativeRect(g_dlv->hWnd, &rrDlv)); @@ -51,7 +51,7 @@ bool DlvDragger::InDragArea(const int x, const int y) return true; } -void DlvDragger::Drag(const int, const int y) +void DlvDragger::Drag(const int, const int y) const { RECT rrDlv; Require(GetRelativeRect(g_dlv->hWnd, &rrDlv)); @@ -66,14 +66,14 @@ void DlvDragger::Drag(const int, const int y) RDW_ERASE|RDW_FRAME|RDW_INVALIDATE|RDW_ALLCHILDREN|RDW_UPDATENOW); } -void DlvDragger::Reset() +void DlvDragger::Reset() const { g_dlv->SetHeight(0); Pl("cfg","set_dlv_height",0); UpdateLayout(); } -void DlvDragger::Done() +void DlvDragger::Done() const { Pl("cfg","set_dlv_height",g_dlv->Height()); } |