void InitializeScrollBars(Texture2D hBGTex, Texture2D hScrollButtonTex, Texture2D vBGTex, Texture2D vScrollButtonTex) { m_hScrollBarTileBox = new HScrollBar(new Point(m_hScrollBarTileBoxLoc.X + m_toolBarLocation.X, m_hScrollBarTileBoxLoc.Y + m_toolBarLocation.Y), m_hScrollBarTileBoxSize, 60, hBGTex, hScrollButtonTex, 0, 100, Color.Gray); m_vScrollBarTileBox = new VScrollBar(new Point(m_vScrollBarTileBoxLoc.X + m_toolBarLocation.X, m_vScrollBarTileBoxLoc.Y + m_toolBarLocation.Y), m_vScrollBarTileBoxSize, 60, vBGTex, vScrollButtonTex, 0, 100, Color.Gray); }
void InitializeScrollBar(Texture2D hScrollbgTex, Texture2D hScrollBarButtonTex) { m_fileScrollBar = new HScrollBar(new Point(m_fileScrollBarLoc.X + m_drawRectangle.X, m_fileScrollBarLoc.Y + m_drawRectangle.Y), m_fileScrollBarSize, 60, hScrollbgTex, hScrollBarButtonTex, 0, 100, Color.Gray); }