diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 18:07:22 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 18:07:22 +0000 |
commit | c04dcc2e7d834218ef2d4194331e383402495ae1 (patch) | |
tree | 7333e38d10d75386e60f336b80c2443c1166031d /xbmc/guilib/WindowIDs.h | |
parent | Initial commit. (diff) | |
download | kodi-c04dcc2e7d834218ef2d4194331e383402495ae1.tar.xz kodi-c04dcc2e7d834218ef2d4194331e383402495ae1.zip |
Adding upstream version 2:20.4+dfsg.upstream/2%20.4+dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'xbmc/guilib/WindowIDs.h')
-rw-r--r-- | xbmc/guilib/WindowIDs.h | 193 |
1 files changed, 193 insertions, 0 deletions
diff --git a/xbmc/guilib/WindowIDs.h b/xbmc/guilib/WindowIDs.h new file mode 100644 index 0000000..02ff8eb --- /dev/null +++ b/xbmc/guilib/WindowIDs.h @@ -0,0 +1,193 @@ +/* + * Copyright (C) 2005-2018 Team Kodi + * This file is part of Kodi - https://kodi.tv + * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSES/README.md for more information. + */ + +#pragma once + +// Window ID defines to make the code a bit more readable +#define WINDOW_INVALID 9999 // do not change. value is used to avoid include in headers. +#define WINDOW_HOME 10000 +#define WINDOW_PROGRAMS 10001 +#define WINDOW_PICTURES 10002 +#define WINDOW_FILES 10003 +#define WINDOW_SETTINGS_MENU 10004 +#define WINDOW_SYSTEM_INFORMATION 10007 +#define WINDOW_SCREEN_CALIBRATION 10011 + +#define WINDOW_SETTINGS_START 10016 +#define WINDOW_SETTINGS_SYSTEM 10016 +#define WINDOW_SETTINGS_SERVICE 10018 + +#define WINDOW_SETTINGS_MYPVR 10021 +#define WINDOW_SETTINGS_MYGAMES 10022 + +#define WINDOW_VIDEO_NAV 10025 +#define WINDOW_VIDEO_PLAYLIST 10028 + +#define WINDOW_LOGIN_SCREEN 10029 + +#define WINDOW_SETTINGS_PLAYER 10030 +#define WINDOW_SETTINGS_MEDIA 10031 +#define WINDOW_SETTINGS_INTERFACE 10032 + +#define WINDOW_SETTINGS_PROFILES 10034 +#define WINDOW_SKIN_SETTINGS 10035 + +#define WINDOW_ADDON_BROWSER 10040 + +#define WINDOW_EVENT_LOG 10050 + +#define WINDOW_FAVOURITES 10060 + +#define WINDOW_SCREENSAVER_DIM 97 +#define WINDOW_DEBUG_INFO 98 +#define WINDOW_DIALOG_POINTER 10099 +#define WINDOW_DIALOG_YES_NO 10100 +#define WINDOW_DIALOG_PROGRESS 10101 +#define WINDOW_DIALOG_KEYBOARD 10103 +#define WINDOW_DIALOG_VOLUME_BAR 10104 +#define WINDOW_DIALOG_SUB_MENU 10105 +#define WINDOW_DIALOG_CONTEXT_MENU 10106 +#define WINDOW_DIALOG_KAI_TOAST 10107 +#define WINDOW_DIALOG_NUMERIC 10109 +#define WINDOW_DIALOG_GAMEPAD 10110 +#define WINDOW_DIALOG_BUTTON_MENU 10111 +#define WINDOW_DIALOG_PLAYER_CONTROLS 10114 +#define WINDOW_DIALOG_SEEK_BAR 10115 +#define WINDOW_DIALOG_PLAYER_PROCESS_INFO 10116 +#define WINDOW_DIALOG_MUSIC_OSD 10120 +#define WINDOW_DIALOG_VIS_SETTINGS 10121 +#define WINDOW_DIALOG_VIS_PRESET_LIST 10122 +#define WINDOW_DIALOG_VIDEO_OSD_SETTINGS 10123 +#define WINDOW_DIALOG_AUDIO_OSD_SETTINGS 10124 +#define WINDOW_DIALOG_VIDEO_BOOKMARKS 10125 +#define WINDOW_DIALOG_FILE_BROWSER 10126 +#define WINDOW_DIALOG_NETWORK_SETUP 10128 +#define WINDOW_DIALOG_MEDIA_SOURCE 10129 +#define WINDOW_DIALOG_PROFILE_SETTINGS 10130 +#define WINDOW_DIALOG_LOCK_SETTINGS 10131 +#define WINDOW_DIALOG_CONTENT_SETTINGS 10132 +#define WINDOW_DIALOG_LIBEXPORT_SETTINGS 10133 +#define WINDOW_DIALOG_FAVOURITES 10134 +#define WINDOW_DIALOG_SONG_INFO 10135 +#define WINDOW_DIALOG_SMART_PLAYLIST_EDITOR 10136 +#define WINDOW_DIALOG_SMART_PLAYLIST_RULE 10137 +#define WINDOW_DIALOG_BUSY 10138 +#define WINDOW_DIALOG_PICTURE_INFO 10139 +#define WINDOW_DIALOG_ADDON_SETTINGS 10140 +#define WINDOW_DIALOG_FULLSCREEN_INFO 10142 +#define WINDOW_DIALOG_SLIDER 10145 +#define WINDOW_DIALOG_ADDON_INFO 10146 +#define WINDOW_DIALOG_TEXT_VIEWER 10147 +#ifdef HAS_DVD_DRIVE +#define WINDOW_DIALOG_PLAY_EJECT 10148 +#endif +#define WINDOW_DIALOG_PERIPHERALS 10149 +#define WINDOW_DIALOG_PERIPHERAL_SETTINGS 10150 +#define WINDOW_DIALOG_EXT_PROGRESS 10151 +#define WINDOW_DIALOG_MEDIA_FILTER 10152 +#define WINDOW_DIALOG_SUBTITLES 10153 +#define WINDOW_DIALOG_KEYBOARD_TOUCH 10156 +#define WINDOW_DIALOG_CMS_OSD_SETTINGS 10157 +#define WINDOW_DIALOG_INFOPROVIDER_SETTINGS 10158 +#define WINDOW_DIALOG_SUBTITLE_OSD_SETTINGS 10159 +#define WINDOW_DIALOG_BUSY_NOCANCEL 10160 + +#define WINDOW_MUSIC_PLAYLIST 10500 +#define WINDOW_MUSIC_NAV 10502 +#define WINDOW_MUSIC_PLAYLIST_EDITOR 10503 + +#define WINDOW_DIALOG_OSD_TELETEXT 10550 + +// PVR related Window and Dialog ID's + +#define WINDOW_DIALOG_PVR_ID_START 10600 +#define WINDOW_DIALOG_PVR_GUIDE_INFO (WINDOW_DIALOG_PVR_ID_START) +#define WINDOW_DIALOG_PVR_RECORDING_INFO (WINDOW_DIALOG_PVR_ID_START+1) +#define WINDOW_DIALOG_PVR_TIMER_SETTING (WINDOW_DIALOG_PVR_ID_START+2) +#define WINDOW_DIALOG_PVR_GROUP_MANAGER (WINDOW_DIALOG_PVR_ID_START+3) +#define WINDOW_DIALOG_PVR_CHANNEL_MANAGER (WINDOW_DIALOG_PVR_ID_START+4) +#define WINDOW_DIALOG_PVR_GUIDE_SEARCH (WINDOW_DIALOG_PVR_ID_START+5) +#define WINDOW_DIALOG_PVR_CHANNEL_SCAN (WINDOW_DIALOG_PVR_ID_START+6) +#define WINDOW_DIALOG_PVR_UPDATE_PROGRESS (WINDOW_DIALOG_PVR_ID_START+7) +#define WINDOW_DIALOG_PVR_OSD_CHANNELS (WINDOW_DIALOG_PVR_ID_START+8) +#define WINDOW_DIALOG_PVR_CHANNEL_GUIDE (WINDOW_DIALOG_PVR_ID_START+9) +#define WINDOW_DIALOG_PVR_RADIO_RDS_INFO (WINDOW_DIALOG_PVR_ID_START+10) +#define WINDOW_DIALOG_PVR_RECORDING_SETTING (WINDOW_DIALOG_PVR_ID_START+11) +#define WINDOW_DIALOG_PVR_CLIENT_PRIORITIES (WINDOW_DIALOG_PVR_ID_START+12) +#define WINDOW_DIALOG_PVR_GUIDE_CONTROLS (WINDOW_DIALOG_PVR_ID_START+13) +#define WINDOW_DIALOG_PVR_ID_END WINDOW_DIALOG_PVR_GUIDE_CONTROLS + +#define WINDOW_PVR_ID_START 10700 +#define WINDOW_TV_CHANNELS (WINDOW_PVR_ID_START) +#define WINDOW_TV_RECORDINGS (WINDOW_PVR_ID_START+1) +#define WINDOW_TV_GUIDE (WINDOW_PVR_ID_START+2) +#define WINDOW_TV_TIMERS (WINDOW_PVR_ID_START+3) +#define WINDOW_TV_SEARCH (WINDOW_PVR_ID_START+4) +#define WINDOW_RADIO_CHANNELS (WINDOW_PVR_ID_START+5) +#define WINDOW_RADIO_RECORDINGS (WINDOW_PVR_ID_START+6) +#define WINDOW_RADIO_GUIDE (WINDOW_PVR_ID_START+7) +#define WINDOW_RADIO_TIMERS (WINDOW_PVR_ID_START+8) +#define WINDOW_RADIO_SEARCH (WINDOW_PVR_ID_START+9) +#define WINDOW_TV_TIMER_RULES (WINDOW_PVR_ID_START+10) +#define WINDOW_RADIO_TIMER_RULES (WINDOW_PVR_ID_START+11) +#define WINDOW_PVR_ID_END WINDOW_RADIO_TIMER_RULES + +// virtual windows for PVR specific keymap bindings in fullscreen playback +#define WINDOW_FULLSCREEN_LIVETV 10800 +#define WINDOW_FULLSCREEN_RADIO 10801 +#define WINDOW_FULLSCREEN_LIVETV_PREVIEW 10802 +#define WINDOW_FULLSCREEN_RADIO_PREVIEW 10803 +#define WINDOW_FULLSCREEN_LIVETV_INPUT 10804 +#define WINDOW_FULLSCREEN_RADIO_INPUT 10805 + +#define WINDOW_DIALOG_GAME_CONTROLLERS 10820 +#define WINDOW_GAMES 10821 +#define WINDOW_DIALOG_GAME_OSD 10822 +#define WINDOW_DIALOG_GAME_VIDEO_FILTER 10823 +#define WINDOW_DIALOG_GAME_STRETCH_MODE 10824 +#define WINDOW_DIALOG_GAME_VOLUME 10825 +#define WINDOW_DIALOG_GAME_ADVANCED_SETTINGS 10826 +#define WINDOW_DIALOG_GAME_VIDEO_ROTATION 10827 +#define WINDOW_DIALOG_GAME_PORTS 10828 +#define WINDOW_DIALOG_IN_GAME_SAVES 10829 +#define WINDOW_DIALOG_GAME_SAVES 10830 + +//#define WINDOW_VIRTUAL_KEYBOARD 11000 +// WINDOW_ID's from 11100 to 11199 reserved for Skins + +#define WINDOW_DIALOG_SELECT 12000 +#define WINDOW_DIALOG_MUSIC_INFO 12001 +#define WINDOW_DIALOG_OK 12002 +#define WINDOW_DIALOG_VIDEO_INFO 12003 +#define WINDOW_FULLSCREEN_VIDEO 12005 +#define WINDOW_VISUALISATION 12006 +#define WINDOW_SLIDESHOW 12007 +#define WINDOW_DIALOG_COLOR_PICKER 12008 +#define WINDOW_WEATHER 12600 +#define WINDOW_SCREENSAVER 12900 +#define WINDOW_DIALOG_VIDEO_OSD 12901 + +#define WINDOW_VIDEO_MENU 12902 +#define WINDOW_VIDEO_TIME_SEEK 12905 // virtual window for time seeking during fullscreen video + +#define WINDOW_FULLSCREEN_GAME 12906 + +#define WINDOW_SPLASH 12997 // splash window +#define WINDOW_START 12998 // first window to load +#define WINDOW_STARTUP_ANIM 12999 // for startup animations + +// WINDOW_ID's from 13000 to 13099 reserved for Python + +#define WINDOW_PYTHON_START 13000 +#define WINDOW_PYTHON_END 13099 + +// WINDOW_ID's from 14000 to 14099 reserved for Addons + +#define WINDOW_ADDON_START 14000 +#define WINDOW_ADDON_END 14099 + |