My Project
D:/source/c++/Programme/sally/sally/sallyAPI/ScrollForm.h
Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 
00023 
00024 
00025 
00026 
00027 
00028 #pragma once
00029 #include "Define.h"
00030 
00031 #include "Form.h"
00032 #include "Scrollbar.h"
00033 
00034 namespace SallyAPI
00035 {
00036         namespace GUI
00037         {
00038                 class DLL_API_SALLY CScrollForm :
00039                         public SallyAPI::GUI::CForm
00040                 {
00041                 private:
00042                         SallyAPI::GUI::CScrollbar*      m_pFormScrollbarVertical;
00043                         SallyAPI::GUI::CScrollbar*      m_pFormScrollbarHorizontal;
00044                         int                                                     m_iScrollHeight;
00045                         int                                                     m_iScrollWidth;
00046 
00047                         virtual void RenderControl();
00048 
00049                         virtual bool    ProcessMouseDown(int x, int y);
00050                         virtual bool    ProcessMouseUp(int x, int y);
00051                         virtual bool    ProcessMouseDoubleClick(int x, int y);
00052                 public:
00053                         CScrollForm(SallyAPI::GUI::CGUIBaseObject* parent, int x, int y, int width, int height, int controlId = 0);
00054                         virtual ~CScrollForm();
00055 
00056                         virtual void Resize(int width, int height);
00057                         virtual void ResizeScrollArea(int width, int height);
00058                 };
00059         }
00060 }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines