{"payload":{"allShortcutsEnabled":false,"fileTree":{"include":{"items":[{"name":"SDL.h","path":"include/SDL.h","contentType":"file"},{"name":"SDL_assert.h","path":"include/SDL_assert.h","contentType":"file"},{"name":"SDL_atomic.h","path":"include/SDL_atomic.h","contentType":"file"},{"name":"SDL_audio.h","path":"include/SDL_audio.h","contentType":"file"},{"name":"SDL_blendmode.h","path":"include/SDL_blendmode.h","contentType":"file"},{"name":"SDL_clipboard.h","path":"include/SDL_clipboard.h","contentType":"file"},{"name":"SDL_compat.h","path":"include/SDL_compat.h","contentType":"file"},{"name":"SDL_config.h.default","path":"include/SDL_config.h.default","contentType":"file"},{"name":"SDL_config.h.in","path":"include/SDL_config.h.in","contentType":"file"},{"name":"SDL_config_android.h","path":"include/SDL_config_android.h","contentType":"file"},{"name":"SDL_config_iphoneos.h","path":"include/SDL_config_iphoneos.h","contentType":"file"},{"name":"SDL_config_macosx.h","path":"include/SDL_config_macosx.h","contentType":"file"},{"name":"SDL_config_minimal.h","path":"include/SDL_config_minimal.h","contentType":"file"},{"name":"SDL_config_nintendods.h","path":"include/SDL_config_nintendods.h","contentType":"file"},{"name":"SDL_config_pandora.h","path":"include/SDL_config_pandora.h","contentType":"file"},{"name":"SDL_config_windows.h","path":"include/SDL_config_windows.h","contentType":"file"},{"name":"SDL_config_wiz.h","path":"include/SDL_config_wiz.h","contentType":"file"},{"name":"SDL_copying.h","path":"include/SDL_copying.h","contentType":"file"},{"name":"SDL_cpuinfo.h","path":"include/SDL_cpuinfo.h","contentType":"file"},{"name":"SDL_endian.h","path":"include/SDL_endian.h","contentType":"file"},{"name":"SDL_error.h","path":"include/SDL_error.h","contentType":"file"},{"name":"SDL_events.h","path":"include/SDL_events.h","contentType":"file"},{"name":"SDL_gesture.h","path":"include/SDL_gesture.h","contentType":"file"},{"name":"SDL_haptic.h","path":"include/SDL_haptic.h","contentType":"file"},{"name":"SDL_input.h","path":"include/SDL_input.h","contentType":"file"},{"name":"SDL_joystick.h","path":"include/SDL_joystick.h","contentType":"file"},{"name":"SDL_keyboard.h","path":"include/SDL_keyboard.h","contentType":"file"},{"name":"SDL_keysym.h","path":"include/SDL_keysym.h","contentType":"file"},{"name":"SDL_loadso.h","path":"include/SDL_loadso.h","contentType":"file"},{"name":"SDL_main.h","path":"include/SDL_main.h","contentType":"file"},{"name":"SDL_mouse.h","path":"include/SDL_mouse.h","contentType":"file"},{"name":"SDL_mutex.h","path":"include/SDL_mutex.h","contentType":"file"},{"name":"SDL_name.h","path":"include/SDL_name.h","contentType":"file"},{"name":"SDL_opengl.h","path":"include/SDL_opengl.h","contentType":"file"},{"name":"SDL_opengles.h","path":"include/SDL_opengles.h","contentType":"file"},{"name":"SDL_pixels.h","path":"include/SDL_pixels.h","contentType":"file"},{"name":"SDL_platform.h","path":"include/SDL_platform.h","contentType":"file"},{"name":"SDL_power.h","path":"include/SDL_power.h","contentType":"file"},{"name":"SDL_quit.h","path":"include/SDL_quit.h","contentType":"file"},{"name":"SDL_rect.h","path":"include/SDL_rect.h","contentType":"file"},{"name":"SDL_render.h","path":"include/SDL_render.h","contentType":"file"},{"name":"SDL_rwops.h","path":"include/SDL_rwops.h","contentType":"file"},{"name":"SDL_scancode.h","path":"include/SDL_scancode.h","contentType":"file"},{"name":"SDL_shape.h","path":"include/SDL_shape.h","contentType":"file"},{"name":"SDL_stdinc.h","path":"include/SDL_stdinc.h","contentType":"file"},{"name":"SDL_surface.h","path":"include/SDL_surface.h","contentType":"file"},{"name":"SDL_syswm.h","path":"include/SDL_syswm.h","contentType":"file"},{"name":"SDL_thread.h","path":"include/SDL_thread.h","contentType":"file"},{"name":"SDL_timer.h","path":"include/SDL_timer.h","contentType":"file"},{"name":"SDL_touch.h","path":"include/SDL_touch.h","contentType":"file"},{"name":"SDL_types.h","path":"include/SDL_types.h","contentType":"file"},{"name":"SDL_version.h","path":"include/SDL_version.h","contentType":"file"},{"name":"SDL_video.h","path":"include/SDL_video.h","contentType":"file"},{"name":"begin_code.h","path":"include/begin_code.h","contentType":"file"},{"name":"close_code.h","path":"include/close_code.h","contentType":"file"},{"name":"doxyfile","path":"include/doxyfile","contentType":"file"}],"totalCount":56},"":{"items":[{"name":"VisualC","path":"VisualC","contentType":"directory"},{"name":"VisualCE","path":"VisualCE","contentType":"directory"},{"name":"Xcode-iPhoneOS","path":"Xcode-iPhoneOS","contentType":"directory"},{"name":"Xcode","path":"Xcode","contentType":"directory"},{"name":"acinclude","path":"acinclude","contentType":"directory"},{"name":"android-project","path":"android-project","contentType":"directory"},{"name":"build-scripts","path":"build-scripts","contentType":"directory"},{"name":"include","path":"include","contentType":"directory"},{"name":"src","path":"src","contentType":"directory"},{"name":"test","path":"test","contentType":"directory"},{"name":".DISABLED-hgeol","path":".DISABLED-hgeol","contentType":"file"},{"name":".hgignore","path":".hgignore","contentType":"file"},{"name":".indent.pro","path":".indent.pro","contentType":"file"},{"name":"Android.mk","path":"Android.mk","contentType":"file"},{"name":"BUGS","path":"BUGS","contentType":"file"},{"name":"Borland.html","path":"Borland.html","contentType":"file"},{"name":"Borland.zip","path":"Borland.zip","contentType":"file"},{"name":"COPYING","path":"COPYING","contentType":"file"},{"name":"CREDITS","path":"CREDITS","contentType":"file"},{"name":"INSTALL","path":"INSTALL","contentType":"file"},{"name":"Makefile.ds","path":"Makefile.ds","contentType":"file"},{"name":"Makefile.in","path":"Makefile.in","contentType":"file"},{"name":"Makefile.minimal","path":"Makefile.minimal","contentType":"file"},{"name":"Makefile.pandora","path":"Makefile.pandora","contentType":"file"},{"name":"Makefile.wiz","path":"Makefile.wiz","contentType":"file"},{"name":"NOTES","path":"NOTES","contentType":"file"},{"name":"README","path":"README","contentType":"file"},{"name":"README-SDL.txt","path":"README-SDL.txt","contentType":"file"},{"name":"README.BeOS","path":"README.BeOS","contentType":"file"},{"name":"README.DirectFB","path":"README.DirectFB","contentType":"file"},{"name":"README.HG","path":"README.HG","contentType":"file"},{"name":"README.MacOSX","path":"README.MacOSX","contentType":"file"},{"name":"README.Platforms","path":"README.Platforms","contentType":"file"},{"name":"README.Porting","path":"README.Porting","contentType":"file"},{"name":"README.Watcom","path":"README.Watcom","contentType":"file"},{"name":"README.WinCE","path":"README.WinCE","contentType":"file"},{"name":"README.android","path":"README.android","contentType":"file"},{"name":"README.gesture","path":"README.gesture","contentType":"file"},{"name":"README.iphoneos","path":"README.iphoneos","contentType":"file"},{"name":"README.pandora","path":"README.pandora","contentType":"file"},{"name":"README.touch","path":"README.touch","contentType":"file"},{"name":"SDL.spec.in","path":"SDL.spec.in","contentType":"file"},{"name":"TODO","path":"TODO","contentType":"file"},{"name":"UNDER_CONSTRUCTION.txt","path":"UNDER_CONSTRUCTION.txt","contentType":"file"},{"name":"VisualC.html","path":"VisualC.html","contentType":"file"},{"name":"Watcom-Win32.zip","path":"Watcom-Win32.zip","contentType":"file"},{"name":"WhatsNew","path":"WhatsNew","contentType":"file"},{"name":"autogen.sh","path":"autogen.sh","contentType":"file"},{"name":"configure.in","path":"configure.in","contentType":"file"},{"name":"sdl-config.in","path":"sdl-config.in","contentType":"file"},{"name":"sdl.m4","path":"sdl.m4","contentType":"file"},{"name":"sdl.pc.in","path":"sdl.pc.in","contentType":"file"}],"totalCount":52}},"fileTreeProcessingTime":17.22601,"foldersToFetch":[],"repo":{"id":337752652,"defaultBranch":"main","name":"SDL-historical-archive","ownerLogin":"libsdl-org","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2021-02-10T14:40:23.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/77683370?v=4","public":true,"private":false,"isOrgOwned":true},"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"f1efafc4a491234e793ff62b9c35c3ee83c63c08","listCacheKey":"v0:1612970265.696589","canEdit":false,"refType":"tree","currentOid":"f1efafc4a491234e793ff62b9c35c3ee83c63c08"},"path":"include/SDL_blendmode.h","currentUser":null,"blob":{"rawLines":["/*"," SDL - Simple DirectMedia Layer"," Copyright (C) 1997-2010 Sam Lantinga",""," This library is free software; you can redistribute it and/or"," modify it under the terms of the GNU Lesser General Public"," License as published by the Free Software Foundation; either"," version 2.1 of the License, or (at your option) any later version.",""," This library 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"," Lesser General Public License for more details.",""," You should have received a copy of the GNU Lesser General Public"," License along with this library; if not, write to the Free Software"," Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA",""," Sam Lantinga"," slouken@libsdl.org","*/","","/**"," * \\file SDL_blendmode.h"," * "," * Header file declaring the SDL_BlendMode enumeration"," */","","#ifndef _SDL_blendmode_h","#define _SDL_blendmode_h","","#include \"begin_code.h\"","/* Set up for C function definitions, even when using C++ */","#ifdef __cplusplus","/* *INDENT-OFF* */","extern \"C\" {","/* *INDENT-ON* */","#endif","","/**"," * \\brief The blend mode used in SDL_RenderCopy() and drawing operations."," */","typedef enum","{"," SDL_BLENDMODE_NONE = 0x00000000, /**< No blending */"," SDL_BLENDMODE_BLEND = 0x00000001, /**< dst = (src * A) + (dst * (1-A)) */"," SDL_BLENDMODE_ADD = 0x00000002, /**< dst = (src * A) + dst */"," SDL_BLENDMODE_MOD = 0x00000004 /**< dst = src * dst */","} SDL_BlendMode;","","/* Ends C function definitions when using C++ */","#ifdef __cplusplus","/* *INDENT-OFF* */","}","/* *INDENT-ON* */","#endif","#include \"close_code.h\"","","#endif /* _SDL_video_h */","","/* vi: set ts=4 sw=4 expandtab: */"],"stylingDirectives":[[{"start":0,"end":2,"cssClass":"pl-c"}],[{"start":0,"end":34,"cssClass":"pl-c"}],[{"start":0,"end":40,"cssClass":"pl-c"}],[{"start":0,"end":0,"cssClass":"pl-c"}],[{"start":0,"end":65,"cssClass":"pl-c"}],[{"start":0,"end":62,"cssClass":"pl-c"}],[{"start":0,"end":64,"cssClass":"pl-c"}],[{"start":0,"end":70,"cssClass":"pl-c"}],[{"start":0,"end":0,"cssClass":"pl-c"}],[{"start":0,"end":67,"cssClass":"pl-c"}],[{"start":0,"end":66,"cssClass":"pl-c"}],[{"start":0,"end":69,"cssClass":"pl-c"}],[{"start":0,"end":51,"cssClass":"pl-c"}],[{"start":0,"end":0,"cssClass":"pl-c"}],[{"start":0,"end":68,"cssClass":"pl-c"}],[{"start":0,"end":71,"cssClass":"pl-c"}],[{"start":0,"end":78,"cssClass":"pl-c"}],[{"start":0,"end":0,"cssClass":"pl-c"}],[{"start":0,"end":16,"cssClass":"pl-c"}],[{"start":0,"end":22,"cssClass":"pl-c"}],[{"start":0,"end":2,"cssClass":"pl-c"}],[],[{"start":0,"end":3,"cssClass":"pl-c"}],[{"start":0,"end":25,"cssClass":"pl-c"}],[{"start":0,"end":4,"cssClass":"pl-c"}],[{"start":0,"end":55,"cssClass":"pl-c"}],[{"start":0,"end":3,"cssClass":"pl-c"}],[],[{"start":0,"end":7,"cssClass":"pl-k"},{"start":8,"end":24,"cssClass":"pl-s1"}],[{"start":0,"end":7,"cssClass":"pl-k"},{"start":8,"end":24,"cssClass":"pl-s1"}],[],[{"start":0,"end":8,"cssClass":"pl-k"},{"start":9,"end":23,"cssClass":"pl-s"}],[{"start":0,"end":60,"cssClass":"pl-c"}],[{"start":0,"end":6,"cssClass":"pl-k"},{"start":7,"end":18,"cssClass":"pl-s1"}],[{"start":0,"end":18,"cssClass":"pl-c"}],[{"start":0,"end":6,"cssClass":"pl-k"},{"start":7,"end":10,"cssClass":"pl-s"}],[{"start":0,"end":17,"cssClass":"pl-c"}],[{"start":0,"end":6,"cssClass":"pl-k"}],[],[{"start":0,"end":3,"cssClass":"pl-c"}],[{"start":0,"end":74,"cssClass":"pl-c"}],[{"start":0,"end":3,"cssClass":"pl-c"}],[{"start":0,"end":7,"cssClass":"pl-k"},{"start":8,"end":12,"cssClass":"pl-k"}],[],[{"start":4,"end":22,"cssClass":"pl-c1"},{"start":23,"end":24,"cssClass":"pl-c1"},{"start":25,"end":35,"cssClass":"pl-c1"},{"start":41,"end":60,"cssClass":"pl-c"}],[{"start":4,"end":23,"cssClass":"pl-c1"},{"start":24,"end":25,"cssClass":"pl-c1"},{"start":26,"end":36,"cssClass":"pl-c1"},{"start":41,"end":80,"cssClass":"pl-c"}],[{"start":4,"end":21,"cssClass":"pl-c1"},{"start":22,"end":23,"cssClass":"pl-c1"},{"start":24,"end":34,"cssClass":"pl-c1"},{"start":41,"end":70,"cssClass":"pl-c"}],[{"start":4,"end":21,"cssClass":"pl-c1"},{"start":22,"end":23,"cssClass":"pl-c1"},{"start":24,"end":34,"cssClass":"pl-c1"},{"start":41,"end":64,"cssClass":"pl-c"}],[{"start":2,"end":15,"cssClass":"pl-smi"}],[],[{"start":0,"end":48,"cssClass":"pl-c"}],[{"start":0,"end":6,"cssClass":"pl-k"},{"start":7,"end":18,"cssClass":"pl-s1"}],[{"start":0,"end":18,"cssClass":"pl-c"},{"start":18,"end":18,"cssClass":"pl-k"}],[],[{"start":0,"end":17,"cssClass":"pl-c"}],[{"start":0,"end":6,"cssClass":"pl-k"}],[{"start":0,"end":8,"cssClass":"pl-k"},{"start":9,"end":23,"cssClass":"pl-s"}],[],[{"start":0,"end":6,"cssClass":"pl-k"},{"start":6,"end":25,"cssClass":"pl-c"}],[],[{"start":0,"end":34,"cssClass":"pl-c"}]],"colorizedLines":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/libsdl-org/SDL-historical-archive/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null},"displayName":"SDL_blendmode.h","displayUrl":"https://github.com/libsdl-org/SDL-historical-archive/blame/f1efafc4a491234e793ff62b9c35c3ee83c63c08/include/SDL_blendmode.h?raw=true","headerInfo":{"blobSize":"1.73 KB","deleteTooltip":"You must be signed in to make or propose changes","editTooltip":"You must be signed in to make or propose changes","ghDesktopPath":null,"isGitLfs":false,"onBranch":false,"shortPath":"63499a7","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Flibsdl-org%2FSDL-historical-archive%2Fblame%2Ff1efafc4a491234e793ff62b9c35c3ee83c63c08%2Finclude%2FSDL_blendmode.h","isCSV":false,"isRichtext":false,"toc":null,"lineInfo":{"truncatedLoc":"61","truncatedSloc":"50"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplate":null,"discussionTemplate":null,"language":"C","languageID":41,"large":false,"planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/libsdl-org/SDL-historical-archive/blame/f1efafc4a491234e793ff62b9c35c3ee83c63c08/include/SDL_blendmode.h","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","releasePath":"/libsdl-org/SDL-historical-archive/releases/new?marketplace=true","showPublishActionBanner":false},"rawBlobUrl":"https://github.com/libsdl-org/SDL-historical-archive/raw/f1efafc4a491234e793ff62b9c35c3ee83c63c08/include/SDL_blendmode.h","renderImageOrRaw":false,"richText":null,"renderedFileInfo":null,"shortPath":null,"symbolsEnabled":true,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"showInvalidCitationWarning":false,"citationHelpUrl":"https://docs.github.com/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null,"symbols":{"timed_out":true,"not_analyzed":false,"symbols":[{"name":"_SDL_blendmode_h","kind":"macro","ident_start":998,"ident_end":1014,"extent_start":990,"extent_end":1016,"fully_qualified_name":"_SDL_blendmode_h","ident_utf16":{"start":{"line_number":29,"utf16_col":8},"end":{"line_number":29,"utf16_col":24}},"extent_utf16":{"start":{"line_number":29,"utf16_col":0},"end":{"line_number":31,"utf16_col":0}}},{"name":"SDL_BlendMode","kind":"type","ident_start":1556,"ident_end":1569,"extent_start":1261,"extent_end":1570,"fully_qualified_name":"SDL_BlendMode","ident_utf16":{"start":{"line_number":48,"utf16_col":2},"end":{"line_number":48,"utf16_col":15}},"extent_utf16":{"start":{"line_number":42,"utf16_col":0},"end":{"line_number":48,"utf16_col":16}}}]}},"copilotInfo":null,"copilotAccessAllowed":false,"blame":{"ranges":{"1":{"start":1,"oldStart":1,"end":45,"oldEnd":45,"commitOid":"de6d1b558f8096d5859feb4fa1e1c08dff7e2a58","reblamePath":null},"46":{"start":46,"oldStart":46,"end":47,"oldEnd":47,"commitOid":"a8fe50154f6f1a303f6fb327fedb2d1cd31eb999","reblamePath":"include/SDL_blendmode.h"},"48":{"start":48,"oldStart":48,"end":48,"oldEnd":48,"commitOid":"f1efafc4a491234e793ff62b9c35c3ee83c63c08","reblamePath":"include/SDL_blendmode.h"},"49":{"start":49,"oldStart":52,"end":61,"oldEnd":64,"commitOid":"de6d1b558f8096d5859feb4fa1e1c08dff7e2a58","reblamePath":null}},"commits":{"de6d1b558f8096d5859feb4fa1e1c08dff7e2a58":{"oid":"de6d1b558f8096d5859feb4fa1e1c08dff7e2a58","message":"Use the enumerated type for blend and scale mode instead of int\nRenamed SDL_TextureScaleMode to SDL_ScaleMode","shortMessageHtmlLink":"Use the enumerated type for blend and scale mode instead of int","authorAvatarUrl":"https://avatars.githubusercontent.com/u/2100061?s=80&v=4","committerName":"Sam Lantinga","committerEmail":"slouken@libsdl.org","committedDate":"2010-12-12T15:19:05.000-08:00","firstParentOid":"2dab4e6e301f0a90893ad2d30fb947a2d1e774bb"},"a8fe50154f6f1a303f6fb327fedb2d1cd31eb999":{"oid":"a8fe50154f6f1a303f6fb327fedb2d1cd31eb999","message":"Making the API simpler, the blend modes are \"none, blend, add\" and are supported by all renderers.","shortMessageHtmlLink":"Making the API simpler, the blend modes are \"none, blend, add\" and ar…","authorAvatarUrl":"https://avatars.githubusercontent.com/u/2100061?s=80&v=4","committerName":"Sam Lantinga","committerEmail":"slouken@libsdl.org","committedDate":"2011-01-31T23:23:57.000-08:00","firstParentOid":"30fa16ebe034bd7c8961c8ff375969262a635711"},"f1efafc4a491234e793ff62b9c35c3ee83c63c08":{"oid":"f1efafc4a491234e793ff62b9c35c3ee83c63c08","message":"Restored SDL_BLENDMODE_MOD for MAME","shortMessageHtmlLink":"Restored SDL_BLENDMODE_MOD for MAME","authorAvatarUrl":"https://avatars.githubusercontent.com/u/2100061?s=80&v=4","committerName":"Sam Lantinga","committerEmail":"slouken@libsdl.org","committedDate":"2011-02-04T19:50:56.000-08:00","firstParentOid":"0f03354030511b1d887cb5fa188f4411cd10752d"}},"ignoreRevs":{"path":".git-blame-ignore-revs","present":false,"timedOut":null}},"csrf_tokens":{"/libsdl-org/SDL-historical-archive/branches":{"post":"g-ZKMiQP5LHSdcfYmG97pFtOQhWUZ6zCgNX7VF2A4tWjLm5gNsKsPpKnOlu0pQ1XFDAHDyK--a_uWmHbfqmtHA"},"/repos/preferences":{"post":"chyaImvraemP1Cfo9TB3uOqZWwMeVNcEnK5VUGz__GeH05aMvh7IJxpIKPOcUcLnyeC-pvr0knIQ_LvnHvUAUg"}}},"title":"Blaming SDL-historical-archive/include/SDL_blendmode.h at f1efafc4a491234e793ff62b9c35c3ee83c63c08 · libsdl-org/SDL-historical-archive"}