openmohaa/code/uilib/uibindlist.cpp

146 lines
2.9 KiB
C++
Raw Normal View History

2016-03-27 11:49:47 +02:00
/*
===========================================================================
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"
2023-12-27 18:54:20 +01:00
Event EV_UIFakkBindList_Filename("filename", EV_DEFAULT, "s", "filename", "Filename that holds bind definitions");
Event EV_UIFakkBindList_StopBind("stopbind", EV_DEFAULT, NULL, NULL, "stops trying to bind a key to a command");
2016-03-27 11:49:47 +02:00
2023-12-27 18:54:20 +01:00
CLASS_DECLARATION(UIWidget, UIFakkBindList, NULL) {
{&EV_UIFakkBindList_Filename, &UIFakkBindList::Filename},
{&EV_UIFakkBindList_StopBind, &UIFakkBindList::StopBind},
{NULL, NULL }
};
2016-03-27 11:49:47 +02:00
UIFakkBindList::UIFakkBindList()
{
2023-12-27 18:54:20 +01:00
// FIXME: stub
2016-03-27 11:49:47 +02:00
}
2023-12-27 18:54:20 +01:00
UIFakkBindList::~UIFakkBindList()
2016-03-27 11:49:47 +02:00
{
2023-12-27 18:54:20 +01:00
// FIXME: stub
2016-03-27 11:49:47 +02:00
}
2023-12-27 18:54:20 +01:00
void UIFakkBindList::Filename(Event *ev)
2016-03-27 11:49:47 +02:00
{
2023-12-27 18:54:20 +01:00
// FIXME: stub
2016-03-27 11:49:47 +02:00
}
2023-12-27 18:54:20 +01:00
void UIFakkBindList::StopBind(Event *ev)
2016-03-27 11:49:47 +02:00
{
2023-12-27 18:54:20 +01:00
// FIXME: stub
2016-03-27 11:49:47 +02:00
}
2023-12-27 18:54:20 +01:00
void UIFakkBindList::FrameInitialized(void)
2016-03-27 11:49:47 +02:00
{
2023-12-27 18:54:20 +01:00
// FIXME: stub
2016-03-27 11:49:47 +02:00
}
2023-12-27 18:54:20 +01:00
void UIFakkBindList::CreateBindWidgets(void)
2016-03-27 11:49:47 +02:00
{
2023-12-27 18:54:20 +01:00
// FIXME: stub
2016-03-27 11:49:47 +02:00
}
2023-12-27 18:54:20 +01:00
void UIFakkBindList::DestroyBindWidgets(void)
2016-03-27 11:49:47 +02:00
{
2023-12-27 18:54:20 +01:00
// FIXME: stub
2016-03-27 11:49:47 +02:00
}
2023-12-27 18:54:20 +01:00
void UIFakkBindList::RepositionBindWidgets(void)
2016-03-27 11:49:47 +02:00
{
2023-12-27 18:54:20 +01:00
// FIXME: stub
2016-03-27 11:49:47 +02:00
}
2023-12-27 18:54:20 +01:00
qboolean UIFakkBindList::KeyEvent(int key, unsigned int time)
2016-03-27 11:49:47 +02:00
{
2023-12-27 18:54:20 +01:00
// FIXME: stub
return qfalse;
2016-03-27 11:49:47 +02:00
}
2023-12-27 18:54:20 +01:00
void UIFakkBindList::DrawPressKey(UIRect2D frame)
2016-03-27 11:49:47 +02:00
{
2023-12-27 18:54:20 +01:00
// FIXME: stub
2016-03-27 11:49:47 +02:00
}
2023-12-27 18:54:20 +01:00
void UIFakkBindList::Highlight(UIWidget *wid)
2016-03-27 11:49:47 +02:00
{
2023-12-27 18:54:20 +01:00
// FIXME: stub
2016-03-27 11:49:47 +02:00
}
2023-12-27 18:54:20 +01:00
qboolean UIFakkBindList::SetActiveRow(UIWidget *w)
2016-03-27 11:49:47 +02:00
{
2023-12-27 18:54:20 +01:00
// FIXME: stub
return qfalse;
2016-03-27 11:49:47 +02:00
}
2023-12-27 18:54:20 +01:00
void UIFakkBindList::Draw(void)
2016-03-27 11:49:47 +02:00
{
2023-12-27 18:54:20 +01:00
// FIXME: stub
2016-03-27 11:49:47 +02:00
}
2023-12-27 18:54:20 +01:00
void UIFakkBindList::Realign(void)
2016-03-27 11:49:47 +02:00
{
2023-12-27 18:54:20 +01:00
// FIXME: stub
2016-03-27 11:49:47 +02:00
}
2023-12-27 18:54:20 +01:00
void UIFakkBindList::setBind(bind_t *b)
2016-03-27 11:49:47 +02:00
{
2023-12-27 18:54:20 +01:00
// FIXME: stub
2016-03-27 11:49:47 +02:00
}
2023-12-27 18:54:20 +01:00
bool UIFakkBindList::isDying(void)
2016-03-27 11:49:47 +02:00
{
2023-12-27 18:54:20 +01:00
// FIXME: stub
return false;
2016-03-27 11:49:47 +02:00
}
2023-12-27 18:54:20 +01:00
void UIFakkBindList::PlayEnterSound(void)
2016-03-27 11:49:47 +02:00
{
2023-12-27 18:54:20 +01:00
// FIXME: stub
}
CLASS_DECLARATION(UILabel, UIFakkBindListLabel, NULL) {
{NULL, NULL}
2016-03-27 11:49:47 +02:00
};
UIFakkBindListLabel::UIFakkBindListLabel()
{
2023-12-27 18:54:20 +01:00
// FIXME: stub
2016-03-27 11:49:47 +02:00
}
2023-12-27 18:54:20 +01:00
UIFakkBindListLabel::UIFakkBindListLabel(UIFakkBindList *list)
2016-03-27 11:49:47 +02:00
{
2023-12-27 18:54:20 +01:00
// FIXME: stub
2016-03-27 11:49:47 +02:00
}
2023-12-27 18:54:20 +01:00
void UIFakkBindListLabel::Pressed(Event *ev)
2016-03-27 11:49:47 +02:00
{
2023-12-27 18:54:20 +01:00
// FIXME: stub
2016-03-27 11:49:47 +02:00
}
2023-12-27 18:54:20 +01:00
void UIFakkBindListLabel::Draw(void)
2016-03-27 11:49:47 +02:00
{
2023-12-27 18:54:20 +01:00
// FIXME: stub
2016-03-27 11:49:47 +02:00
}