mirror of
https://github.com/acanas/swad-core.git
synced 2024-09-24 00:01:03 +02:00
61 lines
2.4 KiB
C
61 lines
2.4 KiB
C
// swad_theme.h: themes (colour layouts)
|
|
|
|
#ifndef _SWAD_THE
|
|
#define _SWAD_THE
|
|
/*
|
|
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.
|
|
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
|
|
|
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 ******************************/
|
|
/*****************************************************************************/
|
|
|
|
#define The_NUM_THEMES 4
|
|
|
|
/*****************************************************************************/
|
|
/******************************* Public types ********************************/
|
|
/*****************************************************************************/
|
|
|
|
typedef enum
|
|
{
|
|
The_THEME_WHITE = 0,
|
|
The_THEME_GREY = 1,
|
|
The_THEME_BLUE = 2,
|
|
The_THEME_YELLOW = 3,
|
|
The_THEME_UNKNOWN = 4,
|
|
} The_Theme_t;
|
|
#define The_THEME_DEFAULT The_THEME_WHITE
|
|
|
|
/*****************************************************************************/
|
|
/***************************** Public prototypes *****************************/
|
|
/*****************************************************************************/
|
|
|
|
// void The_PutIconToChangeToNextTheme (void);
|
|
void The_PutIconsToSelectTheme (void);
|
|
void The_ChangeTheme (void);
|
|
The_Theme_t The_GetParamTheme (void);
|
|
The_Theme_t The_GetThemeFromStr (const char *Str);
|
|
|
|
#endif
|