2015-01-17 20:07:13 +01:00
|
|
|
|
// swad_tab.h: tabs drawing
|
|
|
|
|
|
|
|
|
|
#ifndef _SWAD_TAB
|
|
|
|
|
#define _SWAD_TAB
|
|
|
|
|
/*
|
|
|
|
|
SWAD (Shared Workspace At a Distance in Spanish),
|
|
|
|
|
is a web platform developed at the University of Granada (Spain),
|
|
|
|
|
and used to support university teaching.
|
|
|
|
|
|
|
|
|
|
This file is part of SWAD core.
|
2024-02-07 00:40:28 +01:00
|
|
|
|
Copyright (C) 1999-2024 Antonio Ca<EFBFBD>as Vargas
|
2015-01-17 20:07:13 +01:00
|
|
|
|
|
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
|
|
|
it under the terms of the GNU Affero General Public License as
|
|
|
|
|
published by the Free Software Foundation, either version 3 of the
|
|
|
|
|
License, or (at your option) any later version.
|
|
|
|
|
|
|
|
|
|
This program 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 Affero General Public License for more details.
|
|
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Affero General Public License
|
|
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
*/
|
|
|
|
|
/*****************************************************************************/
|
|
|
|
|
/***************************** Public constants ******************************/
|
|
|
|
|
/*****************************************************************************/
|
|
|
|
|
|
2017-02-08 23:25:29 +01:00
|
|
|
|
#define Tab_NUM_TABS (1 + 13)
|
2015-01-17 20:07:13 +01:00
|
|
|
|
|
|
|
|
|
/*****************************************************************************/
|
|
|
|
|
/******************************* Public types ********************************/
|
|
|
|
|
/*****************************************************************************/
|
|
|
|
|
|
2016-10-12 14:02:56 +02:00
|
|
|
|
typedef enum
|
|
|
|
|
{
|
|
|
|
|
TabUnk = 0,
|
2019-04-01 11:15:38 +02:00
|
|
|
|
TabStr = 1,
|
2019-02-14 19:22:38 +01:00
|
|
|
|
TabSys = 2,
|
|
|
|
|
TabCty = 3,
|
|
|
|
|
TabIns = 4,
|
|
|
|
|
TabCtr = 5,
|
|
|
|
|
TabDeg = 6,
|
|
|
|
|
TabCrs = 7,
|
|
|
|
|
TabAss = 8,
|
|
|
|
|
TabFil = 9,
|
|
|
|
|
TabUsr = 10,
|
2017-02-08 23:25:29 +01:00
|
|
|
|
TabMsg = 11,
|
2017-12-19 18:41:19 +01:00
|
|
|
|
TabAna = 12,
|
2017-02-08 23:25:29 +01:00
|
|
|
|
TabPrf = 13,
|
2016-10-12 14:02:56 +02:00
|
|
|
|
} Tab_Tab_t;
|
|
|
|
|
|
2015-01-17 20:07:13 +01:00
|
|
|
|
/*****************************************************************************/
|
|
|
|
|
/***************************** Public prototypes *****************************/
|
|
|
|
|
/*****************************************************************************/
|
|
|
|
|
|
2015-11-27 13:45:39 +01:00
|
|
|
|
void Tab_DrawTabs (void);
|
2015-01-17 20:07:13 +01:00
|
|
|
|
|
2024-03-09 21:56:57 +01:00
|
|
|
|
const char *Tab_GetTxt (Tab_Tab_t NumTab);
|
|
|
|
|
|
2015-01-17 20:07:13 +01:00
|
|
|
|
void Tab_SetCurrentTab (void);
|
|
|
|
|
void Tab_DisableIncompatibleTabs (void);
|
|
|
|
|
|
|
|
|
|
#endif
|