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.
|
2017-01-13 01:51:23 +01:00
|
|
|
|
Copyright (C) 1999-2017 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/>.
|
|
|
|
|
*/
|
|
|
|
|
/*****************************************************************************/
|
|
|
|
|
/********************************* Headers ***********************************/
|
|
|
|
|
/*****************************************************************************/
|
|
|
|
|
|
|
|
|
|
/*****************************************************************************/
|
|
|
|
|
/***************************** 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,
|
|
|
|
|
TabSys = 1,
|
|
|
|
|
TabCty = 2,
|
|
|
|
|
TabIns = 3,
|
|
|
|
|
TabCtr = 4,
|
|
|
|
|
TabDeg = 5,
|
|
|
|
|
TabCrs = 6,
|
|
|
|
|
TabAss = 7,
|
2017-02-08 23:25:29 +01:00
|
|
|
|
TabFil = 8,
|
|
|
|
|
TabUsr = 9,
|
|
|
|
|
TabSoc = 10,
|
|
|
|
|
TabMsg = 11,
|
2017-04-27 13:47:57 +02: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
|
|
|
|
void Tab_DrawBreadcrumb (void);
|
|
|
|
|
|
|
|
|
|
void Tab_SetCurrentTab (void);
|
|
|
|
|
void Tab_DisableIncompatibleTabs (void);
|
|
|
|
|
|
|
|
|
|
#endif
|