mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-29 06:07:57 +03:00
232 lines
2.6 KiB
C++
232 lines
2.6 KiB
C++
/*
|
|
===========================================================================
|
|
Copyright (C) 2015 the OpenMoHAA team
|
|
|
|
This file is part of OpenMoHAA source code.
|
|
|
|
OpenMoHAA source code is free software; you can redistribute it
|
|
and/or modify it under the terms of the GNU General Public License as
|
|
published by the Free Software Foundation; either version 2 of the License,
|
|
or (at your option) any later version.
|
|
|
|
OpenMoHAA source code is distributed in the hope that it will be
|
|
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with OpenMoHAA source code; if not, write to the Free Software
|
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
===========================================================================
|
|
*/
|
|
|
|
#include "ui_local.h"
|
|
|
|
CLASS_DECLARATION( UIWidget, UIVertScroll, NULL )
|
|
{
|
|
{ NULL, NULL }
|
|
};
|
|
|
|
UIVertScroll::UIVertScroll()
|
|
{
|
|
// FIXME: stub
|
|
}
|
|
|
|
int UIVertScroll::getItemFromHeight
|
|
(
|
|
float height
|
|
)
|
|
|
|
{
|
|
// FIXME: stub
|
|
return 0;
|
|
}
|
|
|
|
bool UIVertScroll::isEnoughItems
|
|
(
|
|
void
|
|
)
|
|
|
|
{
|
|
// FIXME: stub
|
|
return false;
|
|
}
|
|
|
|
void UIVertScroll::Draw
|
|
(
|
|
void
|
|
)
|
|
|
|
{
|
|
// FIXME: stub
|
|
}
|
|
|
|
void UIVertScroll::DrawArrow
|
|
(
|
|
float top,
|
|
const char *text,
|
|
bool pressed
|
|
)
|
|
|
|
{
|
|
// FIXME: stub
|
|
}
|
|
|
|
void UIVertScroll::DrawThumb
|
|
(
|
|
void
|
|
)
|
|
|
|
{
|
|
// FIXME: stub
|
|
}
|
|
|
|
void UIVertScroll::MouseDown
|
|
(
|
|
Event *ev
|
|
)
|
|
|
|
{
|
|
// FIXME: stub
|
|
}
|
|
|
|
void UIVertScroll::MouseUp
|
|
(
|
|
Event *ev
|
|
)
|
|
|
|
{
|
|
// FIXME: stub
|
|
}
|
|
|
|
void UIVertScroll::MouseDragged
|
|
(
|
|
Event *ev
|
|
)
|
|
|
|
{
|
|
// FIXME: stub
|
|
}
|
|
|
|
void UIVertScroll::MouseEnter
|
|
(
|
|
Event *ev
|
|
)
|
|
|
|
{
|
|
// FIXME: stub
|
|
}
|
|
|
|
void UIVertScroll::MouseLeave
|
|
(
|
|
Event *ev
|
|
)
|
|
|
|
{
|
|
// FIXME: stub
|
|
}
|
|
|
|
void UIVertScroll::Scroll
|
|
(
|
|
Event *ev
|
|
)
|
|
|
|
{
|
|
// FIXME: stub
|
|
}
|
|
|
|
bool UIVertScroll::AttemptScrollTo
|
|
(
|
|
int to
|
|
)
|
|
|
|
{
|
|
// FIXME: stub
|
|
return false;
|
|
}
|
|
|
|
void UIVertScroll::setNumItems
|
|
(
|
|
int i
|
|
)
|
|
|
|
{
|
|
// FIXME: stub
|
|
}
|
|
|
|
void UIVertScroll::setPageHeight
|
|
(
|
|
int i
|
|
)
|
|
|
|
{
|
|
// FIXME: stub
|
|
}
|
|
|
|
void UIVertScroll::setTopItem
|
|
(
|
|
int i
|
|
)
|
|
|
|
{
|
|
// FIXME: stub
|
|
}
|
|
|
|
int UIVertScroll::getTopItem
|
|
(
|
|
void
|
|
)
|
|
|
|
{
|
|
// FIXME: stub
|
|
return 0;
|
|
}
|
|
|
|
int UIVertScroll::getPageHeight
|
|
(
|
|
void
|
|
)
|
|
|
|
{
|
|
// FIXME: stub
|
|
return 0;
|
|
}
|
|
|
|
int UIVertScroll::getNumItems
|
|
(
|
|
void
|
|
)
|
|
|
|
{
|
|
// FIXME: stub
|
|
return 0;
|
|
}
|
|
|
|
void UIVertScroll::setThumbColor
|
|
(
|
|
const UColor& thumb
|
|
)
|
|
|
|
{
|
|
// FIXME: stub
|
|
}
|
|
|
|
void UIVertScroll::setSolidBorderColor
|
|
(
|
|
const UColor& col
|
|
)
|
|
|
|
{
|
|
// FIXME: stub
|
|
}
|
|
|
|
void UIVertScroll::InitFrameAlignRight
|
|
(
|
|
UIWidget *parent,
|
|
float fWidthPadding,
|
|
float fHeightPadding
|
|
)
|
|
|
|
{
|
|
// FIXME: stub
|
|
}
|