sdl2.html 743 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  3. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <!-- This file is generated by Nim. -->
  5. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  6. <head>
  7. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  8. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  9. <!-- Favicon -->
  10. <link rel="shortcut icon" href="data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAUAAAAF////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAIAAABbAAAAlQAAAKIAAACbAAAAmwAAAKIAAACVAAAAWwAAAAL///8A////AP///wD///8A////AAAAABQAAADAAAAAYwAAAA3///8A////AP///wD///8AAAAADQAAAGMAAADAAAAAFP///wD///8A////AP///wAAAACdAAAAOv///wD///8A////AP///wD///8A////AP///wD///8AAAAAOgAAAJ3///8A////AP///wAAAAAnAAAAcP///wAAAAAoAAAASv///wD///8A////AP///wAAAABKAAAAKP///wAAAABwAAAAJ////wD///8AAAAAgQAAABwAAACIAAAAkAAAAJMAAACtAAAAFQAAABUAAACtAAAAkwAAAJAAAACIAAAAHAAAAIH///8A////AAAAAKQAAACrAAAAaP///wD///8AAAAARQAAANIAAADSAAAARf///wD///8AAAAAaAAAAKsAAACk////AAAAADMAAACcAAAAnQAAABj///8A////AP///wAAAAAYAAAAGP///wD///8A////AAAAABgAAACdAAAAnAAAADMAAAB1AAAAwwAAAP8AAADpAAAAsQAAAE4AAAAb////AP///wAAAAAbAAAATgAAALEAAADpAAAA/wAAAMMAAAB1AAAAtwAAAOkAAAD/AAAA/wAAAP8AAADvAAAA3gAAAN4AAADeAAAA3gAAAO8AAAD/AAAA/wAAAP8AAADpAAAAtwAAAGUAAAA/AAAA3wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAADfAAAAPwAAAGX///8A////AAAAAEgAAADtAAAAvwAAAL0AAADGAAAA7wAAAO8AAADGAAAAvQAAAL8AAADtAAAASP///wD///8A////AP///wD///8AAAAAO////wD///8A////AAAAAIcAAACH////AP///wD///8AAAAAO////wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A//8AAP//AAD4HwAA7/cAAN/7AAD//wAAoYUAAJ55AACf+QAAh+EAAAAAAADAAwAA4AcAAP5/AAD//wAA//8AAA=="/>
  11. <link rel="icon" type="image/png" sizes="32x32" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH4QQQEwksSS9ZWwAAAk1JREFUWMPtll2ITVEUx39nn/O7Y5qR8f05wtCUUr6ZIS++8pEnkZInPImneaCQ5METNdOkeFBKUhMPRIkHKfEuUZSUlGlKPN2TrgfncpvmnntnmlEyq1Z7t89/rf9a6+y99oZxGZf/XeIq61EdtgKXgdXA0xrYAvBjOIF1AI9zvjcC74BSpndrJPkBWDScTF8Aa4E3wDlgHbASaANmVqlcCnwHvgDvgVfAJ+AikAAvgfVZwLnSVZHZaOuKoQi3ZOMi4NkYkpe1p4J7A8BpYAD49hfIy/oqG0+hLomiKP2L5L+1ubn5115S+3OAn4EnwBlgMzCjyt6ZAnQCJ4A7wOs88iRJHvw50HoujuPBoCKwHWiosy8MdfZnAdcHk8dxXFJ3VQbQlCTJvRBCGdRbD4M6uc5glpY3eAihpN5S5w12diSEcCCEcKUO4ljdr15T76ur1FDDLIQQ3qv71EdDOe3Kxj3leRXyk+pxdWnFWod6Wt2bY3de3aSuUHcPBVimHs7mK9WrmeOF6lR1o9qnzskh2ar2qm1qizpfXaPeVGdlmGN5pb09qMxz1Xb1kLqgzn1RyH7JUXW52lr5e/Kqi9qpto7V1atuUzfnARrV7jEib1T76gG2qxdGmXyiekkt1GswPTtek0aBfJp6YySGBfWg2tPQ0FAYgf1stUfdmdcjarbYJEniKIq6gY/Aw+zWHAC+p2labGpqiorFYgGYCEzN7oQdQClN07O1/EfDyGgC0ALMBdYAi4FyK+4H3gLPsxfR1zRNi+NP7nH5J+QntnXe5B5mpfQAAAAASUVORK5CYII=">
  12. <!-- Google fonts -->
  13. <link href='https://fonts.googleapis.com/css?family=Lato:400,600,900' rel='stylesheet' type='text/css'/>
  14. <link href='https://fonts.googleapis.com/css?family=Source+Code+Pro:400,500,600' rel='stylesheet' type='text/css'/>
  15. <!-- CSS -->
  16. <title>nodesnim/thirdparty/sdl2</title>
  17. <link rel="stylesheet" type="text/css" href="../../nimdoc.out.css">
  18. <script type="text/javascript" src="dochack.js"></script>
  19. <script type="text/javascript">
  20. function main() {
  21. var pragmaDots = document.getElementsByClassName("pragmadots");
  22. for (var i = 0; i < pragmaDots.length; i++) {
  23. pragmaDots[i].onclick = function(event) {
  24. // Hide tease
  25. event.target.parentNode.style.display = "none";
  26. // Show actual
  27. event.target.parentNode.nextElementSibling.style.display = "inline";
  28. }
  29. }
  30. const toggleSwitch = document.querySelector('.theme-switch input[type="checkbox"]');
  31. function switchTheme(e) {
  32. if (e.target.checked) {
  33. document.documentElement.setAttribute('data-theme', 'dark');
  34. localStorage.setItem('theme', 'dark');
  35. } else {
  36. document.documentElement.setAttribute('data-theme', 'light');
  37. localStorage.setItem('theme', 'light');
  38. }
  39. }
  40. toggleSwitch.addEventListener('change', switchTheme, false);
  41. if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) {
  42. document.documentElement.setAttribute('data-theme', "dark");
  43. toggleSwitch.checked = true;
  44. } else if (window.matchMedia && window.matchMedia('(prefers-color-scheme: light)').matches) {
  45. document.documentElement.setAttribute('data-theme', "light");
  46. toggleSwitch.checked = false;
  47. } else {
  48. const currentTheme = localStorage.getItem('theme') ? localStorage.getItem('theme') : null;
  49. if (currentTheme) {
  50. document.documentElement.setAttribute('data-theme', currentTheme);
  51. if (currentTheme === 'dark') {
  52. toggleSwitch.checked = true;
  53. }
  54. }
  55. }
  56. }
  57. </script>
  58. </head>
  59. <body onload="main()">
  60. <div class="document" id="documentId">
  61. <div class="container">
  62. <h1 class="title">nodesnim/thirdparty/sdl2</h1>
  63. <div class="row">
  64. <div class="three columns">
  65. <div class="theme-switch-wrapper">
  66. <label class="theme-switch" for="checkbox">
  67. <input type="checkbox" id="checkbox" />
  68. <div class="slider round"></div>
  69. </label>
  70. &nbsp;&nbsp;&nbsp; <em>Dark Mode</em>
  71. </div>
  72. <div id="global-links">
  73. <ul class="simple">
  74. </ul>
  75. </div>
  76. <div id="searchInputDiv">
  77. Search: <input type="text" id="searchInput"
  78. onkeyup="search()" />
  79. </div>
  80. <div>
  81. Group by:
  82. <select onchange="groupBy(this.value)">
  83. <option value="section">Section</option>
  84. <option value="type">Type</option>
  85. </select>
  86. </div>
  87. <ul class="simple simple-toc" id="toc-list">
  88. <li>
  89. <a class="reference reference-toplevel" href="#7" id="57">Types</a>
  90. <ul class="simple simple-toc-section">
  91. <li><a class="reference" href="#csize_t_const"
  92. title="csize_t_const = csize_t"><wbr />csize_<wbr />t_<wbr />const<span class="attachedType"></span></a></li>
  93. <li><a class="reference" href="#Scancode"
  94. title="Scancode {.size: 4.} = enum
  95. SDL_SCANCODE_UNKNOWN = 0, SDL_SCANCODE_A = 4, SDL_SCANCODE_B = 5, SDL_SCANCODE_C = 6,
  96. SDL_SCANCODE_D = 7, SDL_SCANCODE_E = 8, SDL_SCANCODE_F = 9, SDL_SCANCODE_G = 10,
  97. SDL_SCANCODE_H = 11, SDL_SCANCODE_I = 12, SDL_SCANCODE_J = 13, SDL_SCANCODE_K = 14,
  98. SDL_SCANCODE_L = 15, SDL_SCANCODE_M = 16, SDL_SCANCODE_N = 17, SDL_SCANCODE_O = 18,
  99. SDL_SCANCODE_P = 19, SDL_SCANCODE_Q = 20, SDL_SCANCODE_R = 21, SDL_SCANCODE_S = 22,
  100. SDL_SCANCODE_T = 23, SDL_SCANCODE_U = 24, SDL_SCANCODE_V = 25, SDL_SCANCODE_W = 26,
  101. SDL_SCANCODE_X = 27, SDL_SCANCODE_Y = 28, SDL_SCANCODE_Z = 29, SDL_SCANCODE_1 = 30,
  102. SDL_SCANCODE_2 = 31, SDL_SCANCODE_3 = 32, SDL_SCANCODE_4 = 33, SDL_SCANCODE_5 = 34,
  103. SDL_SCANCODE_6 = 35, SDL_SCANCODE_7 = 36, SDL_SCANCODE_8 = 37, SDL_SCANCODE_9 = 38,
  104. SDL_SCANCODE_0 = 39, SDL_SCANCODE_RETURN = 40, SDL_SCANCODE_ESCAPE = 41,
  105. SDL_SCANCODE_BACKSPACE = 42, SDL_SCANCODE_TAB = 43, SDL_SCANCODE_SPACE = 44,
  106. SDL_SCANCODE_MINUS = 45, SDL_SCANCODE_EQUALS = 46, SDL_SCANCODE_LEFTBRACKET = 47,
  107. SDL_SCANCODE_RIGHTBRACKET = 48, SDL_SCANCODE_BACKSLASH = 49,
  108. SDL_SCANCODE_NONUSHASH = 50, SDL_SCANCODE_SEMICOLON = 51,
  109. SDL_SCANCODE_APOSTROPHE = 52, SDL_SCANCODE_GRAVE = 53, SDL_SCANCODE_COMMA = 54,
  110. SDL_SCANCODE_PERIOD = 55, SDL_SCANCODE_SLASH = 56, SDL_SCANCODE_CAPSLOCK = 57,
  111. SDL_SCANCODE_F1 = 58, SDL_SCANCODE_F2 = 59, SDL_SCANCODE_F3 = 60, SDL_SCANCODE_F4 = 61,
  112. SDL_SCANCODE_F5 = 62, SDL_SCANCODE_F6 = 63, SDL_SCANCODE_F7 = 64, SDL_SCANCODE_F8 = 65,
  113. SDL_SCANCODE_F9 = 66, SDL_SCANCODE_F10 = 67, SDL_SCANCODE_F11 = 68,
  114. SDL_SCANCODE_F12 = 69, SDL_SCANCODE_PRINTSCREEN = 70, SDL_SCANCODE_SCROLLLOCK = 71,
  115. SDL_SCANCODE_PAUSE = 72, SDL_SCANCODE_INSERT = 73, SDL_SCANCODE_HOME = 74,
  116. SDL_SCANCODE_PAGEUP = 75, SDL_SCANCODE_DELETE = 76, SDL_SCANCODE_END = 77,
  117. SDL_SCANCODE_PAGEDOWN = 78, SDL_SCANCODE_RIGHT = 79, SDL_SCANCODE_LEFT = 80,
  118. SDL_SCANCODE_DOWN = 81, SDL_SCANCODE_UP = 82, SDL_SCANCODE_NUMLOCKCLEAR = 83,
  119. SDL_SCANCODE_KP_DIVIDE = 84, SDL_SCANCODE_KP_MULTIPLY = 85,
  120. SDL_SCANCODE_KP_MINUS = 86, SDL_SCANCODE_KP_PLUS = 87, SDL_SCANCODE_KP_ENTER = 88,
  121. SDL_SCANCODE_KP_1 = 89, SDL_SCANCODE_KP_2 = 90, SDL_SCANCODE_KP_3 = 91,
  122. SDL_SCANCODE_KP_4 = 92, SDL_SCANCODE_KP_5 = 93, SDL_SCANCODE_KP_6 = 94,
  123. SDL_SCANCODE_KP_7 = 95, SDL_SCANCODE_KP_8 = 96, SDL_SCANCODE_KP_9 = 97,
  124. SDL_SCANCODE_KP_0 = 98, SDL_SCANCODE_KP_PERIOD = 99,
  125. SDL_SCANCODE_NONUSBACKSLASH = 100, SDL_SCANCODE_APPLICATION = 101,
  126. SDL_SCANCODE_POWER = 102, SDL_SCANCODE_KP_EQUALS = 103, SDL_SCANCODE_F13 = 104,
  127. SDL_SCANCODE_F14 = 105, SDL_SCANCODE_F15 = 106, SDL_SCANCODE_F16 = 107,
  128. SDL_SCANCODE_F17 = 108, SDL_SCANCODE_F18 = 109, SDL_SCANCODE_F19 = 110,
  129. SDL_SCANCODE_F20 = 111, SDL_SCANCODE_F21 = 112, SDL_SCANCODE_F22 = 113,
  130. SDL_SCANCODE_F23 = 114, SDL_SCANCODE_F24 = 115, SDL_SCANCODE_EXECUTE = 116,
  131. SDL_SCANCODE_HELP = 117, SDL_SCANCODE_MENU = 118, SDL_SCANCODE_SELECT = 119,
  132. SDL_SCANCODE_STOP = 120, SDL_SCANCODE_AGAIN = 121, SDL_SCANCODE_UNDO = 122,
  133. SDL_SCANCODE_CUT = 123, SDL_SCANCODE_COPY = 124, SDL_SCANCODE_PASTE = 125,
  134. SDL_SCANCODE_FIND = 126, SDL_SCANCODE_MUTE = 127, SDL_SCANCODE_VOLUMEUP = 128,
  135. SDL_SCANCODE_VOLUMEDOWN = 129, SDL_SCANCODE_KP_COMMA = 133,
  136. SDL_SCANCODE_KP_EQUALSAS400 = 134, SDL_SCANCODE_INTERNATIONAL1 = 135,
  137. SDL_SCANCODE_INTERNATIONAL2 = 136, SDL_SCANCODE_INTERNATIONAL3 = 137,
  138. SDL_SCANCODE_INTERNATIONAL4 = 138, SDL_SCANCODE_INTERNATIONAL5 = 139,
  139. SDL_SCANCODE_INTERNATIONAL6 = 140, SDL_SCANCODE_INTERNATIONAL7 = 141,
  140. SDL_SCANCODE_INTERNATIONAL8 = 142, SDL_SCANCODE_INTERNATIONAL9 = 143,
  141. SDL_SCANCODE_LANG1 = 144, SDL_SCANCODE_LANG2 = 145, SDL_SCANCODE_LANG3 = 146,
  142. SDL_SCANCODE_LANG4 = 147, SDL_SCANCODE_LANG5 = 148, SDL_SCANCODE_LANG6 = 149,
  143. SDL_SCANCODE_LANG7 = 150, SDL_SCANCODE_LANG8 = 151, SDL_SCANCODE_LANG9 = 152,
  144. SDL_SCANCODE_ALTERASE = 153, SDL_SCANCODE_SYSREQ = 154, SDL_SCANCODE_CANCEL = 155,
  145. SDL_SCANCODE_CLEAR = 156, SDL_SCANCODE_PRIOR = 157, SDL_SCANCODE_RETURN2 = 158,
  146. SDL_SCANCODE_SEPARATOR = 159, SDL_SCANCODE_OUT = 160, SDL_SCANCODE_OPER = 161,
  147. SDL_SCANCODE_CLEARAGAIN = 162, SDL_SCANCODE_CRSEL = 163, SDL_SCANCODE_EXSEL = 164,
  148. SDL_SCANCODE_KP_00 = 176, SDL_SCANCODE_KP_000 = 177,
  149. SDL_SCANCODE_THOUSANDSSEPARATOR = 178, SDL_SCANCODE_DECIMALSEPARATOR = 179,
  150. SDL_SCANCODE_CURRENCYUNIT = 180, SDL_SCANCODE_CURRENCYSUBUNIT = 181,
  151. SDL_SCANCODE_KP_LEFTPAREN = 182, SDL_SCANCODE_KP_RIGHTPAREN = 183,
  152. SDL_SCANCODE_KP_LEFTBRACE = 184, SDL_SCANCODE_KP_RIGHTBRACE = 185,
  153. SDL_SCANCODE_KP_TAB = 186, SDL_SCANCODE_KP_BACKSPACE = 187, SDL_SCANCODE_KP_A = 188,
  154. SDL_SCANCODE_KP_B = 189, SDL_SCANCODE_KP_C = 190, SDL_SCANCODE_KP_D = 191,
  155. SDL_SCANCODE_KP_E = 192, SDL_SCANCODE_KP_F = 193, SDL_SCANCODE_KP_XOR = 194,
  156. SDL_SCANCODE_KP_POWER = 195, SDL_SCANCODE_KP_PERCENT = 196,
  157. SDL_SCANCODE_KP_LESS = 197, SDL_SCANCODE_KP_GREATER = 198,
  158. SDL_SCANCODE_KP_AMPERSAND = 199, SDL_SCANCODE_KP_DBLAMPERSAND = 200,
  159. SDL_SCANCODE_KP_VERTICALBAR = 201, SDL_SCANCODE_KP_DBLVERTICALBAR = 202,
  160. SDL_SCANCODE_KP_COLON = 203, SDL_SCANCODE_KP_HASH = 204,
  161. SDL_SCANCODE_KP_SPACE = 205, SDL_SCANCODE_KP_AT = 206, SDL_SCANCODE_KP_EXCLAM = 207,
  162. SDL_SCANCODE_KP_MEMSTORE = 208, SDL_SCANCODE_KP_MEMRECALL = 209,
  163. SDL_SCANCODE_KP_MEMCLEAR = 210, SDL_SCANCODE_KP_MEMADD = 211,
  164. SDL_SCANCODE_KP_MEMSUBTRACT = 212, SDL_SCANCODE_KP_MEMMULTIPLY = 213,
  165. SDL_SCANCODE_KP_MEMDIVIDE = 214, SDL_SCANCODE_KP_PLUSMINUS = 215,
  166. SDL_SCANCODE_KP_CLEAR = 216, SDL_SCANCODE_KP_CLEARENTRY = 217,
  167. SDL_SCANCODE_KP_BINARY = 218, SDL_SCANCODE_KP_OCTAL = 219,
  168. SDL_SCANCODE_KP_DECIMAL = 220, SDL_SCANCODE_KP_HEXADECIMAL = 221,
  169. SDL_SCANCODE_LCTRL = 224, SDL_SCANCODE_LSHIFT = 225, SDL_SCANCODE_LALT = 226,
  170. SDL_SCANCODE_LGUI = 227, SDL_SCANCODE_RCTRL = 228, SDL_SCANCODE_RSHIFT = 229,
  171. SDL_SCANCODE_RALT = 230, SDL_SCANCODE_RGUI = 231, SDL_SCANCODE_MODE = 257,
  172. SDL_SCANCODE_AUDIONEXT = 258, SDL_SCANCODE_AUDIOPREV = 259,
  173. SDL_SCANCODE_AUDIOSTOP = 260, SDL_SCANCODE_AUDIOPLAY = 261,
  174. SDL_SCANCODE_AUDIOMUTE = 262, SDL_SCANCODE_MEDIASELECT = 263,
  175. SDL_SCANCODE_WWW = 264, SDL_SCANCODE_MAIL = 265, SDL_SCANCODE_CALCULATOR = 266,
  176. SDL_SCANCODE_COMPUTER = 267, SDL_SCANCODE_AC_SEARCH = 268,
  177. SDL_SCANCODE_AC_HOME = 269, SDL_SCANCODE_AC_BACK = 270,
  178. SDL_SCANCODE_AC_FORWARD = 271, SDL_SCANCODE_AC_STOP = 272,
  179. SDL_SCANCODE_AC_REFRESH = 273, SDL_SCANCODE_AC_BOOKMARKS = 274,
  180. SDL_SCANCODE_BRIGHTNESSDOWN = 275, SDL_SCANCODE_BRIGHTNESSUP = 276,
  181. SDL_SCANCODE_DISPLAYSWITCH = 277, SDL_SCANCODE_KBDILLUMTOGGLE = 278,
  182. SDL_SCANCODE_KBDILLUMDOWN = 279, SDL_SCANCODE_KBDILLUMUP = 280,
  183. SDL_SCANCODE_EJECT = 281, SDL_SCANCODE_SLEEP = 282, SDL_NUM_SCANCODES = 512"><wbr />Scancode<span class="attachedType"></span></a></li>
  184. <li><a class="reference" href="#Keymod"
  185. title="Keymod {.size: 4.} = enum
  186. KMOD_NONE = 0x00000000, KMOD_LSHIFT = 0x00000001, KMOD_RSHIFT = 0x00000002,
  187. KMOD_LCTRL = 0x00000040, KMOD_RCTRL = 0x00000080, KMOD_LALT = 0x00000100,
  188. KMOD_RALT = 0x00000200, KMOD_LGUI = 0x00000400, KMOD_RGUI = 0x00000800,
  189. KMOD_NUM = 0x00001000, KMOD_CAPS = 0x00002000, KMOD_MODE = 0x00004000,
  190. KMOD_RESERVED = 0x00008000"><wbr />Keymod<span class="attachedType"></span></a></li>
  191. <li><a class="reference" href="#WindowEventID"
  192. title="WindowEventID {.size: 1.} = enum
  193. WindowEvent_None = 0, WindowEvent_Shown, WindowEvent_Hidden, WindowEvent_Exposed,
  194. WindowEvent_Moved, WindowEvent_Resized, WindowEvent_SizeChanged,
  195. WindowEvent_Minimized, WindowEvent_Maximized, WindowEvent_Restored,
  196. WindowEvent_Enter, WindowEvent_Leave, WindowEvent_FocusGained,
  197. WindowEvent_FocusLost, WindowEvent_Close, WindowEvent_TakeFocus,
  198. WindowEvent_HitTest"><wbr />Window<wbr />Event<wbr />ID<span class="attachedType"></span></a></li>
  199. <li><a class="reference" href="#EventType"
  200. title="EventType {.size: 4.} = enum
  201. QuitEvent = 0x00000100, AppTerminating, AppLowMemory, AppWillEnterBackground,
  202. AppDidEnterBackground, AppWillEnterForeground, AppDidEnterForeground,
  203. DisplayEvent = 0x00000150, WindowEvent = 0x00000200, SysWMEvent,
  204. KeyDown = 0x00000300, KeyUp, TextEditing, TextInput, KeymapChanged,
  205. MouseMotion = 0x00000400, MouseButtonDown, MouseButtonUp, MouseWheel,
  206. JoyAxisMotion = 0x00000600, JoyBallMotion, JoyHatMotion, JoyButtonDown, JoyButtonUp,
  207. JoyDeviceAdded, JoyDeviceRemoved, ControllerAxisMotion = 0x00000650,
  208. ControllerButtonDown, ControllerButtonUp, ControllerDeviceAdded,
  209. ControllerDeviceRemoved, ControllerDeviceRemapped, FingerDown = 0x00000700,
  210. FingerUp, FingerMotion, DollarGesture = 0x00000800, DollarRecord, MultiGesture,
  211. ClipboardUpdate = 0x00000900, DropFile = 0x00001000, DropText, DropBegin,
  212. DropComplete, AudioDeviceAdded = 0x00001100, AudioDeviceRemoved = 0x00001101,
  213. SensorUpdate = 0x00001200, RenderTargetsReset = 0x00002000, RenderDeviceReset,
  214. UserEvent = 0x00008000, UserEvent1, UserEvent2, UserEvent3, UserEvent4, UserEvent5,
  215. LastEvent = 0x0000FFFF"><wbr />Event<wbr />Type<span class="attachedType"></span></a></li>
  216. <li><a class="reference" href="#Event"
  217. title="Event = object
  218. kind*: EventType
  219. padding: array[56 - 4, byte]"><wbr />Event<span class="attachedType"></span></a></li>
  220. <li><a class="reference" href="#QuitEventPtr"
  221. title="QuitEventPtr = ptr QuitEventObj"><wbr />Quit<wbr />Event<wbr />Ptr<span class="attachedType"></span></a></li>
  222. <li><a class="reference" href="#QuitEventObj"
  223. title="QuitEventObj = object
  224. kind*: EventType
  225. timestamp*: uint32"><wbr />Quit<wbr />Event<wbr />Obj<span class="attachedType"></span></a></li>
  226. <li><a class="reference" href="#WindowEventPtr"
  227. title="WindowEventPtr = ptr WindowEventObj"><wbr />Window<wbr />Event<wbr />Ptr<span class="attachedType"></span></a></li>
  228. <li><a class="reference" href="#WindowEventObj"
  229. title="WindowEventObj = object
  230. kind*: EventType
  231. timestamp*: uint32
  232. windowID*: uint32
  233. event*: WindowEventID
  234. pad*: array[56 - 13, byte]"><wbr />Window<wbr />Event<wbr />Obj<span class="attachedType"></span></a></li>
  235. <li><a class="reference" href="#KeyboardEventPtr"
  236. title="KeyboardEventPtr = ptr KeyboardEventObj"><wbr />Keyboard<wbr />Event<wbr />Ptr<span class="attachedType"></span></a></li>
  237. <li><a class="reference" href="#KeyboardEventObj"
  238. title="KeyboardEventObj = object
  239. kind*: EventType
  240. timestamp*: uint32
  241. windowID*: uint32
  242. state*: uint8
  243. repeat*: bool
  244. keysym*: KeySym
  245. pad*: array[24, byte]"><wbr />Keyboard<wbr />Event<wbr />Obj<span class="attachedType"></span></a></li>
  246. <li><a class="reference" href="#TextEditingEventPtr"
  247. title="TextEditingEventPtr = ptr TextEditingEventObj"><wbr />Text<wbr />Editing<wbr />Event<wbr />Ptr<span class="attachedType"></span></a></li>
  248. <li><a class="reference" href="#TextEditingEventObj"
  249. title="TextEditingEventObj = object
  250. kind*: EventType
  251. timestamp*: uint32
  252. windowID*: uint32
  253. text*: array[SDL_TEXTEDITINGEVENT_TEXT_SIZE, char]
  254. start*, length*: int32
  255. pad*: array[8, byte]"><wbr />Text<wbr />Editing<wbr />Event<wbr />Obj<span class="attachedType"></span></a></li>
  256. <li><a class="reference" href="#TextInputEventPtr"
  257. title="TextInputEventPtr = ptr TextInputEventObj"><wbr />Text<wbr />Input<wbr />Event<wbr />Ptr<span class="attachedType"></span></a></li>
  258. <li><a class="reference" href="#TextInputEventObj"
  259. title="TextInputEventObj = object
  260. kind*: EventType
  261. timestamp*: uint32
  262. windowID*: uint32
  263. text*: array[SDL_TEXTINPUTEVENT_TEXT_SIZE, char]
  264. pad*: array[24, byte]"><wbr />Text<wbr />Input<wbr />Event<wbr />Obj<span class="attachedType"></span></a></li>
  265. <li><a class="reference" href="#MouseMotionEventPtr"
  266. title="MouseMotionEventPtr = ptr MouseMotionEventObj"><wbr />Mouse<wbr />Motion<wbr />Event<wbr />Ptr<span class="attachedType"></span></a></li>
  267. <li><a class="reference" href="#MouseMotionEventObj"
  268. title="MouseMotionEventObj = object
  269. kind*: EventType
  270. timestamp*, windowID*: uint32
  271. which*: uint32
  272. state*: uint32
  273. x*, y*, xrel*, yrel*: int32
  274. pad*: array[20, byte]"><wbr />Mouse<wbr />Motion<wbr />Event<wbr />Obj<span class="attachedType"></span></a></li>
  275. <li><a class="reference" href="#MouseButtonEventPtr"
  276. title="MouseButtonEventPtr = ptr MouseButtonEventObj"><wbr />Mouse<wbr />Button<wbr />Event<wbr />Ptr<span class="attachedType"></span></a></li>
  277. <li><a class="reference" href="#MouseButtonEventObj"
  278. title="MouseButtonEventObj = object
  279. kind*: EventType
  280. timestamp*, windowID*: uint32
  281. which*: uint32
  282. button*: uint8
  283. state*: uint8
  284. clicks*: uint8
  285. x*, y*: cint
  286. pad*: array[28, byte]"><wbr />Mouse<wbr />Button<wbr />Event<wbr />Obj<span class="attachedType"></span></a></li>
  287. <li><a class="reference" href="#MouseWheelEventPtr"
  288. title="MouseWheelEventPtr = ptr MouseWheelEventObj"><wbr />Mouse<wbr />Wheel<wbr />Event<wbr />Ptr<span class="attachedType"></span></a></li>
  289. <li><a class="reference" href="#MouseWheelEventObj"
  290. title="MouseWheelEventObj = object
  291. kind*: EventType
  292. timestamp*, windowID*: uint32
  293. which*: uint32
  294. x*, y*: cint
  295. direction*: MouseWheelDirection"><wbr />Mouse<wbr />Wheel<wbr />Event<wbr />Obj<span class="attachedType"></span></a></li>
  296. <li><a class="reference" href="#JoyAxisEventPtr"
  297. title="JoyAxisEventPtr = ptr JoyAxisEventObj"><wbr />Joy<wbr />Axis<wbr />Event<wbr />Ptr<span class="attachedType"></span></a></li>
  298. <li><a class="reference" href="#JoyAxisEventObj"
  299. title="JoyAxisEventObj = object
  300. kind*: EventType
  301. timestamp*: uint32
  302. which*: int32
  303. axis*: uint8
  304. pad1, pad2, pad3: uint8
  305. value*: int16"><wbr />Joy<wbr />Axis<wbr />Event<wbr />Obj<span class="attachedType"></span></a></li>
  306. <li><a class="reference" href="#JoyBallEventPtr"
  307. title="JoyBallEventPtr = ptr JoyBallEventObj"><wbr />Joy<wbr />Ball<wbr />Event<wbr />Ptr<span class="attachedType"></span></a></li>
  308. <li><a class="reference" href="#JoyBallEventObj"
  309. title="JoyBallEventObj = object
  310. kind*: EventType
  311. timestamp*: uint32
  312. which*: int32
  313. ball*, pad1, pad2, pad3: uint8
  314. xrel*, yrel*: int16"><wbr />Joy<wbr />Ball<wbr />Event<wbr />Obj<span class="attachedType"></span></a></li>
  315. <li><a class="reference" href="#JoyHatEventPtr"
  316. title="JoyHatEventPtr = ptr JoyHatEventObj"><wbr />Joy<wbr />Hat<wbr />Event<wbr />Ptr<span class="attachedType"></span></a></li>
  317. <li><a class="reference" href="#JoyHatEventObj"
  318. title="JoyHatEventObj = object
  319. kind*: EventType
  320. timestamp*: uint32
  321. which*: int32
  322. hat*, value*: uint8"><wbr />Joy<wbr />Hat<wbr />Event<wbr />Obj<span class="attachedType"></span></a></li>
  323. <li><a class="reference" href="#JoyButtonEventPtr"
  324. title="JoyButtonEventPtr = ptr JoyButtonEventObj"><wbr />Joy<wbr />Button<wbr />Event<wbr />Ptr<span class="attachedType"></span></a></li>
  325. <li><a class="reference" href="#JoyButtonEventObj"
  326. title="JoyButtonEventObj = object
  327. kind*: EventType
  328. timestamp*: uint32
  329. which*: int32
  330. button*, state*: uint8"><wbr />Joy<wbr />Button<wbr />Event<wbr />Obj<span class="attachedType"></span></a></li>
  331. <li><a class="reference" href="#JoyDeviceEventPtr"
  332. title="JoyDeviceEventPtr = ptr JoyDeviceEventObj"><wbr />Joy<wbr />Device<wbr />Event<wbr />Ptr<span class="attachedType"></span></a></li>
  333. <li><a class="reference" href="#JoyDeviceEventObj"
  334. title="JoyDeviceEventObj = object
  335. kind*: EventType
  336. timestamp*: uint32
  337. which*: int32"><wbr />Joy<wbr />Device<wbr />Event<wbr />Obj<span class="attachedType"></span></a></li>
  338. <li><a class="reference" href="#ControllerAxisEventPtr"
  339. title="ControllerAxisEventPtr = ptr ControllerAxisEventObj"><wbr />Controller<wbr />Axis<wbr />Event<wbr />Ptr<span class="attachedType"></span></a></li>
  340. <li><a class="reference" href="#ControllerAxisEventObj"
  341. title="ControllerAxisEventObj = object
  342. kind*: EventType
  343. timestamp*: uint32
  344. which*: int32
  345. axis*, pad1, pad2, pad3: uint8
  346. value*: int16"><wbr />Controller<wbr />Axis<wbr />Event<wbr />Obj<span class="attachedType"></span></a></li>
  347. <li><a class="reference" href="#ControllerButtonEventPtr"
  348. title="ControllerButtonEventPtr = ptr ControllerButtonEventObj"><wbr />Controller<wbr />Button<wbr />Event<wbr />Ptr<span class="attachedType"></span></a></li>
  349. <li><a class="reference" href="#ControllerButtonEventObj"
  350. title="ControllerButtonEventObj = object
  351. kind*: EventType
  352. timestamp*: uint32
  353. which*: int32
  354. button*, state*: uint8"><wbr />Controller<wbr />Button<wbr />Event<wbr />Obj<span class="attachedType"></span></a></li>
  355. <li><a class="reference" href="#ControllerDeviceEventPtr"
  356. title="ControllerDeviceEventPtr = ptr ControllerDeviceEventObj"><wbr />Controller<wbr />Device<wbr />Event<wbr />Ptr<span class="attachedType"></span></a></li>
  357. <li><a class="reference" href="#ControllerDeviceEventObj"
  358. title="ControllerDeviceEventObj = object
  359. kind*: EventType
  360. timestamp*: uint32
  361. which*: int32"><wbr />Controller<wbr />Device<wbr />Event<wbr />Obj<span class="attachedType"></span></a></li>
  362. <li><a class="reference" href="#TouchID"
  363. title="TouchID = int64"><wbr />Touch<wbr />ID<span class="attachedType"></span></a></li>
  364. <li><a class="reference" href="#FingerID"
  365. title="FingerID = int64"><wbr />Finger<wbr />ID<span class="attachedType"></span></a></li>
  366. <li><a class="reference" href="#TouchFingerEventPtr"
  367. title="TouchFingerEventPtr = ptr TouchFingerEventObj"><wbr />Touch<wbr />Finger<wbr />Event<wbr />Ptr<span class="attachedType"></span></a></li>
  368. <li><a class="reference" href="#TouchFingerEventObj"
  369. title="TouchFingerEventObj = object
  370. kind*: EventType
  371. timestamp*: uint32
  372. touchID*: TouchID
  373. fingerID*: FingerID
  374. x*, y*, dx*, dy*, pressure*: cfloat
  375. pad*: array[24, byte]"><wbr />Touch<wbr />Finger<wbr />Event<wbr />Obj<span class="attachedType"></span></a></li>
  376. <li><a class="reference" href="#MultiGestureEventPtr"
  377. title="MultiGestureEventPtr = ptr MultiGestureEventObj"><wbr />Multi<wbr />Gesture<wbr />Event<wbr />Ptr<span class="attachedType"></span></a></li>
  378. <li><a class="reference" href="#MultiGestureEventObj"
  379. title="MultiGestureEventObj = object
  380. kind*: EventType
  381. timestamp*: uint32
  382. touchID*: TouchID
  383. dTheta*, dDist*, x*, y*: cfloat
  384. numFingers*: uint16"><wbr />Multi<wbr />Gesture<wbr />Event<wbr />Obj<span class="attachedType"></span></a></li>
  385. <li><a class="reference" href="#Finger"
  386. title="Finger = object
  387. id*: FingerID
  388. x*, y*: cfloat
  389. pressure*: cfloat"><wbr />Finger<span class="attachedType"></span></a></li>
  390. <li><a class="reference" href="#DollarGestureEventPtr"
  391. title="DollarGestureEventPtr = ptr DollarGestureEventObj"><wbr />Dollar<wbr />Gesture<wbr />Event<wbr />Ptr<span class="attachedType"></span></a></li>
  392. <li><a class="reference" href="#DollarGestureEventObj"
  393. title="DollarGestureEventObj = object
  394. kind*: EventType
  395. timestamp*: uint32
  396. touchID*: TouchID
  397. gestureID*: GestureID
  398. numFingers*: uint32
  399. error*, x*, y*: float"><wbr />Dollar<wbr />Gesture<wbr />Event<wbr />Obj<span class="attachedType"></span></a></li>
  400. <li><a class="reference" href="#DropEventPtr"
  401. title="DropEventPtr = ptr DropEventObj"><wbr />Drop<wbr />Event<wbr />Ptr<span class="attachedType"></span></a></li>
  402. <li><a class="reference" href="#DropEventObj"
  403. title="DropEventObj = object
  404. kind*: EventType
  405. timestamp*: uint32
  406. file*: cstring"><wbr />Drop<wbr />Event<wbr />Obj<span class="attachedType"></span></a></li>
  407. <li><a class="reference" href="#UserEventPtr"
  408. title="UserEventPtr = ptr UserEventObj"><wbr />User<wbr />Event<wbr />Ptr<span class="attachedType"></span></a></li>
  409. <li><a class="reference" href="#UserEventObj"
  410. title="UserEventObj = object
  411. kind*: EventType
  412. timestamp*, windowID*: uint32
  413. code*: int32
  414. data1*, data2*: pointer"><wbr />User<wbr />Event<wbr />Obj<span class="attachedType"></span></a></li>
  415. <li><a class="reference" href="#Eventaction"
  416. title="Eventaction {.size: 4.} = enum
  417. SDL_ADDEVENT, SDL_PEEKEVENT, SDL_GETEVENT"><wbr />Eventaction<span class="attachedType"></span></a></li>
  418. <li><a class="reference" href="#EventFilter"
  419. title="EventFilter = proc (userdata: pointer; event: ptr Event): Bool32 {.cdecl.}"><wbr />Event<wbr />Filter<span class="attachedType"></span></a></li>
  420. <li><a class="reference" href="#SDL_Return"
  421. title="SDL_Return {.size: 4.} = enum
  422. SdlError = -1, SdlSuccess = 0 ## \
  423. ## Return value for many SDL functions. Any function that returns like this \
  424. ## should also be discardable"><wbr />SDL_<wbr />Return<span class="attachedType"></span></a></li>
  425. <li><a class="reference" href="#Bool32"
  426. title="Bool32 {.size: 4.} = enum
  427. False32 = 0, True32 = 1 ## \
  428. ## SDL_bool"><wbr />Bool32<span class="attachedType"></span></a></li>
  429. <li><a class="reference" href="#KeyState"
  430. title="KeyState {.size: 1.} = enum
  431. KeyReleased = 0, KeyPressed"><wbr />Key<wbr />State<span class="attachedType"></span></a></li>
  432. <li><a class="reference" href="#KeySym"
  433. title="KeySym {.pure.} = object
  434. scancode*: Scancode
  435. sym*: cint ## Keycode
  436. modstate*: int16
  437. unicode*: cint"><wbr />Key<wbr />Sym<span class="attachedType"></span></a></li>
  438. <li><a class="reference" href="#Point"
  439. title="Point = tuple[x, y: cint]"><wbr />Point<span class="attachedType"></span></a></li>
  440. <li><a class="reference" href="#Rect"
  441. title="Rect = tuple[x, y: cint, w, h: cint]"><wbr />Rect<span class="attachedType"></span></a></li>
  442. <li><a class="reference" href="#GLattr"
  443. title="GLattr {.size: 4.} = enum
  444. SDL_GL_RED_SIZE, SDL_GL_GREEN_SIZE, SDL_GL_BLUE_SIZE, SDL_GL_ALPHA_SIZE,
  445. SDL_GL_BUFFER_SIZE, SDL_GL_DOUBLEBUFFER, SDL_GL_DEPTH_SIZE, SDL_GL_STENCIL_SIZE,
  446. SDL_GL_ACCUM_RED_SIZE, SDL_GL_ACCUM_GREEN_SIZE, SDL_GL_ACCUM_BLUE_SIZE,
  447. SDL_GL_ACCUM_ALPHA_SIZE, SDL_GL_STEREO, SDL_GL_MULTISAMPLEBUFFERS,
  448. SDL_GL_MULTISAMPLESAMPLES, SDL_GL_ACCELERATED_VISUAL, SDL_GL_RETAINED_BACKING,
  449. SDL_GL_CONTEXT_MAJOR_VERSION, SDL_GL_CONTEXT_MINOR_VERSION, SDL_GL_CONTEXT_EGL,
  450. SDL_GL_CONTEXT_FLAGS, SDL_GL_CONTEXT_PROFILE_MASK,
  451. SDL_GL_SHARE_WITH_CURRENT_CONTEXT, SDL_GL_FRAMEBUFFER_SRGB_CAPABLE,
  452. SDL_GL_CONTEXT_RELEASE_BEHAVIOR, SDL_GL_CONTEXT_RESET_NOTIFICATION,
  453. SDL_GL_CONTEXT_NO_ERROR"><wbr />GLattr<span class="attachedType"></span></a></li>
  454. <li><a class="reference" href="#MouseWheelDirection"
  455. title="MouseWheelDirection {.size: 4.} = enum
  456. SDL_MOUSEWHEEL_NORMAL, SDL_MOUSEWHEEL_FLIPPED"><wbr />Mouse<wbr />Wheel<wbr />Direction<span class="attachedType"></span></a></li>
  457. <li><a class="reference" href="#DisplayMode"
  458. title="DisplayMode = object
  459. format*: cuint
  460. w*, h*, refresh_rate*: cint
  461. driverData*: pointer"><wbr />Display<wbr />Mode<span class="attachedType"></span></a></li>
  462. <li><a class="reference" href="#WindowPtr"
  463. title="WindowPtr = ptr object"><wbr />Window<wbr />Ptr<span class="attachedType"></span></a></li>
  464. <li><a class="reference" href="#RendererPtr"
  465. title="RendererPtr = ptr object"><wbr />Renderer<wbr />Ptr<span class="attachedType"></span></a></li>
  466. <li><a class="reference" href="#TexturePtr"
  467. title="TexturePtr = ptr object"><wbr />Texture<wbr />Ptr<span class="attachedType"></span></a></li>
  468. <li><a class="reference" href="#CursorPtr"
  469. title="CursorPtr = ptr object"><wbr />Cursor<wbr />Ptr<span class="attachedType"></span></a></li>
  470. <li><a class="reference" href="#GlContextPtr"
  471. title="GlContextPtr = ptr object"><wbr />Gl<wbr />Context<wbr />Ptr<span class="attachedType"></span></a></li>
  472. <li><a class="reference" href="#SDL_Version"
  473. title="SDL_Version = object
  474. major*, minor*, patch*: uint8"><wbr />SDL_<wbr />Version<span class="attachedType"></span></a></li>
  475. <li><a class="reference" href="#RendererInfoPtr"
  476. title="RendererInfoPtr = ptr RendererInfo"><wbr />Renderer<wbr />Info<wbr />Ptr<span class="attachedType"></span></a></li>
  477. <li><a class="reference" href="#RendererInfo"
  478. title="RendererInfo {.pure, final.} = object
  479. name*: cstring
  480. flags*: uint32
  481. num_texture_formats*: uint32
  482. texture_formats*: array[0 .. 16 - 1, uint32]
  483. max_texture_width*: cint
  484. max_texture_height*: cint"><wbr />Renderer<wbr />Info<span class="attachedType"></span></a></li>
  485. <li><a class="reference" href="#TextureAccess"
  486. title="TextureAccess {.size: 4.} = enum
  487. SDL_TEXTUREACCESS_STATIC, SDL_TEXTUREACCESS_STREAMING, SDL_TEXTUREACCESS_TARGET"><wbr />Texture<wbr />Access<span class="attachedType"></span></a></li>
  488. <li><a class="reference" href="#TextureModulate"
  489. title="TextureModulate {.size: 4.} = enum
  490. SDL_TEXTUREMODULATE_NONE, SDL_TEXTUREMODULATE_COLOR, SDL_TEXTUREMODULATE_ALPHA"><wbr />Texture<wbr />Modulate<span class="attachedType"></span></a></li>
  491. <li><a class="reference" href="#RendererFlip"
  492. title="RendererFlip = cint"><wbr />Renderer<wbr />Flip<span class="attachedType"></span></a></li>
  493. <li><a class="reference" href="#SysWMType"
  494. title="SysWMType {.size: 4.} = enum
  495. SysWM_Unknown, SysWM_Windows, SysWM_X11, SysWM_DirectFB, SysWM_Cocoa, SysWM_UIkit,
  496. SysWM_Wayland, SysWM_Mir, SysWM_WinRT, SysWM_Android, SysWM_Vivante"><wbr />Sys<wbr />WMType<span class="attachedType"></span></a></li>
  497. <li><a class="reference" href="#WMinfo"
  498. title="WMinfo = object
  499. version*: SDL_Version
  500. subsystem*: SysWMType
  501. padding*: array[64, byte] ## if the low-level stuff is important to you check \
  502. ## SDL_syswm.h and cast padding to the right type"><wbr />WMinfo<span class="attachedType"></span></a></li>
  503. <li><a class="reference" href="#Color"
  504. title="Color {.pure, final.} = tuple[r: uint8, g: uint8, b: uint8, a: uint8]"><wbr />Color<span class="attachedType"></span></a></li>
  505. <li><a class="reference" href="#Palette"
  506. title="Palette {.pure, final.} = object
  507. ncolors*: cint
  508. colors*: ptr Color
  509. version*: uint32
  510. refcount*: cint"><wbr />Palette<span class="attachedType"></span></a></li>
  511. <li><a class="reference" href="#PixelFormat"
  512. title="PixelFormat {.pure, final.} = object
  513. format*: uint32
  514. palette*: ptr Palette
  515. BitsPerPixel*: uint8
  516. BytesPerPixel*: uint8
  517. padding*: array[0 .. 2 - 1, uint8]
  518. Rmask*: uint32
  519. Gmask*: uint32
  520. Bmask*: uint32
  521. Amask*: uint32
  522. Rloss*: uint8
  523. Gloss*: uint8
  524. Bloss*: uint8
  525. Aloss*: uint8
  526. Rshift*: uint8
  527. Gshift*: uint8
  528. Bshift*: uint8
  529. Ashift*: uint8
  530. refcount*: cint
  531. next*: ptr PixelFormat"><wbr />Pixel<wbr />Format<span class="attachedType"></span></a></li>
  532. <li><a class="reference" href="#BlitMapPtr"
  533. title="BlitMapPtr {.pure.} = ptr object"><wbr />Blit<wbr />Map<wbr />Ptr<span class="attachedType"></span></a></li>
  534. <li><a class="reference" href="#SurfacePtr"
  535. title="SurfacePtr = ptr Surface"><wbr />Surface<wbr />Ptr<span class="attachedType"></span></a></li>
  536. <li><a class="reference" href="#Surface"
  537. title="Surface {.pure, final.} = object
  538. flags*: uint32
  539. format*: ptr PixelFormat
  540. w*, h*, pitch*: int32
  541. pixels*: pointer
  542. userdata*: pointer
  543. locked*: int32
  544. lock_data*: pointer
  545. clip_rect*: Rect
  546. map: BlitMapPtr
  547. refcount*: cint"><wbr />Surface<span class="attachedType"></span></a></li>
  548. <li><a class="reference" href="#BlendMode"
  549. title="BlendMode {.size: 4.} = enum
  550. BlendMode_None = 0x00000000, BlendMode_Blend = 0x00000001,
  551. BlendMode_Add = 0x00000002, BlendMode_Mod = 0x00000004"><wbr />Blend<wbr />Mode<span class="attachedType"></span></a></li>
  552. <li><a class="reference" href="#BlitFunction"
  553. title="BlitFunction = proc (src: SurfacePtr; srcrect: ptr Rect; dst: SurfacePtr;
  554. dstrect: ptr Rect): cint {.cdecl.}"><wbr />Blit<wbr />Function<span class="attachedType"></span></a></li>
  555. <li><a class="reference" href="#TimerCallback"
  556. title="TimerCallback = proc (interval: uint32; param: pointer): uint32 {.cdecl.}"><wbr />Timer<wbr />Callback<span class="attachedType"></span></a></li>
  557. <li><a class="reference" href="#TimerID"
  558. title="TimerID = cint"><wbr />Timer<wbr />ID<span class="attachedType"></span></a></li>
  559. <li><a class="reference" href="#MessageBoxColor"
  560. title="MessageBoxColor {.pure, final.} = object
  561. r*: uint8
  562. g*: uint8
  563. b*: uint8"><wbr />Message<wbr />Box<wbr />Color<span class="attachedType"></span></a></li>
  564. <li><a class="reference" href="#MessageBoxColorType"
  565. title="MessageBoxColorType = enum
  566. SDL_MESSAGEBOX_COLOR_BACKGROUND, SDL_MESSAGEBOX_COLOR_TEXT,
  567. SDL_MESSAGEBOX_COLOR_BUTTON_BORDER, SDL_MESSAGEBOX_COLOR_BUTTON_BACKGROUND,
  568. SDL_MESSAGEBOX_COLOR_BUTTON_SELECTED, SDL_MESSAGEBOX_COLOR_MAX"><wbr />Message<wbr />Box<wbr />Color<wbr />Type<span class="attachedType"></span></a></li>
  569. <li><a class="reference" href="#MessageBoxColorScheme"
  570. title="MessageBoxColorScheme {.pure, final.} = object
  571. colors*: array[MessageBoxColorType, MessageBoxColor]"><wbr />Message<wbr />Box<wbr />Color<wbr />Scheme<span class="attachedType"></span></a></li>
  572. <li><a class="reference" href="#MessageBoxButtonData"
  573. title="MessageBoxButtonData {.pure, final.} = object
  574. flags*: cint
  575. buttonid*: cint
  576. text*: cstring"><wbr />Message<wbr />Box<wbr />Button<wbr />Data<span class="attachedType"></span></a></li>
  577. <li><a class="reference" href="#MessageBoxData"
  578. title="MessageBoxData {.pure, final.} = object
  579. flags*: cint
  580. window*: WindowPtr
  581. title*, message*: cstring
  582. numbuttons*: cint
  583. buttons*: ptr MessageBoxButtonData
  584. colorScheme*: ptr MessageBoxColorScheme"><wbr />Message<wbr />Box<wbr />Data<span class="attachedType"></span></a></li>
  585. <li><a class="reference" href="#RWopsPtr"
  586. title="RWopsPtr = ptr RWops"><wbr />RWops<wbr />Ptr<span class="attachedType"></span></a></li>
  587. <li><a class="reference" href="#RWops"
  588. title="RWops {.pure, final.} = object
  589. size*: proc (context: RWopsPtr): int64 {.cdecl, tags: [], raises: [].}
  590. seek*: proc (context: RWopsPtr; offset: int64; whence: cint): int64 {.cdecl, tags: [],
  591. raises: [].}
  592. read*: proc (context: RWopsPtr; destination: pointer; size, maxnum: csize_t_const): csize_t_const {.
  593. cdecl, tags: [ReadIOEffect], raises: [].}
  594. write*: proc (context: RWopsPtr; source: pointer; size: csize_t_const;
  595. num: csize_t_const): csize_t_const {.cdecl, tags: [WriteIOEffect],
  596. raises: [].}
  597. close*: proc (context: RWopsPtr): cint {.cdecl, tags: [WriteIOEffect].}
  598. kind*: cint
  599. mem*: Mem"><wbr />RWops<span class="attachedType"></span></a></li>
  600. <li><a class="reference" href="#Mem"
  601. title="Mem {.final.} = object
  602. base*: ptr byte
  603. here*: ptr byte
  604. stop*: ptr byte"><wbr />Mem<span class="attachedType"></span></a></li>
  605. <li><a class="reference" href="#VoidCallback"
  606. title="VoidCallback = proc (arg: pointer): void {.cdecl.}"><wbr />Void<wbr />Callback<span class="attachedType"></span></a></li>
  607. <li><a class="reference" href="#VulkanInstance"
  608. title="VulkanInstance = VkHandle"><wbr />Vulkan<wbr />Instance<span class="attachedType"></span></a></li>
  609. <li><a class="reference" href="#VulkanSurface"
  610. title="VulkanSurface = VkNonDispatchableHandle"><wbr />Vulkan<wbr />Surface<span class="attachedType"></span></a></li>
  611. <li><a class="reference" href="#SystemCursor"
  612. title="SystemCursor = enum
  613. SDL_SYSTEM_CURSOR_ARROW, ## Arrow
  614. SDL_SYSTEM_CURSOR_IBEAM, ## I-beam
  615. SDL_SYSTEM_CURSOR_WAIT, ## Wait
  616. SDL_SYSTEM_CURSOR_CROSSHAIR, ## Crosshair
  617. SDL_SYSTEM_CURSOR_WAITARROW, ## Small wait cursor (or Wait if not available)
  618. SDL_SYSTEM_CURSOR_SIZENWSE, ## Double arrow pointing northwest and southeast
  619. SDL_SYSTEM_CURSOR_SIZENESW, ## Double arrow pointing northeast and southwest
  620. SDL_SYSTEM_CURSOR_SIZEWE, ## Double arrow pointing west and east
  621. SDL_SYSTEM_CURSOR_SIZENS, ## Double arrow pointing north and south
  622. SDL_SYSTEM_CURSOR_SIZEALL, ## Four pointed arrow pointing north, south, east, and west
  623. SDL_SYSTEM_CURSOR_NO, ## Slashed circle or crossbones
  624. SDL_SYSTEM_CURSOR_HAND ## Hand"><wbr />System<wbr />Cursor<span class="attachedType"></span></a></li>
  625. </ul>
  626. </li>
  627. <li>
  628. <a class="reference reference-toplevel" href="#9" id="59">Lets</a>
  629. <ul class="simple simple-toc-section">
  630. <li><a class="reference" href="#defaultEvent"
  631. title="defaultEvent = Event(kind: QuitEvent)"><wbr />default<wbr />Event<span class="attachedType"></span></a></li>
  632. </ul>
  633. </li>
  634. <li>
  635. <a class="reference reference-toplevel" href="#10" id="60">Consts</a>
  636. <ul class="simple simple-toc-section">
  637. <li><a class="reference" href="#LibName"
  638. title="LibName = &quot;libSDL2.so&quot;"><wbr />Lib<wbr />Name<span class="attachedType"></span></a></li>
  639. <li><a class="reference" href="#K_UNKNOWN"
  640. title="K_UNKNOWN: cint = 0"><wbr />K_<wbr />UNKNOWN<span class="attachedType"></span></a></li>
  641. <li><a class="reference" href="#K_BACKSPACE"
  642. title="K_BACKSPACE: cint = 8&apos;i32"><wbr />K_<wbr />BACKSPACE<span class="attachedType"></span></a></li>
  643. <li><a class="reference" href="#K_TAB"
  644. title="K_TAB: cint = 9&apos;i32"><wbr />K_<wbr />TAB<span class="attachedType"></span></a></li>
  645. <li><a class="reference" href="#K_RETURN"
  646. title="K_RETURN: cint = 13&apos;i32"><wbr />K_<wbr />RETURN<span class="attachedType"></span></a></li>
  647. <li><a class="reference" href="#K_ESCAPE"
  648. title="K_ESCAPE: cint = 27&apos;i32"><wbr />K_<wbr />ESCAPE<span class="attachedType"></span></a></li>
  649. <li><a class="reference" href="#K_SPACE"
  650. title="K_SPACE: cint = 32&apos;i32"><wbr />K_<wbr />SPACE<span class="attachedType"></span></a></li>
  651. <li><a class="reference" href="#K_EXCLAIM"
  652. title="K_EXCLAIM: cint = 33&apos;i32"><wbr />K_<wbr />EXCLAIM<span class="attachedType"></span></a></li>
  653. <li><a class="reference" href="#K_QUOTEDBL"
  654. title="K_QUOTEDBL: cint = 34&apos;i32"><wbr />K_<wbr />QUOTEDBL<span class="attachedType"></span></a></li>
  655. <li><a class="reference" href="#K_HASH"
  656. title="K_HASH: cint = 35&apos;i32"><wbr />K_<wbr />HASH<span class="attachedType"></span></a></li>
  657. <li><a class="reference" href="#K_DOLLAR"
  658. title="K_DOLLAR: cint = 36&apos;i32"><wbr />K_<wbr />DOLLAR<span class="attachedType"></span></a></li>
  659. <li><a class="reference" href="#K_PERCENT"
  660. title="K_PERCENT: cint = 37&apos;i32"><wbr />K_<wbr />PERCENT<span class="attachedType"></span></a></li>
  661. <li><a class="reference" href="#K_AMPERSAND"
  662. title="K_AMPERSAND: cint = 38&apos;i32"><wbr />K_<wbr />AMPERSAND<span class="attachedType"></span></a></li>
  663. <li><a class="reference" href="#K_QUOTE"
  664. title="K_QUOTE: cint = 39&apos;i32"><wbr />K_<wbr />QUOTE<span class="attachedType"></span></a></li>
  665. <li><a class="reference" href="#K_LEFTPAREN"
  666. title="K_LEFTPAREN: cint = 40&apos;i32"><wbr />K_<wbr />LEFTPAREN<span class="attachedType"></span></a></li>
  667. <li><a class="reference" href="#K_RIGHTPAREN"
  668. title="K_RIGHTPAREN: cint = 41&apos;i32"><wbr />K_<wbr />RIGHTPAREN<span class="attachedType"></span></a></li>
  669. <li><a class="reference" href="#K_ASTERISK"
  670. title="K_ASTERISK: cint = 42&apos;i32"><wbr />K_<wbr />ASTERISK<span class="attachedType"></span></a></li>
  671. <li><a class="reference" href="#K_PLUS"
  672. title="K_PLUS: cint = 43&apos;i32"><wbr />K_<wbr />PLUS<span class="attachedType"></span></a></li>
  673. <li><a class="reference" href="#K_COMMA"
  674. title="K_COMMA: cint = 44&apos;i32"><wbr />K_<wbr />COMMA<span class="attachedType"></span></a></li>
  675. <li><a class="reference" href="#K_MINUS"
  676. title="K_MINUS: cint = 45&apos;i32"><wbr />K_<wbr />MINUS<span class="attachedType"></span></a></li>
  677. <li><a class="reference" href="#K_PERIOD"
  678. title="K_PERIOD: cint = 46&apos;i32"><wbr />K_<wbr />PERIOD<span class="attachedType"></span></a></li>
  679. <li><a class="reference" href="#K_SLASH"
  680. title="K_SLASH: cint = 47&apos;i32"><wbr />K_<wbr />SLASH<span class="attachedType"></span></a></li>
  681. <li><a class="reference" href="#K_0"
  682. title="K_0: cint = 48&apos;i32"><wbr />K_<wbr />0<span class="attachedType"></span></a></li>
  683. <li><a class="reference" href="#K_1"
  684. title="K_1: cint = 49&apos;i32"><wbr />K_<wbr />1<span class="attachedType"></span></a></li>
  685. <li><a class="reference" href="#K_2"
  686. title="K_2: cint = 50&apos;i32"><wbr />K_<wbr />2<span class="attachedType"></span></a></li>
  687. <li><a class="reference" href="#K_3"
  688. title="K_3: cint = 51&apos;i32"><wbr />K_<wbr />3<span class="attachedType"></span></a></li>
  689. <li><a class="reference" href="#K_4"
  690. title="K_4: cint = 52&apos;i32"><wbr />K_<wbr />4<span class="attachedType"></span></a></li>
  691. <li><a class="reference" href="#K_5"
  692. title="K_5: cint = 53&apos;i32"><wbr />K_<wbr />5<span class="attachedType"></span></a></li>
  693. <li><a class="reference" href="#K_6"
  694. title="K_6: cint = 54&apos;i32"><wbr />K_<wbr />6<span class="attachedType"></span></a></li>
  695. <li><a class="reference" href="#K_7"
  696. title="K_7: cint = 55&apos;i32"><wbr />K_<wbr />7<span class="attachedType"></span></a></li>
  697. <li><a class="reference" href="#K_8"
  698. title="K_8: cint = 56&apos;i32"><wbr />K_<wbr />8<span class="attachedType"></span></a></li>
  699. <li><a class="reference" href="#K_9"
  700. title="K_9: cint = 57&apos;i32"><wbr />K_<wbr />9<span class="attachedType"></span></a></li>
  701. <li><a class="reference" href="#K_COLON"
  702. title="K_COLON: cint = 58&apos;i32"><wbr />K_<wbr />COLON<span class="attachedType"></span></a></li>
  703. <li><a class="reference" href="#K_SEMICOLON"
  704. title="K_SEMICOLON: cint = 59&apos;i32"><wbr />K_<wbr />SEMICOLON<span class="attachedType"></span></a></li>
  705. <li><a class="reference" href="#K_LESS"
  706. title="K_LESS: cint = 60&apos;i32"><wbr />K_<wbr />LESS<span class="attachedType"></span></a></li>
  707. <li><a class="reference" href="#K_EQUALS"
  708. title="K_EQUALS: cint = 61&apos;i32"><wbr />K_<wbr />EQUALS<span class="attachedType"></span></a></li>
  709. <li><a class="reference" href="#K_GREATER"
  710. title="K_GREATER: cint = 62&apos;i32"><wbr />K_<wbr />GREATER<span class="attachedType"></span></a></li>
  711. <li><a class="reference" href="#K_QUESTION"
  712. title="K_QUESTION: cint = 63&apos;i32"><wbr />K_<wbr />QUESTION<span class="attachedType"></span></a></li>
  713. <li><a class="reference" href="#K_AT"
  714. title="K_AT: cint = 64&apos;i32"><wbr />K_<wbr />AT<span class="attachedType"></span></a></li>
  715. <li><a class="reference" href="#K_LEFTBRACKET"
  716. title="K_LEFTBRACKET: cint = 91&apos;i32"><wbr />K_<wbr />LEFTBRACKET<span class="attachedType"></span></a></li>
  717. <li><a class="reference" href="#K_BACKSLASH"
  718. title="K_BACKSLASH: cint = 92&apos;i32"><wbr />K_<wbr />BACKSLASH<span class="attachedType"></span></a></li>
  719. <li><a class="reference" href="#K_RIGHTBRACKET"
  720. title="K_RIGHTBRACKET: cint = 93&apos;i32"><wbr />K_<wbr />RIGHTBRACKET<span class="attachedType"></span></a></li>
  721. <li><a class="reference" href="#K_CARET"
  722. title="K_CARET: cint = 94&apos;i32"><wbr />K_<wbr />CARET<span class="attachedType"></span></a></li>
  723. <li><a class="reference" href="#K_UNDERSCORE"
  724. title="K_UNDERSCORE: cint = 95&apos;i32"><wbr />K_<wbr />UNDERSCORE<span class="attachedType"></span></a></li>
  725. <li><a class="reference" href="#K_BACKQUOTE"
  726. title="K_BACKQUOTE: cint = 96&apos;i32"><wbr />K_<wbr />BACKQUOTE<span class="attachedType"></span></a></li>
  727. <li><a class="reference" href="#K_a"
  728. title="K_a: cint = 97&apos;i32"><wbr />K_<wbr />a<span class="attachedType"></span></a></li>
  729. <li><a class="reference" href="#K_b"
  730. title="K_b: cint = 98&apos;i32"><wbr />K_<wbr />b<span class="attachedType"></span></a></li>
  731. <li><a class="reference" href="#K_c"
  732. title="K_c: cint = 99&apos;i32"><wbr />K_<wbr />c<span class="attachedType"></span></a></li>
  733. <li><a class="reference" href="#K_d"
  734. title="K_d: cint = 100&apos;i32"><wbr />K_<wbr />d<span class="attachedType"></span></a></li>
  735. <li><a class="reference" href="#K_e"
  736. title="K_e: cint = 101&apos;i32"><wbr />K_<wbr />e<span class="attachedType"></span></a></li>
  737. <li><a class="reference" href="#K_f"
  738. title="K_f: cint = 102&apos;i32"><wbr />K_<wbr />f<span class="attachedType"></span></a></li>
  739. <li><a class="reference" href="#K_g"
  740. title="K_g: cint = 103&apos;i32"><wbr />K_<wbr />g<span class="attachedType"></span></a></li>
  741. <li><a class="reference" href="#K_h"
  742. title="K_h: cint = 104&apos;i32"><wbr />K_<wbr />h<span class="attachedType"></span></a></li>
  743. <li><a class="reference" href="#K_i"
  744. title="K_i: cint = 105&apos;i32"><wbr />K_<wbr />i<span class="attachedType"></span></a></li>
  745. <li><a class="reference" href="#K_j"
  746. title="K_j: cint = 106&apos;i32"><wbr />K_<wbr />j<span class="attachedType"></span></a></li>
  747. <li><a class="reference" href="#K_k"
  748. title="K_k: cint = 107&apos;i32"><wbr />K_<wbr />k<span class="attachedType"></span></a></li>
  749. <li><a class="reference" href="#K_l"
  750. title="K_l: cint = 108&apos;i32"><wbr />K_<wbr />l<span class="attachedType"></span></a></li>
  751. <li><a class="reference" href="#K_m"
  752. title="K_m: cint = 109&apos;i32"><wbr />K_<wbr />m<span class="attachedType"></span></a></li>
  753. <li><a class="reference" href="#K_n"
  754. title="K_n: cint = 110&apos;i32"><wbr />K_<wbr />n<span class="attachedType"></span></a></li>
  755. <li><a class="reference" href="#K_o"
  756. title="K_o: cint = 111&apos;i32"><wbr />K_<wbr />o<span class="attachedType"></span></a></li>
  757. <li><a class="reference" href="#K_p"
  758. title="K_p: cint = 112&apos;i32"><wbr />K_<wbr />p<span class="attachedType"></span></a></li>
  759. <li><a class="reference" href="#K_q"
  760. title="K_q: cint = 113&apos;i32"><wbr />K_<wbr />q<span class="attachedType"></span></a></li>
  761. <li><a class="reference" href="#K_r"
  762. title="K_r: cint = 114&apos;i32"><wbr />K_<wbr />r<span class="attachedType"></span></a></li>
  763. <li><a class="reference" href="#K_s"
  764. title="K_s: cint = 115&apos;i32"><wbr />K_<wbr />s<span class="attachedType"></span></a></li>
  765. <li><a class="reference" href="#K_t"
  766. title="K_t: cint = 116&apos;i32"><wbr />K_<wbr />t<span class="attachedType"></span></a></li>
  767. <li><a class="reference" href="#K_u"
  768. title="K_u: cint = 117&apos;i32"><wbr />K_<wbr />u<span class="attachedType"></span></a></li>
  769. <li><a class="reference" href="#K_v"
  770. title="K_v: cint = 118&apos;i32"><wbr />K_<wbr />v<span class="attachedType"></span></a></li>
  771. <li><a class="reference" href="#K_w"
  772. title="K_w: cint = 119&apos;i32"><wbr />K_<wbr />w<span class="attachedType"></span></a></li>
  773. <li><a class="reference" href="#K_x"
  774. title="K_x: cint = 120&apos;i32"><wbr />K_<wbr />x<span class="attachedType"></span></a></li>
  775. <li><a class="reference" href="#K_y"
  776. title="K_y: cint = 121&apos;i32"><wbr />K_<wbr />y<span class="attachedType"></span></a></li>
  777. <li><a class="reference" href="#K_z"
  778. title="K_z: cint = 122&apos;i32"><wbr />K_<wbr />z<span class="attachedType"></span></a></li>
  779. <li><a class="reference" href="#K_DELETE"
  780. title="K_DELETE: cint = 127&apos;i32"><wbr />K_<wbr />DELETE<span class="attachedType"></span></a></li>
  781. <li><a class="reference" href="#K_CAPSLOCK"
  782. title="K_CAPSLOCK: cint = 1073741881&apos;i32"><wbr />K_<wbr />CAPSLOCK<span class="attachedType"></span></a></li>
  783. <li><a class="reference" href="#K_F1"
  784. title="K_F1: cint = 1073741882&apos;i32"><wbr />K_<wbr />F1<span class="attachedType"></span></a></li>
  785. <li><a class="reference" href="#K_F2"
  786. title="K_F2: cint = 1073741883&apos;i32"><wbr />K_<wbr />F2<span class="attachedType"></span></a></li>
  787. <li><a class="reference" href="#K_F3"
  788. title="K_F3: cint = 1073741884&apos;i32"><wbr />K_<wbr />F3<span class="attachedType"></span></a></li>
  789. <li><a class="reference" href="#K_F4"
  790. title="K_F4: cint = 1073741885&apos;i32"><wbr />K_<wbr />F4<span class="attachedType"></span></a></li>
  791. <li><a class="reference" href="#K_F5"
  792. title="K_F5: cint = 1073741886&apos;i32"><wbr />K_<wbr />F5<span class="attachedType"></span></a></li>
  793. <li><a class="reference" href="#K_F6"
  794. title="K_F6: cint = 1073741887&apos;i32"><wbr />K_<wbr />F6<span class="attachedType"></span></a></li>
  795. <li><a class="reference" href="#K_F7"
  796. title="K_F7: cint = 1073741888&apos;i32"><wbr />K_<wbr />F7<span class="attachedType"></span></a></li>
  797. <li><a class="reference" href="#K_F8"
  798. title="K_F8: cint = 1073741889&apos;i32"><wbr />K_<wbr />F8<span class="attachedType"></span></a></li>
  799. <li><a class="reference" href="#K_F9"
  800. title="K_F9: cint = 1073741890&apos;i32"><wbr />K_<wbr />F9<span class="attachedType"></span></a></li>
  801. <li><a class="reference" href="#K_F10"
  802. title="K_F10: cint = 1073741891&apos;i32"><wbr />K_<wbr />F10<span class="attachedType"></span></a></li>
  803. <li><a class="reference" href="#K_F11"
  804. title="K_F11: cint = 1073741892&apos;i32"><wbr />K_<wbr />F11<span class="attachedType"></span></a></li>
  805. <li><a class="reference" href="#K_F12"
  806. title="K_F12: cint = 1073741893&apos;i32"><wbr />K_<wbr />F12<span class="attachedType"></span></a></li>
  807. <li><a class="reference" href="#K_PRINTSCREEN"
  808. title="K_PRINTSCREEN: cint = 1073741894&apos;i32"><wbr />K_<wbr />PRINTSCREEN<span class="attachedType"></span></a></li>
  809. <li><a class="reference" href="#K_SCROLLLOCK"
  810. title="K_SCROLLLOCK: cint = 1073741895&apos;i32"><wbr />K_<wbr />SCROLLLOCK<span class="attachedType"></span></a></li>
  811. <li><a class="reference" href="#K_PAUSE"
  812. title="K_PAUSE: cint = 1073741896&apos;i32"><wbr />K_<wbr />PAUSE<span class="attachedType"></span></a></li>
  813. <li><a class="reference" href="#K_INSERT"
  814. title="K_INSERT: cint = 1073741897&apos;i32"><wbr />K_<wbr />INSERT<span class="attachedType"></span></a></li>
  815. <li><a class="reference" href="#K_HOME"
  816. title="K_HOME: cint = 1073741898&apos;i32"><wbr />K_<wbr />HOME<span class="attachedType"></span></a></li>
  817. <li><a class="reference" href="#K_PAGEUP"
  818. title="K_PAGEUP: cint = 1073741899&apos;i32"><wbr />K_<wbr />PAGEUP<span class="attachedType"></span></a></li>
  819. <li><a class="reference" href="#K_END"
  820. title="K_END: cint = 1073741901&apos;i32"><wbr />K_<wbr />END<span class="attachedType"></span></a></li>
  821. <li><a class="reference" href="#K_PAGEDOWN"
  822. title="K_PAGEDOWN: cint = 1073741902&apos;i32"><wbr />K_<wbr />PAGEDOWN<span class="attachedType"></span></a></li>
  823. <li><a class="reference" href="#K_RIGHT"
  824. title="K_RIGHT: cint = 1073741903&apos;i32"><wbr />K_<wbr />RIGHT<span class="attachedType"></span></a></li>
  825. <li><a class="reference" href="#K_LEFT"
  826. title="K_LEFT: cint = 1073741904&apos;i32"><wbr />K_<wbr />LEFT<span class="attachedType"></span></a></li>
  827. <li><a class="reference" href="#K_DOWN"
  828. title="K_DOWN: cint = 1073741905&apos;i32"><wbr />K_<wbr />DOWN<span class="attachedType"></span></a></li>
  829. <li><a class="reference" href="#K_UP"
  830. title="K_UP: cint = 1073741906&apos;i32"><wbr />K_<wbr />UP<span class="attachedType"></span></a></li>
  831. <li><a class="reference" href="#K_NUMLOCKCLEAR"
  832. title="K_NUMLOCKCLEAR: cint = 1073741907&apos;i32"><wbr />K_<wbr />NUMLOCKCLEAR<span class="attachedType"></span></a></li>
  833. <li><a class="reference" href="#K_KP_DIVIDE"
  834. title="K_KP_DIVIDE: cint = 1073741908&apos;i32"><wbr />K_<wbr />KP_<wbr />DIVIDE<span class="attachedType"></span></a></li>
  835. <li><a class="reference" href="#K_KP_MULTIPLY"
  836. title="K_KP_MULTIPLY: cint = 1073741909&apos;i32"><wbr />K_<wbr />KP_<wbr />MULTIPLY<span class="attachedType"></span></a></li>
  837. <li><a class="reference" href="#K_KP_MINUS"
  838. title="K_KP_MINUS: cint = 1073741910&apos;i32"><wbr />K_<wbr />KP_<wbr />MINUS<span class="attachedType"></span></a></li>
  839. <li><a class="reference" href="#K_KP_PLUS"
  840. title="K_KP_PLUS: cint = 1073741911&apos;i32"><wbr />K_<wbr />KP_<wbr />PLUS<span class="attachedType"></span></a></li>
  841. <li><a class="reference" href="#K_KP_ENTER"
  842. title="K_KP_ENTER: cint = 1073741912&apos;i32"><wbr />K_<wbr />KP_<wbr />ENTER<span class="attachedType"></span></a></li>
  843. <li><a class="reference" href="#K_KP_1"
  844. title="K_KP_1: cint = 1073741913&apos;i32"><wbr />K_<wbr />KP_<wbr />1<span class="attachedType"></span></a></li>
  845. <li><a class="reference" href="#K_KP_2"
  846. title="K_KP_2: cint = 1073741914&apos;i32"><wbr />K_<wbr />KP_<wbr />2<span class="attachedType"></span></a></li>
  847. <li><a class="reference" href="#K_KP_3"
  848. title="K_KP_3: cint = 1073741915&apos;i32"><wbr />K_<wbr />KP_<wbr />3<span class="attachedType"></span></a></li>
  849. <li><a class="reference" href="#K_KP_4"
  850. title="K_KP_4: cint = 1073741916&apos;i32"><wbr />K_<wbr />KP_<wbr />4<span class="attachedType"></span></a></li>
  851. <li><a class="reference" href="#K_KP_5"
  852. title="K_KP_5: cint = 1073741917&apos;i32"><wbr />K_<wbr />KP_<wbr />5<span class="attachedType"></span></a></li>
  853. <li><a class="reference" href="#K_KP_6"
  854. title="K_KP_6: cint = 1073741918&apos;i32"><wbr />K_<wbr />KP_<wbr />6<span class="attachedType"></span></a></li>
  855. <li><a class="reference" href="#K_KP_7"
  856. title="K_KP_7: cint = 1073741919&apos;i32"><wbr />K_<wbr />KP_<wbr />7<span class="attachedType"></span></a></li>
  857. <li><a class="reference" href="#K_KP_8"
  858. title="K_KP_8: cint = 1073741920&apos;i32"><wbr />K_<wbr />KP_<wbr />8<span class="attachedType"></span></a></li>
  859. <li><a class="reference" href="#K_KP_9"
  860. title="K_KP_9: cint = 1073741921&apos;i32"><wbr />K_<wbr />KP_<wbr />9<span class="attachedType"></span></a></li>
  861. <li><a class="reference" href="#K_KP_0"
  862. title="K_KP_0: cint = 1073741922&apos;i32"><wbr />K_<wbr />KP_<wbr />0<span class="attachedType"></span></a></li>
  863. <li><a class="reference" href="#K_KP_PERIOD"
  864. title="K_KP_PERIOD: cint = 1073741923&apos;i32"><wbr />K_<wbr />KP_<wbr />PERIOD<span class="attachedType"></span></a></li>
  865. <li><a class="reference" href="#K_APPLICATION"
  866. title="K_APPLICATION: cint = 1073741925&apos;i32"><wbr />K_<wbr />APPLICATION<span class="attachedType"></span></a></li>
  867. <li><a class="reference" href="#K_POWER"
  868. title="K_POWER: cint = 1073741926&apos;i32"><wbr />K_<wbr />POWER<span class="attachedType"></span></a></li>
  869. <li><a class="reference" href="#K_KP_EQUALS"
  870. title="K_KP_EQUALS: cint = 1073741927&apos;i32"><wbr />K_<wbr />KP_<wbr />EQUALS<span class="attachedType"></span></a></li>
  871. <li><a class="reference" href="#K_F13"
  872. title="K_F13: cint = 1073741928&apos;i32"><wbr />K_<wbr />F13<span class="attachedType"></span></a></li>
  873. <li><a class="reference" href="#K_F14"
  874. title="K_F14: cint = 1073741929&apos;i32"><wbr />K_<wbr />F14<span class="attachedType"></span></a></li>
  875. <li><a class="reference" href="#K_F15"
  876. title="K_F15: cint = 1073741930&apos;i32"><wbr />K_<wbr />F15<span class="attachedType"></span></a></li>
  877. <li><a class="reference" href="#K_F16"
  878. title="K_F16: cint = 1073741931&apos;i32"><wbr />K_<wbr />F16<span class="attachedType"></span></a></li>
  879. <li><a class="reference" href="#K_F17"
  880. title="K_F17: cint = 1073741932&apos;i32"><wbr />K_<wbr />F17<span class="attachedType"></span></a></li>
  881. <li><a class="reference" href="#K_F18"
  882. title="K_F18: cint = 1073741933&apos;i32"><wbr />K_<wbr />F18<span class="attachedType"></span></a></li>
  883. <li><a class="reference" href="#K_F19"
  884. title="K_F19: cint = 1073741934&apos;i32"><wbr />K_<wbr />F19<span class="attachedType"></span></a></li>
  885. <li><a class="reference" href="#K_F20"
  886. title="K_F20: cint = 1073741935&apos;i32"><wbr />K_<wbr />F20<span class="attachedType"></span></a></li>
  887. <li><a class="reference" href="#K_F21"
  888. title="K_F21: cint = 1073741936&apos;i32"><wbr />K_<wbr />F21<span class="attachedType"></span></a></li>
  889. <li><a class="reference" href="#K_F22"
  890. title="K_F22: cint = 1073741937&apos;i32"><wbr />K_<wbr />F22<span class="attachedType"></span></a></li>
  891. <li><a class="reference" href="#K_F23"
  892. title="K_F23: cint = 1073741938&apos;i32"><wbr />K_<wbr />F23<span class="attachedType"></span></a></li>
  893. <li><a class="reference" href="#K_F24"
  894. title="K_F24: cint = 1073741939&apos;i32"><wbr />K_<wbr />F24<span class="attachedType"></span></a></li>
  895. <li><a class="reference" href="#K_EXECUTE"
  896. title="K_EXECUTE: cint = 1073741940&apos;i32"><wbr />K_<wbr />EXECUTE<span class="attachedType"></span></a></li>
  897. <li><a class="reference" href="#K_HELP"
  898. title="K_HELP: cint = 1073741941&apos;i32"><wbr />K_<wbr />HELP<span class="attachedType"></span></a></li>
  899. <li><a class="reference" href="#K_MENU"
  900. title="K_MENU: cint = 1073741942&apos;i32"><wbr />K_<wbr />MENU<span class="attachedType"></span></a></li>
  901. <li><a class="reference" href="#K_SELECT"
  902. title="K_SELECT: cint = 1073741943&apos;i32"><wbr />K_<wbr />SELECT<span class="attachedType"></span></a></li>
  903. <li><a class="reference" href="#K_STOP"
  904. title="K_STOP: cint = 1073741944&apos;i32"><wbr />K_<wbr />STOP<span class="attachedType"></span></a></li>
  905. <li><a class="reference" href="#K_AGAIN"
  906. title="K_AGAIN: cint = 1073741945&apos;i32"><wbr />K_<wbr />AGAIN<span class="attachedType"></span></a></li>
  907. <li><a class="reference" href="#K_UNDO"
  908. title="K_UNDO: cint = 1073741946&apos;i32"><wbr />K_<wbr />UNDO<span class="attachedType"></span></a></li>
  909. <li><a class="reference" href="#K_CUT"
  910. title="K_CUT: cint = 1073741947&apos;i32"><wbr />K_<wbr />CUT<span class="attachedType"></span></a></li>
  911. <li><a class="reference" href="#K_COPY"
  912. title="K_COPY: cint = 1073741948&apos;i32"><wbr />K_<wbr />COPY<span class="attachedType"></span></a></li>
  913. <li><a class="reference" href="#K_PASTE"
  914. title="K_PASTE: cint = 1073741949&apos;i32"><wbr />K_<wbr />PASTE<span class="attachedType"></span></a></li>
  915. <li><a class="reference" href="#K_FIND"
  916. title="K_FIND: cint = 1073741950&apos;i32"><wbr />K_<wbr />FIND<span class="attachedType"></span></a></li>
  917. <li><a class="reference" href="#K_MUTE"
  918. title="K_MUTE: cint = 1073741951&apos;i32"><wbr />K_<wbr />MUTE<span class="attachedType"></span></a></li>
  919. <li><a class="reference" href="#K_VOLUMEUP"
  920. title="K_VOLUMEUP: cint = 1073741952&apos;i32"><wbr />K_<wbr />VOLUMEUP<span class="attachedType"></span></a></li>
  921. <li><a class="reference" href="#K_VOLUMEDOWN"
  922. title="K_VOLUMEDOWN: cint = 1073741953&apos;i32"><wbr />K_<wbr />VOLUMEDOWN<span class="attachedType"></span></a></li>
  923. <li><a class="reference" href="#K_KP_COMMA"
  924. title="K_KP_COMMA: cint = 1073741957&apos;i32"><wbr />K_<wbr />KP_<wbr />COMMA<span class="attachedType"></span></a></li>
  925. <li><a class="reference" href="#K_KP_EQUALSAS400"
  926. title="K_KP_EQUALSAS400: cint = 1073741958&apos;i32"><wbr />K_<wbr />KP_<wbr />EQUALSAS400<span class="attachedType"></span></a></li>
  927. <li><a class="reference" href="#K_ALTERASE"
  928. title="K_ALTERASE: cint = 1073741977&apos;i32"><wbr />K_<wbr />ALTERASE<span class="attachedType"></span></a></li>
  929. <li><a class="reference" href="#K_SYSREQ"
  930. title="K_SYSREQ: cint = 1073741978&apos;i32"><wbr />K_<wbr />SYSREQ<span class="attachedType"></span></a></li>
  931. <li><a class="reference" href="#K_CANCEL"
  932. title="K_CANCEL: cint = 1073741979&apos;i32"><wbr />K_<wbr />CANCEL<span class="attachedType"></span></a></li>
  933. <li><a class="reference" href="#K_CLEAR"
  934. title="K_CLEAR: cint = 1073741980&apos;i32"><wbr />K_<wbr />CLEAR<span class="attachedType"></span></a></li>
  935. <li><a class="reference" href="#K_PRIOR"
  936. title="K_PRIOR: cint = 1073741981&apos;i32"><wbr />K_<wbr />PRIOR<span class="attachedType"></span></a></li>
  937. <li><a class="reference" href="#K_RETURN2"
  938. title="K_RETURN2: cint = 1073741982&apos;i32"><wbr />K_<wbr />RETURN2<span class="attachedType"></span></a></li>
  939. <li><a class="reference" href="#K_SEPARATOR"
  940. title="K_SEPARATOR: cint = 1073741983&apos;i32"><wbr />K_<wbr />SEPARATOR<span class="attachedType"></span></a></li>
  941. <li><a class="reference" href="#K_OUT"
  942. title="K_OUT: cint = 1073741984&apos;i32"><wbr />K_<wbr />OUT<span class="attachedType"></span></a></li>
  943. <li><a class="reference" href="#K_OPER"
  944. title="K_OPER: cint = 1073741985&apos;i32"><wbr />K_<wbr />OPER<span class="attachedType"></span></a></li>
  945. <li><a class="reference" href="#K_CLEARAGAIN"
  946. title="K_CLEARAGAIN: cint = 1073741986&apos;i32"><wbr />K_<wbr />CLEARAGAIN<span class="attachedType"></span></a></li>
  947. <li><a class="reference" href="#K_CRSEL"
  948. title="K_CRSEL: cint = 1073741987&apos;i32"><wbr />K_<wbr />CRSEL<span class="attachedType"></span></a></li>
  949. <li><a class="reference" href="#K_EXSEL"
  950. title="K_EXSEL: cint = 1073741988&apos;i32"><wbr />K_<wbr />EXSEL<span class="attachedType"></span></a></li>
  951. <li><a class="reference" href="#K_KP_00"
  952. title="K_KP_00: cint = 1073742000&apos;i32"><wbr />K_<wbr />KP_<wbr />00<span class="attachedType"></span></a></li>
  953. <li><a class="reference" href="#K_KP_000"
  954. title="K_KP_000: cint = 1073742001&apos;i32"><wbr />K_<wbr />KP_<wbr />000<span class="attachedType"></span></a></li>
  955. <li><a class="reference" href="#K_THOUSANDSSEPARATOR"
  956. title="K_THOUSANDSSEPARATOR: cint = 1073742002&apos;i32"><wbr />K_<wbr />THOUSANDSSEPARATOR<span class="attachedType"></span></a></li>
  957. <li><a class="reference" href="#K_DECIMALSEPARATOR"
  958. title="K_DECIMALSEPARATOR: cint = 1073742003&apos;i32"><wbr />K_<wbr />DECIMALSEPARATOR<span class="attachedType"></span></a></li>
  959. <li><a class="reference" href="#K_CURRENCYUNIT"
  960. title="K_CURRENCYUNIT: cint = 1073742004&apos;i32"><wbr />K_<wbr />CURRENCYUNIT<span class="attachedType"></span></a></li>
  961. <li><a class="reference" href="#K_CURRENCYSUBUNIT"
  962. title="K_CURRENCYSUBUNIT: cint = 1073742005&apos;i32"><wbr />K_<wbr />CURRENCYSUBUNIT<span class="attachedType"></span></a></li>
  963. <li><a class="reference" href="#K_KP_LEFTPAREN"
  964. title="K_KP_LEFTPAREN: cint = 1073742006&apos;i32"><wbr />K_<wbr />KP_<wbr />LEFTPAREN<span class="attachedType"></span></a></li>
  965. <li><a class="reference" href="#K_KP_RIGHTPAREN"
  966. title="K_KP_RIGHTPAREN: cint = 1073742007&apos;i32"><wbr />K_<wbr />KP_<wbr />RIGHTPAREN<span class="attachedType"></span></a></li>
  967. <li><a class="reference" href="#K_KP_LEFTBRACE"
  968. title="K_KP_LEFTBRACE: cint = 1073742008&apos;i32"><wbr />K_<wbr />KP_<wbr />LEFTBRACE<span class="attachedType"></span></a></li>
  969. <li><a class="reference" href="#K_KP_RIGHTBRACE"
  970. title="K_KP_RIGHTBRACE: cint = 1073742009&apos;i32"><wbr />K_<wbr />KP_<wbr />RIGHTBRACE<span class="attachedType"></span></a></li>
  971. <li><a class="reference" href="#K_KP_TAB"
  972. title="K_KP_TAB: cint = 1073742010&apos;i32"><wbr />K_<wbr />KP_<wbr />TAB<span class="attachedType"></span></a></li>
  973. <li><a class="reference" href="#K_KP_BACKSPACE"
  974. title="K_KP_BACKSPACE: cint = 1073742011&apos;i32"><wbr />K_<wbr />KP_<wbr />BACKSPACE<span class="attachedType"></span></a></li>
  975. <li><a class="reference" href="#K_KP_A"
  976. title="K_KP_A: cint = 1073742012&apos;i32"><wbr />K_<wbr />KP_<wbr />A<span class="attachedType"></span></a></li>
  977. <li><a class="reference" href="#K_KP_B"
  978. title="K_KP_B: cint = 1073742013&apos;i32"><wbr />K_<wbr />KP_<wbr />B<span class="attachedType"></span></a></li>
  979. <li><a class="reference" href="#K_KP_C"
  980. title="K_KP_C: cint = 1073742014&apos;i32"><wbr />K_<wbr />KP_<wbr />C<span class="attachedType"></span></a></li>
  981. <li><a class="reference" href="#K_KP_D"
  982. title="K_KP_D: cint = 1073742015&apos;i32"><wbr />K_<wbr />KP_<wbr />D<span class="attachedType"></span></a></li>
  983. <li><a class="reference" href="#K_KP_E"
  984. title="K_KP_E: cint = 1073742016&apos;i32"><wbr />K_<wbr />KP_<wbr />E<span class="attachedType"></span></a></li>
  985. <li><a class="reference" href="#K_KP_F"
  986. title="K_KP_F: cint = 1073742017&apos;i32"><wbr />K_<wbr />KP_<wbr />F<span class="attachedType"></span></a></li>
  987. <li><a class="reference" href="#K_KP_XOR"
  988. title="K_KP_XOR: cint = 1073742018&apos;i32"><wbr />K_<wbr />KP_<wbr />XOR<span class="attachedType"></span></a></li>
  989. <li><a class="reference" href="#K_KP_POWER"
  990. title="K_KP_POWER: cint = 1073742019&apos;i32"><wbr />K_<wbr />KP_<wbr />POWER<span class="attachedType"></span></a></li>
  991. <li><a class="reference" href="#K_KP_PERCENT"
  992. title="K_KP_PERCENT: cint = 1073742020&apos;i32"><wbr />K_<wbr />KP_<wbr />PERCENT<span class="attachedType"></span></a></li>
  993. <li><a class="reference" href="#K_KP_LESS"
  994. title="K_KP_LESS: cint = 1073742021&apos;i32"><wbr />K_<wbr />KP_<wbr />LESS<span class="attachedType"></span></a></li>
  995. <li><a class="reference" href="#K_KP_GREATER"
  996. title="K_KP_GREATER: cint = 1073742022&apos;i32"><wbr />K_<wbr />KP_<wbr />GREATER<span class="attachedType"></span></a></li>
  997. <li><a class="reference" href="#K_KP_AMPERSAND"
  998. title="K_KP_AMPERSAND: cint = 1073742023&apos;i32"><wbr />K_<wbr />KP_<wbr />AMPERSAND<span class="attachedType"></span></a></li>
  999. <li><a class="reference" href="#K_KP_DBLAMPERSAND"
  1000. title="K_KP_DBLAMPERSAND: cint = 1073742024&apos;i32"><wbr />K_<wbr />KP_<wbr />DBLAMPERSAND<span class="attachedType"></span></a></li>
  1001. <li><a class="reference" href="#K_KP_VERTICALBAR"
  1002. title="K_KP_VERTICALBAR: cint = 1073742025&apos;i32"><wbr />K_<wbr />KP_<wbr />VERTICALBAR<span class="attachedType"></span></a></li>
  1003. <li><a class="reference" href="#K_KP_DBLVERTICALBAR"
  1004. title="K_KP_DBLVERTICALBAR: cint = 1073742026&apos;i32"><wbr />K_<wbr />KP_<wbr />DBLVERTICALBAR<span class="attachedType"></span></a></li>
  1005. <li><a class="reference" href="#K_KP_COLON"
  1006. title="K_KP_COLON: cint = 1073742027&apos;i32"><wbr />K_<wbr />KP_<wbr />COLON<span class="attachedType"></span></a></li>
  1007. <li><a class="reference" href="#K_KP_HASH"
  1008. title="K_KP_HASH: cint = 1073742028&apos;i32"><wbr />K_<wbr />KP_<wbr />HASH<span class="attachedType"></span></a></li>
  1009. <li><a class="reference" href="#K_KP_SPACE"
  1010. title="K_KP_SPACE: cint = 1073742029&apos;i32"><wbr />K_<wbr />KP_<wbr />SPACE<span class="attachedType"></span></a></li>
  1011. <li><a class="reference" href="#K_KP_AT"
  1012. title="K_KP_AT: cint = 1073742030&apos;i32"><wbr />K_<wbr />KP_<wbr />AT<span class="attachedType"></span></a></li>
  1013. <li><a class="reference" href="#K_KP_EXCLAM"
  1014. title="K_KP_EXCLAM: cint = 1073742031&apos;i32"><wbr />K_<wbr />KP_<wbr />EXCLAM<span class="attachedType"></span></a></li>
  1015. <li><a class="reference" href="#K_KP_MEMSTORE"
  1016. title="K_KP_MEMSTORE: cint = 1073742032&apos;i32"><wbr />K_<wbr />KP_<wbr />MEMSTORE<span class="attachedType"></span></a></li>
  1017. <li><a class="reference" href="#K_KP_MEMRECALL"
  1018. title="K_KP_MEMRECALL: cint = 1073742033&apos;i32"><wbr />K_<wbr />KP_<wbr />MEMRECALL<span class="attachedType"></span></a></li>
  1019. <li><a class="reference" href="#K_KP_MEMCLEAR"
  1020. title="K_KP_MEMCLEAR: cint = 1073742034&apos;i32"><wbr />K_<wbr />KP_<wbr />MEMCLEAR<span class="attachedType"></span></a></li>
  1021. <li><a class="reference" href="#K_KP_MEMADD"
  1022. title="K_KP_MEMADD: cint = 1073742035&apos;i32"><wbr />K_<wbr />KP_<wbr />MEMADD<span class="attachedType"></span></a></li>
  1023. <li><a class="reference" href="#K_KP_MEMSUBTRACT"
  1024. title="K_KP_MEMSUBTRACT: cint = 1073742036&apos;i32"><wbr />K_<wbr />KP_<wbr />MEMSUBTRACT<span class="attachedType"></span></a></li>
  1025. <li><a class="reference" href="#K_KP_MEMMULTIPLY"
  1026. title="K_KP_MEMMULTIPLY: cint = 1073742037&apos;i32"><wbr />K_<wbr />KP_<wbr />MEMMULTIPLY<span class="attachedType"></span></a></li>
  1027. <li><a class="reference" href="#K_KP_MEMDIVIDE"
  1028. title="K_KP_MEMDIVIDE: cint = 1073742038&apos;i32"><wbr />K_<wbr />KP_<wbr />MEMDIVIDE<span class="attachedType"></span></a></li>
  1029. <li><a class="reference" href="#K_KP_PLUSMINUS"
  1030. title="K_KP_PLUSMINUS: cint = 1073742039&apos;i32"><wbr />K_<wbr />KP_<wbr />PLUSMINUS<span class="attachedType"></span></a></li>
  1031. <li><a class="reference" href="#K_KP_CLEAR"
  1032. title="K_KP_CLEAR: cint = 1073742040&apos;i32"><wbr />K_<wbr />KP_<wbr />CLEAR<span class="attachedType"></span></a></li>
  1033. <li><a class="reference" href="#K_KP_CLEARENTRY"
  1034. title="K_KP_CLEARENTRY: cint = 1073742041&apos;i32"><wbr />K_<wbr />KP_<wbr />CLEARENTRY<span class="attachedType"></span></a></li>
  1035. <li><a class="reference" href="#K_KP_BINARY"
  1036. title="K_KP_BINARY: cint = 1073742042&apos;i32"><wbr />K_<wbr />KP_<wbr />BINARY<span class="attachedType"></span></a></li>
  1037. <li><a class="reference" href="#K_KP_OCTAL"
  1038. title="K_KP_OCTAL: cint = 1073742043&apos;i32"><wbr />K_<wbr />KP_<wbr />OCTAL<span class="attachedType"></span></a></li>
  1039. <li><a class="reference" href="#K_KP_DECIMAL"
  1040. title="K_KP_DECIMAL: cint = 1073742044&apos;i32"><wbr />K_<wbr />KP_<wbr />DECIMAL<span class="attachedType"></span></a></li>
  1041. <li><a class="reference" href="#K_KP_HEXADECIMAL"
  1042. title="K_KP_HEXADECIMAL: cint = 1073742045&apos;i32"><wbr />K_<wbr />KP_<wbr />HEXADECIMAL<span class="attachedType"></span></a></li>
  1043. <li><a class="reference" href="#K_LCTRL"
  1044. title="K_LCTRL: cint = 1073742048&apos;i32"><wbr />K_<wbr />LCTRL<span class="attachedType"></span></a></li>
  1045. <li><a class="reference" href="#K_LSHIFT"
  1046. title="K_LSHIFT: cint = 1073742049&apos;i32"><wbr />K_<wbr />LSHIFT<span class="attachedType"></span></a></li>
  1047. <li><a class="reference" href="#K_LALT"
  1048. title="K_LALT: cint = 1073742050&apos;i32"><wbr />K_<wbr />LALT<span class="attachedType"></span></a></li>
  1049. <li><a class="reference" href="#K_LGUI"
  1050. title="K_LGUI: cint = 1073742051&apos;i32"><wbr />K_<wbr />LGUI<span class="attachedType"></span></a></li>
  1051. <li><a class="reference" href="#K_RCTRL"
  1052. title="K_RCTRL: cint = 1073742052&apos;i32"><wbr />K_<wbr />RCTRL<span class="attachedType"></span></a></li>
  1053. <li><a class="reference" href="#K_RSHIFT"
  1054. title="K_RSHIFT: cint = 1073742053&apos;i32"><wbr />K_<wbr />RSHIFT<span class="attachedType"></span></a></li>
  1055. <li><a class="reference" href="#K_RALT"
  1056. title="K_RALT: cint = 1073742054&apos;i32"><wbr />K_<wbr />RALT<span class="attachedType"></span></a></li>
  1057. <li><a class="reference" href="#K_RGUI"
  1058. title="K_RGUI: cint = 1073742055&apos;i32"><wbr />K_<wbr />RGUI<span class="attachedType"></span></a></li>
  1059. <li><a class="reference" href="#K_MODE"
  1060. title="K_MODE: cint = 1073742081&apos;i32"><wbr />K_<wbr />MODE<span class="attachedType"></span></a></li>
  1061. <li><a class="reference" href="#K_AUDIONEXT"
  1062. title="K_AUDIONEXT: cint = 1073742082&apos;i32"><wbr />K_<wbr />AUDIONEXT<span class="attachedType"></span></a></li>
  1063. <li><a class="reference" href="#K_AUDIOPREV"
  1064. title="K_AUDIOPREV: cint = 1073742083&apos;i32"><wbr />K_<wbr />AUDIOPREV<span class="attachedType"></span></a></li>
  1065. <li><a class="reference" href="#K_AUDIOSTOP"
  1066. title="K_AUDIOSTOP: cint = 1073742084&apos;i32"><wbr />K_<wbr />AUDIOSTOP<span class="attachedType"></span></a></li>
  1067. <li><a class="reference" href="#K_AUDIOPLAY"
  1068. title="K_AUDIOPLAY: cint = 1073742085&apos;i32"><wbr />K_<wbr />AUDIOPLAY<span class="attachedType"></span></a></li>
  1069. <li><a class="reference" href="#K_AUDIOMUTE"
  1070. title="K_AUDIOMUTE: cint = 1073742086&apos;i32"><wbr />K_<wbr />AUDIOMUTE<span class="attachedType"></span></a></li>
  1071. <li><a class="reference" href="#K_MEDIASELECT"
  1072. title="K_MEDIASELECT: cint = 1073742087&apos;i32"><wbr />K_<wbr />MEDIASELECT<span class="attachedType"></span></a></li>
  1073. <li><a class="reference" href="#K_WWW"
  1074. title="K_WWW: cint = 1073742088&apos;i32"><wbr />K_<wbr />WWW<span class="attachedType"></span></a></li>
  1075. <li><a class="reference" href="#K_MAIL"
  1076. title="K_MAIL: cint = 1073742089&apos;i32"><wbr />K_<wbr />MAIL<span class="attachedType"></span></a></li>
  1077. <li><a class="reference" href="#K_CALCULATOR"
  1078. title="K_CALCULATOR: cint = 1073742090&apos;i32"><wbr />K_<wbr />CALCULATOR<span class="attachedType"></span></a></li>
  1079. <li><a class="reference" href="#K_COMPUTER"
  1080. title="K_COMPUTER: cint = 1073742091&apos;i32"><wbr />K_<wbr />COMPUTER<span class="attachedType"></span></a></li>
  1081. <li><a class="reference" href="#K_AC_SEARCH"
  1082. title="K_AC_SEARCH: cint = 1073742092&apos;i32"><wbr />K_<wbr />AC_<wbr />SEARCH<span class="attachedType"></span></a></li>
  1083. <li><a class="reference" href="#K_AC_HOME"
  1084. title="K_AC_HOME: cint = 1073742093&apos;i32"><wbr />K_<wbr />AC_<wbr />HOME<span class="attachedType"></span></a></li>
  1085. <li><a class="reference" href="#K_AC_BACK"
  1086. title="K_AC_BACK: cint = 1073742094&apos;i32"><wbr />K_<wbr />AC_<wbr />BACK<span class="attachedType"></span></a></li>
  1087. <li><a class="reference" href="#K_AC_FORWARD"
  1088. title="K_AC_FORWARD: cint = 1073742095&apos;i32"><wbr />K_<wbr />AC_<wbr />FORWARD<span class="attachedType"></span></a></li>
  1089. <li><a class="reference" href="#K_AC_STOP"
  1090. title="K_AC_STOP: cint = 1073742096&apos;i32"><wbr />K_<wbr />AC_<wbr />STOP<span class="attachedType"></span></a></li>
  1091. <li><a class="reference" href="#K_AC_REFRESH"
  1092. title="K_AC_REFRESH: cint = 1073742097&apos;i32"><wbr />K_<wbr />AC_<wbr />REFRESH<span class="attachedType"></span></a></li>
  1093. <li><a class="reference" href="#K_AC_BOOKMARKS"
  1094. title="K_AC_BOOKMARKS: cint = 1073742098&apos;i32"><wbr />K_<wbr />AC_<wbr />BOOKMARKS<span class="attachedType"></span></a></li>
  1095. <li><a class="reference" href="#K_BRIGHTNESSDOWN"
  1096. title="K_BRIGHTNESSDOWN: cint = 1073742099&apos;i32"><wbr />K_<wbr />BRIGHTNESSDOWN<span class="attachedType"></span></a></li>
  1097. <li><a class="reference" href="#K_BRIGHTNESSUP"
  1098. title="K_BRIGHTNESSUP: cint = 1073742100&apos;i32"><wbr />K_<wbr />BRIGHTNESSUP<span class="attachedType"></span></a></li>
  1099. <li><a class="reference" href="#K_DISPLAYSWITCH"
  1100. title="K_DISPLAYSWITCH: cint = 1073742101&apos;i32"><wbr />K_<wbr />DISPLAYSWITCH<span class="attachedType"></span></a></li>
  1101. <li><a class="reference" href="#K_KBDILLUMTOGGLE"
  1102. title="K_KBDILLUMTOGGLE: cint = 1073742102&apos;i32"><wbr />K_<wbr />KBDILLUMTOGGLE<span class="attachedType"></span></a></li>
  1103. <li><a class="reference" href="#K_KBDILLUMDOWN"
  1104. title="K_KBDILLUMDOWN: cint = 1073742103&apos;i32"><wbr />K_<wbr />KBDILLUMDOWN<span class="attachedType"></span></a></li>
  1105. <li><a class="reference" href="#K_KBDILLUMUP"
  1106. title="K_KBDILLUMUP: cint = 1073742104&apos;i32"><wbr />K_<wbr />KBDILLUMUP<span class="attachedType"></span></a></li>
  1107. <li><a class="reference" href="#K_EJECT"
  1108. title="K_EJECT: cint = 1073742105&apos;i32"><wbr />K_<wbr />EJECT<span class="attachedType"></span></a></li>
  1109. <li><a class="reference" href="#K_SLEEP"
  1110. title="K_SLEEP: cint = 1073742106&apos;i32"><wbr />K_<wbr />SLEEP<span class="attachedType"></span></a></li>
  1111. <li><a class="reference" href="#SDL_TEXTEDITINGEVENT_TEXT_SIZE"
  1112. title="SDL_TEXTEDITINGEVENT_TEXT_SIZE = 32"><wbr />SDL_<wbr />TEXTEDITINGEVENT_<wbr />TEXT_<wbr />SIZE<span class="attachedType"></span></a></li>
  1113. <li><a class="reference" href="#SDL_TEXTINPUTEVENT_TEXT_SIZE"
  1114. title="SDL_TEXTINPUTEVENT_TEXT_SIZE = 32"><wbr />SDL_<wbr />TEXTINPUTEVENT_<wbr />TEXT_<wbr />SIZE<span class="attachedType"></span></a></li>
  1115. <li><a class="reference" href="#SDL_GL_CONTEXT_PROFILE_CORE"
  1116. title="SDL_GL_CONTEXT_PROFILE_CORE: cint = 0x00000001"><wbr />SDL_<wbr />GL_<wbr />CONTEXT_<wbr />PROFILE_<wbr />CORE<span class="attachedType"></span></a></li>
  1117. <li><a class="reference" href="#SDL_GL_CONTEXT_PROFILE_COMPATIBILITY"
  1118. title="SDL_GL_CONTEXT_PROFILE_COMPATIBILITY: cint = 0x00000002"><wbr />SDL_<wbr />GL_<wbr />CONTEXT_<wbr />PROFILE_<wbr />COMPATIBILITY<span class="attachedType"></span></a></li>
  1119. <li><a class="reference" href="#SDL_GL_CONTEXT_PROFILE_ES"
  1120. title="SDL_GL_CONTEXT_PROFILE_ES: cint = 0x00000004"><wbr />SDL_<wbr />GL_<wbr />CONTEXT_<wbr />PROFILE_<wbr />ES<span class="attachedType"></span></a></li>
  1121. <li><a class="reference" href="#SDL_GL_CONTEXT_DEBUG_FLAG"
  1122. title="SDL_GL_CONTEXT_DEBUG_FLAG: cint = 0x00000001"><wbr />SDL_<wbr />GL_<wbr />CONTEXT_<wbr />DEBUG_<wbr />FLAG<span class="attachedType"></span></a></li>
  1123. <li><a class="reference" href="#SDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG"
  1124. title="SDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG: cint = 0x00000002"><wbr />SDL_<wbr />GL_<wbr />CONTEXT_<wbr />FORWARD_<wbr />COMPATIBLE_<wbr />FLAG<span class="attachedType"></span></a></li>
  1125. <li><a class="reference" href="#SDL_GL_CONTEXT_ROBUST_ACCESS_FLAG"
  1126. title="SDL_GL_CONTEXT_ROBUST_ACCESS_FLAG: cint = 0x00000004"><wbr />SDL_<wbr />GL_<wbr />CONTEXT_<wbr />ROBUST_<wbr />ACCESS_<wbr />FLAG<span class="attachedType"></span></a></li>
  1127. <li><a class="reference" href="#SDL_GL_CONTEXT_RESET_ISOLATION_FLAG"
  1128. title="SDL_GL_CONTEXT_RESET_ISOLATION_FLAG: cint = 0x00000008"><wbr />SDL_<wbr />GL_<wbr />CONTEXT_<wbr />RESET_<wbr />ISOLATION_<wbr />FLAG<span class="attachedType"></span></a></li>
  1129. <li><a class="reference" href="#SDL_GL_CONTEXT_RELEASE_BEHAVIOR_NONE"
  1130. title="SDL_GL_CONTEXT_RELEASE_BEHAVIOR_NONE: cint = 0x00000000"><wbr />SDL_<wbr />GL_<wbr />CONTEXT_<wbr />RELEASE_<wbr />BEHAVIOR_<wbr />NONE<span class="attachedType"></span></a></li>
  1131. <li><a class="reference" href="#SDL_GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH"
  1132. title="SDL_GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH: cint = 0x00000001"><wbr />SDL_<wbr />GL_<wbr />CONTEXT_<wbr />RELEASE_<wbr />BEHAVIOR_<wbr />FLUSH<span class="attachedType"></span></a></li>
  1133. <li><a class="reference" href="#SDL_WINDOW_FULLSCREEN"
  1134. title="SDL_WINDOW_FULLSCREEN: cuint = 0x00000001"><wbr />SDL_<wbr />WINDOW_<wbr />FULLSCREEN<span class="attachedType"></span></a></li>
  1135. <li><a class="reference" href="#SDL_WINDOW_OPENGL"
  1136. title="SDL_WINDOW_OPENGL: cuint = 0x00000002"><wbr />SDL_<wbr />WINDOW_<wbr />OPENGL<span class="attachedType"></span></a></li>
  1137. <li><a class="reference" href="#SDL_WINDOW_SHOWN"
  1138. title="SDL_WINDOW_SHOWN: cuint = 0x00000004"><wbr />SDL_<wbr />WINDOW_<wbr />SHOWN<span class="attachedType"></span></a></li>
  1139. <li><a class="reference" href="#SDL_WINDOW_HIDDEN"
  1140. title="SDL_WINDOW_HIDDEN: cuint = 0x00000008"><wbr />SDL_<wbr />WINDOW_<wbr />HIDDEN<span class="attachedType"></span></a></li>
  1141. <li><a class="reference" href="#SDL_WINDOW_BORDERLESS"
  1142. title="SDL_WINDOW_BORDERLESS: cuint = 0x00000010"><wbr />SDL_<wbr />WINDOW_<wbr />BORDERLESS<span class="attachedType"></span></a></li>
  1143. <li><a class="reference" href="#SDL_WINDOW_RESIZABLE"
  1144. title="SDL_WINDOW_RESIZABLE: cuint = 0x00000020"><wbr />SDL_<wbr />WINDOW_<wbr />RESIZABLE<span class="attachedType"></span></a></li>
  1145. <li><a class="reference" href="#SDL_WINDOW_MINIMIZED"
  1146. title="SDL_WINDOW_MINIMIZED: cuint = 0x00000040"><wbr />SDL_<wbr />WINDOW_<wbr />MINIMIZED<span class="attachedType"></span></a></li>
  1147. <li><a class="reference" href="#SDL_WINDOW_MAXIMIZED"
  1148. title="SDL_WINDOW_MAXIMIZED: cuint = 0x00000080"><wbr />SDL_<wbr />WINDOW_<wbr />MAXIMIZED<span class="attachedType"></span></a></li>
  1149. <li><a class="reference" href="#SDL_WINDOW_INPUT_GRABBED"
  1150. title="SDL_WINDOW_INPUT_GRABBED: cuint = 0x00000100"><wbr />SDL_<wbr />WINDOW_<wbr />INPUT_<wbr />GRABBED<span class="attachedType"></span></a></li>
  1151. <li><a class="reference" href="#SDL_WINDOW_INPUT_FOCUS"
  1152. title="SDL_WINDOW_INPUT_FOCUS: cuint = 0x00000200"><wbr />SDL_<wbr />WINDOW_<wbr />INPUT_<wbr />FOCUS<span class="attachedType"></span></a></li>
  1153. <li><a class="reference" href="#SDL_WINDOW_MOUSE_FOCUS"
  1154. title="SDL_WINDOW_MOUSE_FOCUS: cuint = 0x00000400"><wbr />SDL_<wbr />WINDOW_<wbr />MOUSE_<wbr />FOCUS<span class="attachedType"></span></a></li>
  1155. <li><a class="reference" href="#SDL_WINDOW_FULLSCREEN_DESKTOP"
  1156. title="SDL_WINDOW_FULLSCREEN_DESKTOP: cuint = 4097&apos;u32"><wbr />SDL_<wbr />WINDOW_<wbr />FULLSCREEN_<wbr />DESKTOP<span class="attachedType"></span></a></li>
  1157. <li><a class="reference" href="#SDL_WINDOW_FOREIGN"
  1158. title="SDL_WINDOW_FOREIGN: cuint = 0x00000800"><wbr />SDL_<wbr />WINDOW_<wbr />FOREIGN<span class="attachedType"></span></a></li>
  1159. <li><a class="reference" href="#SDL_WINDOW_ALLOW_HIGHDPI"
  1160. title="SDL_WINDOW_ALLOW_HIGHDPI: cuint = 0x00002000"><wbr />SDL_<wbr />WINDOW_<wbr />ALLOW_<wbr />HIGHDPI<span class="attachedType"></span></a></li>
  1161. <li><a class="reference" href="#SDL_WINDOW_MOUSE_CAPTURE"
  1162. title="SDL_WINDOW_MOUSE_CAPTURE: cuint = 0x00004000"><wbr />SDL_<wbr />WINDOW_<wbr />MOUSE_<wbr />CAPTURE<span class="attachedType"></span></a></li>
  1163. <li><a class="reference" href="#SDL_WINDOW_VULKAN"
  1164. title="SDL_WINDOW_VULKAN: cuint = 0x10000000"><wbr />SDL_<wbr />WINDOW_<wbr />VULKAN<span class="attachedType"></span></a></li>
  1165. <li><a class="reference" href="#SDL_FLIP_NONE"
  1166. title="SDL_FLIP_NONE: cint = 0x00000000"><wbr />SDL_<wbr />FLIP_<wbr />NONE<span class="attachedType"></span></a></li>
  1167. <li><a class="reference" href="#SDL_FLIP_HORIZONTAL"
  1168. title="SDL_FLIP_HORIZONTAL: cint = 0x00000001"><wbr />SDL_<wbr />FLIP_<wbr />HORIZONTAL<span class="attachedType"></span></a></li>
  1169. <li><a class="reference" href="#SDL_FLIP_VERTICAL"
  1170. title="SDL_FLIP_VERTICAL: cint = 0x00000002"><wbr />SDL_<wbr />FLIP_<wbr />VERTICAL<span class="attachedType"></span></a></li>
  1171. <li><a class="reference" href="#SDL_ALPHA_OPAQUE"
  1172. title="SDL_ALPHA_OPAQUE = 255"><wbr />SDL_<wbr />ALPHA_<wbr />OPAQUE<span class="attachedType"></span></a></li>
  1173. <li><a class="reference" href="#SDL_ALPHA_TRANSPARENT"
  1174. title="SDL_ALPHA_TRANSPARENT = 0"><wbr />SDL_<wbr />ALPHA_<wbr />TRANSPARENT<span class="attachedType"></span></a></li>
  1175. <li><a class="reference" href="#SDL_PIXELTYPE_UNKNOWN"
  1176. title="SDL_PIXELTYPE_UNKNOWN = 0"><wbr />SDL_<wbr />PIXELTYPE_<wbr />UNKNOWN<span class="attachedType"></span></a></li>
  1177. <li><a class="reference" href="#SDL_PIXELTYPE_INDEX1"
  1178. title="SDL_PIXELTYPE_INDEX1 = 1"><wbr />SDL_<wbr />PIXELTYPE_<wbr />INDEX1<span class="attachedType"></span></a></li>
  1179. <li><a class="reference" href="#SDL_PIXELTYPE_INDEX4"
  1180. title="SDL_PIXELTYPE_INDEX4 = 2"><wbr />SDL_<wbr />PIXELTYPE_<wbr />INDEX4<span class="attachedType"></span></a></li>
  1181. <li><a class="reference" href="#SDL_PIXELTYPE_INDEX8"
  1182. title="SDL_PIXELTYPE_INDEX8 = 3"><wbr />SDL_<wbr />PIXELTYPE_<wbr />INDEX8<span class="attachedType"></span></a></li>
  1183. <li><a class="reference" href="#SDL_PIXELTYPE_PACKED8"
  1184. title="SDL_PIXELTYPE_PACKED8 = 4"><wbr />SDL_<wbr />PIXELTYPE_<wbr />PACKED8<span class="attachedType"></span></a></li>
  1185. <li><a class="reference" href="#SDL_PIXELTYPE_PACKED16"
  1186. title="SDL_PIXELTYPE_PACKED16 = 5"><wbr />SDL_<wbr />PIXELTYPE_<wbr />PACKED16<span class="attachedType"></span></a></li>
  1187. <li><a class="reference" href="#SDL_PIXELTYPE_PACKED32"
  1188. title="SDL_PIXELTYPE_PACKED32 = 6"><wbr />SDL_<wbr />PIXELTYPE_<wbr />PACKED32<span class="attachedType"></span></a></li>
  1189. <li><a class="reference" href="#SDL_PIXELTYPE_ARRAYU8"
  1190. title="SDL_PIXELTYPE_ARRAYU8 = 7"><wbr />SDL_<wbr />PIXELTYPE_<wbr />ARRAYU8<span class="attachedType"></span></a></li>
  1191. <li><a class="reference" href="#SDL_PIXELTYPE_ARRAYU16"
  1192. title="SDL_PIXELTYPE_ARRAYU16 = 8"><wbr />SDL_<wbr />PIXELTYPE_<wbr />ARRAYU16<span class="attachedType"></span></a></li>
  1193. <li><a class="reference" href="#SDL_PIXELTYPE_ARRAYU32"
  1194. title="SDL_PIXELTYPE_ARRAYU32 = 9"><wbr />SDL_<wbr />PIXELTYPE_<wbr />ARRAYU32<span class="attachedType"></span></a></li>
  1195. <li><a class="reference" href="#SDL_PIXELTYPE_ARRAYF16"
  1196. title="SDL_PIXELTYPE_ARRAYF16 = 10"><wbr />SDL_<wbr />PIXELTYPE_<wbr />ARRAYF16<span class="attachedType"></span></a></li>
  1197. <li><a class="reference" href="#SDL_PIXELTYPE_ARRAYF32"
  1198. title="SDL_PIXELTYPE_ARRAYF32 = 11"><wbr />SDL_<wbr />PIXELTYPE_<wbr />ARRAYF32<span class="attachedType"></span></a></li>
  1199. <li><a class="reference" href="#SDL_BITMAPORDER_NONE"
  1200. title="SDL_BITMAPORDER_NONE = 0"><wbr />SDL_<wbr />BITMAPORDER_<wbr />NONE<span class="attachedType"></span></a></li>
  1201. <li><a class="reference" href="#SDL_BITMAPORDER_4321"
  1202. title="SDL_BITMAPORDER_4321 = 1"><wbr />SDL_<wbr />BITMAPORDER_<wbr />4321<span class="attachedType"></span></a></li>
  1203. <li><a class="reference" href="#SDL_BITMAPORDER_1234"
  1204. title="SDL_BITMAPORDER_1234 = 2"><wbr />SDL_<wbr />BITMAPORDER_<wbr />1234<span class="attachedType"></span></a></li>
  1205. <li><a class="reference" href="#SDL_PACKEDORDER_NONE"
  1206. title="SDL_PACKEDORDER_NONE = 0"><wbr />SDL_<wbr />PACKEDORDER_<wbr />NONE<span class="attachedType"></span></a></li>
  1207. <li><a class="reference" href="#SDL_PACKEDORDER_XRGB"
  1208. title="SDL_PACKEDORDER_XRGB = 1"><wbr />SDL_<wbr />PACKEDORDER_<wbr />XRGB<span class="attachedType"></span></a></li>
  1209. <li><a class="reference" href="#SDL_PACKEDORDER_RGBX"
  1210. title="SDL_PACKEDORDER_RGBX = 2"><wbr />SDL_<wbr />PACKEDORDER_<wbr />RGBX<span class="attachedType"></span></a></li>
  1211. <li><a class="reference" href="#SDL_PACKEDORDER_ARGB"
  1212. title="SDL_PACKEDORDER_ARGB = 3"><wbr />SDL_<wbr />PACKEDORDER_<wbr />ARGB<span class="attachedType"></span></a></li>
  1213. <li><a class="reference" href="#SDL_PACKEDORDER_RGBA"
  1214. title="SDL_PACKEDORDER_RGBA = 4"><wbr />SDL_<wbr />PACKEDORDER_<wbr />RGBA<span class="attachedType"></span></a></li>
  1215. <li><a class="reference" href="#SDL_PACKEDORDER_XBGR"
  1216. title="SDL_PACKEDORDER_XBGR = 5"><wbr />SDL_<wbr />PACKEDORDER_<wbr />XBGR<span class="attachedType"></span></a></li>
  1217. <li><a class="reference" href="#SDL_PACKEDORDER_BGRX"
  1218. title="SDL_PACKEDORDER_BGRX = 6"><wbr />SDL_<wbr />PACKEDORDER_<wbr />BGRX<span class="attachedType"></span></a></li>
  1219. <li><a class="reference" href="#SDL_PACKEDORDER_ABGR"
  1220. title="SDL_PACKEDORDER_ABGR = 7"><wbr />SDL_<wbr />PACKEDORDER_<wbr />ABGR<span class="attachedType"></span></a></li>
  1221. <li><a class="reference" href="#SDL_PACKEDORDER_BGRA"
  1222. title="SDL_PACKEDORDER_BGRA = 8"><wbr />SDL_<wbr />PACKEDORDER_<wbr />BGRA<span class="attachedType"></span></a></li>
  1223. <li><a class="reference" href="#SDL_ARRAYORDER_NONE"
  1224. title="SDL_ARRAYORDER_NONE = 0"><wbr />SDL_<wbr />ARRAYORDER_<wbr />NONE<span class="attachedType"></span></a></li>
  1225. <li><a class="reference" href="#SDL_ARRAYORDER_RGB"
  1226. title="SDL_ARRAYORDER_RGB = 1"><wbr />SDL_<wbr />ARRAYORDER_<wbr />RGB<span class="attachedType"></span></a></li>
  1227. <li><a class="reference" href="#SDL_ARRAYORDER_RGBA"
  1228. title="SDL_ARRAYORDER_RGBA = 2"><wbr />SDL_<wbr />ARRAYORDER_<wbr />RGBA<span class="attachedType"></span></a></li>
  1229. <li><a class="reference" href="#SDL_ARRAYORDER_ARGB"
  1230. title="SDL_ARRAYORDER_ARGB = 3"><wbr />SDL_<wbr />ARRAYORDER_<wbr />ARGB<span class="attachedType"></span></a></li>
  1231. <li><a class="reference" href="#SDL_ARRAYORDER_BGR"
  1232. title="SDL_ARRAYORDER_BGR = 4"><wbr />SDL_<wbr />ARRAYORDER_<wbr />BGR<span class="attachedType"></span></a></li>
  1233. <li><a class="reference" href="#SDL_ARRAYORDER_BGRA"
  1234. title="SDL_ARRAYORDER_BGRA = 5"><wbr />SDL_<wbr />ARRAYORDER_<wbr />BGRA<span class="attachedType"></span></a></li>
  1235. <li><a class="reference" href="#SDL_ARRAYORDER_ABGR"
  1236. title="SDL_ARRAYORDER_ABGR = 6"><wbr />SDL_<wbr />ARRAYORDER_<wbr />ABGR<span class="attachedType"></span></a></li>
  1237. <li><a class="reference" href="#SDL_PACKEDLAYOUT_NONE"
  1238. title="SDL_PACKEDLAYOUT_NONE = 0"><wbr />SDL_<wbr />PACKEDLAYOUT_<wbr />NONE<span class="attachedType"></span></a></li>
  1239. <li><a class="reference" href="#SDL_PACKEDLAYOUT_332"
  1240. title="SDL_PACKEDLAYOUT_332 = 1"><wbr />SDL_<wbr />PACKEDLAYOUT_<wbr />332<span class="attachedType"></span></a></li>
  1241. <li><a class="reference" href="#SDL_PACKEDLAYOUT_4444"
  1242. title="SDL_PACKEDLAYOUT_4444 = 2"><wbr />SDL_<wbr />PACKEDLAYOUT_<wbr />4444<span class="attachedType"></span></a></li>
  1243. <li><a class="reference" href="#SDL_PACKEDLAYOUT_1555"
  1244. title="SDL_PACKEDLAYOUT_1555 = 3"><wbr />SDL_<wbr />PACKEDLAYOUT_<wbr />1555<span class="attachedType"></span></a></li>
  1245. <li><a class="reference" href="#SDL_PACKEDLAYOUT_5551"
  1246. title="SDL_PACKEDLAYOUT_5551 = 4"><wbr />SDL_<wbr />PACKEDLAYOUT_<wbr />5551<span class="attachedType"></span></a></li>
  1247. <li><a class="reference" href="#SDL_PACKEDLAYOUT_565"
  1248. title="SDL_PACKEDLAYOUT_565 = 5"><wbr />SDL_<wbr />PACKEDLAYOUT_<wbr />565<span class="attachedType"></span></a></li>
  1249. <li><a class="reference" href="#SDL_PACKEDLAYOUT_8888"
  1250. title="SDL_PACKEDLAYOUT_8888 = 6"><wbr />SDL_<wbr />PACKEDLAYOUT_<wbr />8888<span class="attachedType"></span></a></li>
  1251. <li><a class="reference" href="#SDL_PACKEDLAYOUT_2101010"
  1252. title="SDL_PACKEDLAYOUT_2101010 = 7"><wbr />SDL_<wbr />PACKEDLAYOUT_<wbr />2101010<span class="attachedType"></span></a></li>
  1253. <li><a class="reference" href="#SDL_PACKEDLAYOUT_1010102"
  1254. title="SDL_PACKEDLAYOUT_1010102 = 8"><wbr />SDL_<wbr />PACKEDLAYOUT_<wbr />1010102<span class="attachedType"></span></a></li>
  1255. <li><a class="reference" href="#SDL_PIXELFORMAT_UNKNOWN"
  1256. title="SDL_PIXELFORMAT_UNKNOWN = 0"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />UNKNOWN<span class="attachedType"></span></a></li>
  1257. <li><a class="reference" href="#SDL_PIXELFORMAT_INDEX1LSB"
  1258. title="SDL_PIXELFORMAT_INDEX1LSB = 286261504&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />INDEX1LSB<span class="attachedType"></span></a></li>
  1259. <li><a class="reference" href="#SDL_PIXELFORMAT_INDEX1MSB"
  1260. title="SDL_PIXELFORMAT_INDEX1MSB = 287310080&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />INDEX1MSB<span class="attachedType"></span></a></li>
  1261. <li><a class="reference" href="#SDL_PIXELFORMAT_INDEX4LSB"
  1262. title="SDL_PIXELFORMAT_INDEX4LSB = 303039488&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />INDEX4LSB<span class="attachedType"></span></a></li>
  1263. <li><a class="reference" href="#SDL_PIXELFORMAT_INDEX4MSB"
  1264. title="SDL_PIXELFORMAT_INDEX4MSB = 304088064&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />INDEX4MSB<span class="attachedType"></span></a></li>
  1265. <li><a class="reference" href="#SDL_PIXELFORMAT_INDEX8"
  1266. title="SDL_PIXELFORMAT_INDEX8 = 318769153&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />INDEX8<span class="attachedType"></span></a></li>
  1267. <li><a class="reference" href="#SDL_PIXELFORMAT_RGB332"
  1268. title="SDL_PIXELFORMAT_RGB332 = 336660481&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />RGB332<span class="attachedType"></span></a></li>
  1269. <li><a class="reference" href="#SDL_PIXELFORMAT_RGB444"
  1270. title="SDL_PIXELFORMAT_RGB444 = 353504258&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />RGB444<span class="attachedType"></span></a></li>
  1271. <li><a class="reference" href="#SDL_PIXELFORMAT_RGB555"
  1272. title="SDL_PIXELFORMAT_RGB555 = 353570562&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />RGB555<span class="attachedType"></span></a></li>
  1273. <li><a class="reference" href="#SDL_PIXELFORMAT_BGR555"
  1274. title="SDL_PIXELFORMAT_BGR555 = 357764866&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />BGR555<span class="attachedType"></span></a></li>
  1275. <li><a class="reference" href="#SDL_PIXELFORMAT_ARGB4444"
  1276. title="SDL_PIXELFORMAT_ARGB4444 = 355602434&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />ARGB4444<span class="attachedType"></span></a></li>
  1277. <li><a class="reference" href="#SDL_PIXELFORMAT_RGBA4444"
  1278. title="SDL_PIXELFORMAT_RGBA4444 = 356651010&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />RGBA4444<span class="attachedType"></span></a></li>
  1279. <li><a class="reference" href="#SDL_PIXELFORMAT_ABGR4444"
  1280. title="SDL_PIXELFORMAT_ABGR4444 = 359796738&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />ABGR4444<span class="attachedType"></span></a></li>
  1281. <li><a class="reference" href="#SDL_PIXELFORMAT_BGRA4444"
  1282. title="SDL_PIXELFORMAT_BGRA4444 = 360845314&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />BGRA4444<span class="attachedType"></span></a></li>
  1283. <li><a class="reference" href="#SDL_PIXELFORMAT_ARGB1555"
  1284. title="SDL_PIXELFORMAT_ARGB1555 = 355667970&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />ARGB1555<span class="attachedType"></span></a></li>
  1285. <li><a class="reference" href="#SDL_PIXELFORMAT_RGBA5551"
  1286. title="SDL_PIXELFORMAT_RGBA5551 = 356782082&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />RGBA5551<span class="attachedType"></span></a></li>
  1287. <li><a class="reference" href="#SDL_PIXELFORMAT_ABGR1555"
  1288. title="SDL_PIXELFORMAT_ABGR1555 = 359862274&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />ABGR1555<span class="attachedType"></span></a></li>
  1289. <li><a class="reference" href="#SDL_PIXELFORMAT_BGRA5551"
  1290. title="SDL_PIXELFORMAT_BGRA5551 = 360976386&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />BGRA5551<span class="attachedType"></span></a></li>
  1291. <li><a class="reference" href="#SDL_PIXELFORMAT_RGB565"
  1292. title="SDL_PIXELFORMAT_RGB565 = 353701890&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />RGB565<span class="attachedType"></span></a></li>
  1293. <li><a class="reference" href="#SDL_PIXELFORMAT_BGR565"
  1294. title="SDL_PIXELFORMAT_BGR565 = 357896194&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />BGR565<span class="attachedType"></span></a></li>
  1295. <li><a class="reference" href="#SDL_PIXELFORMAT_RGB24"
  1296. title="SDL_PIXELFORMAT_RGB24 = 386930691&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />RGB24<span class="attachedType"></span></a></li>
  1297. <li><a class="reference" href="#SDL_PIXELFORMAT_BGR24"
  1298. title="SDL_PIXELFORMAT_BGR24 = 390076419&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />BGR24<span class="attachedType"></span></a></li>
  1299. <li><a class="reference" href="#SDL_PIXELFORMAT_RGB888"
  1300. title="SDL_PIXELFORMAT_RGB888 = 370546692&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />RGB888<span class="attachedType"></span></a></li>
  1301. <li><a class="reference" href="#SDL_PIXELFORMAT_RGBX8888"
  1302. title="SDL_PIXELFORMAT_RGBX8888 = 371595268&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />RGBX8888<span class="attachedType"></span></a></li>
  1303. <li><a class="reference" href="#SDL_PIXELFORMAT_BGR888"
  1304. title="SDL_PIXELFORMAT_BGR888 = 374740996&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />BGR888<span class="attachedType"></span></a></li>
  1305. <li><a class="reference" href="#SDL_PIXELFORMAT_BGRX8888"
  1306. title="SDL_PIXELFORMAT_BGRX8888 = 375789572&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />BGRX8888<span class="attachedType"></span></a></li>
  1307. <li><a class="reference" href="#SDL_PIXELFORMAT_ARGB8888"
  1308. title="SDL_PIXELFORMAT_ARGB8888 = 372645892&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />ARGB8888<span class="attachedType"></span></a></li>
  1309. <li><a class="reference" href="#SDL_PIXELFORMAT_RGBA8888"
  1310. title="SDL_PIXELFORMAT_RGBA8888 = 373694468&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />RGBA8888<span class="attachedType"></span></a></li>
  1311. <li><a class="reference" href="#SDL_PIXELFORMAT_ABGR8888"
  1312. title="SDL_PIXELFORMAT_ABGR8888 = 376840196&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />ABGR8888<span class="attachedType"></span></a></li>
  1313. <li><a class="reference" href="#SDL_PIXELFORMAT_BGRA8888"
  1314. title="SDL_PIXELFORMAT_BGRA8888 = 377888772&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />BGRA8888<span class="attachedType"></span></a></li>
  1315. <li><a class="reference" href="#SDL_PIXELFORMAT_ARGB2101010"
  1316. title="SDL_PIXELFORMAT_ARGB2101010 = 372711428&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />ARGB2101010<span class="attachedType"></span></a></li>
  1317. <li><a class="reference" href="#SDL_PIXELFORMAT_YV12"
  1318. title="SDL_PIXELFORMAT_YV12 = 842094169&apos;u32"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />YV12<span class="attachedType"></span></a></li>
  1319. <li><a class="reference" href="#SDL_PIXELFORMAT_IYUV"
  1320. title="SDL_PIXELFORMAT_IYUV = 1448433993&apos;u32"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />IYUV<span class="attachedType"></span></a></li>
  1321. <li><a class="reference" href="#SDL_PIXELFORMAT_YUY2"
  1322. title="SDL_PIXELFORMAT_YUY2 = 844715353&apos;u32"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />YUY2<span class="attachedType"></span></a></li>
  1323. <li><a class="reference" href="#SDL_PIXELFORMAT_UYVY"
  1324. title="SDL_PIXELFORMAT_UYVY = 1498831189&apos;u32"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />UYVY<span class="attachedType"></span></a></li>
  1325. <li><a class="reference" href="#SDL_PIXELFORMAT_YVYU"
  1326. title="SDL_PIXELFORMAT_YVYU = 1431918169&apos;u32"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />YVYU<span class="attachedType"></span></a></li>
  1327. <li><a class="reference" href="#Renderer_Software"
  1328. title="Renderer_Software: cint = 0x00000001"><wbr />Renderer_<wbr />Software<span class="attachedType"></span></a></li>
  1329. <li><a class="reference" href="#Renderer_Accelerated"
  1330. title="Renderer_Accelerated: cint = 0x00000002"><wbr />Renderer_<wbr />Accelerated<span class="attachedType"></span></a></li>
  1331. <li><a class="reference" href="#Renderer_PresentVsync"
  1332. title="Renderer_PresentVsync: cint = 0x00000004"><wbr />Renderer_<wbr />Present<wbr />Vsync<span class="attachedType"></span></a></li>
  1333. <li><a class="reference" href="#Renderer_TargetTexture"
  1334. title="Renderer_TargetTexture: cint = 0x00000008"><wbr />Renderer_<wbr />Target<wbr />Texture<span class="attachedType"></span></a></li>
  1335. <li><a class="reference" href="#SDL_SWSURFACE"
  1336. title="SDL_SWSURFACE = 0"><wbr />SDL_<wbr />SWSURFACE<span class="attachedType"></span></a></li>
  1337. <li><a class="reference" href="#SDL_PREALLOC"
  1338. title="SDL_PREALLOC = 0x00000001"><wbr />SDL_<wbr />PREALLOC<span class="attachedType"></span></a></li>
  1339. <li><a class="reference" href="#SDL_RLEACCEL"
  1340. title="SDL_RLEACCEL = 0x00000002"><wbr />SDL_<wbr />RLEACCEL<span class="attachedType"></span></a></li>
  1341. <li><a class="reference" href="#SDL_DONTFREE"
  1342. title="SDL_DONTFREE = 0x00000004"><wbr />SDL_<wbr />DONTFREE<span class="attachedType"></span></a></li>
  1343. <li><a class="reference" href="#INIT_TIMER"
  1344. title="INIT_TIMER = 0x00000001"><wbr />INIT_<wbr />TIMER<span class="attachedType"></span></a></li>
  1345. <li><a class="reference" href="#INIT_AUDIO"
  1346. title="INIT_AUDIO = 0x00000010"><wbr />INIT_<wbr />AUDIO<span class="attachedType"></span></a></li>
  1347. <li><a class="reference" href="#INIT_VIDEO"
  1348. title="INIT_VIDEO = 0x00000020"><wbr />INIT_<wbr />VIDEO<span class="attachedType"></span></a></li>
  1349. <li><a class="reference" href="#INIT_JOYSTICK"
  1350. title="INIT_JOYSTICK = 0x00000200"><wbr />INIT_<wbr />JOYSTICK<span class="attachedType"></span></a></li>
  1351. <li><a class="reference" href="#INIT_HAPTIC"
  1352. title="INIT_HAPTIC = 0x00001000"><wbr />INIT_<wbr />HAPTIC<span class="attachedType"></span></a></li>
  1353. <li><a class="reference" href="#INIT_GAMECONTROLLER"
  1354. title="INIT_GAMECONTROLLER = 0x00002000"><wbr />INIT_<wbr />GAMECONTROLLER<span class="attachedType"></span></a></li>
  1355. <li><a class="reference" href="#INIT_EVENTS"
  1356. title="INIT_EVENTS = 0x00004000"><wbr />INIT_<wbr />EVENTS<span class="attachedType"></span></a></li>
  1357. <li><a class="reference" href="#INIT_NOPARACHUTE"
  1358. title="INIT_NOPARACHUTE = 0x00100000"><wbr />INIT_<wbr />NOPARACHUTE<span class="attachedType"></span></a></li>
  1359. <li><a class="reference" href="#INIT_EVERYTHING"
  1360. title="INIT_EVERYTHING = 0x0000FFFF"><wbr />INIT_<wbr />EVERYTHING<span class="attachedType"></span></a></li>
  1361. <li><a class="reference" href="#SDL_WINDOWPOS_UNDEFINED_MASK"
  1362. title="SDL_WINDOWPOS_UNDEFINED_MASK = 0x1FFF0000"><wbr />SDL_<wbr />WINDOWPOS_<wbr />UNDEFINED_<wbr />MASK<span class="attachedType"></span></a></li>
  1363. <li><a class="reference" href="#SDL_WINDOWPOS_UNDEFINED"
  1364. title="SDL_WINDOWPOS_UNDEFINED: cint = 536805376&apos;i32"><wbr />SDL_<wbr />WINDOWPOS_<wbr />UNDEFINED<span class="attachedType"></span></a></li>
  1365. <li><a class="reference" href="#SDL_WINDOWPOS_CENTERED_MASK"
  1366. title="SDL_WINDOWPOS_CENTERED_MASK = 0x2FFF0000"><wbr />SDL_<wbr />WINDOWPOS_<wbr />CENTERED_<wbr />MASK<span class="attachedType"></span></a></li>
  1367. <li><a class="reference" href="#SDL_WINDOWPOS_CENTERED"
  1368. title="SDL_WINDOWPOS_CENTERED: cint = 805240832&apos;i32"><wbr />SDL_<wbr />WINDOWPOS_<wbr />CENTERED<span class="attachedType"></span></a></li>
  1369. <li><a class="reference" href="#SDL_MESSAGEBOX_ERROR"
  1370. title="SDL_MESSAGEBOX_ERROR = 0x00000010"><wbr />SDL_<wbr />MESSAGEBOX_<wbr />ERROR<span class="attachedType"></span></a></li>
  1371. <li><a class="reference" href="#SDL_MESSAGEBOX_WARNING"
  1372. title="SDL_MESSAGEBOX_WARNING = 0x00000020"><wbr />SDL_<wbr />MESSAGEBOX_<wbr />WARNING<span class="attachedType"></span></a></li>
  1373. <li><a class="reference" href="#SDL_MESSAGEBOX_INFORMATION"
  1374. title="SDL_MESSAGEBOX_INFORMATION = 0x00000040"><wbr />SDL_<wbr />MESSAGEBOX_<wbr />INFORMATION<span class="attachedType"></span></a></li>
  1375. <li><a class="reference" href="#SDL_MESSAGEBOX_BUTTON_RETURNKEY_DEFAULT"
  1376. title="SDL_MESSAGEBOX_BUTTON_RETURNKEY_DEFAULT = 0x00000001"><wbr />SDL_<wbr />MESSAGEBOX_<wbr />BUTTON_<wbr />RETURNKEY_<wbr />DEFAULT<span class="attachedType"></span></a></li>
  1377. <li><a class="reference" href="#SDL_MESSAGEBOX_BUTTON_ESCAPEKEY_DEFAULT"
  1378. title="SDL_MESSAGEBOX_BUTTON_ESCAPEKEY_DEFAULT = 0x00000002"><wbr />SDL_<wbr />MESSAGEBOX_<wbr />BUTTON_<wbr />ESCAPEKEY_<wbr />DEFAULT<span class="attachedType"></span></a></li>
  1379. <li><a class="reference" href="#SDL_ANDROID_EXTERNAL_STORAGE_READ"
  1380. title="SDL_ANDROID_EXTERNAL_STORAGE_READ = 1&apos;i32"><wbr />SDL_<wbr />ANDROID_<wbr />EXTERNAL_<wbr />STORAGE_<wbr />READ<span class="attachedType"></span></a></li>
  1381. <li><a class="reference" href="#SDL_ANDROID_EXTERNAL_STORAGE_WRITE"
  1382. title="SDL_ANDROID_EXTERNAL_STORAGE_WRITE = 2&apos;i32"><wbr />SDL_<wbr />ANDROID_<wbr />EXTERNAL_<wbr />STORAGE_<wbr />WRITE<span class="attachedType"></span></a></li>
  1383. <li><a class="reference" href="#SDL_QUERY"
  1384. title="SDL_QUERY = -1"><wbr />SDL_<wbr />QUERY<span class="attachedType"></span></a></li>
  1385. <li><a class="reference" href="#SDL_IGNORE"
  1386. title="SDL_IGNORE = 0"><wbr />SDL_<wbr />IGNORE<span class="attachedType"></span></a></li>
  1387. <li><a class="reference" href="#SDL_DISABLE"
  1388. title="SDL_DISABLE = 0"><wbr />SDL_<wbr />DISABLE<span class="attachedType"></span></a></li>
  1389. <li><a class="reference" href="#SDL_ENABLE"
  1390. title="SDL_ENABLE = 1"><wbr />SDL_<wbr />ENABLE<span class="attachedType"></span></a></li>
  1391. <li><a class="reference" href="#BUTTON_LEFT"
  1392. title="BUTTON_LEFT = 1&apos;u8"><wbr />BUTTON_<wbr />LEFT<span class="attachedType"></span></a></li>
  1393. <li><a class="reference" href="#BUTTON_MIDDLE"
  1394. title="BUTTON_MIDDLE = 2&apos;u8"><wbr />BUTTON_<wbr />MIDDLE<span class="attachedType"></span></a></li>
  1395. <li><a class="reference" href="#BUTTON_RIGHT"
  1396. title="BUTTON_RIGHT = 3&apos;u8"><wbr />BUTTON_<wbr />RIGHT<span class="attachedType"></span></a></li>
  1397. <li><a class="reference" href="#BUTTON_X1"
  1398. title="BUTTON_X1 = 4&apos;u8"><wbr />BUTTON_<wbr />X1<span class="attachedType"></span></a></li>
  1399. <li><a class="reference" href="#BUTTON_X2"
  1400. title="BUTTON_X2 = 5&apos;u8"><wbr />BUTTON_<wbr />X2<span class="attachedType"></span></a></li>
  1401. <li><a class="reference" href="#BUTTON_LMASK"
  1402. title="BUTTON_LMASK = 1&apos;u8"><wbr />BUTTON_<wbr />LMASK<span class="attachedType"></span></a></li>
  1403. <li><a class="reference" href="#BUTTON_MMASK"
  1404. title="BUTTON_MMASK = 2&apos;u8"><wbr />BUTTON_<wbr />MMASK<span class="attachedType"></span></a></li>
  1405. <li><a class="reference" href="#BUTTON_RMASK"
  1406. title="BUTTON_RMASK = 4&apos;u8"><wbr />BUTTON_<wbr />RMASK<span class="attachedType"></span></a></li>
  1407. <li><a class="reference" href="#BUTTON_X1MASK"
  1408. title="BUTTON_X1MASK = 8&apos;u8"><wbr />BUTTON_<wbr />X1MASK<span class="attachedType"></span></a></li>
  1409. <li><a class="reference" href="#BUTTON_X2MASK"
  1410. title="BUTTON_X2MASK = 16&apos;u8"><wbr />BUTTON_<wbr />X2MASK<span class="attachedType"></span></a></li>
  1411. <li><a class="reference" href="#SDL_TOUCH_MOUSEID"
  1412. title="SDL_TOUCH_MOUSEID = 4294967295&apos;u32"><wbr />SDL_<wbr />TOUCH_<wbr />MOUSEID<span class="attachedType"></span></a></li>
  1413. <li><a class="reference" href="#HINT_RENDER_SCALE_QUALITY"
  1414. title="HINT_RENDER_SCALE_QUALITY = &quot;SDL_RENDER_SCALE_QUALITY&quot;"><wbr />HINT_<wbr />RENDER_<wbr />SCALE_<wbr />QUALITY<span class="attachedType"></span></a></li>
  1415. </ul>
  1416. </li>
  1417. <li>
  1418. <a class="reference reference-toplevel" href="#12" id="62">Procs</a>
  1419. <ul class="simple simple-toc-section">
  1420. <li><a class="reference" href="#evWindow%2CEvent"
  1421. title="evWindow(event`gensym16655034: Event): WindowEventPtr"><wbr />ev<wbr />Window<span class="attachedType">Event</span></a></li>
  1422. <li><a class="reference" href="#window%2CEvent"
  1423. title="window(event`gensym16655035: Event): WindowEventPtr"><wbr />window<span class="attachedType">Event</span></a></li>
  1424. <li><a class="reference" href="#evKeyboard%2CEvent"
  1425. title="evKeyboard(event`gensym16690217: Event): KeyboardEventPtr"><wbr />ev<wbr />Keyboard<span class="attachedType">Event</span></a></li>
  1426. <li><a class="reference" href="#key%2CEvent"
  1427. title="key(event`gensym16690218: Event): KeyboardEventPtr"><wbr />key<span class="attachedType">Event</span></a></li>
  1428. <li><a class="reference" href="#evTextEditing%2CEvent"
  1429. title="evTextEditing(event`gensym16725217: Event): TextEditingEventPtr"><wbr />ev<wbr />Text<wbr />Editing<span class="attachedType">Event</span></a></li>
  1430. <li><a class="reference" href="#edit%2CEvent"
  1431. title="edit(event`gensym16725218: Event): TextEditingEventPtr"><wbr />edit<span class="attachedType">Event</span></a></li>
  1432. <li><a class="reference" href="#evTextInput%2CEvent"
  1433. title="evTextInput(event`gensym16760217: Event): TextInputEventPtr"><wbr />ev<wbr />Text<wbr />Input<span class="attachedType">Event</span></a></li>
  1434. <li><a class="reference" href="#text%2CEvent"
  1435. title="text(event`gensym16760218: Event): TextInputEventPtr"><wbr />text<span class="attachedType">Event</span></a></li>
  1436. <li><a class="reference" href="#evMouseMotion%2CEvent"
  1437. title="evMouseMotion(event`gensym16795217: Event): MouseMotionEventPtr"><wbr />ev<wbr />Mouse<wbr />Motion<span class="attachedType">Event</span></a></li>
  1438. <li><a class="reference" href="#motion%2CEvent"
  1439. title="motion(event`gensym16795218: Event): MouseMotionEventPtr"><wbr />motion<span class="attachedType">Event</span></a></li>
  1440. <li><a class="reference" href="#evMouseButton%2CEvent"
  1441. title="evMouseButton(event`gensym16830217: Event): MouseButtonEventPtr"><wbr />ev<wbr />Mouse<wbr />Button<span class="attachedType">Event</span></a></li>
  1442. <li><a class="reference" href="#button%2CEvent"
  1443. title="button(event`gensym16830218: Event): MouseButtonEventPtr"><wbr />button<span class="attachedType">Event</span></a></li>
  1444. <li><a class="reference" href="#evMouseWheel%2CEvent"
  1445. title="evMouseWheel(event`gensym16865217: Event): MouseWheelEventPtr"><wbr />ev<wbr />Mouse<wbr />Wheel<span class="attachedType">Event</span></a></li>
  1446. <li><a class="reference" href="#wheel%2CEvent"
  1447. title="wheel(event`gensym16865218: Event): MouseWheelEventPtr"><wbr />wheel<span class="attachedType">Event</span></a></li>
  1448. <li><a class="reference" href="#EvJoyAxis%2CEvent"
  1449. title="EvJoyAxis(event`gensym16900217: Event): JoyAxisEventPtr"><wbr />Ev<wbr />Joy<wbr />Axis<span class="attachedType">Event</span></a></li>
  1450. <li><a class="reference" href="#jaxis%2CEvent"
  1451. title="jaxis(event`gensym16900218: Event): JoyAxisEventPtr"><wbr />jaxis<span class="attachedType">Event</span></a></li>
  1452. <li><a class="reference" href="#EvJoyBall%2CEvent"
  1453. title="EvJoyBall(event`gensym16935217: Event): JoyBallEventPtr"><wbr />Ev<wbr />Joy<wbr />Ball<span class="attachedType">Event</span></a></li>
  1454. <li><a class="reference" href="#jball%2CEvent"
  1455. title="jball(event`gensym16935218: Event): JoyBallEventPtr"><wbr />jball<span class="attachedType">Event</span></a></li>
  1456. <li><a class="reference" href="#EvJoyHat%2CEvent"
  1457. title="EvJoyHat(event`gensym16970217: Event): JoyHatEventPtr"><wbr />Ev<wbr />Joy<wbr />Hat<span class="attachedType">Event</span></a></li>
  1458. <li><a class="reference" href="#jhat%2CEvent"
  1459. title="jhat(event`gensym16970218: Event): JoyHatEventPtr"><wbr />jhat<span class="attachedType">Event</span></a></li>
  1460. <li><a class="reference" href="#EvJoyButton%2CEvent"
  1461. title="EvJoyButton(event`gensym17005217: Event): JoyButtonEventPtr"><wbr />Ev<wbr />Joy<wbr />Button<span class="attachedType">Event</span></a></li>
  1462. <li><a class="reference" href="#jbutton%2CEvent"
  1463. title="jbutton(event`gensym17005218: Event): JoyButtonEventPtr"><wbr />jbutton<span class="attachedType">Event</span></a></li>
  1464. <li><a class="reference" href="#EvJoyDevice%2CEvent"
  1465. title="EvJoyDevice(event`gensym17040217: Event): JoyDeviceEventPtr"><wbr />Ev<wbr />Joy<wbr />Device<span class="attachedType">Event</span></a></li>
  1466. <li><a class="reference" href="#jdevice%2CEvent"
  1467. title="jdevice(event`gensym17040218: Event): JoyDeviceEventPtr"><wbr />jdevice<span class="attachedType">Event</span></a></li>
  1468. <li><a class="reference" href="#EvControllerAxis%2CEvent"
  1469. title="EvControllerAxis(event`gensym17075217: Event): ControllerAxisEventPtr"><wbr />Ev<wbr />Controller<wbr />Axis<span class="attachedType">Event</span></a></li>
  1470. <li><a class="reference" href="#caxis%2CEvent"
  1471. title="caxis(event`gensym17075218: Event): ControllerAxisEventPtr"><wbr />caxis<span class="attachedType">Event</span></a></li>
  1472. <li><a class="reference" href="#EvControllerButton%2CEvent"
  1473. title="EvControllerButton(event`gensym17110217: Event): ControllerButtonEventPtr"><wbr />Ev<wbr />Controller<wbr />Button<span class="attachedType">Event</span></a></li>
  1474. <li><a class="reference" href="#cbutton%2CEvent"
  1475. title="cbutton(event`gensym17110218: Event): ControllerButtonEventPtr"><wbr />cbutton<span class="attachedType">Event</span></a></li>
  1476. <li><a class="reference" href="#EvControllerDevice%2CEvent"
  1477. title="EvControllerDevice(event`gensym17145217: Event): ControllerDeviceEventPtr"><wbr />Ev<wbr />Controller<wbr />Device<span class="attachedType">Event</span></a></li>
  1478. <li><a class="reference" href="#cdevice%2CEvent"
  1479. title="cdevice(event`gensym17145218: Event): ControllerDeviceEventPtr"><wbr />cdevice<span class="attachedType">Event</span></a></li>
  1480. <li><a class="reference" href="#EvTouchFinger%2CEvent"
  1481. title="EvTouchFinger(event`gensym17180217: Event): TouchFingerEventPtr"><wbr />Ev<wbr />Touch<wbr />Finger<span class="attachedType">Event</span></a></li>
  1482. <li><a class="reference" href="#tfinger%2CEvent"
  1483. title="tfinger(event`gensym17180218: Event): TouchFingerEventPtr"><wbr />tfinger<span class="attachedType">Event</span></a></li>
  1484. <li><a class="reference" href="#EvMultiGesture%2CEvent"
  1485. title="EvMultiGesture(event`gensym17215217: Event): MultiGestureEventPtr"><wbr />Ev<wbr />Multi<wbr />Gesture<span class="attachedType">Event</span></a></li>
  1486. <li><a class="reference" href="#mgesture%2CEvent"
  1487. title="mgesture(event`gensym17215218: Event): MultiGestureEventPtr"><wbr />mgesture<span class="attachedType">Event</span></a></li>
  1488. <li><a class="reference" href="#EvDollarGesture%2CEvent"
  1489. title="EvDollarGesture(event`gensym17250217: Event): DollarGestureEventPtr"><wbr />Ev<wbr />Dollar<wbr />Gesture<span class="attachedType">Event</span></a></li>
  1490. <li><a class="reference" href="#dgesture%2CEvent"
  1491. title="dgesture(event`gensym17250218: Event): DollarGestureEventPtr"><wbr />dgesture<span class="attachedType">Event</span></a></li>
  1492. <li><a class="reference" href="#evDropFile%2CEvent"
  1493. title="evDropFile(event`gensym17285217: Event): DropEventPtr"><wbr />ev<wbr />Drop<wbr />File<span class="attachedType">Event</span></a></li>
  1494. <li><a class="reference" href="#drop%2CEvent"
  1495. title="drop(event`gensym17285218: Event): DropEventPtr"><wbr />drop<span class="attachedType">Event</span></a></li>
  1496. <li><a class="reference" href="#evQuit%2CEvent"
  1497. title="evQuit(event`gensym17320217: Event): QuitEventPtr"><wbr />ev<wbr />Quit<span class="attachedType">Event</span></a></li>
  1498. <li><a class="reference" href="#quit%2CEvent"
  1499. title="quit(event`gensym17320218: Event): QuitEventPtr"><wbr />quit<span class="attachedType">Event</span></a></li>
  1500. <li><a class="reference" href="#evUser%2CEvent"
  1501. title="evUser(event`gensym17355217: Event): UserEventPtr"><wbr />ev<wbr />User<span class="attachedType">Event</span></a></li>
  1502. <li><a class="reference" href="#user%2CEvent"
  1503. title="user(event`gensym17355218: Event): UserEventPtr"><wbr />user<span class="attachedType">Event</span></a></li>
  1504. <li><a class="reference" href="#getWMInfo%2CWindowPtr%2CWMinfo"
  1505. title="getWMInfo(window: WindowPtr; info: var WMinfo): Bool32"><wbr />get<wbr />WMInfo<span class="attachedType">WindowPtr</span></a></li>
  1506. <li><a class="reference" href="#setLogicalSize%2CRendererPtr%2Ccint%2Ccint"
  1507. title="setLogicalSize(renderer: RendererPtr; w, h: cint): cint"><wbr />set<wbr />Logical<wbr />Size<span class="attachedType">RendererPtr</span></a></li>
  1508. <li><a class="reference" href="#getLogicalSize%2CRendererPtr%2Ccint%2Ccint"
  1509. title="getLogicalSize(renderer: RendererPtr; w, h: var cint)"><wbr />get<wbr />Logical<wbr />Size<span class="attachedType">RendererPtr</span></a></li>
  1510. <li><a class="reference" href="#setDrawColor%2CRendererPtr%2Cuint8%2Cuint8%2Cuint8%2Cuint8"
  1511. title="setDrawColor(renderer: RendererPtr; r, g, b: uint8; a = 255&apos;u8): SDL_Return"><wbr />set<wbr />Draw<wbr />Color<span class="attachedType">RendererPtr</span></a></li>
  1512. <li><a class="reference" href="#setDrawColor%2CRendererPtr%2CColor"
  1513. title="setDrawColor(renderer: RendererPtr; c: Color)"><wbr />set<wbr />Draw<wbr />Color<span class="attachedType">RendererPtr</span></a></li>
  1514. <li><a class="reference" href="#getDrawColor%2CRendererPtr%2Cuint8%2Cuint8%2Cuint8%2Cuint8"
  1515. title="getDrawColor(renderer: RendererPtr; r, g, b, a: var uint8): SDL_Return"><wbr />get<wbr />Draw<wbr />Color<span class="attachedType">RendererPtr</span></a></li>
  1516. <li><a class="reference" href="#setDrawBlendMode%2CRendererPtr%2CBlendMode"
  1517. title="setDrawBlendMode(renderer: RendererPtr; blendMode: BlendMode): SDL_Return"><wbr />set<wbr />Draw<wbr />Blend<wbr />Mode<span class="attachedType">RendererPtr</span></a></li>
  1518. <li><a class="reference" href="#getDrawBlendMode%2CRendererPtr%2CBlendMode"
  1519. title="getDrawBlendMode(renderer: RendererPtr; blendMode: var BlendMode): SDL_Return"><wbr />get<wbr />Draw<wbr />Blend<wbr />Mode<span class="attachedType">RendererPtr</span></a></li>
  1520. <li><a class="reference" href="#destroy%2CTexturePtr"
  1521. title="destroy(texture: TexturePtr)"><wbr />destroy<span class="attachedType">TexturePtr</span></a></li>
  1522. <li><a class="reference" href="#destroy%2CRendererPtr"
  1523. title="destroy(renderer: RendererPtr)"><wbr />destroy<span class="attachedType">RendererPtr</span></a></li>
  1524. <li><a class="reference" href="#getDisplayIndex%2CWindowPtr"
  1525. title="getDisplayIndex(window: WindowPtr): cint"><wbr />get<wbr />Display<wbr />Index<span class="attachedType">WindowPtr</span></a></li>
  1526. <li><a class="reference" href="#setDisplayMode%2CWindowPtr%2Cptr.DisplayMode"
  1527. title="setDisplayMode(window: WindowPtr; mode: ptr DisplayMode): SDL_Return"><wbr />set<wbr />Display<wbr />Mode<span class="attachedType">WindowPtr</span></a></li>
  1528. <li><a class="reference" href="#getDisplayMode%2CWindowPtr%2CDisplayMode"
  1529. title="getDisplayMode(window: WindowPtr; mode: var DisplayMode): cint"><wbr />get<wbr />Display<wbr />Mode<span class="attachedType">WindowPtr</span></a></li>
  1530. <li><a class="reference" href="#getPixelFormat%2CWindowPtr"
  1531. title="getPixelFormat(window: WindowPtr): uint32"><wbr />get<wbr />Pixel<wbr />Format<span class="attachedType">WindowPtr</span></a></li>
  1532. <li><a class="reference" href="#getID%2CWindowPtr"
  1533. title="getID(window: WindowPtr): uint32"><wbr />get<wbr />ID<span class="attachedType">WindowPtr</span></a></li>
  1534. <li><a class="reference" href="#getFlags%2CWindowPtr"
  1535. title="getFlags(window: WindowPtr): uint32"><wbr />get<wbr />Flags<span class="attachedType">WindowPtr</span></a></li>
  1536. <li><a class="reference" href="#setTitle%2CWindowPtr%2Ccstring"
  1537. title="setTitle(window: WindowPtr; title: cstring)"><wbr />set<wbr />Title<span class="attachedType">WindowPtr</span></a></li>
  1538. <li><a class="reference" href="#getTitle%2CWindowPtr"
  1539. title="getTitle(window: WindowPtr): cstring"><wbr />get<wbr />Title<span class="attachedType">WindowPtr</span></a></li>
  1540. <li><a class="reference" href="#setIcon%2CWindowPtr%2CSurfacePtr"
  1541. title="setIcon(window: WindowPtr; icon: SurfacePtr)"><wbr />set<wbr />Icon<span class="attachedType">WindowPtr</span></a></li>
  1542. <li><a class="reference" href="#setData%2CWindowPtr%2Ccstring%2Cpointer"
  1543. title="setData(window: WindowPtr; name: cstring; userdata: pointer): pointer"><wbr />set<wbr />Data<span class="attachedType">WindowPtr</span></a></li>
  1544. <li><a class="reference" href="#getData%2CWindowPtr%2Ccstring"
  1545. title="getData(window: WindowPtr; name: cstring): pointer"><wbr />get<wbr />Data<span class="attachedType">WindowPtr</span></a></li>
  1546. <li><a class="reference" href="#setPosition%2CWindowPtr%2Ccint%2Ccint"
  1547. title="setPosition(window: WindowPtr; x, y: cint)"><wbr />set<wbr />Position<span class="attachedType">WindowPtr</span></a></li>
  1548. <li><a class="reference" href="#getPosition%2CWindowPtr%2Ccint%2Ccint"
  1549. title="getPosition(window: WindowPtr; x, y: var cint)"><wbr />get<wbr />Position<span class="attachedType">WindowPtr</span></a></li>
  1550. <li><a class="reference" href="#setSize%2CWindowPtr%2Ccint%2Ccint"
  1551. title="setSize(window: WindowPtr; w, h: cint)"><wbr />set<wbr />Size<span class="attachedType">WindowPtr</span></a></li>
  1552. <li><a class="reference" href="#getSize%2CWindowPtr%2Ccint%2Ccint"
  1553. title="getSize(window: WindowPtr; w, h: var cint)"><wbr />get<wbr />Size<span class="attachedType">WindowPtr</span></a></li>
  1554. <li><a class="reference" href="#setBordered%2CWindowPtr%2CBool32"
  1555. title="setBordered(window: WindowPtr; bordered: Bool32)"><wbr />set<wbr />Bordered<span class="attachedType">WindowPtr</span></a></li>
  1556. <li><a class="reference" href="#setFullscreen%2CWindowPtr%2Cuint32"
  1557. title="setFullscreen(window: WindowPtr; fullscreen: uint32): SDL_Return"><wbr />set<wbr />Fullscreen<span class="attachedType">WindowPtr</span></a></li>
  1558. <li><a class="reference" href="#getSurface%2CWindowPtr"
  1559. title="getSurface(window: WindowPtr): SurfacePtr"><wbr />get<wbr />Surface<span class="attachedType">WindowPtr</span></a></li>
  1560. <li><a class="reference" href="#updateSurface%2CWindowPtr"
  1561. title="updateSurface(window: WindowPtr): SDL_Return"><wbr />update<wbr />Surface<span class="attachedType">WindowPtr</span></a></li>
  1562. <li><a class="reference" href="#updateSurfaceRects%2CWindowPtr%2Cptr.Rect%2Ccint"
  1563. title="updateSurfaceRects(window: WindowPtr; rects: ptr Rect; numrects: cint): SDL_Return"><wbr />update<wbr />Surface<wbr />Rects<span class="attachedType">WindowPtr</span></a></li>
  1564. <li><a class="reference" href="#setGrab%2CWindowPtr%2CBool32"
  1565. title="setGrab(window: WindowPtr; grabbed: Bool32)"><wbr />set<wbr />Grab<span class="attachedType">WindowPtr</span></a></li>
  1566. <li><a class="reference" href="#getGrab%2CWindowPtr"
  1567. title="getGrab(window: WindowPtr): Bool32"><wbr />get<wbr />Grab<span class="attachedType">WindowPtr</span></a></li>
  1568. <li><a class="reference" href="#setBrightness%2CWindowPtr%2Ccfloat"
  1569. title="setBrightness(window: WindowPtr; brightness: cfloat): SDL_Return"><wbr />set<wbr />Brightness<span class="attachedType">WindowPtr</span></a></li>
  1570. <li><a class="reference" href="#getBrightness%2CWindowPtr"
  1571. title="getBrightness(window: WindowPtr): cfloat"><wbr />get<wbr />Brightness<span class="attachedType">WindowPtr</span></a></li>
  1572. <li><a class="reference" href="#setGammaRamp%2CWindowPtr%2Cptr.uint16%2Cptr.uint16%2Cptr.uint16"
  1573. title="setGammaRamp(window: WindowPtr; red, green, blue: ptr uint16): SDL_Return"><wbr />set<wbr />Gamma<wbr />Ramp<span class="attachedType">WindowPtr</span></a></li>
  1574. <li><a class="reference" href="#getGammaRamp%2CWindowPtr%2Cptr.uint16%2Cptr.uint16%2Cptr.uint16"
  1575. title="getGammaRamp(window: WindowPtr; red: ptr uint16; green: ptr uint16; blue: ptr uint16): cint"><wbr />get<wbr />Gamma<wbr />Ramp<span class="attachedType">WindowPtr</span></a></li>
  1576. <li><a class="reference" href="#init%2Ccint"
  1577. title="init(flags: cint): SDL_Return"><wbr />init<span class="attachedType"></span></a></li>
  1578. <li><a class="reference" href="#initSubSystem%2Cuint32"
  1579. title="initSubSystem(flags: uint32): cint"><wbr />init<wbr />Sub<wbr />System<span class="attachedType"></span></a></li>
  1580. <li><a class="reference" href="#quitSubSystem%2Cuint32"
  1581. title="quitSubSystem(flags: uint32)"><wbr />quit<wbr />Sub<wbr />System<span class="attachedType"></span></a></li>
  1582. <li><a class="reference" href="#wasInit%2Cuint32"
  1583. title="wasInit(flags: uint32): uint32"><wbr />was<wbr />Init<span class="attachedType"></span></a></li>
  1584. <li><a class="reference" href="#quit"
  1585. title="quit()"><wbr />quit<span class="attachedType"></span></a></li>
  1586. <li><a class="reference" href="#getPlatform"
  1587. title="getPlatform(): cstring"><wbr />get<wbr />Platform<span class="attachedType"></span></a></li>
  1588. <li><a class="reference" href="#getVersion%2CSDL_Version"
  1589. title="getVersion(ver: var SDL_Version)"><wbr />get<wbr />Version<span class="attachedType">SDL_Version</span></a></li>
  1590. <li><a class="reference" href="#getRevision"
  1591. title="getRevision(): cstring"><wbr />get<wbr />Revision<span class="attachedType"></span></a></li>
  1592. <li><a class="reference" href="#getRevisionNumber"
  1593. title="getRevisionNumber(): cint"><wbr />get<wbr />Revision<wbr />Number<span class="attachedType"></span></a></li>
  1594. <li><a class="reference" href="#getBasePath"
  1595. title="getBasePath(): cstring"><wbr />get<wbr />Base<wbr />Path<span class="attachedType"></span></a></li>
  1596. <li><a class="reference" href="#getPrefPath%2Ccstring%2Ccstring"
  1597. title="getPrefPath(org, app: cstring): cstring"><wbr />get<wbr />Pref<wbr />Path<span class="attachedType"></span></a></li>
  1598. <li><a class="reference" href="#getNumRenderDrivers"
  1599. title="getNumRenderDrivers(): cint"><wbr />get<wbr />Num<wbr />Render<wbr />Drivers<span class="attachedType"></span></a></li>
  1600. <li><a class="reference" href="#getRenderDriverInfo%2Ccint%2CRendererInfo"
  1601. title="getRenderDriverInfo(index: cint; info: var RendererInfo): SDL_Return"><wbr />get<wbr />Render<wbr />Driver<wbr />Info<span class="attachedType"></span></a></li>
  1602. <li><a class="reference" href="#createWindowAndRenderer%2Ccint%2Ccint%2Cuint32%2CWindowPtr%2CRendererPtr"
  1603. title="createWindowAndRenderer(width, height: cint; window_flags: uint32;
  1604. window: var WindowPtr; renderer: var RendererPtr): SDL_Return"><wbr />create<wbr />Window<wbr />And<wbr />Renderer<span class="attachedType">WindowPtr</span></a></li>
  1605. <li><a class="reference" href="#createRenderer%2CWindowPtr%2Ccint%2Ccint"
  1606. title="createRenderer(window: WindowPtr; index: cint; flags: cint): RendererPtr"><wbr />create<wbr />Renderer<span class="attachedType">WindowPtr</span></a></li>
  1607. <li><a class="reference" href="#createSoftwareRenderer%2CSurfacePtr"
  1608. title="createSoftwareRenderer(surface: SurfacePtr): RendererPtr"><wbr />create<wbr />Software<wbr />Renderer<span class="attachedType">SurfacePtr</span></a></li>
  1609. <li><a class="reference" href="#getRenderer%2CWindowPtr"
  1610. title="getRenderer(window: WindowPtr): RendererPtr"><wbr />get<wbr />Renderer<span class="attachedType">WindowPtr</span></a></li>
  1611. <li><a class="reference" href="#getRendererInfo%2CRendererPtr%2CRendererInfoPtr"
  1612. title="getRendererInfo(renderer: RendererPtr; info: RendererInfoPtr): cint"><wbr />get<wbr />Renderer<wbr />Info<span class="attachedType">RendererPtr</span></a></li>
  1613. <li><a class="reference" href="#getRendererOutputSize%2CRendererPtr%2Cptr.cint%2Cptr.cint"
  1614. title="getRendererOutputSize(renderer: RendererPtr; w: ptr cint; h: ptr cint): cint"><wbr />get<wbr />Renderer<wbr />Output<wbr />Size<span class="attachedType">RendererPtr</span></a></li>
  1615. <li><a class="reference" href="#createTexture%2CRendererPtr%2Cuint32%2Ccint%2Ccint%2Ccint"
  1616. title="createTexture(renderer: RendererPtr; format: uint32; access, w, h: cint): TexturePtr"><wbr />create<wbr />Texture<span class="attachedType">RendererPtr</span></a></li>
  1617. <li><a class="reference" href="#createTextureFromSurface%2CRendererPtr%2CSurfacePtr"
  1618. title="createTextureFromSurface(renderer: RendererPtr; surface: SurfacePtr): TexturePtr"><wbr />create<wbr />Texture<wbr />From<wbr />Surface<span class="attachedType">RendererPtr</span></a></li>
  1619. <li><a class="reference" href="#createTexture%2CRendererPtr%2CSurfacePtr"
  1620. title="createTexture(renderer: RendererPtr; surface: SurfacePtr): TexturePtr"><wbr />create<wbr />Texture<span class="attachedType">RendererPtr</span></a></li>
  1621. <li><a class="reference" href="#queryTexture%2CTexturePtr%2Cptr.uint32%2Cptr.cint%2Cptr.cint%2Cptr.cint"
  1622. title="queryTexture(texture: TexturePtr; format: ptr uint32; access, w, h: ptr cint): SDL_Return"><wbr />query<wbr />Texture<span class="attachedType">TexturePtr</span></a></li>
  1623. <li><a class="reference" href="#setTextureColorMod%2CTexturePtr%2Cuint8%2Cuint8%2Cuint8"
  1624. title="setTextureColorMod(texture: TexturePtr; r, g, b: uint8): SDL_Return"><wbr />set<wbr />Texture<wbr />Color<wbr />Mod<span class="attachedType">TexturePtr</span></a></li>
  1625. <li><a class="reference" href="#getTextureColorMod%2CTexturePtr%2Cuint8%2Cuint8%2Cuint8"
  1626. title="getTextureColorMod(texture: TexturePtr; r, g, b: var uint8): SDL_Return"><wbr />get<wbr />Texture<wbr />Color<wbr />Mod<span class="attachedType">TexturePtr</span></a></li>
  1627. <li><a class="reference" href="#setTextureAlphaMod%2CTexturePtr%2Cuint8"
  1628. title="setTextureAlphaMod(texture: TexturePtr; alpha: uint8): SDL_Return"><wbr />set<wbr />Texture<wbr />Alpha<wbr />Mod<span class="attachedType">TexturePtr</span></a></li>
  1629. <li><a class="reference" href="#getTextureAlphaMod%2CTexturePtr%2Cuint8"
  1630. title="getTextureAlphaMod(texture: TexturePtr; alpha: var uint8): SDL_Return"><wbr />get<wbr />Texture<wbr />Alpha<wbr />Mod<span class="attachedType">TexturePtr</span></a></li>
  1631. <li><a class="reference" href="#setTextureBlendMode%2CTexturePtr%2CBlendMode"
  1632. title="setTextureBlendMode(texture: TexturePtr; blendMode: BlendMode): SDL_Return"><wbr />set<wbr />Texture<wbr />Blend<wbr />Mode<span class="attachedType">TexturePtr</span></a></li>
  1633. <li><a class="reference" href="#getTextureBlendMode%2CTexturePtr%2CBlendMode"
  1634. title="getTextureBlendMode(texture: TexturePtr; blendMode: var BlendMode): SDL_Return"><wbr />get<wbr />Texture<wbr />Blend<wbr />Mode<span class="attachedType">TexturePtr</span></a></li>
  1635. <li><a class="reference" href="#updateTexture%2CTexturePtr%2Cptr.Rect%2Cpointer%2Ccint"
  1636. title="updateTexture(texture: TexturePtr; rect: ptr Rect; pixels: pointer; pitch: cint): SDL_Return"><wbr />update<wbr />Texture<span class="attachedType">TexturePtr</span></a></li>
  1637. <li><a class="reference" href="#lockTexture%2CTexturePtr%2Cptr.Rect%2Cptr.pointer%2Cptr.cint"
  1638. title="lockTexture(texture: TexturePtr; rect: ptr Rect; pixels: ptr pointer; pitch: ptr cint): SDL_Return"><wbr />lock<wbr />Texture<span class="attachedType">TexturePtr</span></a></li>
  1639. <li><a class="reference" href="#unlockTexture%2CTexturePtr"
  1640. title="unlockTexture(texture: TexturePtr)"><wbr />unlock<wbr />Texture<span class="attachedType">TexturePtr</span></a></li>
  1641. <li><a class="reference" href="#renderTargetSupported%2CRendererPtr"
  1642. title="renderTargetSupported(renderer: RendererPtr): Bool32"><wbr />render<wbr />Target<wbr />Supported<span class="attachedType">RendererPtr</span></a></li>
  1643. <li><a class="reference" href="#setRenderTarget%2CRendererPtr%2CTexturePtr"
  1644. title="setRenderTarget(renderer: RendererPtr; texture: TexturePtr): SDL_Return"><wbr />set<wbr />Render<wbr />Target<span class="attachedType">RendererPtr</span></a></li>
  1645. <li><a class="reference" href="#getRenderTarget%2CRendererPtr"
  1646. title="getRenderTarget(renderer: RendererPtr): TexturePtr"><wbr />get<wbr />Render<wbr />Target<span class="attachedType">RendererPtr</span></a></li>
  1647. <li><a class="reference" href="#setViewport%2CRendererPtr%2Cptr.Rect"
  1648. title="setViewport(renderer: RendererPtr; rect: ptr Rect): SDL_Return"><wbr />set<wbr />Viewport<span class="attachedType">RendererPtr</span></a></li>
  1649. <li><a class="reference" href="#getViewport%2CRendererPtr%2CRect"
  1650. title="getViewport(renderer: RendererPtr; rect: var Rect)"><wbr />get<wbr />Viewport<span class="attachedType">RendererPtr</span></a></li>
  1651. <li><a class="reference" href="#setScale%2CRendererPtr%2Ccfloat%2Ccfloat"
  1652. title="setScale(renderer: RendererPtr; scaleX, scaleY: cfloat): SDL_Return"><wbr />set<wbr />Scale<span class="attachedType">RendererPtr</span></a></li>
  1653. <li><a class="reference" href="#getScale%2CRendererPtr%2Ccfloat%2Ccfloat"
  1654. title="getScale(renderer: RendererPtr; scaleX, scaleY: var cfloat)"><wbr />get<wbr />Scale<span class="attachedType">RendererPtr</span></a></li>
  1655. <li><a class="reference" href="#drawPoint%2CRendererPtr%2Ccint%2Ccint"
  1656. title="drawPoint(renderer: RendererPtr; x, y: cint): SDL_Return"><wbr />draw<wbr />Point<span class="attachedType">RendererPtr</span></a></li>
  1657. <li><a class="reference" href="#drawPoints%2CRendererPtr%2Cptr.Point%2Ccint"
  1658. title="drawPoints(renderer: RendererPtr; points: ptr Point; count: cint): SDL_Return"><wbr />draw<wbr />Points<span class="attachedType">RendererPtr</span></a></li>
  1659. <li><a class="reference" href="#drawLine%2CRendererPtr%2Ccint%2Ccint%2Ccint%2Ccint"
  1660. title="drawLine(renderer: RendererPtr; x1, y1, x2, y2: cint): SDL_Return"><wbr />draw<wbr />Line<span class="attachedType">RendererPtr</span></a></li>
  1661. <li><a class="reference" href="#drawLines%2CRendererPtr%2Cptr.Point%2Ccint"
  1662. title="drawLines(renderer: RendererPtr; points: ptr Point; count: cint): SDL_Return"><wbr />draw<wbr />Lines<span class="attachedType">RendererPtr</span></a></li>
  1663. <li><a class="reference" href="#drawRect%2CRendererPtr%2CRect"
  1664. title="drawRect(renderer: RendererPtr; rect: var Rect): SDL_Return"><wbr />draw<wbr />Rect<span class="attachedType">RendererPtr</span></a></li>
  1665. <li><a class="reference" href="#drawRect%2CRendererPtr%2Cptr.Rect"
  1666. title="drawRect(renderer: RendererPtr; rect: ptr Rect = nil): SDL_Return"><wbr />draw<wbr />Rect<span class="attachedType">RendererPtr</span></a></li>
  1667. <li><a class="reference" href="#drawRects%2CRendererPtr%2Cptr.Rect%2Ccint"
  1668. title="drawRects(renderer: RendererPtr; rects: ptr Rect; count: cint): SDL_Return"><wbr />draw<wbr />Rects<span class="attachedType">RendererPtr</span></a></li>
  1669. <li><a class="reference" href="#fillRect%2CRendererPtr%2CRect"
  1670. title="fillRect(renderer: RendererPtr; rect: var Rect): SDL_Return"><wbr />fill<wbr />Rect<span class="attachedType">RendererPtr</span></a></li>
  1671. <li><a class="reference" href="#fillRect%2CRendererPtr%2Cptr.Rect"
  1672. title="fillRect(renderer: RendererPtr; rect: ptr Rect = nil): SDL_Return"><wbr />fill<wbr />Rect<span class="attachedType">RendererPtr</span></a></li>
  1673. <li><a class="reference" href="#fillRects%2CRendererPtr%2Cptr.Rect%2Ccint"
  1674. title="fillRects(renderer: RendererPtr; rects: ptr Rect; count: cint): SDL_Return"><wbr />fill<wbr />Rects<span class="attachedType">RendererPtr</span></a></li>
  1675. <li><a class="reference" href="#copy%2CRendererPtr%2CTexturePtr%2Cptr.Rect%2Cptr.Rect"
  1676. title="copy(renderer: RendererPtr; texture: TexturePtr; srcrect, dstrect: ptr Rect): SDL_Return"><wbr />copy<span class="attachedType">RendererPtr</span></a></li>
  1677. <li><a class="reference" href="#copyEx%2CRendererPtr%2CTexturePtr%2CRect%2CRect%2Ccdouble%2Cptr.Point%2CRendererFlip"
  1678. title="copyEx(renderer: RendererPtr; texture: TexturePtr; srcrect, dstrect: var Rect;
  1679. angle: cdouble; center: ptr Point; flip: RendererFlip = SDL_FLIP_NONE): SDL_Return"><wbr />copy<wbr />Ex<span class="attachedType">RendererPtr</span></a></li>
  1680. <li><a class="reference" href="#copyEx%2CRendererPtr%2CTexturePtr%2Cptr.Rect%2Cptr.Rect%2Ccdouble%2Cptr.Point%2CRendererFlip"
  1681. title="copyEx(renderer: RendererPtr; texture: TexturePtr; srcrect, dstrect: ptr Rect;
  1682. angle: cdouble; center: ptr Point; flip: RendererFlip = SDL_FLIP_NONE): SDL_Return"><wbr />copy<wbr />Ex<span class="attachedType">RendererPtr</span></a></li>
  1683. <li><a class="reference" href="#clear%2CRendererPtr"
  1684. title="clear(renderer: RendererPtr): cint"><wbr />clear<span class="attachedType">RendererPtr</span></a></li>
  1685. <li><a class="reference" href="#readPixels%2CRendererPtr%2CRect%2Ccint%2Cpointer%2Ccint"
  1686. title="readPixels(renderer: RendererPtr; rect: var Rect; format: cint; pixels: pointer;
  1687. pitch: cint): cint"><wbr />read<wbr />Pixels<span class="attachedType">RendererPtr</span></a></li>
  1688. <li><a class="reference" href="#readPixels%2CRendererPtr%2Cptr.Rect%2Ccint%2Cpointer%2Ccint"
  1689. title="readPixels(renderer: RendererPtr; rect: ptr Rect; format: cint; pixels: pointer;
  1690. pitch: cint): cint"><wbr />read<wbr />Pixels<span class="attachedType">RendererPtr</span></a></li>
  1691. <li><a class="reference" href="#present%2CRendererPtr"
  1692. title="present(renderer: RendererPtr)"><wbr />present<span class="attachedType">RendererPtr</span></a></li>
  1693. <li><a class="reference" href="#glBindTexture%2CTexturePtr%2Ccfloat%2Ccfloat"
  1694. title="glBindTexture(texture: TexturePtr; texw, texh: var cfloat): cint"><wbr />gl<wbr />Bind<wbr />Texture<span class="attachedType">TexturePtr</span></a></li>
  1695. <li><a class="reference" href="#glUnbindTexture%2CTexturePtr"
  1696. title="glUnbindTexture(texture: TexturePtr)"><wbr />gl<wbr />Unbind<wbr />Texture<span class="attachedType">TexturePtr</span></a></li>
  1697. <li><a class="reference" href="#createRGBSurface%2Ccint%2Ccint%2Ccint%2Ccint%2Cuint32%2Cuint32%2Cuint32%2Cuint32"
  1698. title="createRGBSurface(flags: cint; width, height, depth: cint;
  1699. Rmask, Gmask, BMask, Amask: uint32): SurfacePtr"><wbr />create<wbr />RGBSurface<span class="attachedType">SurfacePtr</span></a></li>
  1700. <li><a class="reference" href="#createRGBSurfaceFrom%2Cpointer%2Ccint%2Ccint%2Ccint%2Ccint%2Cuint32%2Cuint32%2Cuint32%2Cuint32"
  1701. title="createRGBSurfaceFrom(pixels: pointer; width, height, depth, pitch: cint;
  1702. Rmask, Gmask, Bmask, Amask: uint32): SurfacePtr"><wbr />create<wbr />RGBSurface<wbr />From<span class="attachedType">SurfacePtr</span></a></li>
  1703. <li><a class="reference" href="#freeSurface%2CSurfacePtr"
  1704. title="freeSurface(surface: SurfacePtr)"><wbr />free<wbr />Surface<span class="attachedType">SurfacePtr</span></a></li>
  1705. <li><a class="reference" href="#setSurfacePalette%2CSurfacePtr%2Cptr.Palette"
  1706. title="setSurfacePalette(surface: SurfacePtr; palette: ptr Palette): cint"><wbr />set<wbr />Surface<wbr />Palette<span class="attachedType">SurfacePtr</span></a></li>
  1707. <li><a class="reference" href="#lockSurface%2CSurfacePtr"
  1708. title="lockSurface(surface: SurfacePtr): cint"><wbr />lock<wbr />Surface<span class="attachedType">SurfacePtr</span></a></li>
  1709. <li><a class="reference" href="#unlockSurface%2CSurfacePtr"
  1710. title="unlockSurface(surface: SurfacePtr)"><wbr />unlock<wbr />Surface<span class="attachedType">SurfacePtr</span></a></li>
  1711. <li><a class="reference" href="#loadBMP_RW%2CRWopsPtr%2Ccint"
  1712. title="loadBMP_RW(src: RWopsPtr; freesrc: cint): SurfacePtr"><wbr />load<wbr />BMP_<wbr />RW<span class="attachedType">RWopsPtr</span></a></li>
  1713. <li><a class="reference" href="#rwFromFile%2Ccstring%2Ccstring"
  1714. title="rwFromFile(file: cstring; mode: cstring): RWopsPtr"><wbr />rw<wbr />From<wbr />File<span class="attachedType">RWopsPtr</span></a></li>
  1715. <li><a class="reference" href="#rwFromFP%2CFile%2CBool32"
  1716. title="rwFromFP(fp: File; autoclose: Bool32): RWopsPtr"><wbr />rw<wbr />From<wbr />FP<span class="attachedType">RWopsPtr</span></a></li>
  1717. <li><a class="reference" href="#rwFromMem%2Cpointer%2Ccint"
  1718. title="rwFromMem(mem: pointer; size: cint): RWopsPtr"><wbr />rw<wbr />From<wbr />Mem<span class="attachedType">RWopsPtr</span></a></li>
  1719. <li><a class="reference" href="#rwFromConstMem%2Cpointer%2Ccint"
  1720. title="rwFromConstMem(mem: pointer; size: cint): RWopsPtr"><wbr />rw<wbr />From<wbr />Const<wbr />Mem<span class="attachedType">RWopsPtr</span></a></li>
  1721. <li><a class="reference" href="#allocRW"
  1722. title="allocRW(): RWopsPtr"><wbr />alloc<wbr />RW<span class="attachedType">RWopsPtr</span></a></li>
  1723. <li><a class="reference" href="#freeRW%2CRWopsPtr"
  1724. title="freeRW(area: RWopsPtr)"><wbr />free<wbr />RW<span class="attachedType">RWopsPtr</span></a></li>
  1725. <li><a class="reference" href="#saveBMP_RW%2CSurfacePtr%2CRWopsPtr%2Ccint"
  1726. title="saveBMP_RW(surface: SurfacePtr; dst: RWopsPtr; freedst: cint): SDL_Return"><wbr />save<wbr />BMP_<wbr />RW<span class="attachedType">SurfacePtr</span></a></li>
  1727. <li><a class="reference" href="#setSurfaceRLE%2CSurfacePtr%2Ccint"
  1728. title="setSurfaceRLE(surface: SurfacePtr; flag: cint): cint"><wbr />set<wbr />Surface<wbr />RLE<span class="attachedType">SurfacePtr</span></a></li>
  1729. <li><a class="reference" href="#setColorKey%2CSurfacePtr%2Ccint%2Cuint32"
  1730. title="setColorKey(surface: SurfacePtr; flag: cint; key: uint32): cint"><wbr />set<wbr />Color<wbr />Key<span class="attachedType">SurfacePtr</span></a></li>
  1731. <li><a class="reference" href="#getColorKey%2CSurfacePtr%2Cuint32"
  1732. title="getColorKey(surface: SurfacePtr; key: var uint32): cint"><wbr />get<wbr />Color<wbr />Key<span class="attachedType">SurfacePtr</span></a></li>
  1733. <li><a class="reference" href="#setSurfaceColorMod%2CSurfacePtr%2Cuint8%2Cuint8%2Cuint8"
  1734. title="setSurfaceColorMod(surface: SurfacePtr; r, g, b: uint8): cint"><wbr />set<wbr />Surface<wbr />Color<wbr />Mod<span class="attachedType">SurfacePtr</span></a></li>
  1735. <li><a class="reference" href="#getSurfaceColorMod%2CSurfacePtr%2Cuint8%2Cuint8%2Cuint8"
  1736. title="getSurfaceColorMod(surface: SurfacePtr; r, g, b: var uint8): cint"><wbr />get<wbr />Surface<wbr />Color<wbr />Mod<span class="attachedType">SurfacePtr</span></a></li>
  1737. <li><a class="reference" href="#setSurfaceAlphaMod%2CSurfacePtr%2Cuint8"
  1738. title="setSurfaceAlphaMod(surface: SurfacePtr; alpha: uint8): cint"><wbr />set<wbr />Surface<wbr />Alpha<wbr />Mod<span class="attachedType">SurfacePtr</span></a></li>
  1739. <li><a class="reference" href="#getSurfaceAlphaMod%2CSurfacePtr%2Cuint8"
  1740. title="getSurfaceAlphaMod(surface: SurfacePtr; alpha: var uint8): cint"><wbr />get<wbr />Surface<wbr />Alpha<wbr />Mod<span class="attachedType">SurfacePtr</span></a></li>
  1741. <li><a class="reference" href="#setSurfaceBlendMode%2CSurfacePtr%2CBlendMode"
  1742. title="setSurfaceBlendMode(surface: SurfacePtr; blendMode: BlendMode): cint"><wbr />set<wbr />Surface<wbr />Blend<wbr />Mode<span class="attachedType">SurfacePtr</span></a></li>
  1743. <li><a class="reference" href="#getSurfaceBlendMode%2CSurfacePtr%2Cptr.BlendMode"
  1744. title="getSurfaceBlendMode(surface: SurfacePtr; blendMode: ptr BlendMode): cint"><wbr />get<wbr />Surface<wbr />Blend<wbr />Mode<span class="attachedType">SurfacePtr</span></a></li>
  1745. <li><a class="reference" href="#setClipRect%2CSurfacePtr%2Cptr.Rect"
  1746. title="setClipRect(surface: SurfacePtr; rect: ptr Rect): Bool32"><wbr />set<wbr />Clip<wbr />Rect<span class="attachedType">SurfacePtr</span></a></li>
  1747. <li><a class="reference" href="#getClipRect%2CSurfacePtr%2Cptr.Rect"
  1748. title="getClipRect(surface: SurfacePtr; rect: ptr Rect)"><wbr />get<wbr />Clip<wbr />Rect<span class="attachedType">SurfacePtr</span></a></li>
  1749. <li><a class="reference" href="#setClipRect%2CRendererPtr%2Cptr.Rect"
  1750. title="setClipRect(renderer: RendererPtr; rect: ptr Rect): cint"><wbr />set<wbr />Clip<wbr />Rect<span class="attachedType">RendererPtr</span></a></li>
  1751. <li><a class="reference" href="#getClipRect%2CRendererPtr%2Cptr.Rect"
  1752. title="getClipRect(renderer: RendererPtr; rect: ptr Rect): cint"><wbr />get<wbr />Clip<wbr />Rect<span class="attachedType">RendererPtr</span></a></li>
  1753. <li><a class="reference" href="#isClipEnabled%2CRendererPtr"
  1754. title="isClipEnabled(renderer: RendererPtr): cint"><wbr />is<wbr />Clip<wbr />Enabled<span class="attachedType">RendererPtr</span></a></li>
  1755. <li><a class="reference" href="#convertSurface%2CSurfacePtr%2Cptr.PixelFormat%2Ccint"
  1756. title="convertSurface(src: SurfacePtr; fmt: ptr PixelFormat; flags: cint): SurfacePtr"><wbr />convert<wbr />Surface<span class="attachedType">SurfacePtr</span></a></li>
  1757. <li><a class="reference" href="#convertSurfaceFormat%2CSurfacePtr%2Cuint32%2Cuint32"
  1758. title="convertSurfaceFormat(src: SurfacePtr; pixel_format, flags: uint32): SurfacePtr"><wbr />convert<wbr />Surface<wbr />Format<span class="attachedType">SurfacePtr</span></a></li>
  1759. <li><a class="reference" href="#convertPixels%2Ccint%2Ccint%2Cuint32%2Cpointer%2Ccint%2Cuint32%2Cpointer%2Ccint"
  1760. title="convertPixels(width, height: cint; src_format: uint32; src: pointer; src_pitch: cint;
  1761. dst_format: uint32; dst: pointer; dst_pitch: cint): cint"><wbr />convert<wbr />Pixels<span class="attachedType"></span></a></li>
  1762. <li><a class="reference" href="#fillRect%2CSurfacePtr%2Cptr.Rect%2Cuint32"
  1763. title="fillRect(dst: SurfacePtr; rect: ptr Rect; color: uint32): SDL_Return"><wbr />fill<wbr />Rect<span class="attachedType">SurfacePtr</span></a></li>
  1764. <li><a class="reference" href="#fillRects%2CSurfacePtr%2Cptr.Rect%2Ccint%2Cuint32"
  1765. title="fillRects(dst: SurfacePtr; rects: ptr Rect; count: cint; color: uint32): cint"><wbr />fill<wbr />Rects<span class="attachedType">SurfacePtr</span></a></li>
  1766. <li><a class="reference" href="#upperBlit%2CSurfacePtr%2Cptr.Rect%2CSurfacePtr%2Cptr.Rect"
  1767. title="upperBlit(src: SurfacePtr; srcrect: ptr Rect; dst: SurfacePtr; dstrect: ptr Rect): SDL_Return"><wbr />upper<wbr />Blit<span class="attachedType">SurfacePtr</span></a></li>
  1768. <li><a class="reference" href="#lowerBlit%2CSurfacePtr%2Cptr.Rect%2CSurfacePtr%2Cptr.Rect"
  1769. title="lowerBlit(src: SurfacePtr; srcrect: ptr Rect; dst: SurfacePtr; dstrect: ptr Rect): SDL_Return"><wbr />lower<wbr />Blit<span class="attachedType">SurfacePtr</span></a></li>
  1770. <li><a class="reference" href="#softStretch%2CSurfacePtr%2Cptr.Rect%2CSurfacePtr%2Cptr.Rect"
  1771. title="softStretch(src: SurfacePtr; srcrect: ptr Rect; dst: SurfacePtr; dstrect: ptr Rect): SDL_Return"><wbr />soft<wbr />Stretch<span class="attachedType">SurfacePtr</span></a></li>
  1772. <li><a class="reference" href="#upperBlitScaled%2CSurfacePtr%2Cptr.Rect%2CSurfacePtr%2Cptr.Rect"
  1773. title="upperBlitScaled(src: SurfacePtr; srcrect: ptr Rect; dst: SurfacePtr; dstrect: ptr Rect): SDL_Return"><wbr />upper<wbr />Blit<wbr />Scaled<span class="attachedType">SurfacePtr</span></a></li>
  1774. <li><a class="reference" href="#lowerBlitScaled%2CSurfacePtr%2Cptr.Rect%2CSurfacePtr%2Cptr.Rect"
  1775. title="lowerBlitScaled(src: SurfacePtr; srcrect: ptr Rect; dst: SurfacePtr; dstrect: ptr Rect): SDL_Return"><wbr />lower<wbr />Blit<wbr />Scaled<span class="attachedType">SurfacePtr</span></a></li>
  1776. <li><a class="reference" href="#readU8%2CRWopsPtr"
  1777. title="readU8(src: RWopsPtr): uint8"><wbr />read<wbr />U8<span class="attachedType">RWopsPtr</span></a></li>
  1778. <li><a class="reference" href="#readLE16%2CRWopsPtr"
  1779. title="readLE16(src: RWopsPtr): uint16"><wbr />read<wbr />LE16<span class="attachedType">RWopsPtr</span></a></li>
  1780. <li><a class="reference" href="#readBE16%2CRWopsPtr"
  1781. title="readBE16(src: RWopsPtr): uint16"><wbr />read<wbr />BE16<span class="attachedType">RWopsPtr</span></a></li>
  1782. <li><a class="reference" href="#readLE32%2CRWopsPtr"
  1783. title="readLE32(src: RWopsPtr): uint32"><wbr />read<wbr />LE32<span class="attachedType">RWopsPtr</span></a></li>
  1784. <li><a class="reference" href="#readBE32%2CRWopsPtr"
  1785. title="readBE32(src: RWopsPtr): uint32"><wbr />read<wbr />BE32<span class="attachedType">RWopsPtr</span></a></li>
  1786. <li><a class="reference" href="#readLE64%2CRWopsPtr"
  1787. title="readLE64(src: RWopsPtr): uint64"><wbr />read<wbr />LE64<span class="attachedType">RWopsPtr</span></a></li>
  1788. <li><a class="reference" href="#readBE64%2CRWopsPtr"
  1789. title="readBE64(src: RWopsPtr): uint64"><wbr />read<wbr />BE64<span class="attachedType">RWopsPtr</span></a></li>
  1790. <li><a class="reference" href="#writeU8%2CRWopsPtr%2Cuint8"
  1791. title="writeU8(dst: RWopsPtr; value: uint8): csize_t_const"><wbr />write<wbr />U8<span class="attachedType">RWopsPtr</span></a></li>
  1792. <li><a class="reference" href="#writeLE16%2CRWopsPtr%2Cuint16"
  1793. title="writeLE16(dst: RWopsPtr; value: uint16): csize_t_const"><wbr />write<wbr />LE16<span class="attachedType">RWopsPtr</span></a></li>
  1794. <li><a class="reference" href="#writeBE16%2CRWopsPtr%2Cuint16"
  1795. title="writeBE16(dst: RWopsPtr; value: uint16): csize_t_const"><wbr />write<wbr />BE16<span class="attachedType">RWopsPtr</span></a></li>
  1796. <li><a class="reference" href="#writeLE32%2CRWopsPtr%2Cuint32"
  1797. title="writeLE32(dst: RWopsPtr; value: uint32): csize_t_const"><wbr />write<wbr />LE32<span class="attachedType">RWopsPtr</span></a></li>
  1798. <li><a class="reference" href="#writeBE32%2CRWopsPtr%2Cuint32"
  1799. title="writeBE32(dst: RWopsPtr; value: uint32): csize_t_const"><wbr />write<wbr />BE32<span class="attachedType">RWopsPtr</span></a></li>
  1800. <li><a class="reference" href="#writeLE64%2CRWopsPtr%2Cuint64"
  1801. title="writeLE64(dst: RWopsPtr; value: uint64): csize_t_const"><wbr />write<wbr />LE64<span class="attachedType">RWopsPtr</span></a></li>
  1802. <li><a class="reference" href="#writeBE64%2CRWopsPtr%2Cuint64"
  1803. title="writeBE64(dst: RWopsPtr; value: uint64): csize_t_const"><wbr />write<wbr />BE64<span class="attachedType">RWopsPtr</span></a></li>
  1804. <li><a class="reference" href="#showMessageBox%2Cptr.MessageBoxData%2Ccint"
  1805. title="showMessageBox(messageboxdata: ptr MessageBoxData; buttonid: var cint): cint"><wbr />show<wbr />Message<wbr />Box<span class="attachedType"></span></a></li>
  1806. <li><a class="reference" href="#showSimpleMessageBox%2Cuint32%2Ccstring%2Ccstring%2CWindowPtr"
  1807. title="showSimpleMessageBox(flags: uint32; title, message: cstring; window: WindowPtr): cint"><wbr />show<wbr />Simple<wbr />Message<wbr />Box<span class="attachedType">WindowPtr</span></a></li>
  1808. <li><a class="reference" href="#getNumVideoDrivers"
  1809. title="getNumVideoDrivers(): cint"><wbr />get<wbr />Num<wbr />Video<wbr />Drivers<span class="attachedType"></span></a></li>
  1810. <li><a class="reference" href="#getVideoDriver%2Ccint"
  1811. title="getVideoDriver(index: cint): cstring"><wbr />get<wbr />Video<wbr />Driver<span class="attachedType"></span></a></li>
  1812. <li><a class="reference" href="#videoInit%2Ccstring"
  1813. title="videoInit(driver_name: cstring): SDL_Return"><wbr />video<wbr />Init<span class="attachedType"></span></a></li>
  1814. <li><a class="reference" href="#videoQuit"
  1815. title="videoQuit()"><wbr />video<wbr />Quit<span class="attachedType"></span></a></li>
  1816. <li><a class="reference" href="#getCurrentVideoDriver"
  1817. title="getCurrentVideoDriver(): cstring"><wbr />get<wbr />Current<wbr />Video<wbr />Driver<span class="attachedType"></span></a></li>
  1818. <li><a class="reference" href="#getNumVideoDisplays"
  1819. title="getNumVideoDisplays(): cint"><wbr />get<wbr />Num<wbr />Video<wbr />Displays<span class="attachedType"></span></a></li>
  1820. <li><a class="reference" href="#getDisplayBounds%2Ccint%2CRect"
  1821. title="getDisplayBounds(displayIndex: cint; rect: var Rect): SDL_Return"><wbr />get<wbr />Display<wbr />Bounds<span class="attachedType">Rect</span></a></li>
  1822. <li><a class="reference" href="#getNumDisplayModes%2Ccint"
  1823. title="getNumDisplayModes(displayIndex: cint): cint"><wbr />get<wbr />Num<wbr />Display<wbr />Modes<span class="attachedType"></span></a></li>
  1824. <li><a class="reference" href="#getDisplayMode%2Ccint%2Ccint%2CDisplayMode"
  1825. title="getDisplayMode(displayIndex: cint; modeIndex: cint; mode: var DisplayMode): SDL_Return"><wbr />get<wbr />Display<wbr />Mode<span class="attachedType">DisplayMode</span></a></li>
  1826. <li><a class="reference" href="#getDesktopDisplayMode%2Ccint%2CDisplayMode"
  1827. title="getDesktopDisplayMode(displayIndex: cint; mode: var DisplayMode): SDL_Return"><wbr />get<wbr />Desktop<wbr />Display<wbr />Mode<span class="attachedType">DisplayMode</span></a></li>
  1828. <li><a class="reference" href="#getCurrentDisplayMode%2Ccint%2CDisplayMode"
  1829. title="getCurrentDisplayMode(displayIndex: cint; mode: var DisplayMode): SDL_Return"><wbr />get<wbr />Current<wbr />Display<wbr />Mode<span class="attachedType">DisplayMode</span></a></li>
  1830. <li><a class="reference" href="#getClosestDisplayMode%2Ccint%2Cptr.DisplayMode%2Cptr.DisplayMode"
  1831. title="getClosestDisplayMode(displayIndex: cint; mode: ptr DisplayMode;
  1832. closest: ptr DisplayMode): ptr DisplayMode"><wbr />get<wbr />Closest<wbr />Display<wbr />Mode<span class="attachedType">DisplayMode</span></a></li>
  1833. <li><a class="reference" href="#getDisplayDPI%2Ccint%2Cptr.cfloat%2Cptr.cfloat%2Cptr.cfloat"
  1834. title="getDisplayDPI(displayIndex: cint; ddpi, hdpi, vdpi: ptr cfloat): SDL_Return"><wbr />get<wbr />Display<wbr />DPI<span class="attachedType"></span></a></li>
  1835. <li><a class="reference" href="#createWindow%2Ccstring%2Ccint%2Ccint%2Ccint%2Ccint%2Cuint32"
  1836. title="createWindow(title: cstring; x, y, w, h: cint; flags: uint32): WindowPtr"><wbr />create<wbr />Window<span class="attachedType">WindowPtr</span></a></li>
  1837. <li><a class="reference" href="#createWindowFrom%2Cpointer"
  1838. title="createWindowFrom(data: pointer): WindowPtr"><wbr />create<wbr />Window<wbr />From<span class="attachedType">WindowPtr</span></a></li>
  1839. <li><a class="reference" href="#getWindowFromID%2Cuint32"
  1840. title="getWindowFromID(id: uint32): WindowPtr"><wbr />get<wbr />Window<wbr />From<wbr />ID<span class="attachedType">WindowPtr</span></a></li>
  1841. <li><a class="reference" href="#showWindow%2CWindowPtr"
  1842. title="showWindow(window: WindowPtr)"><wbr />show<wbr />Window<span class="attachedType">WindowPtr</span></a></li>
  1843. <li><a class="reference" href="#hideWindow%2CWindowPtr"
  1844. title="hideWindow(window: WindowPtr)"><wbr />hide<wbr />Window<span class="attachedType">WindowPtr</span></a></li>
  1845. <li><a class="reference" href="#raiseWindow%2CWindowPtr"
  1846. title="raiseWindow(window: WindowPtr)"><wbr />raise<wbr />Window<span class="attachedType">WindowPtr</span></a></li>
  1847. <li><a class="reference" href="#maximizeWindow%2CWindowPtr"
  1848. title="maximizeWindow(window: WindowPtr)"><wbr />maximize<wbr />Window<span class="attachedType">WindowPtr</span></a></li>
  1849. <li><a class="reference" href="#minimizeWindow%2CWindowPtr"
  1850. title="minimizeWindow(window: WindowPtr)"><wbr />minimize<wbr />Window<span class="attachedType">WindowPtr</span></a></li>
  1851. <li><a class="reference" href="#restoreWindow%2CWindowPtr"
  1852. title="restoreWindow(window: WindowPtr)"><wbr />restore<wbr />Window<span class="attachedType">WindowPtr</span></a></li>
  1853. <li><a class="reference" href="#destroyWindow%2CWindowPtr"
  1854. title="destroyWindow(window: WindowPtr)"><wbr />destroy<wbr />Window<span class="attachedType">WindowPtr</span></a></li>
  1855. <li><a class="reference" href="#isScreenSaverEnabled"
  1856. title="isScreenSaverEnabled(): Bool32"><wbr />is<wbr />Screen<wbr />Saver<wbr />Enabled<span class="attachedType"></span></a></li>
  1857. <li><a class="reference" href="#enableScreenSaver"
  1858. title="enableScreenSaver()"><wbr />enable<wbr />Screen<wbr />Saver<span class="attachedType"></span></a></li>
  1859. <li><a class="reference" href="#disableScreenSaver"
  1860. title="disableScreenSaver()"><wbr />disable<wbr />Screen<wbr />Saver<span class="attachedType"></span></a></li>
  1861. <li><a class="reference" href="#getTicks"
  1862. title="getTicks(): uint32"><wbr />get<wbr />Ticks<span class="attachedType"></span></a></li>
  1863. <li><a class="reference" href="#getPerformanceCounter"
  1864. title="getPerformanceCounter(): uint64"><wbr />get<wbr />Performance<wbr />Counter<span class="attachedType"></span></a></li>
  1865. <li><a class="reference" href="#getPerformanceFrequency"
  1866. title="getPerformanceFrequency(): uint64"><wbr />get<wbr />Performance<wbr />Frequency<span class="attachedType"></span></a></li>
  1867. <li><a class="reference" href="#delay%2Cuint32"
  1868. title="delay(ms: uint32)"><wbr />delay<span class="attachedType"></span></a></li>
  1869. <li><a class="reference" href="#addTimer%2Cuint32%2CTimerCallback%2Cpointer"
  1870. title="addTimer(interval: uint32; callback: TimerCallback; param: pointer): TimerID"><wbr />add<wbr />Timer<span class="attachedType">TimerID</span></a></li>
  1871. <li><a class="reference" href="#removeTimer%2CTimerID"
  1872. title="removeTimer(id: TimerID): Bool32"><wbr />remove<wbr />Timer<span class="attachedType">TimerID</span></a></li>
  1873. <li><a class="reference" href="#glLoadLibrary%2Ccstring"
  1874. title="glLoadLibrary(path: cstring): SDL_Return"><wbr />gl<wbr />Load<wbr />Library<span class="attachedType"></span></a></li>
  1875. <li><a class="reference" href="#glGetProcAddress%2Ccstring"
  1876. title="glGetProcAddress(procedure: cstring): pointer"><wbr />gl<wbr />Get<wbr />Proc<wbr />Address<span class="attachedType"></span></a></li>
  1877. <li><a class="reference" href="#glUnloadLibrary"
  1878. title="glUnloadLibrary()"><wbr />gl<wbr />Unload<wbr />Library<span class="attachedType"></span></a></li>
  1879. <li><a class="reference" href="#glExtensionSupported%2Ccstring"
  1880. title="glExtensionSupported(extension: cstring): bool"><wbr />gl<wbr />Extension<wbr />Supported<span class="attachedType"></span></a></li>
  1881. <li><a class="reference" href="#glSetAttribute%2CGLattr%2Ccint"
  1882. title="glSetAttribute(attr: GLattr; value: cint): cint"><wbr />gl<wbr />Set<wbr />Attribute<span class="attachedType"></span></a></li>
  1883. <li><a class="reference" href="#glGetAttribute%2CGLattr%2Ccint"
  1884. title="glGetAttribute(attr: GLattr; value: var cint): cint"><wbr />gl<wbr />Get<wbr />Attribute<span class="attachedType"></span></a></li>
  1885. <li><a class="reference" href="#glCreateContext%2CWindowPtr"
  1886. title="glCreateContext(window: WindowPtr): GlContextPtr"><wbr />gl<wbr />Create<wbr />Context<span class="attachedType">WindowPtr</span></a></li>
  1887. <li><a class="reference" href="#glMakeCurrent%2CWindowPtr%2CGlContextPtr"
  1888. title="glMakeCurrent(window: WindowPtr; context: GlContextPtr): cint"><wbr />gl<wbr />Make<wbr />Current<span class="attachedType">WindowPtr</span></a></li>
  1889. <li><a class="reference" href="#glGetCurrentWindow"
  1890. title="glGetCurrentWindow(): WindowPtr"><wbr />gl<wbr />Get<wbr />Current<wbr />Window<span class="attachedType">WindowPtr</span></a></li>
  1891. <li><a class="reference" href="#glGetCurrentContext"
  1892. title="glGetCurrentContext(): GlContextPtr"><wbr />gl<wbr />Get<wbr />Current<wbr />Context<span class="attachedType">GlContextPtr</span></a></li>
  1893. <li><a class="reference" href="#glGetDrawableSize%2CWindowPtr%2Ccint%2Ccint"
  1894. title="glGetDrawableSize(window: WindowPtr; w, h: var cint)"><wbr />gl<wbr />Get<wbr />Drawable<wbr />Size<span class="attachedType">WindowPtr</span></a></li>
  1895. <li><a class="reference" href="#glSetSwapInterval%2Ccint"
  1896. title="glSetSwapInterval(interval: cint): cint"><wbr />gl<wbr />Set<wbr />Swap<wbr />Interval<span class="attachedType"></span></a></li>
  1897. <li><a class="reference" href="#glGetSwapInterval"
  1898. title="glGetSwapInterval(): cint"><wbr />gl<wbr />Get<wbr />Swap<wbr />Interval<span class="attachedType"></span></a></li>
  1899. <li><a class="reference" href="#glSwapWindow%2CWindowPtr"
  1900. title="glSwapWindow(window: WindowPtr)"><wbr />gl<wbr />Swap<wbr />Window<span class="attachedType">WindowPtr</span></a></li>
  1901. <li><a class="reference" href="#glDeleteContext%2CGlContextPtr"
  1902. title="glDeleteContext(context: GlContextPtr)"><wbr />gl<wbr />Delete<wbr />Context<span class="attachedType">GlContextPtr</span></a></li>
  1903. <li><a class="reference" href="#vulkanLoadLibrary%2Ccstring"
  1904. title="vulkanLoadLibrary(path: cstring): cint"><wbr />vulkan<wbr />Load<wbr />Library<span class="attachedType"></span></a></li>
  1905. <li><a class="reference" href="#vulkanGetVkGetInstanceProcAddr"
  1906. title="vulkanGetVkGetInstanceProcAddr(): pointer"><wbr />vulkan<wbr />Get<wbr />Vk<wbr />Get<wbr />Instance<wbr />Proc<wbr />Addr<span class="attachedType"></span></a></li>
  1907. <li><a class="reference" href="#vulkanUnloadLibrary"
  1908. title="vulkanUnloadLibrary()"><wbr />vulkan<wbr />Unload<wbr />Library<span class="attachedType"></span></a></li>
  1909. <li><a class="reference" href="#vulkanGetInstanceExtensions%2CWindowPtr%2Cptr.cuint%2CcstringArray"
  1910. title="vulkanGetInstanceExtensions(window: WindowPtr; pCount: ptr cuint;
  1911. pNames: cstringArray): Bool32"><wbr />vulkan<wbr />Get<wbr />Instance<wbr />Extensions<span class="attachedType">WindowPtr</span></a></li>
  1912. <li><a class="reference" href="#vulkanCreateSurface%2CWindowPtr%2CVulkanInstance%2Cptr.VulkanSurface"
  1913. title="vulkanCreateSurface(window: WindowPtr; instance: VulkanInstance;
  1914. surface: ptr VulkanSurface): Bool32"><wbr />vulkan<wbr />Create<wbr />Surface<span class="attachedType">WindowPtr</span></a></li>
  1915. <li><a class="reference" href="#vulkanGetDrawableSize%2CWindowPtr%2Cptr.cint%2Cptr.cint"
  1916. title="vulkanGetDrawableSize(window: WindowPtr; w, h: ptr cint)"><wbr />vulkan<wbr />Get<wbr />Drawable<wbr />Size<span class="attachedType">WindowPtr</span></a></li>
  1917. <li><a class="reference" href="#getKeyboardFocus"
  1918. title="getKeyboardFocus(): WindowPtr"><wbr />get<wbr />Keyboard<wbr />Focus<span class="attachedType">WindowPtr</span></a></li>
  1919. <li><a class="reference" href="#getKeyboardState%2Cptr.int"
  1920. title="getKeyboardState(numkeys: ptr int = nil): ptr array[0 .. SDL_NUM_SCANCODES.int, uint8]"><wbr />get<wbr />Keyboard<wbr />State<span class="attachedType"></span></a></li>
  1921. <li><a class="reference" href="#getModState"
  1922. title="getModState(): Keymod"><wbr />get<wbr />Mod<wbr />State<span class="attachedType"></span></a></li>
  1923. <li><a class="reference" href="#setModState%2CKeymod"
  1924. title="setModState(state: Keymod)"><wbr />set<wbr />Mod<wbr />State<span class="attachedType"></span></a></li>
  1925. <li><a class="reference" href="#getKeyFromScancode%2CScancode"
  1926. title="getKeyFromScancode(scancode: Scancode): cint"><wbr />get<wbr />Key<wbr />From<wbr />Scancode<span class="attachedType"></span></a></li>
  1927. <li><a class="reference" href="#getScancodeFromKey%2Ccint"
  1928. title="getScancodeFromKey(key: cint): Scancode"><wbr />get<wbr />Scancode<wbr />From<wbr />Key<span class="attachedType"></span></a></li>
  1929. <li><a class="reference" href="#getScancodeName%2CScancode"
  1930. title="getScancodeName(scancode: Scancode): cstring"><wbr />get<wbr />Scancode<wbr />Name<span class="attachedType"></span></a></li>
  1931. <li><a class="reference" href="#getScancodeFromName%2Ccstring"
  1932. title="getScancodeFromName(name: cstring): Scancode"><wbr />get<wbr />Scancode<wbr />From<wbr />Name<span class="attachedType"></span></a></li>
  1933. <li><a class="reference" href="#getKeyName%2Ccint"
  1934. title="getKeyName(key: cint): cstring"><wbr />get<wbr />Key<wbr />Name<span class="attachedType"></span></a></li>
  1935. <li><a class="reference" href="#getKeyFromName%2Ccstring"
  1936. title="getKeyFromName(name: cstring): cint"><wbr />get<wbr />Key<wbr />From<wbr />Name<span class="attachedType"></span></a></li>
  1937. <li><a class="reference" href="#startTextInput"
  1938. title="startTextInput()"><wbr />start<wbr />Text<wbr />Input<span class="attachedType"></span></a></li>
  1939. <li><a class="reference" href="#isTextInputActive"
  1940. title="isTextInputActive(): bool"><wbr />is<wbr />Text<wbr />Input<wbr />Active<span class="attachedType"></span></a></li>
  1941. <li><a class="reference" href="#stopTextInput"
  1942. title="stopTextInput()"><wbr />stop<wbr />Text<wbr />Input<span class="attachedType"></span></a></li>
  1943. <li><a class="reference" href="#setTextInputRect%2Cptr.Rect"
  1944. title="setTextInputRect(rect: ptr Rect)"><wbr />set<wbr />Text<wbr />Input<wbr />Rect<span class="attachedType">Rect</span></a></li>
  1945. <li><a class="reference" href="#hasScreenKeyboardSupport"
  1946. title="hasScreenKeyboardSupport(): bool"><wbr />has<wbr />Screen<wbr />Keyboard<wbr />Support<span class="attachedType"></span></a></li>
  1947. <li><a class="reference" href="#isScreenKeyboardShown%2CWindowPtr"
  1948. title="isScreenKeyboardShown(window: WindowPtr): bool"><wbr />is<wbr />Screen<wbr />Keyboard<wbr />Shown<span class="attachedType">WindowPtr</span></a></li>
  1949. <li><a class="reference" href="#getMouseFocus"
  1950. title="getMouseFocus(): WindowPtr"><wbr />get<wbr />Mouse<wbr />Focus<span class="attachedType">WindowPtr</span></a></li>
  1951. <li><a class="reference" href="#getMouseState%2Ccint%2Ccint"
  1952. title="getMouseState(x, y: var cint): uint8"><wbr />get<wbr />Mouse<wbr />State<span class="attachedType"></span></a></li>
  1953. <li><a class="reference" href="#getMouseState%2Cptr.cint%2Cptr.cint"
  1954. title="getMouseState(x, y: ptr cint): uint8"><wbr />get<wbr />Mouse<wbr />State<span class="attachedType"></span></a></li>
  1955. <li><a class="reference" href="#getRelativeMouseState%2Ccint%2Ccint"
  1956. title="getRelativeMouseState(x, y: var cint): uint8"><wbr />get<wbr />Relative<wbr />Mouse<wbr />State<span class="attachedType"></span></a></li>
  1957. <li><a class="reference" href="#warpMouseInWindow%2CWindowPtr%2Ccint%2Ccint"
  1958. title="warpMouseInWindow(window: WindowPtr; x, y: cint)"><wbr />warp<wbr />Mouse<wbr />In<wbr />Window<span class="attachedType">WindowPtr</span></a></li>
  1959. <li><a class="reference" href="#setRelativeMouseMode%2CBool32"
  1960. title="setRelativeMouseMode(enabled: Bool32): SDL_Return"><wbr />set<wbr />Relative<wbr />Mouse<wbr />Mode<span class="attachedType"></span></a></li>
  1961. <li><a class="reference" href="#captureMouse%2CBool32"
  1962. title="captureMouse(enabled: Bool32): SDL_Return"><wbr />capture<wbr />Mouse<span class="attachedType"></span></a></li>
  1963. <li><a class="reference" href="#getRelativeMouseMode"
  1964. title="getRelativeMouseMode(): Bool32"><wbr />get<wbr />Relative<wbr />Mouse<wbr />Mode<span class="attachedType"></span></a></li>
  1965. <li><a class="reference" href="#createCursor%2Cptr.uint8%2Cptr.uint8%2Ccint%2Ccint%2Ccint%2Ccint"
  1966. title="createCursor(data, mask: ptr uint8; w, h, hot_x, hot_y: cint): CursorPtr"><wbr />create<wbr />Cursor<span class="attachedType">CursorPtr</span></a></li>
  1967. <li><a class="reference" href="#createColorCursor%2CSurfacePtr%2Ccint%2Ccint"
  1968. title="createColorCursor(surface: SurfacePtr; hot_x, hot_y: cint): CursorPtr"><wbr />create<wbr />Color<wbr />Cursor<span class="attachedType">SurfacePtr</span></a></li>
  1969. <li><a class="reference" href="#createSystemCursor%2CSystemCursor"
  1970. title="createSystemCursor(c: SystemCursor): CursorPtr"><wbr />create<wbr />System<wbr />Cursor<span class="attachedType">SystemCursor</span></a></li>
  1971. <li><a class="reference" href="#setCursor%2CCursorPtr"
  1972. title="setCursor(cursor: CursorPtr)"><wbr />set<wbr />Cursor<span class="attachedType">CursorPtr</span></a></li>
  1973. <li><a class="reference" href="#getCursor"
  1974. title="getCursor(): CursorPtr"><wbr />get<wbr />Cursor<span class="attachedType">CursorPtr</span></a></li>
  1975. <li><a class="reference" href="#freeCursor%2CCursorPtr"
  1976. title="freeCursor(cursor: CursorPtr)"><wbr />free<wbr />Cursor<span class="attachedType">CursorPtr</span></a></li>
  1977. <li><a class="reference" href="#showCursor%2Cbool"
  1978. title="showCursor(toggle: bool): Bool32"><wbr />show<wbr />Cursor<span class="attachedType"></span></a></li>
  1979. <li><a class="reference" href="#pumpEvents"
  1980. title="pumpEvents()"><wbr />pump<wbr />Events<span class="attachedType"></span></a></li>
  1981. <li><a class="reference" href="#peepEvents%2Cptr.Event%2Ccint%2CEventaction%2Cuint32%2Cuint32"
  1982. title="peepEvents(events: ptr Event; numevents: cint; action: Eventaction; minType: uint32;
  1983. maxType: uint32): cint"><wbr />peep<wbr />Events<span class="attachedType">Event</span></a></li>
  1984. <li><a class="reference" href="#hasEvent%2Cuint32"
  1985. title="hasEvent(kind: uint32): Bool32"><wbr />has<wbr />Event<span class="attachedType"></span></a></li>
  1986. <li><a class="reference" href="#hasEvents%2Cuint32%2Cuint32"
  1987. title="hasEvents(minType: uint32; maxType: uint32): Bool32"><wbr />has<wbr />Events<span class="attachedType"></span></a></li>
  1988. <li><a class="reference" href="#flushEvent%2Cuint32"
  1989. title="flushEvent(kind: uint32)"><wbr />flush<wbr />Event<span class="attachedType"></span></a></li>
  1990. <li><a class="reference" href="#flushEvents%2Cuint32%2Cuint32"
  1991. title="flushEvents(minType: uint32; maxType: uint32)"><wbr />flush<wbr />Events<span class="attachedType"></span></a></li>
  1992. <li><a class="reference" href="#pollEvent%2CEvent"
  1993. title="pollEvent(event: var Event): Bool32"><wbr />poll<wbr />Event<span class="attachedType">Event</span></a></li>
  1994. <li><a class="reference" href="#waitEvent%2CEvent"
  1995. title="waitEvent(event: var Event): Bool32"><wbr />wait<wbr />Event<span class="attachedType">Event</span></a></li>
  1996. <li><a class="reference" href="#waitEventTimeout%2CEvent%2Ccint"
  1997. title="waitEventTimeout(event: var Event; timeout: cint): Bool32"><wbr />wait<wbr />Event<wbr />Timeout<span class="attachedType">Event</span></a></li>
  1998. <li><a class="reference" href="#pushEvent%2Cptr.Event"
  1999. title="pushEvent(event: ptr Event): cint"><wbr />push<wbr />Event<span class="attachedType">Event</span></a></li>
  2000. <li><a class="reference" href="#setEventFilter%2CEventFilter%2Cpointer"
  2001. title="setEventFilter(filter: EventFilter; userdata: pointer)"><wbr />set<wbr />Event<wbr />Filter<span class="attachedType">EventFilter</span></a></li>
  2002. <li><a class="reference" href="#getEventFilter%2CEventFilter%2Cpointer"
  2003. title="getEventFilter(filter: var EventFilter; userdata: var pointer): Bool32"><wbr />get<wbr />Event<wbr />Filter<span class="attachedType">EventFilter</span></a></li>
  2004. <li><a class="reference" href="#addEventWatch%2CEventFilter%2Cpointer"
  2005. title="addEventWatch(filter: EventFilter; userdata: pointer)"><wbr />add<wbr />Event<wbr />Watch<span class="attachedType">EventFilter</span></a></li>
  2006. <li><a class="reference" href="#delEventWatch%2CEventFilter%2Cpointer"
  2007. title="delEventWatch(filter: EventFilter; userdata: pointer)"><wbr />del<wbr />Event<wbr />Watch<span class="attachedType">EventFilter</span></a></li>
  2008. <li><a class="reference" href="#filterEvents%2CEventFilter%2Cpointer"
  2009. title="filterEvents(filter: EventFilter; userdata: pointer)"><wbr />filter<wbr />Events<span class="attachedType">EventFilter</span></a></li>
  2010. <li><a class="reference" href="#eventState%2CEventType%2Ccint"
  2011. title="eventState(kind: EventType; state: cint): uint8"><wbr />event<wbr />State<span class="attachedType"></span></a></li>
  2012. <li><a class="reference" href="#registerEvents%2Ccint"
  2013. title="registerEvents(numevents: cint): uint32"><wbr />register<wbr />Events<span class="attachedType"></span></a></li>
  2014. <li><a class="reference" href="#setError%2Ccstring"
  2015. title="setError(fmt: cstring)"><wbr />set<wbr />Error<span class="attachedType"></span></a></li>
  2016. <li><a class="reference" href="#getError"
  2017. title="getError(): cstring"><wbr />get<wbr />Error<span class="attachedType"></span></a></li>
  2018. <li><a class="reference" href="#clearError"
  2019. title="clearError()"><wbr />clear<wbr />Error<span class="attachedType"></span></a></li>
  2020. <li><a class="reference" href="#getPixelFormatName%2Cuint32"
  2021. title="getPixelFormatName(format: uint32): cstring"><wbr />get<wbr />Pixel<wbr />Format<wbr />Name<span class="attachedType"></span></a></li>
  2022. <li><a class="reference" href="#pixelFormatEnumToMasks%2Cuint32%2Ccint%2Cuint32%2Cuint32%2Cuint32%2Cuint32"
  2023. title="pixelFormatEnumToMasks(format: uint32; bpp: var cint;
  2024. Rmask, Gmask, Bmask, Amask: var uint32): bool"><wbr />pixel<wbr />Format<wbr />Enum<wbr />To<wbr />Masks<span class="attachedType"></span></a></li>
  2025. <li><a class="reference" href="#masksToPixelFormatEnum%2Ccint%2Cuint32%2Cuint32%2Cuint32%2Cuint32"
  2026. title="masksToPixelFormatEnum(bpp: cint; Rmask, Gmask, Bmask, Amask: uint32): uint32"><wbr />masks<wbr />To<wbr />Pixel<wbr />Format<wbr />Enum<span class="attachedType"></span></a></li>
  2027. <li><a class="reference" href="#allocFormat%2Cuint32"
  2028. title="allocFormat(pixelFormat: uint32): ptr PixelFormat"><wbr />alloc<wbr />Format<span class="attachedType"></span></a></li>
  2029. <li><a class="reference" href="#freeFormat%2Cptr.PixelFormat"
  2030. title="freeFormat(format: ptr PixelFormat)"><wbr />free<wbr />Format<span class="attachedType"></span></a></li>
  2031. <li><a class="reference" href="#allocPalette%2Ccint"
  2032. title="allocPalette(numColors: cint): ptr Palette"><wbr />alloc<wbr />Palette<span class="attachedType"></span></a></li>
  2033. <li><a class="reference" href="#setPixelFormatPalette%2Cptr.PixelFormat%2Cptr.Palette"
  2034. title="setPixelFormatPalette(format: ptr PixelFormat; palette: ptr Palette): cint"><wbr />set<wbr />Pixel<wbr />Format<wbr />Palette<span class="attachedType"></span></a></li>
  2035. <li><a class="reference" href="#setPaletteColors%2Cptr.Palette%2Cptr.Color%2Ccint%2Ccint"
  2036. title="setPaletteColors(palette: ptr Palette; colors: ptr Color; first, numColors: cint): SDL_Return"><wbr />set<wbr />Palette<wbr />Colors<span class="attachedType"></span></a></li>
  2037. <li><a class="reference" href="#freePalette%2Cptr.Palette"
  2038. title="freePalette(palette: ptr Palette)"><wbr />free<wbr />Palette<span class="attachedType"></span></a></li>
  2039. <li><a class="reference" href="#mapRGB%2Cptr.PixelFormat%2Cuint8%2Cuint8%2Cuint8"
  2040. title="mapRGB(format: ptr PixelFormat; r, g, b: uint8): uint32"><wbr />map<wbr />RGB<span class="attachedType"></span></a></li>
  2041. <li><a class="reference" href="#mapRGBA%2Cptr.PixelFormat%2Cuint8%2Cuint8%2Cuint8%2Cuint8"
  2042. title="mapRGBA(format: ptr PixelFormat; r, g, b, a: uint8): uint32"><wbr />map<wbr />RGBA<span class="attachedType"></span></a></li>
  2043. <li><a class="reference" href="#getRGB%2Cuint32%2Cptr.PixelFormat%2Cuint8%2Cuint8%2Cuint8"
  2044. title="getRGB(pixel: uint32; format: ptr PixelFormat; r, g, b: var uint8)"><wbr />get<wbr />RGB<span class="attachedType"></span></a></li>
  2045. <li><a class="reference" href="#getRGBA%2Cuint32%2Cptr.PixelFormat%2Cuint8%2Cuint8%2Cuint8%2Cuint8"
  2046. title="getRGBA(pixel: uint32; format: ptr PixelFormat; r, g, b, a: var uint8)"><wbr />get<wbr />RGBA<span class="attachedType"></span></a></li>
  2047. <li><a class="reference" href="#calculateGammaRamp%2Ccfloat%2Cptr.uint16"
  2048. title="calculateGammaRamp(gamma: cfloat; ramp: ptr uint16)"><wbr />calculate<wbr />Gamma<wbr />Ramp<span class="attachedType"></span></a></li>
  2049. <li><a class="reference" href="#setClipboardText%2Ccstring"
  2050. title="setClipboardText(text: cstring): cint"><wbr />set<wbr />Clipboard<wbr />Text<span class="attachedType"></span></a></li>
  2051. <li><a class="reference" href="#getClipboardText"
  2052. title="getClipboardText(): cstring"><wbr />get<wbr />Clipboard<wbr />Text<span class="attachedType"></span></a></li>
  2053. <li><a class="reference" href="#hasClipboardText"
  2054. title="hasClipboardText(): Bool32"><wbr />has<wbr />Clipboard<wbr />Text<span class="attachedType"></span></a></li>
  2055. <li><a class="reference" href="#freeClipboardText%2Ccstring"
  2056. title="freeClipboardText(text: cstring)"><wbr />free<wbr />Clipboard<wbr />Text<span class="attachedType"></span></a></li>
  2057. <li><a class="reference" href="#getNumTouchFingers%2CTouchID"
  2058. title="getNumTouchFingers(id: TouchID): cint"><wbr />get<wbr />Num<wbr />Touch<wbr />Fingers<span class="attachedType">TouchID</span></a></li>
  2059. <li><a class="reference" href="#getTouchFinger%2CTouchID%2Ccint"
  2060. title="getTouchFinger(id: TouchID; index: cint): ptr Finger"><wbr />get<wbr />Touch<wbr />Finger<span class="attachedType">TouchID</span></a></li>
  2061. <li><a class="reference" href="#getEventState%2CEventType"
  2062. title="getEventState(kind: EventType): uint8"><wbr />get<wbr />Event<wbr />State<span class="attachedType"></span></a></li>
  2063. <li><a class="reference" href="#createRGBSurface%2Cint32%2Cint32%2Cint32"
  2064. title="createRGBSurface(width, height, depth: int32): SurfacePtr"><wbr />create<wbr />RGBSurface<span class="attachedType">SurfacePtr</span></a></li>
  2065. <li><a class="reference" href="#getSize%2CWindowPtr"
  2066. title="getSize(window: WindowPtr): Point"><wbr />get<wbr />Size<span class="attachedType">WindowPtr</span></a></li>
  2067. <li><a class="reference" href="#destroyTexture%2CTexturePtr"
  2068. title="destroyTexture(texture: TexturePtr)"><wbr />destroy<wbr />Texture<span class="attachedType">TexturePtr</span></a></li>
  2069. <li><a class="reference" href="#destroyRenderer%2CRendererPtr"
  2070. title="destroyRenderer(renderer: RendererPtr)"><wbr />destroy<wbr />Renderer<span class="attachedType">RendererPtr</span></a></li>
  2071. <li><a class="reference" href="#destroy%2CWindowPtr"
  2072. title="destroy(window: WindowPtr)"><wbr />destroy<span class="attachedType">WindowPtr</span></a></li>
  2073. <li><a class="reference" href="#destroy%2CCursorPtr"
  2074. title="destroy(cursor: CursorPtr)"><wbr />destroy<span class="attachedType">CursorPtr</span></a></li>
  2075. <li><a class="reference" href="#destroy%2CSurfacePtr"
  2076. title="destroy(surface: SurfacePtr)"><wbr />destroy<span class="attachedType">SurfacePtr</span></a></li>
  2077. <li><a class="reference" href="#destroy%2Cptr.PixelFormat"
  2078. title="destroy(format: ptr PixelFormat)"><wbr />destroy<span class="attachedType"></span></a></li>
  2079. <li><a class="reference" href="#destroy%2Cptr.Palette"
  2080. title="destroy(palette: ptr Palette)"><wbr />destroy<span class="attachedType"></span></a></li>
  2081. <li><a class="reference" href="#blitSurface%2CSurfacePtr%2Cptr.Rect%2CSurfacePtr%2Cptr.Rect"
  2082. title="blitSurface(src: SurfacePtr; srcrect: ptr Rect; dst: SurfacePtr; dstrect: ptr Rect): SDL_Return"><wbr />blit<wbr />Surface<span class="attachedType">SurfacePtr</span></a></li>
  2083. <li><a class="reference" href="#blitScaled%2CSurfacePtr%2Cptr.Rect%2CSurfacePtr%2Cptr.Rect"
  2084. title="blitScaled(src: SurfacePtr; srcrect: ptr Rect; dst: SurfacePtr; dstrect: ptr Rect): SDL_Return"><wbr />blit<wbr />Scaled<span class="attachedType">SurfacePtr</span></a></li>
  2085. <li><a class="reference" href="#loadBMP%2Cstring"
  2086. title="loadBMP(file: string): SurfacePtr"><wbr />load<wbr />BMP<span class="attachedType">SurfacePtr</span></a></li>
  2087. <li><a class="reference" href="#saveBMP%2CSurfacePtr%2Cstring"
  2088. title="saveBMP(surface: SurfacePtr; file: string): SDL_Return"><wbr />save<wbr />BMP<span class="attachedType">SurfacePtr</span></a></li>
  2089. <li><a class="reference" href="#color%2Crange%5B%5D%2Crange%5B%5D%2Crange%5B%5D%2Crange%5B%5D"
  2090. title="color(r, g, b, a: range[0 .. 255]): Color"><wbr />color<span class="attachedType"></span></a></li>
  2091. <li><a class="reference" href="#rect%2Ccint%2Ccint"
  2092. title="rect(x, y: cint; w = cint(0); h = cint(0)): Rect"><wbr />rect<span class="attachedType">Rect</span></a></li>
  2093. <li><a class="reference" href="#point%2CT%2CT"
  2094. title="point[T: SomeNumber](x, y: T): Point"><wbr />point<span class="attachedType">Point</span></a></li>
  2095. <li><a class="reference" href="#contains%2CRect%2CPoint"
  2096. title="contains(some: Rect; point: Point): bool"><wbr />contains<span class="attachedType">Rect</span></a></li>
  2097. <li><a class="reference" href="#setHint%2Ccstring%2Ccstring"
  2098. title="setHint(name: cstring; value: cstring): bool"><wbr />set<wbr />Hint<span class="attachedType"></span></a></li>
  2099. <li><a class="reference" href="#setHintWithPriority%2Ccstring%2Ccstring%2Ccint"
  2100. title="setHintWithPriority(name: cstring; value: cstring; priority: cint): bool"><wbr />set<wbr />Hint<wbr />With<wbr />Priority<span class="attachedType"></span></a></li>
  2101. <li><a class="reference" href="#getHint%2Ccstring"
  2102. title="getHint(name: cstring): cstring"><wbr />get<wbr />Hint<span class="attachedType"></span></a></li>
  2103. <li><a class="reference" href="#size%2CRWopsPtr"
  2104. title="size(ctx: RWopsPtr): int64"><wbr />size<span class="attachedType">RWopsPtr</span></a></li>
  2105. <li><a class="reference" href="#seek%2CRWopsPtr%2Cint64%2Ccint"
  2106. title="seek(ctx: RWopsPtr; offset: int64; whence: cint): int64"><wbr />seek<span class="attachedType">RWopsPtr</span></a></li>
  2107. <li><a class="reference" href="#read%2CRWopsPtr%2Cpointer%2Ccsize_t_const%2Ccsize_t_const"
  2108. title="read(ctx: RWopsPtr; `ptr`: pointer; size, maxnum: csize_t_const): csize_t_const"><wbr />read<span class="attachedType">RWopsPtr</span></a></li>
  2109. <li><a class="reference" href="#write%2CRWopsPtr%2Cpointer%2Ccsize_t_const%2Ccsize_t_const"
  2110. title="write(ctx: RWopsPtr; `ptr`: pointer; size, num: csize_t_const): csize_t_const"><wbr />write<span class="attachedType">RWopsPtr</span></a></li>
  2111. <li><a class="reference" href="#close%2CRWopsPtr"
  2112. title="close(ctx: RWopsPtr): cint"><wbr />close<span class="attachedType">RWopsPtr</span></a></li>
  2113. </ul>
  2114. </li>
  2115. <li>
  2116. <a class="reference reference-toplevel" href="#16" id="66">Converters</a>
  2117. <ul class="simple simple-toc-section">
  2118. <li><a class="reference" href="#toInt.c%2CKeymod"
  2119. title="toInt(some: Keymod): cint"><wbr />to<wbr />Int<span class="attachedType"></span></a></li>
  2120. <li><a class="reference" href="#toBool.c%2CBool32"
  2121. title="toBool(some: Bool32): bool"><wbr />to<wbr />Bool<span class="attachedType"></span></a></li>
  2122. <li><a class="reference" href="#toBool.c%2CSDL_Return"
  2123. title="toBool(some: SDL_Return): bool"><wbr />to<wbr />Bool<span class="attachedType"></span></a></li>
  2124. <li><a class="reference" href="#toCint.c%2CTextureAccess"
  2125. title="toCint(some: TextureAccess): cint"><wbr />to<wbr />Cint<span class="attachedType"></span></a></li>
  2126. </ul>
  2127. </li>
  2128. <li>
  2129. <a class="reference reference-toplevel" href="#18" id="68">Templates</a>
  2130. <ul class="simple simple-toc-section">
  2131. <li><a class="reference" href="#KMOD_CTRL.t"
  2132. title="KMOD_CTRL(): untyped"><wbr />KMOD_<wbr />CTRL<span class="attachedType"></span></a></li>
  2133. <li><a class="reference" href="#KMOD_SHIFT.t"
  2134. title="KMOD_SHIFT(): untyped"><wbr />KMOD_<wbr />SHIFT<span class="attachedType"></span></a></li>
  2135. <li><a class="reference" href="#KMOD_ALT.t"
  2136. title="KMOD_ALT(): untyped"><wbr />KMOD_<wbr />ALT<span class="attachedType"></span></a></li>
  2137. <li><a class="reference" href="#KMOD_GUI.t"
  2138. title="KMOD_GUI(): untyped"><wbr />KMOD_<wbr />GUI<span class="attachedType"></span></a></li>
  2139. <li><a class="reference" href="#SDL_DEFINE_PIXELFOURCC.t%2Cchar%2Cchar%2Cchar%2Cchar"
  2140. title="SDL_DEFINE_PIXELFOURCC(A, B, C, D: char): uint32"><wbr />SDL_<wbr />DEFINE_<wbr />PIXELFOURCC<span class="attachedType"></span></a></li>
  2141. <li><a class="reference" href="#SDL_DEFINE_PIXELFORMAT.t%2Cint%2Cint%2Cint%2Cint%2Cint"
  2142. title="SDL_DEFINE_PIXELFORMAT(`type`, order, layout, bits, bytes: int): uint32"><wbr />SDL_<wbr />DEFINE_<wbr />PIXELFORMAT<span class="attachedType"></span></a></li>
  2143. <li><a class="reference" href="#SDL_PIXELFLAG.t%2Cuint32"
  2144. title="SDL_PIXELFLAG(X: uint32): int"><wbr />SDL_<wbr />PIXELFLAG<span class="attachedType"></span></a></li>
  2145. <li><a class="reference" href="#SDL_PIXELTYPE.t%2Cuint32"
  2146. title="SDL_PIXELTYPE(X: uint32): int"><wbr />SDL_<wbr />PIXELTYPE<span class="attachedType"></span></a></li>
  2147. <li><a class="reference" href="#SDL_PIXELORDER.t%2Cuint32"
  2148. title="SDL_PIXELORDER(X: uint32): int"><wbr />SDL_<wbr />PIXELORDER<span class="attachedType"></span></a></li>
  2149. <li><a class="reference" href="#SDL_PIXELLAYOUT.t%2Cuint32"
  2150. title="SDL_PIXELLAYOUT(X: uint32): int"><wbr />SDL_<wbr />PIXELLAYOUT<span class="attachedType"></span></a></li>
  2151. <li><a class="reference" href="#SDL_BITSPERPIXEL.t%2Cuint32"
  2152. title="SDL_BITSPERPIXEL(X: uint32): int"><wbr />SDL_<wbr />BITSPERPIXEL<span class="attachedType"></span></a></li>
  2153. <li><a class="reference" href="#SDL_BYTESPERPIXEL.t%2Cuint32"
  2154. title="SDL_BYTESPERPIXEL(X: uint32): int"><wbr />SDL_<wbr />BYTESPERPIXEL<span class="attachedType"></span></a></li>
  2155. <li><a class="reference" href="#SDL_ISPIXELFORMAT_INDEXED.t%2Cuint32"
  2156. title="SDL_ISPIXELFORMAT_INDEXED(format: uint32): bool"><wbr />SDL_<wbr />ISPIXELFORMAT_<wbr />INDEXED<span class="attachedType"></span></a></li>
  2157. <li><a class="reference" href="#SDL_ISPIXELFORMAT_ALPHA.t%2Cuint32"
  2158. title="SDL_ISPIXELFORMAT_ALPHA(format: uint32): bool"><wbr />SDL_<wbr />ISPIXELFORMAT_<wbr />ALPHA<span class="attachedType"></span></a></li>
  2159. <li><a class="reference" href="#SDL_ISPIXELFORMAT_FOURCC.t%2Cuint32"
  2160. title="SDL_ISPIXELFORMAT_FOURCC(format: uint32): bool"><wbr />SDL_<wbr />ISPIXELFORMAT_<wbr />FOURCC<span class="attachedType"></span></a></li>
  2161. <li><a class="reference" href="#SDL_MUSTLOCK.t%2CSurfacePtr"
  2162. title="SDL_MUSTLOCK(some: SurfacePtr): bool"><wbr />SDL_<wbr />MUSTLOCK<span class="attachedType">SurfacePtr</span></a></li>
  2163. <li><a class="reference" href="#SDL_WINDOWPOS_UNDEFINED_DISPLAY.t%2Ccint"
  2164. title="SDL_WINDOWPOS_UNDEFINED_DISPLAY(X: cint): untyped"><wbr />SDL_<wbr />WINDOWPOS_<wbr />UNDEFINED_<wbr />DISPLAY<span class="attachedType"></span></a></li>
  2165. <li><a class="reference" href="#SDL_WINDOWPOS_ISUNDEFINED.t%2Ccint"
  2166. title="SDL_WINDOWPOS_ISUNDEFINED(X: cint): bool"><wbr />SDL_<wbr />WINDOWPOS_<wbr />ISUNDEFINED<span class="attachedType"></span></a></li>
  2167. <li><a class="reference" href="#SDL_WINDOWPOS_CENTERED_DISPLAY.t%2Ccint"
  2168. title="SDL_WINDOWPOS_CENTERED_DISPLAY(X: cint): cint"><wbr />SDL_<wbr />WINDOWPOS_<wbr />CENTERED_<wbr />DISPLAY<span class="attachedType"></span></a></li>
  2169. <li><a class="reference" href="#SDL_WINDOWPOS_ISCENTERED.t%2Ccint"
  2170. title="SDL_WINDOWPOS_ISCENTERED(X: cint): bool"><wbr />SDL_<wbr />WINDOWPOS_<wbr />ISCENTERED<span class="attachedType"></span></a></li>
  2171. <li><a class="reference" href="#SDL_BUTTON.t%2Cuint8"
  2172. title="SDL_BUTTON(x: uint8): uint8"><wbr />SDL_<wbr />BUTTON<span class="attachedType"></span></a></li>
  2173. </ul>
  2174. </li>
  2175. </ul>
  2176. </div>
  2177. <div class="nine columns" id="content">
  2178. <div id="tocRoot"></div>
  2179. <p class="module-desc">do not import this, it is included in sdl2.nimpixel format flagsfunctions whose names have been shortened by elision of a type nameSDL_vulkan.hSDL_keyboard.h:Create an SDL_PixelFormat structure from a pixel format enum.define SDL_GetEventState(type) SDL_EventState(type, SDL_QUERY)define SDL_BUTTON(X) (1 &lt;&lt; ((X)-1))compatibility functionsdefine SDL_SaveBMP(surface, file) </p>
  2180. <div class="section" id="7">
  2181. <h1><a class="toc-backref" href="#7">Types</a></h1>
  2182. <dl class="item">
  2183. <a id="csize_t_const"></a>
  2184. <dt><pre><a href="sdl2.html#csize_t_const"><span class="Identifier">csize_t_const</span></a> <span class="Other">=</span> <span class="Identifier">csize_t</span></pre></dt>
  2185. <dd>
  2186. </dd>
  2187. <a id="Scancode"></a>
  2188. <dt><pre><a href="sdl2.html#Scancode"><span class="Identifier">Scancode</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">size</span><span class="Other">:</span> <span class="DecNumber">4</span></span><span class="Other">.}</span></span> <span class="Other">=</span> <span class="Keyword">enum</span>
  2189. <span class="Identifier">SDL_SCANCODE_UNKNOWN</span> <span class="Other">=</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_A</span> <span class="Other">=</span> <span class="DecNumber">4</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_B</span> <span class="Other">=</span> <span class="DecNumber">5</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_C</span> <span class="Other">=</span> <span class="DecNumber">6</span><span class="Other">,</span>
  2190. <span class="Identifier">SDL_SCANCODE_D</span> <span class="Other">=</span> <span class="DecNumber">7</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_E</span> <span class="Other">=</span> <span class="DecNumber">8</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_F</span> <span class="Other">=</span> <span class="DecNumber">9</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_G</span> <span class="Other">=</span> <span class="DecNumber">10</span><span class="Other">,</span>
  2191. <span class="Identifier">SDL_SCANCODE_H</span> <span class="Other">=</span> <span class="DecNumber">11</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_I</span> <span class="Other">=</span> <span class="DecNumber">12</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_J</span> <span class="Other">=</span> <span class="DecNumber">13</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_K</span> <span class="Other">=</span> <span class="DecNumber">14</span><span class="Other">,</span>
  2192. <span class="Identifier">SDL_SCANCODE_L</span> <span class="Other">=</span> <span class="DecNumber">15</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_M</span> <span class="Other">=</span> <span class="DecNumber">16</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_N</span> <span class="Other">=</span> <span class="DecNumber">17</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_O</span> <span class="Other">=</span> <span class="DecNumber">18</span><span class="Other">,</span>
  2193. <span class="Identifier">SDL_SCANCODE_P</span> <span class="Other">=</span> <span class="DecNumber">19</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_Q</span> <span class="Other">=</span> <span class="DecNumber">20</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_R</span> <span class="Other">=</span> <span class="DecNumber">21</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_S</span> <span class="Other">=</span> <span class="DecNumber">22</span><span class="Other">,</span>
  2194. <span class="Identifier">SDL_SCANCODE_T</span> <span class="Other">=</span> <span class="DecNumber">23</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_U</span> <span class="Other">=</span> <span class="DecNumber">24</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_V</span> <span class="Other">=</span> <span class="DecNumber">25</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_W</span> <span class="Other">=</span> <span class="DecNumber">26</span><span class="Other">,</span>
  2195. <span class="Identifier">SDL_SCANCODE_X</span> <span class="Other">=</span> <span class="DecNumber">27</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_Y</span> <span class="Other">=</span> <span class="DecNumber">28</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_Z</span> <span class="Other">=</span> <span class="DecNumber">29</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_1</span> <span class="Other">=</span> <span class="DecNumber">30</span><span class="Other">,</span>
  2196. <span class="Identifier">SDL_SCANCODE_2</span> <span class="Other">=</span> <span class="DecNumber">31</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_3</span> <span class="Other">=</span> <span class="DecNumber">32</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_4</span> <span class="Other">=</span> <span class="DecNumber">33</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_5</span> <span class="Other">=</span> <span class="DecNumber">34</span><span class="Other">,</span>
  2197. <span class="Identifier">SDL_SCANCODE_6</span> <span class="Other">=</span> <span class="DecNumber">35</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_7</span> <span class="Other">=</span> <span class="DecNumber">36</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_8</span> <span class="Other">=</span> <span class="DecNumber">37</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_9</span> <span class="Other">=</span> <span class="DecNumber">38</span><span class="Other">,</span>
  2198. <span class="Identifier">SDL_SCANCODE_0</span> <span class="Other">=</span> <span class="DecNumber">39</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_RETURN</span> <span class="Other">=</span> <span class="DecNumber">40</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_ESCAPE</span> <span class="Other">=</span> <span class="DecNumber">41</span><span class="Other">,</span>
  2199. <span class="Identifier">SDL_SCANCODE_BACKSPACE</span> <span class="Other">=</span> <span class="DecNumber">42</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_TAB</span> <span class="Other">=</span> <span class="DecNumber">43</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_SPACE</span> <span class="Other">=</span> <span class="DecNumber">44</span><span class="Other">,</span>
  2200. <span class="Identifier">SDL_SCANCODE_MINUS</span> <span class="Other">=</span> <span class="DecNumber">45</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_EQUALS</span> <span class="Other">=</span> <span class="DecNumber">46</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_LEFTBRACKET</span> <span class="Other">=</span> <span class="DecNumber">47</span><span class="Other">,</span>
  2201. <span class="Identifier">SDL_SCANCODE_RIGHTBRACKET</span> <span class="Other">=</span> <span class="DecNumber">48</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_BACKSLASH</span> <span class="Other">=</span> <span class="DecNumber">49</span><span class="Other">,</span>
  2202. <span class="Identifier">SDL_SCANCODE_NONUSHASH</span> <span class="Other">=</span> <span class="DecNumber">50</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_SEMICOLON</span> <span class="Other">=</span> <span class="DecNumber">51</span><span class="Other">,</span>
  2203. <span class="Identifier">SDL_SCANCODE_APOSTROPHE</span> <span class="Other">=</span> <span class="DecNumber">52</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_GRAVE</span> <span class="Other">=</span> <span class="DecNumber">53</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_COMMA</span> <span class="Other">=</span> <span class="DecNumber">54</span><span class="Other">,</span>
  2204. <span class="Identifier">SDL_SCANCODE_PERIOD</span> <span class="Other">=</span> <span class="DecNumber">55</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_SLASH</span> <span class="Other">=</span> <span class="DecNumber">56</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_CAPSLOCK</span> <span class="Other">=</span> <span class="DecNumber">57</span><span class="Other">,</span>
  2205. <span class="Identifier">SDL_SCANCODE_F1</span> <span class="Other">=</span> <span class="DecNumber">58</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_F2</span> <span class="Other">=</span> <span class="DecNumber">59</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_F3</span> <span class="Other">=</span> <span class="DecNumber">60</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_F4</span> <span class="Other">=</span> <span class="DecNumber">61</span><span class="Other">,</span>
  2206. <span class="Identifier">SDL_SCANCODE_F5</span> <span class="Other">=</span> <span class="DecNumber">62</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_F6</span> <span class="Other">=</span> <span class="DecNumber">63</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_F7</span> <span class="Other">=</span> <span class="DecNumber">64</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_F8</span> <span class="Other">=</span> <span class="DecNumber">65</span><span class="Other">,</span>
  2207. <span class="Identifier">SDL_SCANCODE_F9</span> <span class="Other">=</span> <span class="DecNumber">66</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_F10</span> <span class="Other">=</span> <span class="DecNumber">67</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_F11</span> <span class="Other">=</span> <span class="DecNumber">68</span><span class="Other">,</span>
  2208. <span class="Identifier">SDL_SCANCODE_F12</span> <span class="Other">=</span> <span class="DecNumber">69</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_PRINTSCREEN</span> <span class="Other">=</span> <span class="DecNumber">70</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_SCROLLLOCK</span> <span class="Other">=</span> <span class="DecNumber">71</span><span class="Other">,</span>
  2209. <span class="Identifier">SDL_SCANCODE_PAUSE</span> <span class="Other">=</span> <span class="DecNumber">72</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_INSERT</span> <span class="Other">=</span> <span class="DecNumber">73</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_HOME</span> <span class="Other">=</span> <span class="DecNumber">74</span><span class="Other">,</span>
  2210. <span class="Identifier">SDL_SCANCODE_PAGEUP</span> <span class="Other">=</span> <span class="DecNumber">75</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_DELETE</span> <span class="Other">=</span> <span class="DecNumber">76</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_END</span> <span class="Other">=</span> <span class="DecNumber">77</span><span class="Other">,</span>
  2211. <span class="Identifier">SDL_SCANCODE_PAGEDOWN</span> <span class="Other">=</span> <span class="DecNumber">78</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_RIGHT</span> <span class="Other">=</span> <span class="DecNumber">79</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_LEFT</span> <span class="Other">=</span> <span class="DecNumber">80</span><span class="Other">,</span>
  2212. <span class="Identifier">SDL_SCANCODE_DOWN</span> <span class="Other">=</span> <span class="DecNumber">81</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_UP</span> <span class="Other">=</span> <span class="DecNumber">82</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_NUMLOCKCLEAR</span> <span class="Other">=</span> <span class="DecNumber">83</span><span class="Other">,</span>
  2213. <span class="Identifier">SDL_SCANCODE_KP_DIVIDE</span> <span class="Other">=</span> <span class="DecNumber">84</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_KP_MULTIPLY</span> <span class="Other">=</span> <span class="DecNumber">85</span><span class="Other">,</span>
  2214. <span class="Identifier">SDL_SCANCODE_KP_MINUS</span> <span class="Other">=</span> <span class="DecNumber">86</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_KP_PLUS</span> <span class="Other">=</span> <span class="DecNumber">87</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_KP_ENTER</span> <span class="Other">=</span> <span class="DecNumber">88</span><span class="Other">,</span>
  2215. <span class="Identifier">SDL_SCANCODE_KP_1</span> <span class="Other">=</span> <span class="DecNumber">89</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_KP_2</span> <span class="Other">=</span> <span class="DecNumber">90</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_KP_3</span> <span class="Other">=</span> <span class="DecNumber">91</span><span class="Other">,</span>
  2216. <span class="Identifier">SDL_SCANCODE_KP_4</span> <span class="Other">=</span> <span class="DecNumber">92</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_KP_5</span> <span class="Other">=</span> <span class="DecNumber">93</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_KP_6</span> <span class="Other">=</span> <span class="DecNumber">94</span><span class="Other">,</span>
  2217. <span class="Identifier">SDL_SCANCODE_KP_7</span> <span class="Other">=</span> <span class="DecNumber">95</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_KP_8</span> <span class="Other">=</span> <span class="DecNumber">96</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_KP_9</span> <span class="Other">=</span> <span class="DecNumber">97</span><span class="Other">,</span>
  2218. <span class="Identifier">SDL_SCANCODE_KP_0</span> <span class="Other">=</span> <span class="DecNumber">98</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_KP_PERIOD</span> <span class="Other">=</span> <span class="DecNumber">99</span><span class="Other">,</span>
  2219. <span class="Identifier">SDL_SCANCODE_NONUSBACKSLASH</span> <span class="Other">=</span> <span class="DecNumber">100</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_APPLICATION</span> <span class="Other">=</span> <span class="DecNumber">101</span><span class="Other">,</span>
  2220. <span class="Identifier">SDL_SCANCODE_POWER</span> <span class="Other">=</span> <span class="DecNumber">102</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_KP_EQUALS</span> <span class="Other">=</span> <span class="DecNumber">103</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_F13</span> <span class="Other">=</span> <span class="DecNumber">104</span><span class="Other">,</span>
  2221. <span class="Identifier">SDL_SCANCODE_F14</span> <span class="Other">=</span> <span class="DecNumber">105</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_F15</span> <span class="Other">=</span> <span class="DecNumber">106</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_F16</span> <span class="Other">=</span> <span class="DecNumber">107</span><span class="Other">,</span>
  2222. <span class="Identifier">SDL_SCANCODE_F17</span> <span class="Other">=</span> <span class="DecNumber">108</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_F18</span> <span class="Other">=</span> <span class="DecNumber">109</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_F19</span> <span class="Other">=</span> <span class="DecNumber">110</span><span class="Other">,</span>
  2223. <span class="Identifier">SDL_SCANCODE_F20</span> <span class="Other">=</span> <span class="DecNumber">111</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_F21</span> <span class="Other">=</span> <span class="DecNumber">112</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_F22</span> <span class="Other">=</span> <span class="DecNumber">113</span><span class="Other">,</span>
  2224. <span class="Identifier">SDL_SCANCODE_F23</span> <span class="Other">=</span> <span class="DecNumber">114</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_F24</span> <span class="Other">=</span> <span class="DecNumber">115</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_EXECUTE</span> <span class="Other">=</span> <span class="DecNumber">116</span><span class="Other">,</span>
  2225. <span class="Identifier">SDL_SCANCODE_HELP</span> <span class="Other">=</span> <span class="DecNumber">117</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_MENU</span> <span class="Other">=</span> <span class="DecNumber">118</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_SELECT</span> <span class="Other">=</span> <span class="DecNumber">119</span><span class="Other">,</span>
  2226. <span class="Identifier">SDL_SCANCODE_STOP</span> <span class="Other">=</span> <span class="DecNumber">120</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_AGAIN</span> <span class="Other">=</span> <span class="DecNumber">121</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_UNDO</span> <span class="Other">=</span> <span class="DecNumber">122</span><span class="Other">,</span>
  2227. <span class="Identifier">SDL_SCANCODE_CUT</span> <span class="Other">=</span> <span class="DecNumber">123</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_COPY</span> <span class="Other">=</span> <span class="DecNumber">124</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_PASTE</span> <span class="Other">=</span> <span class="DecNumber">125</span><span class="Other">,</span>
  2228. <span class="Identifier">SDL_SCANCODE_FIND</span> <span class="Other">=</span> <span class="DecNumber">126</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_MUTE</span> <span class="Other">=</span> <span class="DecNumber">127</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_VOLUMEUP</span> <span class="Other">=</span> <span class="DecNumber">128</span><span class="Other">,</span>
  2229. <span class="Identifier">SDL_SCANCODE_VOLUMEDOWN</span> <span class="Other">=</span> <span class="DecNumber">129</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_KP_COMMA</span> <span class="Other">=</span> <span class="DecNumber">133</span><span class="Other">,</span>
  2230. <span class="Identifier">SDL_SCANCODE_KP_EQUALSAS400</span> <span class="Other">=</span> <span class="DecNumber">134</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_INTERNATIONAL1</span> <span class="Other">=</span> <span class="DecNumber">135</span><span class="Other">,</span>
  2231. <span class="Identifier">SDL_SCANCODE_INTERNATIONAL2</span> <span class="Other">=</span> <span class="DecNumber">136</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_INTERNATIONAL3</span> <span class="Other">=</span> <span class="DecNumber">137</span><span class="Other">,</span>
  2232. <span class="Identifier">SDL_SCANCODE_INTERNATIONAL4</span> <span class="Other">=</span> <span class="DecNumber">138</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_INTERNATIONAL5</span> <span class="Other">=</span> <span class="DecNumber">139</span><span class="Other">,</span>
  2233. <span class="Identifier">SDL_SCANCODE_INTERNATIONAL6</span> <span class="Other">=</span> <span class="DecNumber">140</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_INTERNATIONAL7</span> <span class="Other">=</span> <span class="DecNumber">141</span><span class="Other">,</span>
  2234. <span class="Identifier">SDL_SCANCODE_INTERNATIONAL8</span> <span class="Other">=</span> <span class="DecNumber">142</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_INTERNATIONAL9</span> <span class="Other">=</span> <span class="DecNumber">143</span><span class="Other">,</span>
  2235. <span class="Identifier">SDL_SCANCODE_LANG1</span> <span class="Other">=</span> <span class="DecNumber">144</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_LANG2</span> <span class="Other">=</span> <span class="DecNumber">145</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_LANG3</span> <span class="Other">=</span> <span class="DecNumber">146</span><span class="Other">,</span>
  2236. <span class="Identifier">SDL_SCANCODE_LANG4</span> <span class="Other">=</span> <span class="DecNumber">147</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_LANG5</span> <span class="Other">=</span> <span class="DecNumber">148</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_LANG6</span> <span class="Other">=</span> <span class="DecNumber">149</span><span class="Other">,</span>
  2237. <span class="Identifier">SDL_SCANCODE_LANG7</span> <span class="Other">=</span> <span class="DecNumber">150</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_LANG8</span> <span class="Other">=</span> <span class="DecNumber">151</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_LANG9</span> <span class="Other">=</span> <span class="DecNumber">152</span><span class="Other">,</span>
  2238. <span class="Identifier">SDL_SCANCODE_ALTERASE</span> <span class="Other">=</span> <span class="DecNumber">153</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_SYSREQ</span> <span class="Other">=</span> <span class="DecNumber">154</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_CANCEL</span> <span class="Other">=</span> <span class="DecNumber">155</span><span class="Other">,</span>
  2239. <span class="Identifier">SDL_SCANCODE_CLEAR</span> <span class="Other">=</span> <span class="DecNumber">156</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_PRIOR</span> <span class="Other">=</span> <span class="DecNumber">157</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_RETURN2</span> <span class="Other">=</span> <span class="DecNumber">158</span><span class="Other">,</span>
  2240. <span class="Identifier">SDL_SCANCODE_SEPARATOR</span> <span class="Other">=</span> <span class="DecNumber">159</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_OUT</span> <span class="Other">=</span> <span class="DecNumber">160</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_OPER</span> <span class="Other">=</span> <span class="DecNumber">161</span><span class="Other">,</span>
  2241. <span class="Identifier">SDL_SCANCODE_CLEARAGAIN</span> <span class="Other">=</span> <span class="DecNumber">162</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_CRSEL</span> <span class="Other">=</span> <span class="DecNumber">163</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_EXSEL</span> <span class="Other">=</span> <span class="DecNumber">164</span><span class="Other">,</span>
  2242. <span class="Identifier">SDL_SCANCODE_KP_00</span> <span class="Other">=</span> <span class="DecNumber">176</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_KP_000</span> <span class="Other">=</span> <span class="DecNumber">177</span><span class="Other">,</span>
  2243. <span class="Identifier">SDL_SCANCODE_THOUSANDSSEPARATOR</span> <span class="Other">=</span> <span class="DecNumber">178</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_DECIMALSEPARATOR</span> <span class="Other">=</span> <span class="DecNumber">179</span><span class="Other">,</span>
  2244. <span class="Identifier">SDL_SCANCODE_CURRENCYUNIT</span> <span class="Other">=</span> <span class="DecNumber">180</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_CURRENCYSUBUNIT</span> <span class="Other">=</span> <span class="DecNumber">181</span><span class="Other">,</span>
  2245. <span class="Identifier">SDL_SCANCODE_KP_LEFTPAREN</span> <span class="Other">=</span> <span class="DecNumber">182</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_KP_RIGHTPAREN</span> <span class="Other">=</span> <span class="DecNumber">183</span><span class="Other">,</span>
  2246. <span class="Identifier">SDL_SCANCODE_KP_LEFTBRACE</span> <span class="Other">=</span> <span class="DecNumber">184</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_KP_RIGHTBRACE</span> <span class="Other">=</span> <span class="DecNumber">185</span><span class="Other">,</span>
  2247. <span class="Identifier">SDL_SCANCODE_KP_TAB</span> <span class="Other">=</span> <span class="DecNumber">186</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_KP_BACKSPACE</span> <span class="Other">=</span> <span class="DecNumber">187</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_KP_A</span> <span class="Other">=</span> <span class="DecNumber">188</span><span class="Other">,</span>
  2248. <span class="Identifier">SDL_SCANCODE_KP_B</span> <span class="Other">=</span> <span class="DecNumber">189</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_KP_C</span> <span class="Other">=</span> <span class="DecNumber">190</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_KP_D</span> <span class="Other">=</span> <span class="DecNumber">191</span><span class="Other">,</span>
  2249. <span class="Identifier">SDL_SCANCODE_KP_E</span> <span class="Other">=</span> <span class="DecNumber">192</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_KP_F</span> <span class="Other">=</span> <span class="DecNumber">193</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_KP_XOR</span> <span class="Other">=</span> <span class="DecNumber">194</span><span class="Other">,</span>
  2250. <span class="Identifier">SDL_SCANCODE_KP_POWER</span> <span class="Other">=</span> <span class="DecNumber">195</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_KP_PERCENT</span> <span class="Other">=</span> <span class="DecNumber">196</span><span class="Other">,</span>
  2251. <span class="Identifier">SDL_SCANCODE_KP_LESS</span> <span class="Other">=</span> <span class="DecNumber">197</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_KP_GREATER</span> <span class="Other">=</span> <span class="DecNumber">198</span><span class="Other">,</span>
  2252. <span class="Identifier">SDL_SCANCODE_KP_AMPERSAND</span> <span class="Other">=</span> <span class="DecNumber">199</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_KP_DBLAMPERSAND</span> <span class="Other">=</span> <span class="DecNumber">200</span><span class="Other">,</span>
  2253. <span class="Identifier">SDL_SCANCODE_KP_VERTICALBAR</span> <span class="Other">=</span> <span class="DecNumber">201</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_KP_DBLVERTICALBAR</span> <span class="Other">=</span> <span class="DecNumber">202</span><span class="Other">,</span>
  2254. <span class="Identifier">SDL_SCANCODE_KP_COLON</span> <span class="Other">=</span> <span class="DecNumber">203</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_KP_HASH</span> <span class="Other">=</span> <span class="DecNumber">204</span><span class="Other">,</span>
  2255. <span class="Identifier">SDL_SCANCODE_KP_SPACE</span> <span class="Other">=</span> <span class="DecNumber">205</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_KP_AT</span> <span class="Other">=</span> <span class="DecNumber">206</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_KP_EXCLAM</span> <span class="Other">=</span> <span class="DecNumber">207</span><span class="Other">,</span>
  2256. <span class="Identifier">SDL_SCANCODE_KP_MEMSTORE</span> <span class="Other">=</span> <span class="DecNumber">208</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_KP_MEMRECALL</span> <span class="Other">=</span> <span class="DecNumber">209</span><span class="Other">,</span>
  2257. <span class="Identifier">SDL_SCANCODE_KP_MEMCLEAR</span> <span class="Other">=</span> <span class="DecNumber">210</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_KP_MEMADD</span> <span class="Other">=</span> <span class="DecNumber">211</span><span class="Other">,</span>
  2258. <span class="Identifier">SDL_SCANCODE_KP_MEMSUBTRACT</span> <span class="Other">=</span> <span class="DecNumber">212</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_KP_MEMMULTIPLY</span> <span class="Other">=</span> <span class="DecNumber">213</span><span class="Other">,</span>
  2259. <span class="Identifier">SDL_SCANCODE_KP_MEMDIVIDE</span> <span class="Other">=</span> <span class="DecNumber">214</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_KP_PLUSMINUS</span> <span class="Other">=</span> <span class="DecNumber">215</span><span class="Other">,</span>
  2260. <span class="Identifier">SDL_SCANCODE_KP_CLEAR</span> <span class="Other">=</span> <span class="DecNumber">216</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_KP_CLEARENTRY</span> <span class="Other">=</span> <span class="DecNumber">217</span><span class="Other">,</span>
  2261. <span class="Identifier">SDL_SCANCODE_KP_BINARY</span> <span class="Other">=</span> <span class="DecNumber">218</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_KP_OCTAL</span> <span class="Other">=</span> <span class="DecNumber">219</span><span class="Other">,</span>
  2262. <span class="Identifier">SDL_SCANCODE_KP_DECIMAL</span> <span class="Other">=</span> <span class="DecNumber">220</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_KP_HEXADECIMAL</span> <span class="Other">=</span> <span class="DecNumber">221</span><span class="Other">,</span>
  2263. <span class="Identifier">SDL_SCANCODE_LCTRL</span> <span class="Other">=</span> <span class="DecNumber">224</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_LSHIFT</span> <span class="Other">=</span> <span class="DecNumber">225</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_LALT</span> <span class="Other">=</span> <span class="DecNumber">226</span><span class="Other">,</span>
  2264. <span class="Identifier">SDL_SCANCODE_LGUI</span> <span class="Other">=</span> <span class="DecNumber">227</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_RCTRL</span> <span class="Other">=</span> <span class="DecNumber">228</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_RSHIFT</span> <span class="Other">=</span> <span class="DecNumber">229</span><span class="Other">,</span>
  2265. <span class="Identifier">SDL_SCANCODE_RALT</span> <span class="Other">=</span> <span class="DecNumber">230</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_RGUI</span> <span class="Other">=</span> <span class="DecNumber">231</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_MODE</span> <span class="Other">=</span> <span class="DecNumber">257</span><span class="Other">,</span>
  2266. <span class="Identifier">SDL_SCANCODE_AUDIONEXT</span> <span class="Other">=</span> <span class="DecNumber">258</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_AUDIOPREV</span> <span class="Other">=</span> <span class="DecNumber">259</span><span class="Other">,</span>
  2267. <span class="Identifier">SDL_SCANCODE_AUDIOSTOP</span> <span class="Other">=</span> <span class="DecNumber">260</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_AUDIOPLAY</span> <span class="Other">=</span> <span class="DecNumber">261</span><span class="Other">,</span>
  2268. <span class="Identifier">SDL_SCANCODE_AUDIOMUTE</span> <span class="Other">=</span> <span class="DecNumber">262</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_MEDIASELECT</span> <span class="Other">=</span> <span class="DecNumber">263</span><span class="Other">,</span>
  2269. <span class="Identifier">SDL_SCANCODE_WWW</span> <span class="Other">=</span> <span class="DecNumber">264</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_MAIL</span> <span class="Other">=</span> <span class="DecNumber">265</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_CALCULATOR</span> <span class="Other">=</span> <span class="DecNumber">266</span><span class="Other">,</span>
  2270. <span class="Identifier">SDL_SCANCODE_COMPUTER</span> <span class="Other">=</span> <span class="DecNumber">267</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_AC_SEARCH</span> <span class="Other">=</span> <span class="DecNumber">268</span><span class="Other">,</span>
  2271. <span class="Identifier">SDL_SCANCODE_AC_HOME</span> <span class="Other">=</span> <span class="DecNumber">269</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_AC_BACK</span> <span class="Other">=</span> <span class="DecNumber">270</span><span class="Other">,</span>
  2272. <span class="Identifier">SDL_SCANCODE_AC_FORWARD</span> <span class="Other">=</span> <span class="DecNumber">271</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_AC_STOP</span> <span class="Other">=</span> <span class="DecNumber">272</span><span class="Other">,</span>
  2273. <span class="Identifier">SDL_SCANCODE_AC_REFRESH</span> <span class="Other">=</span> <span class="DecNumber">273</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_AC_BOOKMARKS</span> <span class="Other">=</span> <span class="DecNumber">274</span><span class="Other">,</span>
  2274. <span class="Identifier">SDL_SCANCODE_BRIGHTNESSDOWN</span> <span class="Other">=</span> <span class="DecNumber">275</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_BRIGHTNESSUP</span> <span class="Other">=</span> <span class="DecNumber">276</span><span class="Other">,</span>
  2275. <span class="Identifier">SDL_SCANCODE_DISPLAYSWITCH</span> <span class="Other">=</span> <span class="DecNumber">277</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_KBDILLUMTOGGLE</span> <span class="Other">=</span> <span class="DecNumber">278</span><span class="Other">,</span>
  2276. <span class="Identifier">SDL_SCANCODE_KBDILLUMDOWN</span> <span class="Other">=</span> <span class="DecNumber">279</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_KBDILLUMUP</span> <span class="Other">=</span> <span class="DecNumber">280</span><span class="Other">,</span>
  2277. <span class="Identifier">SDL_SCANCODE_EJECT</span> <span class="Other">=</span> <span class="DecNumber">281</span><span class="Other">,</span> <span class="Identifier">SDL_SCANCODE_SLEEP</span> <span class="Other">=</span> <span class="DecNumber">282</span><span class="Other">,</span> <span class="Identifier">SDL_NUM_SCANCODES</span> <span class="Other">=</span> <span class="DecNumber">512</span></pre></dt>
  2278. <dd>
  2279. </dd>
  2280. <a id="Keymod"></a>
  2281. <dt><pre><a href="sdl2.html#Keymod"><span class="Identifier">Keymod</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">size</span><span class="Other">:</span> <span class="DecNumber">4</span></span><span class="Other">.}</span></span> <span class="Other">=</span> <span class="Keyword">enum</span>
  2282. <span class="Identifier">KMOD_NONE</span> <span class="Other">=</span> <span class="DecNumber">0x00000000</span><span class="Other">,</span> <span class="Identifier">KMOD_LSHIFT</span> <span class="Other">=</span> <span class="DecNumber">0x00000001</span><span class="Other">,</span> <span class="Identifier">KMOD_RSHIFT</span> <span class="Other">=</span> <span class="DecNumber">0x00000002</span><span class="Other">,</span>
  2283. <span class="Identifier">KMOD_LCTRL</span> <span class="Other">=</span> <span class="DecNumber">0x00000040</span><span class="Other">,</span> <span class="Identifier">KMOD_RCTRL</span> <span class="Other">=</span> <span class="DecNumber">0x00000080</span><span class="Other">,</span> <span class="Identifier">KMOD_LALT</span> <span class="Other">=</span> <span class="DecNumber">0x00000100</span><span class="Other">,</span>
  2284. <span class="Identifier">KMOD_RALT</span> <span class="Other">=</span> <span class="DecNumber">0x00000200</span><span class="Other">,</span> <span class="Identifier">KMOD_LGUI</span> <span class="Other">=</span> <span class="DecNumber">0x00000400</span><span class="Other">,</span> <span class="Identifier">KMOD_RGUI</span> <span class="Other">=</span> <span class="DecNumber">0x00000800</span><span class="Other">,</span>
  2285. <span class="Identifier">KMOD_NUM</span> <span class="Other">=</span> <span class="DecNumber">0x00001000</span><span class="Other">,</span> <span class="Identifier">KMOD_CAPS</span> <span class="Other">=</span> <span class="DecNumber">0x00002000</span><span class="Other">,</span> <span class="Identifier">KMOD_MODE</span> <span class="Other">=</span> <span class="DecNumber">0x00004000</span><span class="Other">,</span>
  2286. <span class="Identifier">KMOD_RESERVED</span> <span class="Other">=</span> <span class="DecNumber">0x00008000</span></pre></dt>
  2287. <dd>
  2288. </dd>
  2289. <a id="WindowEventID"></a>
  2290. <dt><pre><a href="sdl2.html#WindowEventID"><span class="Identifier">WindowEventID</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">size</span><span class="Other">:</span> <span class="DecNumber">1</span></span><span class="Other">.}</span></span> <span class="Other">=</span> <span class="Keyword">enum</span>
  2291. <span class="Identifier">WindowEvent_None</span> <span class="Other">=</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">WindowEvent_Shown</span><span class="Other">,</span> <span class="Identifier">WindowEvent_Hidden</span><span class="Other">,</span> <span class="Identifier">WindowEvent_Exposed</span><span class="Other">,</span>
  2292. <span class="Identifier">WindowEvent_Moved</span><span class="Other">,</span> <span class="Identifier">WindowEvent_Resized</span><span class="Other">,</span> <span class="Identifier">WindowEvent_SizeChanged</span><span class="Other">,</span>
  2293. <span class="Identifier">WindowEvent_Minimized</span><span class="Other">,</span> <span class="Identifier">WindowEvent_Maximized</span><span class="Other">,</span> <span class="Identifier">WindowEvent_Restored</span><span class="Other">,</span>
  2294. <span class="Identifier">WindowEvent_Enter</span><span class="Other">,</span> <span class="Identifier">WindowEvent_Leave</span><span class="Other">,</span> <span class="Identifier">WindowEvent_FocusGained</span><span class="Other">,</span>
  2295. <span class="Identifier">WindowEvent_FocusLost</span><span class="Other">,</span> <span class="Identifier">WindowEvent_Close</span><span class="Other">,</span> <span class="Identifier">WindowEvent_TakeFocus</span><span class="Other">,</span>
  2296. <span class="Identifier">WindowEvent_HitTest</span></pre></dt>
  2297. <dd>
  2298. </dd>
  2299. <a id="EventType"></a>
  2300. <dt><pre><a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">size</span><span class="Other">:</span> <span class="DecNumber">4</span></span><span class="Other">.}</span></span> <span class="Other">=</span> <span class="Keyword">enum</span>
  2301. <span class="Identifier">QuitEvent</span> <span class="Other">=</span> <span class="DecNumber">0x00000100</span><span class="Other">,</span> <span class="Identifier">AppTerminating</span><span class="Other">,</span> <span class="Identifier">AppLowMemory</span><span class="Other">,</span> <span class="Identifier">AppWillEnterBackground</span><span class="Other">,</span>
  2302. <span class="Identifier">AppDidEnterBackground</span><span class="Other">,</span> <span class="Identifier">AppWillEnterForeground</span><span class="Other">,</span> <span class="Identifier">AppDidEnterForeground</span><span class="Other">,</span>
  2303. <span class="Identifier">DisplayEvent</span> <span class="Other">=</span> <span class="DecNumber">0x00000150</span><span class="Other">,</span> <span class="Identifier">WindowEvent</span> <span class="Other">=</span> <span class="DecNumber">0x00000200</span><span class="Other">,</span> <span class="Identifier">SysWMEvent</span><span class="Other">,</span>
  2304. <span class="Identifier">KeyDown</span> <span class="Other">=</span> <span class="DecNumber">0x00000300</span><span class="Other">,</span> <span class="Identifier">KeyUp</span><span class="Other">,</span> <span class="Identifier">TextEditing</span><span class="Other">,</span> <span class="Identifier">TextInput</span><span class="Other">,</span> <span class="Identifier">KeymapChanged</span><span class="Other">,</span>
  2305. <span class="Identifier">MouseMotion</span> <span class="Other">=</span> <span class="DecNumber">0x00000400</span><span class="Other">,</span> <span class="Identifier">MouseButtonDown</span><span class="Other">,</span> <span class="Identifier">MouseButtonUp</span><span class="Other">,</span> <span class="Identifier">MouseWheel</span><span class="Other">,</span>
  2306. <span class="Identifier">JoyAxisMotion</span> <span class="Other">=</span> <span class="DecNumber">0x00000600</span><span class="Other">,</span> <span class="Identifier">JoyBallMotion</span><span class="Other">,</span> <span class="Identifier">JoyHatMotion</span><span class="Other">,</span> <span class="Identifier">JoyButtonDown</span><span class="Other">,</span> <span class="Identifier">JoyButtonUp</span><span class="Other">,</span>
  2307. <span class="Identifier">JoyDeviceAdded</span><span class="Other">,</span> <span class="Identifier">JoyDeviceRemoved</span><span class="Other">,</span> <span class="Identifier">ControllerAxisMotion</span> <span class="Other">=</span> <span class="DecNumber">0x00000650</span><span class="Other">,</span>
  2308. <span class="Identifier">ControllerButtonDown</span><span class="Other">,</span> <span class="Identifier">ControllerButtonUp</span><span class="Other">,</span> <span class="Identifier">ControllerDeviceAdded</span><span class="Other">,</span>
  2309. <span class="Identifier">ControllerDeviceRemoved</span><span class="Other">,</span> <span class="Identifier">ControllerDeviceRemapped</span><span class="Other">,</span> <span class="Identifier">FingerDown</span> <span class="Other">=</span> <span class="DecNumber">0x00000700</span><span class="Other">,</span>
  2310. <span class="Identifier">FingerUp</span><span class="Other">,</span> <span class="Identifier">FingerMotion</span><span class="Other">,</span> <span class="Identifier">DollarGesture</span> <span class="Other">=</span> <span class="DecNumber">0x00000800</span><span class="Other">,</span> <span class="Identifier">DollarRecord</span><span class="Other">,</span> <span class="Identifier">MultiGesture</span><span class="Other">,</span>
  2311. <span class="Identifier">ClipboardUpdate</span> <span class="Other">=</span> <span class="DecNumber">0x00000900</span><span class="Other">,</span> <span class="Identifier">DropFile</span> <span class="Other">=</span> <span class="DecNumber">0x00001000</span><span class="Other">,</span> <span class="Identifier">DropText</span><span class="Other">,</span> <span class="Identifier">DropBegin</span><span class="Other">,</span>
  2312. <span class="Identifier">DropComplete</span><span class="Other">,</span> <span class="Identifier">AudioDeviceAdded</span> <span class="Other">=</span> <span class="DecNumber">0x00001100</span><span class="Other">,</span> <span class="Identifier">AudioDeviceRemoved</span> <span class="Other">=</span> <span class="DecNumber">0x00001101</span><span class="Other">,</span>
  2313. <span class="Identifier">SensorUpdate</span> <span class="Other">=</span> <span class="DecNumber">0x00001200</span><span class="Other">,</span> <span class="Identifier">RenderTargetsReset</span> <span class="Other">=</span> <span class="DecNumber">0x00002000</span><span class="Other">,</span> <span class="Identifier">RenderDeviceReset</span><span class="Other">,</span>
  2314. <span class="Identifier">UserEvent</span> <span class="Other">=</span> <span class="DecNumber">0x00008000</span><span class="Other">,</span> <span class="Identifier">UserEvent1</span><span class="Other">,</span> <span class="Identifier">UserEvent2</span><span class="Other">,</span> <span class="Identifier">UserEvent3</span><span class="Other">,</span> <span class="Identifier">UserEvent4</span><span class="Other">,</span> <span class="Identifier">UserEvent5</span><span class="Other">,</span>
  2315. <span class="Identifier">LastEvent</span> <span class="Other">=</span> <span class="DecNumber">0x0000FFFF</span></pre></dt>
  2316. <dd>
  2317. </dd>
  2318. <a id="Event"></a>
  2319. <dt><pre><a href="sdl2.html#Event"><span class="Identifier">Event</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2320. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a>
  2321. <span class="Identifier">padding</span><span class="Other">:</span> <span class="Identifier">array</span><span class="Other">[</span><span class="DecNumber">56</span> <span class="Operator">-</span> <span class="DecNumber">4</span><span class="Other">,</span> <span class="Identifier">byte</span><span class="Other">]</span>
  2322. </pre></dt>
  2323. <dd>
  2324. </dd>
  2325. <a id="QuitEventPtr"></a>
  2326. <dt><pre><a href="sdl2.html#QuitEventPtr"><span class="Identifier">QuitEventPtr</span></a> <span class="Other">=</span> <span class="Keyword">ptr</span> <a href="sdl2.html#QuitEventObj"><span class="Identifier">QuitEventObj</span></a></pre></dt>
  2327. <dd>
  2328. </dd>
  2329. <a id="QuitEventObj"></a>
  2330. <dt><pre><a href="sdl2.html#QuitEventObj"><span class="Identifier">QuitEventObj</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2331. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a>
  2332. <span class="Identifier">timestamp</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2333. </pre></dt>
  2334. <dd>
  2335. </dd>
  2336. <a id="WindowEventPtr"></a>
  2337. <dt><pre><a href="sdl2.html#WindowEventPtr"><span class="Identifier">WindowEventPtr</span></a> <span class="Other">=</span> <span class="Keyword">ptr</span> <a href="sdl2.html#WindowEventObj"><span class="Identifier">WindowEventObj</span></a></pre></dt>
  2338. <dd>
  2339. </dd>
  2340. <a id="WindowEventObj"></a>
  2341. <dt><pre><a href="sdl2.html#WindowEventObj"><span class="Identifier">WindowEventObj</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2342. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a>
  2343. <span class="Identifier">timestamp</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2344. <span class="Identifier">windowID</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2345. <span class="Identifier">event</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#WindowEventID"><span class="Identifier">WindowEventID</span></a>
  2346. <span class="Identifier">pad</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">array</span><span class="Other">[</span><span class="DecNumber">56</span> <span class="Operator">-</span> <span class="DecNumber">13</span><span class="Other">,</span> <span class="Identifier">byte</span><span class="Other">]</span>
  2347. </pre></dt>
  2348. <dd>
  2349. </dd>
  2350. <a id="KeyboardEventPtr"></a>
  2351. <dt><pre><a href="sdl2.html#KeyboardEventPtr"><span class="Identifier">KeyboardEventPtr</span></a> <span class="Other">=</span> <span class="Keyword">ptr</span> <a href="sdl2.html#KeyboardEventObj"><span class="Identifier">KeyboardEventObj</span></a></pre></dt>
  2352. <dd>
  2353. </dd>
  2354. <a id="KeyboardEventObj"></a>
  2355. <dt><pre><a href="sdl2.html#KeyboardEventObj"><span class="Identifier">KeyboardEventObj</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2356. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a>
  2357. <span class="Identifier">timestamp</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2358. <span class="Identifier">windowID</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2359. <span class="Identifier">state</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint8</span>
  2360. <span class="Identifier">repeat</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">bool</span>
  2361. <span class="Identifier">keysym</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#KeySym"><span class="Identifier">KeySym</span></a>
  2362. <span class="Identifier">pad</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">array</span><span class="Other">[</span><span class="DecNumber">24</span><span class="Other">,</span> <span class="Identifier">byte</span><span class="Other">]</span>
  2363. </pre></dt>
  2364. <dd>
  2365. </dd>
  2366. <a id="TextEditingEventPtr"></a>
  2367. <dt><pre><a href="sdl2.html#TextEditingEventPtr"><span class="Identifier">TextEditingEventPtr</span></a> <span class="Other">=</span> <span class="Keyword">ptr</span> <a href="sdl2.html#TextEditingEventObj"><span class="Identifier">TextEditingEventObj</span></a></pre></dt>
  2368. <dd>
  2369. </dd>
  2370. <a id="TextEditingEventObj"></a>
  2371. <dt><pre><a href="sdl2.html#TextEditingEventObj"><span class="Identifier">TextEditingEventObj</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2372. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a>
  2373. <span class="Identifier">timestamp</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2374. <span class="Identifier">windowID</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2375. <span class="Identifier">text</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">array</span><span class="Other">[</span><span class="Identifier">SDL_TEXTEDITINGEVENT_TEXT_SIZE</span><span class="Other">,</span> <span class="Identifier">char</span><span class="Other">]</span>
  2376. <span class="Identifier">start</span><span class="Operator">*</span><span class="Other">,</span> <span class="Identifier">length</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">int32</span>
  2377. <span class="Identifier">pad</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">array</span><span class="Other">[</span><span class="DecNumber">8</span><span class="Other">,</span> <span class="Identifier">byte</span><span class="Other">]</span>
  2378. </pre></dt>
  2379. <dd>
  2380. </dd>
  2381. <a id="TextInputEventPtr"></a>
  2382. <dt><pre><a href="sdl2.html#TextInputEventPtr"><span class="Identifier">TextInputEventPtr</span></a> <span class="Other">=</span> <span class="Keyword">ptr</span> <a href="sdl2.html#TextInputEventObj"><span class="Identifier">TextInputEventObj</span></a></pre></dt>
  2383. <dd>
  2384. </dd>
  2385. <a id="TextInputEventObj"></a>
  2386. <dt><pre><a href="sdl2.html#TextInputEventObj"><span class="Identifier">TextInputEventObj</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2387. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a>
  2388. <span class="Identifier">timestamp</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2389. <span class="Identifier">windowID</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2390. <span class="Identifier">text</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">array</span><span class="Other">[</span><span class="Identifier">SDL_TEXTINPUTEVENT_TEXT_SIZE</span><span class="Other">,</span> <span class="Identifier">char</span><span class="Other">]</span>
  2391. <span class="Identifier">pad</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">array</span><span class="Other">[</span><span class="DecNumber">24</span><span class="Other">,</span> <span class="Identifier">byte</span><span class="Other">]</span>
  2392. </pre></dt>
  2393. <dd>
  2394. </dd>
  2395. <a id="MouseMotionEventPtr"></a>
  2396. <dt><pre><a href="sdl2.html#MouseMotionEventPtr"><span class="Identifier">MouseMotionEventPtr</span></a> <span class="Other">=</span> <span class="Keyword">ptr</span> <a href="sdl2.html#MouseMotionEventObj"><span class="Identifier">MouseMotionEventObj</span></a></pre></dt>
  2397. <dd>
  2398. </dd>
  2399. <a id="MouseMotionEventObj"></a>
  2400. <dt><pre><a href="sdl2.html#MouseMotionEventObj"><span class="Identifier">MouseMotionEventObj</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2401. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a>
  2402. <span class="Identifier">timestamp</span><span class="Operator">*</span><span class="Other">,</span> <span class="Identifier">windowID</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2403. <span class="Identifier">which</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2404. <span class="Identifier">state</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2405. <span class="Identifier">x</span><span class="Operator">*</span><span class="Other">,</span> <span class="Identifier">y</span><span class="Operator">*</span><span class="Other">,</span> <span class="Identifier">xrel</span><span class="Operator">*</span><span class="Other">,</span> <span class="Identifier">yrel</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">int32</span>
  2406. <span class="Identifier">pad</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">array</span><span class="Other">[</span><span class="DecNumber">20</span><span class="Other">,</span> <span class="Identifier">byte</span><span class="Other">]</span>
  2407. </pre></dt>
  2408. <dd>
  2409. </dd>
  2410. <a id="MouseButtonEventPtr"></a>
  2411. <dt><pre><a href="sdl2.html#MouseButtonEventPtr"><span class="Identifier">MouseButtonEventPtr</span></a> <span class="Other">=</span> <span class="Keyword">ptr</span> <a href="sdl2.html#MouseButtonEventObj"><span class="Identifier">MouseButtonEventObj</span></a></pre></dt>
  2412. <dd>
  2413. </dd>
  2414. <a id="MouseButtonEventObj"></a>
  2415. <dt><pre><a href="sdl2.html#MouseButtonEventObj"><span class="Identifier">MouseButtonEventObj</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2416. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a>
  2417. <span class="Identifier">timestamp</span><span class="Operator">*</span><span class="Other">,</span> <span class="Identifier">windowID</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2418. <span class="Identifier">which</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2419. <span class="Identifier">button</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint8</span>
  2420. <span class="Identifier">state</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint8</span>
  2421. <span class="Identifier">clicks</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint8</span>
  2422. <span class="Identifier">x</span><span class="Operator">*</span><span class="Other">,</span> <span class="Identifier">y</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">cint</span>
  2423. <span class="Identifier">pad</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">array</span><span class="Other">[</span><span class="DecNumber">28</span><span class="Other">,</span> <span class="Identifier">byte</span><span class="Other">]</span>
  2424. </pre></dt>
  2425. <dd>
  2426. </dd>
  2427. <a id="MouseWheelEventPtr"></a>
  2428. <dt><pre><a href="sdl2.html#MouseWheelEventPtr"><span class="Identifier">MouseWheelEventPtr</span></a> <span class="Other">=</span> <span class="Keyword">ptr</span> <a href="sdl2.html#MouseWheelEventObj"><span class="Identifier">MouseWheelEventObj</span></a></pre></dt>
  2429. <dd>
  2430. </dd>
  2431. <a id="MouseWheelEventObj"></a>
  2432. <dt><pre><a href="sdl2.html#MouseWheelEventObj"><span class="Identifier">MouseWheelEventObj</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2433. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a>
  2434. <span class="Identifier">timestamp</span><span class="Operator">*</span><span class="Other">,</span> <span class="Identifier">windowID</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2435. <span class="Identifier">which</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2436. <span class="Identifier">x</span><span class="Operator">*</span><span class="Other">,</span> <span class="Identifier">y</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">cint</span>
  2437. <span class="Identifier">direction</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#MouseWheelDirection"><span class="Identifier">MouseWheelDirection</span></a>
  2438. </pre></dt>
  2439. <dd>
  2440. </dd>
  2441. <a id="JoyAxisEventPtr"></a>
  2442. <dt><pre><a href="sdl2.html#JoyAxisEventPtr"><span class="Identifier">JoyAxisEventPtr</span></a> <span class="Other">=</span> <span class="Keyword">ptr</span> <a href="sdl2.html#JoyAxisEventObj"><span class="Identifier">JoyAxisEventObj</span></a></pre></dt>
  2443. <dd>
  2444. </dd>
  2445. <a id="JoyAxisEventObj"></a>
  2446. <dt><pre><a href="sdl2.html#JoyAxisEventObj"><span class="Identifier">JoyAxisEventObj</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2447. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a>
  2448. <span class="Identifier">timestamp</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2449. <span class="Identifier">which</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">int32</span>
  2450. <span class="Identifier">axis</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint8</span>
  2451. <span class="Identifier">pad1</span><span class="Other">,</span> <span class="Identifier">pad2</span><span class="Other">,</span> <span class="Identifier">pad3</span><span class="Other">:</span> <span class="Identifier">uint8</span>
  2452. <span class="Identifier">value</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">int16</span>
  2453. </pre></dt>
  2454. <dd>
  2455. </dd>
  2456. <a id="JoyBallEventPtr"></a>
  2457. <dt><pre><a href="sdl2.html#JoyBallEventPtr"><span class="Identifier">JoyBallEventPtr</span></a> <span class="Other">=</span> <span class="Keyword">ptr</span> <a href="sdl2.html#JoyBallEventObj"><span class="Identifier">JoyBallEventObj</span></a></pre></dt>
  2458. <dd>
  2459. </dd>
  2460. <a id="JoyBallEventObj"></a>
  2461. <dt><pre><a href="sdl2.html#JoyBallEventObj"><span class="Identifier">JoyBallEventObj</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2462. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a>
  2463. <span class="Identifier">timestamp</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2464. <span class="Identifier">which</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">int32</span>
  2465. <span class="Identifier">ball</span><span class="Operator">*</span><span class="Other">,</span> <span class="Identifier">pad1</span><span class="Other">,</span> <span class="Identifier">pad2</span><span class="Other">,</span> <span class="Identifier">pad3</span><span class="Other">:</span> <span class="Identifier">uint8</span>
  2466. <span class="Identifier">xrel</span><span class="Operator">*</span><span class="Other">,</span> <span class="Identifier">yrel</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">int16</span>
  2467. </pre></dt>
  2468. <dd>
  2469. </dd>
  2470. <a id="JoyHatEventPtr"></a>
  2471. <dt><pre><a href="sdl2.html#JoyHatEventPtr"><span class="Identifier">JoyHatEventPtr</span></a> <span class="Other">=</span> <span class="Keyword">ptr</span> <a href="sdl2.html#JoyHatEventObj"><span class="Identifier">JoyHatEventObj</span></a></pre></dt>
  2472. <dd>
  2473. </dd>
  2474. <a id="JoyHatEventObj"></a>
  2475. <dt><pre><a href="sdl2.html#JoyHatEventObj"><span class="Identifier">JoyHatEventObj</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2476. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a>
  2477. <span class="Identifier">timestamp</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2478. <span class="Identifier">which</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">int32</span>
  2479. <span class="Identifier">hat</span><span class="Operator">*</span><span class="Other">,</span> <span class="Identifier">value</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint8</span>
  2480. </pre></dt>
  2481. <dd>
  2482. </dd>
  2483. <a id="JoyButtonEventPtr"></a>
  2484. <dt><pre><a href="sdl2.html#JoyButtonEventPtr"><span class="Identifier">JoyButtonEventPtr</span></a> <span class="Other">=</span> <span class="Keyword">ptr</span> <a href="sdl2.html#JoyButtonEventObj"><span class="Identifier">JoyButtonEventObj</span></a></pre></dt>
  2485. <dd>
  2486. </dd>
  2487. <a id="JoyButtonEventObj"></a>
  2488. <dt><pre><a href="sdl2.html#JoyButtonEventObj"><span class="Identifier">JoyButtonEventObj</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2489. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a>
  2490. <span class="Identifier">timestamp</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2491. <span class="Identifier">which</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">int32</span>
  2492. <span class="Identifier">button</span><span class="Operator">*</span><span class="Other">,</span> <span class="Identifier">state</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint8</span>
  2493. </pre></dt>
  2494. <dd>
  2495. </dd>
  2496. <a id="JoyDeviceEventPtr"></a>
  2497. <dt><pre><a href="sdl2.html#JoyDeviceEventPtr"><span class="Identifier">JoyDeviceEventPtr</span></a> <span class="Other">=</span> <span class="Keyword">ptr</span> <a href="sdl2.html#JoyDeviceEventObj"><span class="Identifier">JoyDeviceEventObj</span></a></pre></dt>
  2498. <dd>
  2499. </dd>
  2500. <a id="JoyDeviceEventObj"></a>
  2501. <dt><pre><a href="sdl2.html#JoyDeviceEventObj"><span class="Identifier">JoyDeviceEventObj</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2502. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a>
  2503. <span class="Identifier">timestamp</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2504. <span class="Identifier">which</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">int32</span>
  2505. </pre></dt>
  2506. <dd>
  2507. </dd>
  2508. <a id="ControllerAxisEventPtr"></a>
  2509. <dt><pre><a href="sdl2.html#ControllerAxisEventPtr"><span class="Identifier">ControllerAxisEventPtr</span></a> <span class="Other">=</span> <span class="Keyword">ptr</span> <a href="sdl2.html#ControllerAxisEventObj"><span class="Identifier">ControllerAxisEventObj</span></a></pre></dt>
  2510. <dd>
  2511. </dd>
  2512. <a id="ControllerAxisEventObj"></a>
  2513. <dt><pre><a href="sdl2.html#ControllerAxisEventObj"><span class="Identifier">ControllerAxisEventObj</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2514. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a>
  2515. <span class="Identifier">timestamp</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2516. <span class="Identifier">which</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">int32</span>
  2517. <span class="Identifier">axis</span><span class="Operator">*</span><span class="Other">,</span> <span class="Identifier">pad1</span><span class="Other">,</span> <span class="Identifier">pad2</span><span class="Other">,</span> <span class="Identifier">pad3</span><span class="Other">:</span> <span class="Identifier">uint8</span>
  2518. <span class="Identifier">value</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">int16</span>
  2519. </pre></dt>
  2520. <dd>
  2521. </dd>
  2522. <a id="ControllerButtonEventPtr"></a>
  2523. <dt><pre><a href="sdl2.html#ControllerButtonEventPtr"><span class="Identifier">ControllerButtonEventPtr</span></a> <span class="Other">=</span> <span class="Keyword">ptr</span> <a href="sdl2.html#ControllerButtonEventObj"><span class="Identifier">ControllerButtonEventObj</span></a></pre></dt>
  2524. <dd>
  2525. </dd>
  2526. <a id="ControllerButtonEventObj"></a>
  2527. <dt><pre><a href="sdl2.html#ControllerButtonEventObj"><span class="Identifier">ControllerButtonEventObj</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2528. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a>
  2529. <span class="Identifier">timestamp</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2530. <span class="Identifier">which</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">int32</span>
  2531. <span class="Identifier">button</span><span class="Operator">*</span><span class="Other">,</span> <span class="Identifier">state</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint8</span>
  2532. </pre></dt>
  2533. <dd>
  2534. </dd>
  2535. <a id="ControllerDeviceEventPtr"></a>
  2536. <dt><pre><a href="sdl2.html#ControllerDeviceEventPtr"><span class="Identifier">ControllerDeviceEventPtr</span></a> <span class="Other">=</span> <span class="Keyword">ptr</span> <a href="sdl2.html#ControllerDeviceEventObj"><span class="Identifier">ControllerDeviceEventObj</span></a></pre></dt>
  2537. <dd>
  2538. </dd>
  2539. <a id="ControllerDeviceEventObj"></a>
  2540. <dt><pre><a href="sdl2.html#ControllerDeviceEventObj"><span class="Identifier">ControllerDeviceEventObj</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2541. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a>
  2542. <span class="Identifier">timestamp</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2543. <span class="Identifier">which</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">int32</span>
  2544. </pre></dt>
  2545. <dd>
  2546. </dd>
  2547. <a id="TouchID"></a>
  2548. <dt><pre><a href="sdl2.html#TouchID"><span class="Identifier">TouchID</span></a> <span class="Other">=</span> <span class="Identifier">int64</span></pre></dt>
  2549. <dd>
  2550. </dd>
  2551. <a id="FingerID"></a>
  2552. <dt><pre><a href="sdl2.html#FingerID"><span class="Identifier">FingerID</span></a> <span class="Other">=</span> <span class="Identifier">int64</span></pre></dt>
  2553. <dd>
  2554. </dd>
  2555. <a id="TouchFingerEventPtr"></a>
  2556. <dt><pre><a href="sdl2.html#TouchFingerEventPtr"><span class="Identifier">TouchFingerEventPtr</span></a> <span class="Other">=</span> <span class="Keyword">ptr</span> <a href="sdl2.html#TouchFingerEventObj"><span class="Identifier">TouchFingerEventObj</span></a></pre></dt>
  2557. <dd>
  2558. </dd>
  2559. <a id="TouchFingerEventObj"></a>
  2560. <dt><pre><a href="sdl2.html#TouchFingerEventObj"><span class="Identifier">TouchFingerEventObj</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2561. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a>
  2562. <span class="Identifier">timestamp</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2563. <span class="Identifier">touchID</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#TouchID"><span class="Identifier">TouchID</span></a>
  2564. <span class="Identifier">fingerID</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#FingerID"><span class="Identifier">FingerID</span></a>
  2565. <span class="Identifier">x</span><span class="Operator">*</span><span class="Other">,</span> <span class="Identifier">y</span><span class="Operator">*</span><span class="Other">,</span> <span class="Identifier">dx</span><span class="Operator">*</span><span class="Other">,</span> <span class="Identifier">dy</span><span class="Operator">*</span><span class="Other">,</span> <span class="Identifier">pressure</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">cfloat</span>
  2566. <span class="Identifier">pad</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">array</span><span class="Other">[</span><span class="DecNumber">24</span><span class="Other">,</span> <span class="Identifier">byte</span><span class="Other">]</span>
  2567. </pre></dt>
  2568. <dd>
  2569. </dd>
  2570. <a id="MultiGestureEventPtr"></a>
  2571. <dt><pre><a href="sdl2.html#MultiGestureEventPtr"><span class="Identifier">MultiGestureEventPtr</span></a> <span class="Other">=</span> <span class="Keyword">ptr</span> <a href="sdl2.html#MultiGestureEventObj"><span class="Identifier">MultiGestureEventObj</span></a></pre></dt>
  2572. <dd>
  2573. </dd>
  2574. <a id="MultiGestureEventObj"></a>
  2575. <dt><pre><a href="sdl2.html#MultiGestureEventObj"><span class="Identifier">MultiGestureEventObj</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2576. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a>
  2577. <span class="Identifier">timestamp</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2578. <span class="Identifier">touchID</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#TouchID"><span class="Identifier">TouchID</span></a>
  2579. <span class="Identifier">dTheta</span><span class="Operator">*</span><span class="Other">,</span> <span class="Identifier">dDist</span><span class="Operator">*</span><span class="Other">,</span> <span class="Identifier">x</span><span class="Operator">*</span><span class="Other">,</span> <span class="Identifier">y</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">cfloat</span>
  2580. <span class="Identifier">numFingers</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint16</span>
  2581. </pre></dt>
  2582. <dd>
  2583. </dd>
  2584. <a id="Finger"></a>
  2585. <dt><pre><a href="sdl2.html#Finger"><span class="Identifier">Finger</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2586. <span class="Identifier">id</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#FingerID"><span class="Identifier">FingerID</span></a>
  2587. <span class="Identifier">x</span><span class="Operator">*</span><span class="Other">,</span> <span class="Identifier">y</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">cfloat</span>
  2588. <span class="Identifier">pressure</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">cfloat</span>
  2589. </pre></dt>
  2590. <dd>
  2591. </dd>
  2592. <a id="DollarGestureEventPtr"></a>
  2593. <dt><pre><a href="sdl2.html#DollarGestureEventPtr"><span class="Identifier">DollarGestureEventPtr</span></a> <span class="Other">=</span> <span class="Keyword">ptr</span> <a href="sdl2.html#DollarGestureEventObj"><span class="Identifier">DollarGestureEventObj</span></a></pre></dt>
  2594. <dd>
  2595. </dd>
  2596. <a id="DollarGestureEventObj"></a>
  2597. <dt><pre><a href="sdl2.html#DollarGestureEventObj"><span class="Identifier">DollarGestureEventObj</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2598. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a>
  2599. <span class="Identifier">timestamp</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2600. <span class="Identifier">touchID</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#TouchID"><span class="Identifier">TouchID</span></a>
  2601. <span class="Identifier">gestureID</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">GestureID</span>
  2602. <span class="Identifier">numFingers</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2603. <span class="Identifier">error</span><span class="Operator">*</span><span class="Other">,</span> <span class="Identifier">x</span><span class="Operator">*</span><span class="Other">,</span> <span class="Identifier">y</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">float</span>
  2604. </pre></dt>
  2605. <dd>
  2606. </dd>
  2607. <a id="DropEventPtr"></a>
  2608. <dt><pre><a href="sdl2.html#DropEventPtr"><span class="Identifier">DropEventPtr</span></a> <span class="Other">=</span> <span class="Keyword">ptr</span> <a href="sdl2.html#DropEventObj"><span class="Identifier">DropEventObj</span></a></pre></dt>
  2609. <dd>
  2610. </dd>
  2611. <a id="DropEventObj"></a>
  2612. <dt><pre><a href="sdl2.html#DropEventObj"><span class="Identifier">DropEventObj</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2613. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a>
  2614. <span class="Identifier">timestamp</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2615. <span class="Identifier">file</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">cstring</span>
  2616. </pre></dt>
  2617. <dd>
  2618. </dd>
  2619. <a id="UserEventPtr"></a>
  2620. <dt><pre><a href="sdl2.html#UserEventPtr"><span class="Identifier">UserEventPtr</span></a> <span class="Other">=</span> <span class="Keyword">ptr</span> <a href="sdl2.html#UserEventObj"><span class="Identifier">UserEventObj</span></a></pre></dt>
  2621. <dd>
  2622. </dd>
  2623. <a id="UserEventObj"></a>
  2624. <dt><pre><a href="sdl2.html#UserEventObj"><span class="Identifier">UserEventObj</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2625. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a>
  2626. <span class="Identifier">timestamp</span><span class="Operator">*</span><span class="Other">,</span> <span class="Identifier">windowID</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2627. <span class="Identifier">code</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">int32</span>
  2628. <span class="Identifier">data1</span><span class="Operator">*</span><span class="Other">,</span> <span class="Identifier">data2</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">pointer</span>
  2629. </pre></dt>
  2630. <dd>
  2631. </dd>
  2632. <a id="Eventaction"></a>
  2633. <dt><pre><a href="sdl2.html#Eventaction"><span class="Identifier">Eventaction</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">size</span><span class="Other">:</span> <span class="DecNumber">4</span></span><span class="Other">.}</span></span> <span class="Other">=</span> <span class="Keyword">enum</span>
  2634. <span class="Identifier">SDL_ADDEVENT</span><span class="Other">,</span> <span class="Identifier">SDL_PEEKEVENT</span><span class="Other">,</span> <span class="Identifier">SDL_GETEVENT</span></pre></dt>
  2635. <dd>
  2636. </dd>
  2637. <a id="EventFilter"></a>
  2638. <dt><pre><a href="sdl2.html#EventFilter"><span class="Identifier">EventFilter</span></a> <span class="Other">=</span> <span class="Keyword">proc</span> <span class="Other">(</span><span class="Identifier">userdata</span><span class="Other">:</span> <span class="Identifier">pointer</span><span class="Other">;</span> <span class="Identifier">event</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#Bool32"><span class="Identifier">Bool32</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">cdecl</span></span><span class="Other">.}</span></span></pre></dt>
  2639. <dd>
  2640. </dd>
  2641. <a id="SDL_Return"></a>
  2642. <dt><pre><a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">size</span><span class="Other">:</span> <span class="DecNumber">4</span></span><span class="Other">.}</span></span> <span class="Other">=</span> <span class="Keyword">enum</span>
  2643. <span class="Identifier">SdlError</span> <span class="Other">=</span> <span class="Operator">-</span><span class="DecNumber">1</span><span class="Other">,</span> <span class="Identifier">SdlSuccess</span> <span class="Other">=</span> <span class="DecNumber">0</span> <span class="Comment">## \</span>
  2644. <span class="Comment">## Return value for many SDL functions. Any function that returns like this \</span>
  2645. <span class="Comment">## should also be discardable</span></pre></dt>
  2646. <dd>
  2647. </dd>
  2648. <a id="Bool32"></a>
  2649. <dt><pre><a href="sdl2.html#Bool32"><span class="Identifier">Bool32</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">size</span><span class="Other">:</span> <span class="DecNumber">4</span></span><span class="Other">.}</span></span> <span class="Other">=</span> <span class="Keyword">enum</span>
  2650. <span class="Identifier">False32</span> <span class="Other">=</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">True32</span> <span class="Other">=</span> <span class="DecNumber">1</span> <span class="Comment">## \</span>
  2651. <span class="Comment">## SDL_bool</span></pre></dt>
  2652. <dd>
  2653. </dd>
  2654. <a id="KeyState"></a>
  2655. <dt><pre><a href="sdl2.html#KeyState"><span class="Identifier">KeyState</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">size</span><span class="Other">:</span> <span class="DecNumber">1</span></span><span class="Other">.}</span></span> <span class="Other">=</span> <span class="Keyword">enum</span>
  2656. <span class="Identifier">KeyReleased</span> <span class="Other">=</span> <span class="DecNumber">0</span><span class="Other">,</span> <span class="Identifier">KeyPressed</span></pre></dt>
  2657. <dd>
  2658. </dd>
  2659. <a id="KeySym"></a>
  2660. <dt><pre><a href="sdl2.html#KeySym"><span class="Identifier">KeySym</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">pure</span></span><span class="Other">.}</span></span> <span class="Other">=</span> <span class="Keyword">object</span>
  2661. <span class="Identifier">scancode</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#Scancode"><span class="Identifier">Scancode</span></a>
  2662. <span class="Identifier">sym</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Comment">## Keycode</span>
  2663. <span class="Identifier">modstate</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">int16</span>
  2664. <span class="Identifier">unicode</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">cint</span>
  2665. </pre></dt>
  2666. <dd>
  2667. </dd>
  2668. <a id="Point"></a>
  2669. <dt><pre><a href="sdl2.html#Point"><span class="Identifier">Point</span></a> <span class="Other">=</span> <span class="Keyword">tuple</span><span class="Other">[</span><span class="Identifier">x</span><span class="Other">,</span> <span class="Identifier">y</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">]</span></pre></dt>
  2670. <dd>
  2671. </dd>
  2672. <a id="Rect"></a>
  2673. <dt><pre><a href="sdl2.html#Rect"><span class="Identifier">Rect</span></a> <span class="Other">=</span> <span class="Keyword">tuple</span><span class="Other">[</span><span class="Identifier">x</span><span class="Other">,</span> <span class="Identifier">y</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">,</span> <span class="Identifier">w</span><span class="Other">,</span> <span class="Identifier">h</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">]</span></pre></dt>
  2674. <dd>
  2675. </dd>
  2676. <a id="GLattr"></a>
  2677. <dt><pre><a href="sdl2.html#GLattr"><span class="Identifier">GLattr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">size</span><span class="Other">:</span> <span class="DecNumber">4</span></span><span class="Other">.}</span></span> <span class="Other">=</span> <span class="Keyword">enum</span>
  2678. <span class="Identifier">SDL_GL_RED_SIZE</span><span class="Other">,</span> <span class="Identifier">SDL_GL_GREEN_SIZE</span><span class="Other">,</span> <span class="Identifier">SDL_GL_BLUE_SIZE</span><span class="Other">,</span> <span class="Identifier">SDL_GL_ALPHA_SIZE</span><span class="Other">,</span>
  2679. <span class="Identifier">SDL_GL_BUFFER_SIZE</span><span class="Other">,</span> <span class="Identifier">SDL_GL_DOUBLEBUFFER</span><span class="Other">,</span> <span class="Identifier">SDL_GL_DEPTH_SIZE</span><span class="Other">,</span> <span class="Identifier">SDL_GL_STENCIL_SIZE</span><span class="Other">,</span>
  2680. <span class="Identifier">SDL_GL_ACCUM_RED_SIZE</span><span class="Other">,</span> <span class="Identifier">SDL_GL_ACCUM_GREEN_SIZE</span><span class="Other">,</span> <span class="Identifier">SDL_GL_ACCUM_BLUE_SIZE</span><span class="Other">,</span>
  2681. <span class="Identifier">SDL_GL_ACCUM_ALPHA_SIZE</span><span class="Other">,</span> <span class="Identifier">SDL_GL_STEREO</span><span class="Other">,</span> <span class="Identifier">SDL_GL_MULTISAMPLEBUFFERS</span><span class="Other">,</span>
  2682. <span class="Identifier">SDL_GL_MULTISAMPLESAMPLES</span><span class="Other">,</span> <span class="Identifier">SDL_GL_ACCELERATED_VISUAL</span><span class="Other">,</span> <span class="Identifier">SDL_GL_RETAINED_BACKING</span><span class="Other">,</span>
  2683. <span class="Identifier">SDL_GL_CONTEXT_MAJOR_VERSION</span><span class="Other">,</span> <span class="Identifier">SDL_GL_CONTEXT_MINOR_VERSION</span><span class="Other">,</span> <span class="Identifier">SDL_GL_CONTEXT_EGL</span><span class="Other">,</span>
  2684. <span class="Identifier">SDL_GL_CONTEXT_FLAGS</span><span class="Other">,</span> <span class="Identifier">SDL_GL_CONTEXT_PROFILE_MASK</span><span class="Other">,</span>
  2685. <span class="Identifier">SDL_GL_SHARE_WITH_CURRENT_CONTEXT</span><span class="Other">,</span> <span class="Identifier">SDL_GL_FRAMEBUFFER_SRGB_CAPABLE</span><span class="Other">,</span>
  2686. <span class="Identifier">SDL_GL_CONTEXT_RELEASE_BEHAVIOR</span><span class="Other">,</span> <span class="Identifier">SDL_GL_CONTEXT_RESET_NOTIFICATION</span><span class="Other">,</span>
  2687. <span class="Identifier">SDL_GL_CONTEXT_NO_ERROR</span></pre></dt>
  2688. <dd>
  2689. </dd>
  2690. <a id="MouseWheelDirection"></a>
  2691. <dt><pre><a href="sdl2.html#MouseWheelDirection"><span class="Identifier">MouseWheelDirection</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">size</span><span class="Other">:</span> <span class="DecNumber">4</span></span><span class="Other">.}</span></span> <span class="Other">=</span> <span class="Keyword">enum</span>
  2692. <span class="Identifier">SDL_MOUSEWHEEL_NORMAL</span><span class="Other">,</span> <span class="Identifier">SDL_MOUSEWHEEL_FLIPPED</span></pre></dt>
  2693. <dd>
  2694. </dd>
  2695. <a id="DisplayMode"></a>
  2696. <dt><pre><a href="sdl2.html#DisplayMode"><span class="Identifier">DisplayMode</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2697. <span class="Identifier">format</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">cuint</span>
  2698. <span class="Identifier">w</span><span class="Operator">*</span><span class="Other">,</span> <span class="Identifier">h</span><span class="Operator">*</span><span class="Other">,</span> <span class="Identifier">refresh_rate</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">cint</span>
  2699. <span class="Identifier">driverData</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">pointer</span>
  2700. </pre></dt>
  2701. <dd>
  2702. </dd>
  2703. <a id="WindowPtr"></a>
  2704. <dt><pre><a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a> <span class="Other">=</span> <span class="Keyword">ptr</span> <span class="Keyword">object</span></pre></dt>
  2705. <dd>
  2706. </dd>
  2707. <a id="RendererPtr"></a>
  2708. <dt><pre><a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a> <span class="Other">=</span> <span class="Keyword">ptr</span> <span class="Keyword">object</span></pre></dt>
  2709. <dd>
  2710. </dd>
  2711. <a id="TexturePtr"></a>
  2712. <dt><pre><a href="sdl2.html#TexturePtr"><span class="Identifier">TexturePtr</span></a> <span class="Other">=</span> <span class="Keyword">ptr</span> <span class="Keyword">object</span></pre></dt>
  2713. <dd>
  2714. </dd>
  2715. <a id="CursorPtr"></a>
  2716. <dt><pre><a href="sdl2.html#CursorPtr"><span class="Identifier">CursorPtr</span></a> <span class="Other">=</span> <span class="Keyword">ptr</span> <span class="Keyword">object</span></pre></dt>
  2717. <dd>
  2718. </dd>
  2719. <a id="GlContextPtr"></a>
  2720. <dt><pre><a href="sdl2.html#GlContextPtr"><span class="Identifier">GlContextPtr</span></a> <span class="Other">=</span> <span class="Keyword">ptr</span> <span class="Keyword">object</span></pre></dt>
  2721. <dd>
  2722. </dd>
  2723. <a id="SDL_Version"></a>
  2724. <dt><pre><a href="sdl2.html#SDL_Version"><span class="Identifier">SDL_Version</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2725. <span class="Identifier">major</span><span class="Operator">*</span><span class="Other">,</span> <span class="Identifier">minor</span><span class="Operator">*</span><span class="Other">,</span> <span class="Identifier">patch</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint8</span>
  2726. </pre></dt>
  2727. <dd>
  2728. </dd>
  2729. <a id="RendererInfoPtr"></a>
  2730. <dt><pre><a href="sdl2.html#RendererInfoPtr"><span class="Identifier">RendererInfoPtr</span></a> <span class="Other">=</span> <span class="Keyword">ptr</span> <a href="sdl2.html#RendererInfo"><span class="Identifier">RendererInfo</span></a></pre></dt>
  2731. <dd>
  2732. </dd>
  2733. <a id="RendererInfo"></a>
  2734. <dt><pre><a href="sdl2.html#RendererInfo"><span class="Identifier">RendererInfo</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">pure</span><span class="Other">,</span> <span class="Identifier">final</span></span><span class="Other">.}</span></span> <span class="Other">=</span> <span class="Keyword">object</span>
  2735. <span class="Identifier">name</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">cstring</span>
  2736. <span class="Identifier">flags</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2737. <span class="Identifier">num_texture_formats</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2738. <span class="Identifier">texture_formats</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">array</span><span class="Other">[</span><span class="DecNumber">0</span> <span class="Operator">..</span> <span class="DecNumber">16</span> <span class="Operator">-</span> <span class="DecNumber">1</span><span class="Other">,</span> <span class="Identifier">uint32</span><span class="Other">]</span>
  2739. <span class="Identifier">max_texture_width</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">cint</span>
  2740. <span class="Identifier">max_texture_height</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">cint</span>
  2741. </pre></dt>
  2742. <dd>
  2743. </dd>
  2744. <a id="TextureAccess"></a>
  2745. <dt><pre><a href="sdl2.html#TextureAccess"><span class="Identifier">TextureAccess</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">size</span><span class="Other">:</span> <span class="DecNumber">4</span></span><span class="Other">.}</span></span> <span class="Other">=</span> <span class="Keyword">enum</span>
  2746. <span class="Identifier">SDL_TEXTUREACCESS_STATIC</span><span class="Other">,</span> <span class="Identifier">SDL_TEXTUREACCESS_STREAMING</span><span class="Other">,</span> <span class="Identifier">SDL_TEXTUREACCESS_TARGET</span></pre></dt>
  2747. <dd>
  2748. </dd>
  2749. <a id="TextureModulate"></a>
  2750. <dt><pre><a href="sdl2.html#TextureModulate"><span class="Identifier">TextureModulate</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">size</span><span class="Other">:</span> <span class="DecNumber">4</span></span><span class="Other">.}</span></span> <span class="Other">=</span> <span class="Keyword">enum</span>
  2751. <span class="Identifier">SDL_TEXTUREMODULATE_NONE</span><span class="Other">,</span> <span class="Identifier">SDL_TEXTUREMODULATE_COLOR</span><span class="Other">,</span> <span class="Identifier">SDL_TEXTUREMODULATE_ALPHA</span></pre></dt>
  2752. <dd>
  2753. </dd>
  2754. <a id="RendererFlip"></a>
  2755. <dt><pre><a href="sdl2.html#RendererFlip"><span class="Identifier">RendererFlip</span></a> <span class="Other">=</span> <span class="Identifier">cint</span></pre></dt>
  2756. <dd>
  2757. </dd>
  2758. <a id="SysWMType"></a>
  2759. <dt><pre><a href="sdl2.html#SysWMType"><span class="Identifier">SysWMType</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">size</span><span class="Other">:</span> <span class="DecNumber">4</span></span><span class="Other">.}</span></span> <span class="Other">=</span> <span class="Keyword">enum</span>
  2760. <span class="Identifier">SysWM_Unknown</span><span class="Other">,</span> <span class="Identifier">SysWM_Windows</span><span class="Other">,</span> <span class="Identifier">SysWM_X11</span><span class="Other">,</span> <span class="Identifier">SysWM_DirectFB</span><span class="Other">,</span> <span class="Identifier">SysWM_Cocoa</span><span class="Other">,</span> <span class="Identifier">SysWM_UIkit</span><span class="Other">,</span>
  2761. <span class="Identifier">SysWM_Wayland</span><span class="Other">,</span> <span class="Identifier">SysWM_Mir</span><span class="Other">,</span> <span class="Identifier">SysWM_WinRT</span><span class="Other">,</span> <span class="Identifier">SysWM_Android</span><span class="Other">,</span> <span class="Identifier">SysWM_Vivante</span></pre></dt>
  2762. <dd>
  2763. </dd>
  2764. <a id="WMinfo"></a>
  2765. <dt><pre><a href="sdl2.html#WMinfo"><span class="Identifier">WMinfo</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2766. <span class="Identifier">version</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#SDL_Version"><span class="Identifier">SDL_Version</span></a>
  2767. <span class="Identifier">subsystem</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#SysWMType"><span class="Identifier">SysWMType</span></a>
  2768. <span class="Identifier">padding</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">array</span><span class="Other">[</span><span class="DecNumber">64</span><span class="Other">,</span> <span class="Identifier">byte</span><span class="Other">]</span> <span class="Comment">## if the low-level stuff is important to you check \</span>
  2769. <span class="Comment">## SDL_syswm.h and cast padding to the right type</span>
  2770. </pre></dt>
  2771. <dd>
  2772. </dd>
  2773. <a id="Color"></a>
  2774. <dt><pre><a href="sdl2.html#Color"><span class="Identifier">Color</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">pure</span><span class="Other">,</span> <span class="Identifier">final</span></span><span class="Other">.}</span></span> <span class="Other">=</span> <span class="Keyword">tuple</span><span class="Other">[</span><span class="Identifier">r</span><span class="Other">:</span> <span class="Identifier">uint8</span><span class="Other">,</span> <span class="Identifier">g</span><span class="Other">:</span> <span class="Identifier">uint8</span><span class="Other">,</span> <span class="Identifier">b</span><span class="Other">:</span> <span class="Identifier">uint8</span><span class="Other">,</span> <span class="Identifier">a</span><span class="Other">:</span> <span class="Identifier">uint8</span><span class="Other">]</span></pre></dt>
  2775. <dd>
  2776. </dd>
  2777. <a id="Palette"></a>
  2778. <dt><pre><a href="sdl2.html#Palette"><span class="Identifier">Palette</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">pure</span><span class="Other">,</span> <span class="Identifier">final</span></span><span class="Other">.}</span></span> <span class="Other">=</span> <span class="Keyword">object</span>
  2779. <span class="Identifier">ncolors</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">cint</span>
  2780. <span class="Identifier">colors</span><span class="Operator">*</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Color"><span class="Identifier">Color</span></a>
  2781. <span class="Identifier">version</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2782. <span class="Identifier">refcount</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">cint</span>
  2783. </pre></dt>
  2784. <dd>
  2785. </dd>
  2786. <a id="PixelFormat"></a>
  2787. <dt><pre><a href="sdl2.html#PixelFormat"><span class="Identifier">PixelFormat</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">pure</span><span class="Other">,</span> <span class="Identifier">final</span></span><span class="Other">.}</span></span> <span class="Other">=</span> <span class="Keyword">object</span>
  2788. <span class="Identifier">format</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2789. <span class="Identifier">palette</span><span class="Operator">*</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Palette"><span class="Identifier">Palette</span></a>
  2790. <span class="Identifier">BitsPerPixel</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint8</span>
  2791. <span class="Identifier">BytesPerPixel</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint8</span>
  2792. <span class="Identifier">padding</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">array</span><span class="Other">[</span><span class="DecNumber">0</span> <span class="Operator">..</span> <span class="DecNumber">2</span> <span class="Operator">-</span> <span class="DecNumber">1</span><span class="Other">,</span> <span class="Identifier">uint8</span><span class="Other">]</span>
  2793. <span class="Identifier">Rmask</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2794. <span class="Identifier">Gmask</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2795. <span class="Identifier">Bmask</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2796. <span class="Identifier">Amask</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2797. <span class="Identifier">Rloss</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint8</span>
  2798. <span class="Identifier">Gloss</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint8</span>
  2799. <span class="Identifier">Bloss</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint8</span>
  2800. <span class="Identifier">Aloss</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint8</span>
  2801. <span class="Identifier">Rshift</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint8</span>
  2802. <span class="Identifier">Gshift</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint8</span>
  2803. <span class="Identifier">Bshift</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint8</span>
  2804. <span class="Identifier">Ashift</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint8</span>
  2805. <span class="Identifier">refcount</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">cint</span>
  2806. <span class="Identifier">next</span><span class="Operator">*</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#PixelFormat"><span class="Identifier">PixelFormat</span></a>
  2807. </pre></dt>
  2808. <dd>
  2809. </dd>
  2810. <a id="BlitMapPtr"></a>
  2811. <dt><pre><a href="sdl2.html#BlitMapPtr"><span class="Identifier">BlitMapPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">pure</span></span><span class="Other">.}</span></span> <span class="Other">=</span> <span class="Keyword">ptr</span> <span class="Keyword">object</span></pre></dt>
  2812. <dd>
  2813. couldnt find SDL_BlitMap ?
  2814. </dd>
  2815. <a id="SurfacePtr"></a>
  2816. <dt><pre><a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a> <span class="Other">=</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Surface"><span class="Identifier">Surface</span></a></pre></dt>
  2817. <dd>
  2818. </dd>
  2819. <a id="Surface"></a>
  2820. <dt><pre><a href="sdl2.html#Surface"><span class="Identifier">Surface</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">pure</span><span class="Other">,</span> <span class="Identifier">final</span></span><span class="Other">.}</span></span> <span class="Other">=</span> <span class="Keyword">object</span>
  2821. <span class="Identifier">flags</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2822. <span class="Identifier">format</span><span class="Operator">*</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#PixelFormat"><span class="Identifier">PixelFormat</span></a>
  2823. <span class="Identifier">w</span><span class="Operator">*</span><span class="Other">,</span> <span class="Identifier">h</span><span class="Operator">*</span><span class="Other">,</span> <span class="Identifier">pitch</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">int32</span>
  2824. <span class="Identifier">pixels</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">pointer</span>
  2825. <span class="Identifier">userdata</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">pointer</span>
  2826. <span class="Identifier">locked</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">int32</span>
  2827. <span class="Identifier">lock_data</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">pointer</span>
  2828. <span class="Identifier">clip_rect</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#Rect"><span class="Identifier">Rect</span></a>
  2829. <span class="Identifier">map</span><span class="Other">:</span> <a href="sdl2.html#BlitMapPtr"><span class="Identifier">BlitMapPtr</span></a>
  2830. <span class="Identifier">refcount</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">cint</span>
  2831. </pre></dt>
  2832. <dd>
  2833. </dd>
  2834. <a id="BlendMode"></a>
  2835. <dt><pre><a href="sdl2.html#BlendMode"><span class="Identifier">BlendMode</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">size</span><span class="Other">:</span> <span class="DecNumber">4</span></span><span class="Other">.}</span></span> <span class="Other">=</span> <span class="Keyword">enum</span>
  2836. <span class="Identifier">BlendMode_None</span> <span class="Other">=</span> <span class="DecNumber">0x00000000</span><span class="Other">,</span> <span class="Identifier">BlendMode_Blend</span> <span class="Other">=</span> <span class="DecNumber">0x00000001</span><span class="Other">,</span>
  2837. <span class="Identifier">BlendMode_Add</span> <span class="Other">=</span> <span class="DecNumber">0x00000002</span><span class="Other">,</span> <span class="Identifier">BlendMode_Mod</span> <span class="Other">=</span> <span class="DecNumber">0x00000004</span></pre></dt>
  2838. <dd>
  2839. </dd>
  2840. <a id="BlitFunction"></a>
  2841. <dt><pre><a href="sdl2.html#BlitFunction"><span class="Identifier">BlitFunction</span></a> <span class="Other">=</span> <span class="Keyword">proc</span> <span class="Other">(</span><span class="Identifier">src</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a><span class="Other">;</span> <span class="Identifier">srcrect</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Rect"><span class="Identifier">Rect</span></a><span class="Other">;</span> <span class="Identifier">dst</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a><span class="Other">;</span>
  2842. <span class="Identifier">dstrect</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Rect"><span class="Identifier">Rect</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">cdecl</span></span><span class="Other">.}</span></span></pre></dt>
  2843. <dd>
  2844. </dd>
  2845. <a id="TimerCallback"></a>
  2846. <dt><pre><a href="sdl2.html#TimerCallback"><span class="Identifier">TimerCallback</span></a> <span class="Other">=</span> <span class="Keyword">proc</span> <span class="Other">(</span><span class="Identifier">interval</span><span class="Other">:</span> <span class="Identifier">uint32</span><span class="Other">;</span> <span class="Identifier">param</span><span class="Other">:</span> <span class="Identifier">pointer</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">uint32</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">cdecl</span></span><span class="Other">.}</span></span></pre></dt>
  2847. <dd>
  2848. </dd>
  2849. <a id="TimerID"></a>
  2850. <dt><pre><a href="sdl2.html#TimerID"><span class="Identifier">TimerID</span></a> <span class="Other">=</span> <span class="Identifier">cint</span></pre></dt>
  2851. <dd>
  2852. </dd>
  2853. <a id="MessageBoxColor"></a>
  2854. <dt><pre><a href="sdl2.html#MessageBoxColor"><span class="Identifier">MessageBoxColor</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">pure</span><span class="Other">,</span> <span class="Identifier">final</span></span><span class="Other">.}</span></span> <span class="Other">=</span> <span class="Keyword">object</span>
  2855. <span class="Identifier">r</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint8</span>
  2856. <span class="Identifier">g</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint8</span>
  2857. <span class="Identifier">b</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint8</span>
  2858. </pre></dt>
  2859. <dd>
  2860. </dd>
  2861. <a id="MessageBoxColorType"></a>
  2862. <dt><pre><a href="sdl2.html#MessageBoxColorType"><span class="Identifier">MessageBoxColorType</span></a> <span class="Other">=</span> <span class="Keyword">enum</span>
  2863. <span class="Identifier">SDL_MESSAGEBOX_COLOR_BACKGROUND</span><span class="Other">,</span> <span class="Identifier">SDL_MESSAGEBOX_COLOR_TEXT</span><span class="Other">,</span>
  2864. <span class="Identifier">SDL_MESSAGEBOX_COLOR_BUTTON_BORDER</span><span class="Other">,</span> <span class="Identifier">SDL_MESSAGEBOX_COLOR_BUTTON_BACKGROUND</span><span class="Other">,</span>
  2865. <span class="Identifier">SDL_MESSAGEBOX_COLOR_BUTTON_SELECTED</span><span class="Other">,</span> <span class="Identifier">SDL_MESSAGEBOX_COLOR_MAX</span></pre></dt>
  2866. <dd>
  2867. </dd>
  2868. <a id="MessageBoxColorScheme"></a>
  2869. <dt><pre><a href="sdl2.html#MessageBoxColorScheme"><span class="Identifier">MessageBoxColorScheme</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">pure</span><span class="Other">,</span> <span class="Identifier">final</span></span><span class="Other">.}</span></span> <span class="Other">=</span> <span class="Keyword">object</span>
  2870. <span class="Identifier">colors</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">array</span><span class="Other">[</span><span class="Identifier">MessageBoxColorType</span><span class="Other">,</span> <a href="sdl2.html#MessageBoxColor"><span class="Identifier">MessageBoxColor</span></a><span class="Other">]</span>
  2871. </pre></dt>
  2872. <dd>
  2873. </dd>
  2874. <a id="MessageBoxButtonData"></a>
  2875. <dt><pre><a href="sdl2.html#MessageBoxButtonData"><span class="Identifier">MessageBoxButtonData</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">pure</span><span class="Other">,</span> <span class="Identifier">final</span></span><span class="Other">.}</span></span> <span class="Other">=</span> <span class="Keyword">object</span>
  2876. <span class="Identifier">flags</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">cint</span>
  2877. <span class="Identifier">buttonid</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">cint</span>
  2878. <span class="Identifier">text</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">cstring</span>
  2879. </pre></dt>
  2880. <dd>
  2881. </dd>
  2882. <a id="MessageBoxData"></a>
  2883. <dt><pre><a href="sdl2.html#MessageBoxData"><span class="Identifier">MessageBoxData</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">pure</span><span class="Other">,</span> <span class="Identifier">final</span></span><span class="Other">.}</span></span> <span class="Other">=</span> <span class="Keyword">object</span>
  2884. <span class="Identifier">flags</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">cint</span>
  2885. <span class="Identifier">window</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a>
  2886. <span class="Identifier">title</span><span class="Operator">*</span><span class="Other">,</span> <span class="Identifier">message</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">cstring</span>
  2887. <span class="Identifier">numbuttons</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">cint</span>
  2888. <span class="Identifier">buttons</span><span class="Operator">*</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#MessageBoxButtonData"><span class="Identifier">MessageBoxButtonData</span></a>
  2889. <span class="Identifier">colorScheme</span><span class="Operator">*</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#MessageBoxColorScheme"><span class="Identifier">MessageBoxColorScheme</span></a>
  2890. </pre></dt>
  2891. <dd>
  2892. </dd>
  2893. <a id="RWopsPtr"></a>
  2894. <dt><pre><a href="sdl2.html#RWopsPtr"><span class="Identifier">RWopsPtr</span></a> <span class="Other">=</span> <span class="Keyword">ptr</span> <a href="sdl2.html#RWops"><span class="Identifier">RWops</span></a></pre></dt>
  2895. <dd>
  2896. </dd>
  2897. <a id="RWops"></a>
  2898. <dt><pre><a href="sdl2.html#RWops"><span class="Identifier">RWops</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">pure</span><span class="Other">,</span> <span class="Identifier">final</span></span><span class="Other">.}</span></span> <span class="Other">=</span> <span class="Keyword">object</span>
  2899. <span class="Identifier">size</span><span class="Operator">*</span><span class="Other">:</span> <span class="Keyword">proc</span> <span class="Other">(</span><span class="Identifier">context</span><span class="Other">:</span> <a href="sdl2.html#RWopsPtr"><span class="Identifier">RWopsPtr</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">int64</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">cdecl</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span>
  2900. <span class="Identifier">seek</span><span class="Operator">*</span><span class="Other">:</span> <span class="Keyword">proc</span> <span class="Other">(</span><span class="Identifier">context</span><span class="Other">:</span> <a href="sdl2.html#RWopsPtr"><span class="Identifier">RWopsPtr</span></a><span class="Other">;</span> <span class="Identifier">offset</span><span class="Other">:</span> <span class="Identifier">int64</span><span class="Other">;</span> <span class="Identifier">whence</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">int64</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">cdecl</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
  2901. <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span>
  2902. <span class="Identifier">read</span><span class="Operator">*</span><span class="Other">:</span> <span class="Keyword">proc</span> <span class="Other">(</span><span class="Identifier">context</span><span class="Other">:</span> <a href="sdl2.html#RWopsPtr"><span class="Identifier">RWopsPtr</span></a><span class="Other">;</span> <span class="Identifier">destination</span><span class="Other">:</span> <span class="Identifier">pointer</span><span class="Other">;</span> <span class="Identifier">size</span><span class="Other">,</span> <span class="Identifier">maxnum</span><span class="Other">:</span> <a href="sdl2.html#csize_t_const"><span class="Identifier">csize_t_const</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#csize_t_const"><span class="Identifier">csize_t_const</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  2903. <span class="Identifier">cdecl</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">ReadIOEffect</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span>
  2904. <span class="Identifier">write</span><span class="Operator">*</span><span class="Other">:</span> <span class="Keyword">proc</span> <span class="Other">(</span><span class="Identifier">context</span><span class="Other">:</span> <a href="sdl2.html#RWopsPtr"><span class="Identifier">RWopsPtr</span></a><span class="Other">;</span> <span class="Identifier">source</span><span class="Other">:</span> <span class="Identifier">pointer</span><span class="Other">;</span> <span class="Identifier">size</span><span class="Other">:</span> <a href="sdl2.html#csize_t_const"><span class="Identifier">csize_t_const</span></a><span class="Other">;</span>
  2905. <span class="Identifier">num</span><span class="Other">:</span> <a href="sdl2.html#csize_t_const"><span class="Identifier">csize_t_const</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#csize_t_const"><span class="Identifier">csize_t_const</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">cdecl</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">WriteIOEffect</span><span class="Other">]</span><span class="Other">,</span>
  2906. <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span>
  2907. <span class="Identifier">close</span><span class="Operator">*</span><span class="Other">:</span> <span class="Keyword">proc</span> <span class="Other">(</span><span class="Identifier">context</span><span class="Other">:</span> <a href="sdl2.html#RWopsPtr"><span class="Identifier">RWopsPtr</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">cdecl</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">WriteIOEffect</span><span class="Other">]</span></span><span class="Other">.}</span></span>
  2908. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">cint</span>
  2909. <span class="Identifier">mem</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#Mem"><span class="Identifier">Mem</span></a>
  2910. </pre></dt>
  2911. <dd>
  2912. </dd>
  2913. <a id="Mem"></a>
  2914. <dt><pre><a href="sdl2.html#Mem"><span class="Identifier">Mem</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">final</span></span><span class="Other">.}</span></span> <span class="Other">=</span> <span class="Keyword">object</span>
  2915. <span class="Identifier">base</span><span class="Operator">*</span><span class="Other">:</span> <span class="Keyword">ptr</span> <span class="Identifier">byte</span>
  2916. <span class="Identifier">here</span><span class="Operator">*</span><span class="Other">:</span> <span class="Keyword">ptr</span> <span class="Identifier">byte</span>
  2917. <span class="Identifier">stop</span><span class="Operator">*</span><span class="Other">:</span> <span class="Keyword">ptr</span> <span class="Identifier">byte</span>
  2918. </pre></dt>
  2919. <dd>
  2920. </dd>
  2921. <a id="VoidCallback"></a>
  2922. <dt><pre><a href="sdl2.html#VoidCallback"><span class="Identifier">VoidCallback</span></a> <span class="Other">=</span> <span class="Keyword">proc</span> <span class="Other">(</span><span class="Identifier">arg</span><span class="Other">:</span> <span class="Identifier">pointer</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">void</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">cdecl</span></span><span class="Other">.}</span></span></pre></dt>
  2923. <dd>
  2924. </dd>
  2925. <a id="VulkanInstance"></a>
  2926. <dt><pre><a href="sdl2.html#VulkanInstance"><span class="Identifier">VulkanInstance</span></a> <span class="Other">=</span> <span class="Identifier">VkHandle</span></pre></dt>
  2927. <dd>
  2928. </dd>
  2929. <a id="VulkanSurface"></a>
  2930. <dt><pre><a href="sdl2.html#VulkanSurface"><span class="Identifier">VulkanSurface</span></a> <span class="Other">=</span> <span class="Identifier">VkNonDispatchableHandle</span></pre></dt>
  2931. <dd>
  2932. </dd>
  2933. <a id="SystemCursor"></a>
  2934. <dt><pre><a href="sdl2.html#SystemCursor"><span class="Identifier">SystemCursor</span></a> <span class="Other">=</span> <span class="Keyword">enum</span>
  2935. <span class="Identifier">SDL_SYSTEM_CURSOR_ARROW</span><span class="Other">,</span> <span class="Comment">## Arrow</span>
  2936. <span class="Identifier">SDL_SYSTEM_CURSOR_IBEAM</span><span class="Other">,</span> <span class="Comment">## I-beam</span>
  2937. <span class="Identifier">SDL_SYSTEM_CURSOR_WAIT</span><span class="Other">,</span> <span class="Comment">## Wait</span>
  2938. <span class="Identifier">SDL_SYSTEM_CURSOR_CROSSHAIR</span><span class="Other">,</span> <span class="Comment">## Crosshair</span>
  2939. <span class="Identifier">SDL_SYSTEM_CURSOR_WAITARROW</span><span class="Other">,</span> <span class="Comment">## Small wait cursor (or Wait if not available)</span>
  2940. <span class="Identifier">SDL_SYSTEM_CURSOR_SIZENWSE</span><span class="Other">,</span> <span class="Comment">## Double arrow pointing northwest and southeast</span>
  2941. <span class="Identifier">SDL_SYSTEM_CURSOR_SIZENESW</span><span class="Other">,</span> <span class="Comment">## Double arrow pointing northeast and southwest</span>
  2942. <span class="Identifier">SDL_SYSTEM_CURSOR_SIZEWE</span><span class="Other">,</span> <span class="Comment">## Double arrow pointing west and east</span>
  2943. <span class="Identifier">SDL_SYSTEM_CURSOR_SIZENS</span><span class="Other">,</span> <span class="Comment">## Double arrow pointing north and south</span>
  2944. <span class="Identifier">SDL_SYSTEM_CURSOR_SIZEALL</span><span class="Other">,</span> <span class="Comment">## Four pointed arrow pointing north, south, east, and west</span>
  2945. <span class="Identifier">SDL_SYSTEM_CURSOR_NO</span><span class="Other">,</span> <span class="Comment">## Slashed circle or crossbones</span>
  2946. <span class="Identifier">SDL_SYSTEM_CURSOR_HAND</span> <span class="Comment">## Hand</span></pre></dt>
  2947. <dd>
  2948. </dd>
  2949. </dl></div>
  2950. <div class="section" id="9">
  2951. <h1><a class="toc-backref" href="#9">Lets</a></h1>
  2952. <dl class="item">
  2953. <a id="defaultEvent"></a>
  2954. <dt><pre><a href="sdl2.html#defaultEvent"><span class="Identifier">defaultEvent</span></a> <span class="Other">=</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">(</span><span class="Identifier">kind</span><span class="Other">:</span> <span class="Identifier">QuitEvent</span><span class="Other">)</span></pre></dt>
  2955. <dd>
  2956. a default &quot;initialized&quot; Event
  2957. </dd>
  2958. </dl></div>
  2959. <div class="section" id="10">
  2960. <h1><a class="toc-backref" href="#10">Consts</a></h1>
  2961. <dl class="item">
  2962. <a id="LibName"></a>
  2963. <dt><pre><a href="sdl2.html#LibName"><span class="Identifier">LibName</span></a> <span class="Other">=</span> <span class="StringLit">&quot;libSDL2.so&quot;</span></pre></dt>
  2964. <dd>
  2965. </dd>
  2966. <a id="K_UNKNOWN"></a>
  2967. <dt><pre><a href="sdl2.html#K_UNKNOWN"><span class="Identifier">K_UNKNOWN</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">0</span></pre></dt>
  2968. <dd>
  2969. </dd>
  2970. <a id="K_BACKSPACE"></a>
  2971. <dt><pre><a href="sdl2.html#K_BACKSPACE"><span class="Identifier">K_BACKSPACE</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">8'i32</span></pre></dt>
  2972. <dd>
  2973. </dd>
  2974. <a id="K_TAB"></a>
  2975. <dt><pre><a href="sdl2.html#K_TAB"><span class="Identifier">K_TAB</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">9'i32</span></pre></dt>
  2976. <dd>
  2977. </dd>
  2978. <a id="K_RETURN"></a>
  2979. <dt><pre><a href="sdl2.html#K_RETURN"><span class="Identifier">K_RETURN</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">13'i32</span></pre></dt>
  2980. <dd>
  2981. </dd>
  2982. <a id="K_ESCAPE"></a>
  2983. <dt><pre><a href="sdl2.html#K_ESCAPE"><span class="Identifier">K_ESCAPE</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">27'i32</span></pre></dt>
  2984. <dd>
  2985. </dd>
  2986. <a id="K_SPACE"></a>
  2987. <dt><pre><a href="sdl2.html#K_SPACE"><span class="Identifier">K_SPACE</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">32'i32</span></pre></dt>
  2988. <dd>
  2989. </dd>
  2990. <a id="K_EXCLAIM"></a>
  2991. <dt><pre><a href="sdl2.html#K_EXCLAIM"><span class="Identifier">K_EXCLAIM</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">33'i32</span></pre></dt>
  2992. <dd>
  2993. </dd>
  2994. <a id="K_QUOTEDBL"></a>
  2995. <dt><pre><a href="sdl2.html#K_QUOTEDBL"><span class="Identifier">K_QUOTEDBL</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">34'i32</span></pre></dt>
  2996. <dd>
  2997. </dd>
  2998. <a id="K_HASH"></a>
  2999. <dt><pre><a href="sdl2.html#K_HASH"><span class="Identifier">K_HASH</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">35'i32</span></pre></dt>
  3000. <dd>
  3001. </dd>
  3002. <a id="K_DOLLAR"></a>
  3003. <dt><pre><a href="sdl2.html#K_DOLLAR"><span class="Identifier">K_DOLLAR</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">36'i32</span></pre></dt>
  3004. <dd>
  3005. </dd>
  3006. <a id="K_PERCENT"></a>
  3007. <dt><pre><a href="sdl2.html#K_PERCENT"><span class="Identifier">K_PERCENT</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">37'i32</span></pre></dt>
  3008. <dd>
  3009. </dd>
  3010. <a id="K_AMPERSAND"></a>
  3011. <dt><pre><a href="sdl2.html#K_AMPERSAND"><span class="Identifier">K_AMPERSAND</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">38'i32</span></pre></dt>
  3012. <dd>
  3013. </dd>
  3014. <a id="K_QUOTE"></a>
  3015. <dt><pre><a href="sdl2.html#K_QUOTE"><span class="Identifier">K_QUOTE</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">39'i32</span></pre></dt>
  3016. <dd>
  3017. </dd>
  3018. <a id="K_LEFTPAREN"></a>
  3019. <dt><pre><a href="sdl2.html#K_LEFTPAREN"><span class="Identifier">K_LEFTPAREN</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">40'i32</span></pre></dt>
  3020. <dd>
  3021. </dd>
  3022. <a id="K_RIGHTPAREN"></a>
  3023. <dt><pre><a href="sdl2.html#K_RIGHTPAREN"><span class="Identifier">K_RIGHTPAREN</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">41'i32</span></pre></dt>
  3024. <dd>
  3025. </dd>
  3026. <a id="K_ASTERISK"></a>
  3027. <dt><pre><a href="sdl2.html#K_ASTERISK"><span class="Identifier">K_ASTERISK</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">42'i32</span></pre></dt>
  3028. <dd>
  3029. </dd>
  3030. <a id="K_PLUS"></a>
  3031. <dt><pre><a href="sdl2.html#K_PLUS"><span class="Identifier">K_PLUS</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">43'i32</span></pre></dt>
  3032. <dd>
  3033. </dd>
  3034. <a id="K_COMMA"></a>
  3035. <dt><pre><a href="sdl2.html#K_COMMA"><span class="Identifier">K_COMMA</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">44'i32</span></pre></dt>
  3036. <dd>
  3037. </dd>
  3038. <a id="K_MINUS"></a>
  3039. <dt><pre><a href="sdl2.html#K_MINUS"><span class="Identifier">K_MINUS</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">45'i32</span></pre></dt>
  3040. <dd>
  3041. </dd>
  3042. <a id="K_PERIOD"></a>
  3043. <dt><pre><a href="sdl2.html#K_PERIOD"><span class="Identifier">K_PERIOD</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">46'i32</span></pre></dt>
  3044. <dd>
  3045. </dd>
  3046. <a id="K_SLASH"></a>
  3047. <dt><pre><a href="sdl2.html#K_SLASH"><span class="Identifier">K_SLASH</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">47'i32</span></pre></dt>
  3048. <dd>
  3049. </dd>
  3050. <a id="K_0"></a>
  3051. <dt><pre><a href="sdl2.html#K_0"><span class="Identifier">K_0</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">48'i32</span></pre></dt>
  3052. <dd>
  3053. </dd>
  3054. <a id="K_1"></a>
  3055. <dt><pre><a href="sdl2.html#K_1"><span class="Identifier">K_1</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">49'i32</span></pre></dt>
  3056. <dd>
  3057. </dd>
  3058. <a id="K_2"></a>
  3059. <dt><pre><a href="sdl2.html#K_2"><span class="Identifier">K_2</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">50'i32</span></pre></dt>
  3060. <dd>
  3061. </dd>
  3062. <a id="K_3"></a>
  3063. <dt><pre><a href="sdl2.html#K_3"><span class="Identifier">K_3</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">51'i32</span></pre></dt>
  3064. <dd>
  3065. </dd>
  3066. <a id="K_4"></a>
  3067. <dt><pre><a href="sdl2.html#K_4"><span class="Identifier">K_4</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">52'i32</span></pre></dt>
  3068. <dd>
  3069. </dd>
  3070. <a id="K_5"></a>
  3071. <dt><pre><a href="sdl2.html#K_5"><span class="Identifier">K_5</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">53'i32</span></pre></dt>
  3072. <dd>
  3073. </dd>
  3074. <a id="K_6"></a>
  3075. <dt><pre><a href="sdl2.html#K_6"><span class="Identifier">K_6</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">54'i32</span></pre></dt>
  3076. <dd>
  3077. </dd>
  3078. <a id="K_7"></a>
  3079. <dt><pre><a href="sdl2.html#K_7"><span class="Identifier">K_7</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">55'i32</span></pre></dt>
  3080. <dd>
  3081. </dd>
  3082. <a id="K_8"></a>
  3083. <dt><pre><a href="sdl2.html#K_8"><span class="Identifier">K_8</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">56'i32</span></pre></dt>
  3084. <dd>
  3085. </dd>
  3086. <a id="K_9"></a>
  3087. <dt><pre><a href="sdl2.html#K_9"><span class="Identifier">K_9</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">57'i32</span></pre></dt>
  3088. <dd>
  3089. </dd>
  3090. <a id="K_COLON"></a>
  3091. <dt><pre><a href="sdl2.html#K_COLON"><span class="Identifier">K_COLON</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">58'i32</span></pre></dt>
  3092. <dd>
  3093. </dd>
  3094. <a id="K_SEMICOLON"></a>
  3095. <dt><pre><a href="sdl2.html#K_SEMICOLON"><span class="Identifier">K_SEMICOLON</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">59'i32</span></pre></dt>
  3096. <dd>
  3097. </dd>
  3098. <a id="K_LESS"></a>
  3099. <dt><pre><a href="sdl2.html#K_LESS"><span class="Identifier">K_LESS</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">60'i32</span></pre></dt>
  3100. <dd>
  3101. </dd>
  3102. <a id="K_EQUALS"></a>
  3103. <dt><pre><a href="sdl2.html#K_EQUALS"><span class="Identifier">K_EQUALS</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">61'i32</span></pre></dt>
  3104. <dd>
  3105. </dd>
  3106. <a id="K_GREATER"></a>
  3107. <dt><pre><a href="sdl2.html#K_GREATER"><span class="Identifier">K_GREATER</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">62'i32</span></pre></dt>
  3108. <dd>
  3109. </dd>
  3110. <a id="K_QUESTION"></a>
  3111. <dt><pre><a href="sdl2.html#K_QUESTION"><span class="Identifier">K_QUESTION</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">63'i32</span></pre></dt>
  3112. <dd>
  3113. </dd>
  3114. <a id="K_AT"></a>
  3115. <dt><pre><a href="sdl2.html#K_AT"><span class="Identifier">K_AT</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">64'i32</span></pre></dt>
  3116. <dd>
  3117. </dd>
  3118. <a id="K_LEFTBRACKET"></a>
  3119. <dt><pre><a href="sdl2.html#K_LEFTBRACKET"><span class="Identifier">K_LEFTBRACKET</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">91'i32</span></pre></dt>
  3120. <dd>
  3121. </dd>
  3122. <a id="K_BACKSLASH"></a>
  3123. <dt><pre><a href="sdl2.html#K_BACKSLASH"><span class="Identifier">K_BACKSLASH</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">92'i32</span></pre></dt>
  3124. <dd>
  3125. </dd>
  3126. <a id="K_RIGHTBRACKET"></a>
  3127. <dt><pre><a href="sdl2.html#K_RIGHTBRACKET"><span class="Identifier">K_RIGHTBRACKET</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">93'i32</span></pre></dt>
  3128. <dd>
  3129. </dd>
  3130. <a id="K_CARET"></a>
  3131. <dt><pre><a href="sdl2.html#K_CARET"><span class="Identifier">K_CARET</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">94'i32</span></pre></dt>
  3132. <dd>
  3133. </dd>
  3134. <a id="K_UNDERSCORE"></a>
  3135. <dt><pre><a href="sdl2.html#K_UNDERSCORE"><span class="Identifier">K_UNDERSCORE</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">95'i32</span></pre></dt>
  3136. <dd>
  3137. </dd>
  3138. <a id="K_BACKQUOTE"></a>
  3139. <dt><pre><a href="sdl2.html#K_BACKQUOTE"><span class="Identifier">K_BACKQUOTE</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">96'i32</span></pre></dt>
  3140. <dd>
  3141. </dd>
  3142. <a id="K_a"></a>
  3143. <dt><pre><a href="sdl2.html#K_a"><span class="Identifier">K_a</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">97'i32</span></pre></dt>
  3144. <dd>
  3145. </dd>
  3146. <a id="K_b"></a>
  3147. <dt><pre><a href="sdl2.html#K_b"><span class="Identifier">K_b</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">98'i32</span></pre></dt>
  3148. <dd>
  3149. </dd>
  3150. <a id="K_c"></a>
  3151. <dt><pre><a href="sdl2.html#K_c"><span class="Identifier">K_c</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">99'i32</span></pre></dt>
  3152. <dd>
  3153. </dd>
  3154. <a id="K_d"></a>
  3155. <dt><pre><a href="sdl2.html#K_d"><span class="Identifier">K_d</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">100'i32</span></pre></dt>
  3156. <dd>
  3157. </dd>
  3158. <a id="K_e"></a>
  3159. <dt><pre><a href="sdl2.html#K_e"><span class="Identifier">K_e</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">101'i32</span></pre></dt>
  3160. <dd>
  3161. </dd>
  3162. <a id="K_f"></a>
  3163. <dt><pre><a href="sdl2.html#K_f"><span class="Identifier">K_f</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">102'i32</span></pre></dt>
  3164. <dd>
  3165. </dd>
  3166. <a id="K_g"></a>
  3167. <dt><pre><a href="sdl2.html#K_g"><span class="Identifier">K_g</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">103'i32</span></pre></dt>
  3168. <dd>
  3169. </dd>
  3170. <a id="K_h"></a>
  3171. <dt><pre><a href="sdl2.html#K_h"><span class="Identifier">K_h</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">104'i32</span></pre></dt>
  3172. <dd>
  3173. </dd>
  3174. <a id="K_i"></a>
  3175. <dt><pre><a href="sdl2.html#K_i"><span class="Identifier">K_i</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">105'i32</span></pre></dt>
  3176. <dd>
  3177. </dd>
  3178. <a id="K_j"></a>
  3179. <dt><pre><a href="sdl2.html#K_j"><span class="Identifier">K_j</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">106'i32</span></pre></dt>
  3180. <dd>
  3181. </dd>
  3182. <a id="K_k"></a>
  3183. <dt><pre><a href="sdl2.html#K_k"><span class="Identifier">K_k</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">107'i32</span></pre></dt>
  3184. <dd>
  3185. </dd>
  3186. <a id="K_l"></a>
  3187. <dt><pre><a href="sdl2.html#K_l"><span class="Identifier">K_l</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">108'i32</span></pre></dt>
  3188. <dd>
  3189. </dd>
  3190. <a id="K_m"></a>
  3191. <dt><pre><a href="sdl2.html#K_m"><span class="Identifier">K_m</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">109'i32</span></pre></dt>
  3192. <dd>
  3193. </dd>
  3194. <a id="K_n"></a>
  3195. <dt><pre><a href="sdl2.html#K_n"><span class="Identifier">K_n</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">110'i32</span></pre></dt>
  3196. <dd>
  3197. </dd>
  3198. <a id="K_o"></a>
  3199. <dt><pre><a href="sdl2.html#K_o"><span class="Identifier">K_o</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">111'i32</span></pre></dt>
  3200. <dd>
  3201. </dd>
  3202. <a id="K_p"></a>
  3203. <dt><pre><a href="sdl2.html#K_p"><span class="Identifier">K_p</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">112'i32</span></pre></dt>
  3204. <dd>
  3205. </dd>
  3206. <a id="K_q"></a>
  3207. <dt><pre><a href="sdl2.html#K_q"><span class="Identifier">K_q</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">113'i32</span></pre></dt>
  3208. <dd>
  3209. </dd>
  3210. <a id="K_r"></a>
  3211. <dt><pre><a href="sdl2.html#K_r"><span class="Identifier">K_r</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">114'i32</span></pre></dt>
  3212. <dd>
  3213. </dd>
  3214. <a id="K_s"></a>
  3215. <dt><pre><a href="sdl2.html#K_s"><span class="Identifier">K_s</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">115'i32</span></pre></dt>
  3216. <dd>
  3217. </dd>
  3218. <a id="K_t"></a>
  3219. <dt><pre><a href="sdl2.html#K_t"><span class="Identifier">K_t</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">116'i32</span></pre></dt>
  3220. <dd>
  3221. </dd>
  3222. <a id="K_u"></a>
  3223. <dt><pre><a href="sdl2.html#K_u"><span class="Identifier">K_u</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">117'i32</span></pre></dt>
  3224. <dd>
  3225. </dd>
  3226. <a id="K_v"></a>
  3227. <dt><pre><a href="sdl2.html#K_v"><span class="Identifier">K_v</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">118'i32</span></pre></dt>
  3228. <dd>
  3229. </dd>
  3230. <a id="K_w"></a>
  3231. <dt><pre><a href="sdl2.html#K_w"><span class="Identifier">K_w</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">119'i32</span></pre></dt>
  3232. <dd>
  3233. </dd>
  3234. <a id="K_x"></a>
  3235. <dt><pre><a href="sdl2.html#K_x"><span class="Identifier">K_x</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">120'i32</span></pre></dt>
  3236. <dd>
  3237. </dd>
  3238. <a id="K_y"></a>
  3239. <dt><pre><a href="sdl2.html#K_y"><span class="Identifier">K_y</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">121'i32</span></pre></dt>
  3240. <dd>
  3241. </dd>
  3242. <a id="K_z"></a>
  3243. <dt><pre><a href="sdl2.html#K_z"><span class="Identifier">K_z</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">122'i32</span></pre></dt>
  3244. <dd>
  3245. </dd>
  3246. <a id="K_DELETE"></a>
  3247. <dt><pre><a href="sdl2.html#K_DELETE"><span class="Identifier">K_DELETE</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">127'i32</span></pre></dt>
  3248. <dd>
  3249. </dd>
  3250. <a id="K_CAPSLOCK"></a>
  3251. <dt><pre><a href="sdl2.html#K_CAPSLOCK"><span class="Identifier">K_CAPSLOCK</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741881'i32</span></pre></dt>
  3252. <dd>
  3253. </dd>
  3254. <a id="K_F1"></a>
  3255. <dt><pre><a href="sdl2.html#K_F1"><span class="Identifier">K_F1</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741882'i32</span></pre></dt>
  3256. <dd>
  3257. </dd>
  3258. <a id="K_F2"></a>
  3259. <dt><pre><a href="sdl2.html#K_F2"><span class="Identifier">K_F2</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741883'i32</span></pre></dt>
  3260. <dd>
  3261. </dd>
  3262. <a id="K_F3"></a>
  3263. <dt><pre><a href="sdl2.html#K_F3"><span class="Identifier">K_F3</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741884'i32</span></pre></dt>
  3264. <dd>
  3265. </dd>
  3266. <a id="K_F4"></a>
  3267. <dt><pre><a href="sdl2.html#K_F4"><span class="Identifier">K_F4</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741885'i32</span></pre></dt>
  3268. <dd>
  3269. </dd>
  3270. <a id="K_F5"></a>
  3271. <dt><pre><a href="sdl2.html#K_F5"><span class="Identifier">K_F5</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741886'i32</span></pre></dt>
  3272. <dd>
  3273. </dd>
  3274. <a id="K_F6"></a>
  3275. <dt><pre><a href="sdl2.html#K_F6"><span class="Identifier">K_F6</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741887'i32</span></pre></dt>
  3276. <dd>
  3277. </dd>
  3278. <a id="K_F7"></a>
  3279. <dt><pre><a href="sdl2.html#K_F7"><span class="Identifier">K_F7</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741888'i32</span></pre></dt>
  3280. <dd>
  3281. </dd>
  3282. <a id="K_F8"></a>
  3283. <dt><pre><a href="sdl2.html#K_F8"><span class="Identifier">K_F8</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741889'i32</span></pre></dt>
  3284. <dd>
  3285. </dd>
  3286. <a id="K_F9"></a>
  3287. <dt><pre><a href="sdl2.html#K_F9"><span class="Identifier">K_F9</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741890'i32</span></pre></dt>
  3288. <dd>
  3289. </dd>
  3290. <a id="K_F10"></a>
  3291. <dt><pre><a href="sdl2.html#K_F10"><span class="Identifier">K_F10</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741891'i32</span></pre></dt>
  3292. <dd>
  3293. </dd>
  3294. <a id="K_F11"></a>
  3295. <dt><pre><a href="sdl2.html#K_F11"><span class="Identifier">K_F11</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741892'i32</span></pre></dt>
  3296. <dd>
  3297. </dd>
  3298. <a id="K_F12"></a>
  3299. <dt><pre><a href="sdl2.html#K_F12"><span class="Identifier">K_F12</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741893'i32</span></pre></dt>
  3300. <dd>
  3301. </dd>
  3302. <a id="K_PRINTSCREEN"></a>
  3303. <dt><pre><a href="sdl2.html#K_PRINTSCREEN"><span class="Identifier">K_PRINTSCREEN</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741894'i32</span></pre></dt>
  3304. <dd>
  3305. </dd>
  3306. <a id="K_SCROLLLOCK"></a>
  3307. <dt><pre><a href="sdl2.html#K_SCROLLLOCK"><span class="Identifier">K_SCROLLLOCK</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741895'i32</span></pre></dt>
  3308. <dd>
  3309. </dd>
  3310. <a id="K_PAUSE"></a>
  3311. <dt><pre><a href="sdl2.html#K_PAUSE"><span class="Identifier">K_PAUSE</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741896'i32</span></pre></dt>
  3312. <dd>
  3313. </dd>
  3314. <a id="K_INSERT"></a>
  3315. <dt><pre><a href="sdl2.html#K_INSERT"><span class="Identifier">K_INSERT</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741897'i32</span></pre></dt>
  3316. <dd>
  3317. </dd>
  3318. <a id="K_HOME"></a>
  3319. <dt><pre><a href="sdl2.html#K_HOME"><span class="Identifier">K_HOME</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741898'i32</span></pre></dt>
  3320. <dd>
  3321. </dd>
  3322. <a id="K_PAGEUP"></a>
  3323. <dt><pre><a href="sdl2.html#K_PAGEUP"><span class="Identifier">K_PAGEUP</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741899'i32</span></pre></dt>
  3324. <dd>
  3325. </dd>
  3326. <a id="K_END"></a>
  3327. <dt><pre><a href="sdl2.html#K_END"><span class="Identifier">K_END</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741901'i32</span></pre></dt>
  3328. <dd>
  3329. </dd>
  3330. <a id="K_PAGEDOWN"></a>
  3331. <dt><pre><a href="sdl2.html#K_PAGEDOWN"><span class="Identifier">K_PAGEDOWN</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741902'i32</span></pre></dt>
  3332. <dd>
  3333. </dd>
  3334. <a id="K_RIGHT"></a>
  3335. <dt><pre><a href="sdl2.html#K_RIGHT"><span class="Identifier">K_RIGHT</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741903'i32</span></pre></dt>
  3336. <dd>
  3337. </dd>
  3338. <a id="K_LEFT"></a>
  3339. <dt><pre><a href="sdl2.html#K_LEFT"><span class="Identifier">K_LEFT</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741904'i32</span></pre></dt>
  3340. <dd>
  3341. </dd>
  3342. <a id="K_DOWN"></a>
  3343. <dt><pre><a href="sdl2.html#K_DOWN"><span class="Identifier">K_DOWN</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741905'i32</span></pre></dt>
  3344. <dd>
  3345. </dd>
  3346. <a id="K_UP"></a>
  3347. <dt><pre><a href="sdl2.html#K_UP"><span class="Identifier">K_UP</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741906'i32</span></pre></dt>
  3348. <dd>
  3349. </dd>
  3350. <a id="K_NUMLOCKCLEAR"></a>
  3351. <dt><pre><a href="sdl2.html#K_NUMLOCKCLEAR"><span class="Identifier">K_NUMLOCKCLEAR</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741907'i32</span></pre></dt>
  3352. <dd>
  3353. </dd>
  3354. <a id="K_KP_DIVIDE"></a>
  3355. <dt><pre><a href="sdl2.html#K_KP_DIVIDE"><span class="Identifier">K_KP_DIVIDE</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741908'i32</span></pre></dt>
  3356. <dd>
  3357. </dd>
  3358. <a id="K_KP_MULTIPLY"></a>
  3359. <dt><pre><a href="sdl2.html#K_KP_MULTIPLY"><span class="Identifier">K_KP_MULTIPLY</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741909'i32</span></pre></dt>
  3360. <dd>
  3361. </dd>
  3362. <a id="K_KP_MINUS"></a>
  3363. <dt><pre><a href="sdl2.html#K_KP_MINUS"><span class="Identifier">K_KP_MINUS</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741910'i32</span></pre></dt>
  3364. <dd>
  3365. </dd>
  3366. <a id="K_KP_PLUS"></a>
  3367. <dt><pre><a href="sdl2.html#K_KP_PLUS"><span class="Identifier">K_KP_PLUS</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741911'i32</span></pre></dt>
  3368. <dd>
  3369. </dd>
  3370. <a id="K_KP_ENTER"></a>
  3371. <dt><pre><a href="sdl2.html#K_KP_ENTER"><span class="Identifier">K_KP_ENTER</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741912'i32</span></pre></dt>
  3372. <dd>
  3373. </dd>
  3374. <a id="K_KP_1"></a>
  3375. <dt><pre><a href="sdl2.html#K_KP_1"><span class="Identifier">K_KP_1</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741913'i32</span></pre></dt>
  3376. <dd>
  3377. </dd>
  3378. <a id="K_KP_2"></a>
  3379. <dt><pre><a href="sdl2.html#K_KP_2"><span class="Identifier">K_KP_2</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741914'i32</span></pre></dt>
  3380. <dd>
  3381. </dd>
  3382. <a id="K_KP_3"></a>
  3383. <dt><pre><a href="sdl2.html#K_KP_3"><span class="Identifier">K_KP_3</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741915'i32</span></pre></dt>
  3384. <dd>
  3385. </dd>
  3386. <a id="K_KP_4"></a>
  3387. <dt><pre><a href="sdl2.html#K_KP_4"><span class="Identifier">K_KP_4</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741916'i32</span></pre></dt>
  3388. <dd>
  3389. </dd>
  3390. <a id="K_KP_5"></a>
  3391. <dt><pre><a href="sdl2.html#K_KP_5"><span class="Identifier">K_KP_5</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741917'i32</span></pre></dt>
  3392. <dd>
  3393. </dd>
  3394. <a id="K_KP_6"></a>
  3395. <dt><pre><a href="sdl2.html#K_KP_6"><span class="Identifier">K_KP_6</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741918'i32</span></pre></dt>
  3396. <dd>
  3397. </dd>
  3398. <a id="K_KP_7"></a>
  3399. <dt><pre><a href="sdl2.html#K_KP_7"><span class="Identifier">K_KP_7</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741919'i32</span></pre></dt>
  3400. <dd>
  3401. </dd>
  3402. <a id="K_KP_8"></a>
  3403. <dt><pre><a href="sdl2.html#K_KP_8"><span class="Identifier">K_KP_8</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741920'i32</span></pre></dt>
  3404. <dd>
  3405. </dd>
  3406. <a id="K_KP_9"></a>
  3407. <dt><pre><a href="sdl2.html#K_KP_9"><span class="Identifier">K_KP_9</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741921'i32</span></pre></dt>
  3408. <dd>
  3409. </dd>
  3410. <a id="K_KP_0"></a>
  3411. <dt><pre><a href="sdl2.html#K_KP_0"><span class="Identifier">K_KP_0</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741922'i32</span></pre></dt>
  3412. <dd>
  3413. </dd>
  3414. <a id="K_KP_PERIOD"></a>
  3415. <dt><pre><a href="sdl2.html#K_KP_PERIOD"><span class="Identifier">K_KP_PERIOD</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741923'i32</span></pre></dt>
  3416. <dd>
  3417. </dd>
  3418. <a id="K_APPLICATION"></a>
  3419. <dt><pre><a href="sdl2.html#K_APPLICATION"><span class="Identifier">K_APPLICATION</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741925'i32</span></pre></dt>
  3420. <dd>
  3421. </dd>
  3422. <a id="K_POWER"></a>
  3423. <dt><pre><a href="sdl2.html#K_POWER"><span class="Identifier">K_POWER</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741926'i32</span></pre></dt>
  3424. <dd>
  3425. </dd>
  3426. <a id="K_KP_EQUALS"></a>
  3427. <dt><pre><a href="sdl2.html#K_KP_EQUALS"><span class="Identifier">K_KP_EQUALS</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741927'i32</span></pre></dt>
  3428. <dd>
  3429. </dd>
  3430. <a id="K_F13"></a>
  3431. <dt><pre><a href="sdl2.html#K_F13"><span class="Identifier">K_F13</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741928'i32</span></pre></dt>
  3432. <dd>
  3433. </dd>
  3434. <a id="K_F14"></a>
  3435. <dt><pre><a href="sdl2.html#K_F14"><span class="Identifier">K_F14</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741929'i32</span></pre></dt>
  3436. <dd>
  3437. </dd>
  3438. <a id="K_F15"></a>
  3439. <dt><pre><a href="sdl2.html#K_F15"><span class="Identifier">K_F15</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741930'i32</span></pre></dt>
  3440. <dd>
  3441. </dd>
  3442. <a id="K_F16"></a>
  3443. <dt><pre><a href="sdl2.html#K_F16"><span class="Identifier">K_F16</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741931'i32</span></pre></dt>
  3444. <dd>
  3445. </dd>
  3446. <a id="K_F17"></a>
  3447. <dt><pre><a href="sdl2.html#K_F17"><span class="Identifier">K_F17</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741932'i32</span></pre></dt>
  3448. <dd>
  3449. </dd>
  3450. <a id="K_F18"></a>
  3451. <dt><pre><a href="sdl2.html#K_F18"><span class="Identifier">K_F18</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741933'i32</span></pre></dt>
  3452. <dd>
  3453. </dd>
  3454. <a id="K_F19"></a>
  3455. <dt><pre><a href="sdl2.html#K_F19"><span class="Identifier">K_F19</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741934'i32</span></pre></dt>
  3456. <dd>
  3457. </dd>
  3458. <a id="K_F20"></a>
  3459. <dt><pre><a href="sdl2.html#K_F20"><span class="Identifier">K_F20</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741935'i32</span></pre></dt>
  3460. <dd>
  3461. </dd>
  3462. <a id="K_F21"></a>
  3463. <dt><pre><a href="sdl2.html#K_F21"><span class="Identifier">K_F21</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741936'i32</span></pre></dt>
  3464. <dd>
  3465. </dd>
  3466. <a id="K_F22"></a>
  3467. <dt><pre><a href="sdl2.html#K_F22"><span class="Identifier">K_F22</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741937'i32</span></pre></dt>
  3468. <dd>
  3469. </dd>
  3470. <a id="K_F23"></a>
  3471. <dt><pre><a href="sdl2.html#K_F23"><span class="Identifier">K_F23</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741938'i32</span></pre></dt>
  3472. <dd>
  3473. </dd>
  3474. <a id="K_F24"></a>
  3475. <dt><pre><a href="sdl2.html#K_F24"><span class="Identifier">K_F24</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741939'i32</span></pre></dt>
  3476. <dd>
  3477. </dd>
  3478. <a id="K_EXECUTE"></a>
  3479. <dt><pre><a href="sdl2.html#K_EXECUTE"><span class="Identifier">K_EXECUTE</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741940'i32</span></pre></dt>
  3480. <dd>
  3481. </dd>
  3482. <a id="K_HELP"></a>
  3483. <dt><pre><a href="sdl2.html#K_HELP"><span class="Identifier">K_HELP</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741941'i32</span></pre></dt>
  3484. <dd>
  3485. </dd>
  3486. <a id="K_MENU"></a>
  3487. <dt><pre><a href="sdl2.html#K_MENU"><span class="Identifier">K_MENU</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741942'i32</span></pre></dt>
  3488. <dd>
  3489. </dd>
  3490. <a id="K_SELECT"></a>
  3491. <dt><pre><a href="sdl2.html#K_SELECT"><span class="Identifier">K_SELECT</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741943'i32</span></pre></dt>
  3492. <dd>
  3493. </dd>
  3494. <a id="K_STOP"></a>
  3495. <dt><pre><a href="sdl2.html#K_STOP"><span class="Identifier">K_STOP</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741944'i32</span></pre></dt>
  3496. <dd>
  3497. </dd>
  3498. <a id="K_AGAIN"></a>
  3499. <dt><pre><a href="sdl2.html#K_AGAIN"><span class="Identifier">K_AGAIN</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741945'i32</span></pre></dt>
  3500. <dd>
  3501. </dd>
  3502. <a id="K_UNDO"></a>
  3503. <dt><pre><a href="sdl2.html#K_UNDO"><span class="Identifier">K_UNDO</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741946'i32</span></pre></dt>
  3504. <dd>
  3505. </dd>
  3506. <a id="K_CUT"></a>
  3507. <dt><pre><a href="sdl2.html#K_CUT"><span class="Identifier">K_CUT</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741947'i32</span></pre></dt>
  3508. <dd>
  3509. </dd>
  3510. <a id="K_COPY"></a>
  3511. <dt><pre><a href="sdl2.html#K_COPY"><span class="Identifier">K_COPY</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741948'i32</span></pre></dt>
  3512. <dd>
  3513. </dd>
  3514. <a id="K_PASTE"></a>
  3515. <dt><pre><a href="sdl2.html#K_PASTE"><span class="Identifier">K_PASTE</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741949'i32</span></pre></dt>
  3516. <dd>
  3517. </dd>
  3518. <a id="K_FIND"></a>
  3519. <dt><pre><a href="sdl2.html#K_FIND"><span class="Identifier">K_FIND</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741950'i32</span></pre></dt>
  3520. <dd>
  3521. </dd>
  3522. <a id="K_MUTE"></a>
  3523. <dt><pre><a href="sdl2.html#K_MUTE"><span class="Identifier">K_MUTE</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741951'i32</span></pre></dt>
  3524. <dd>
  3525. </dd>
  3526. <a id="K_VOLUMEUP"></a>
  3527. <dt><pre><a href="sdl2.html#K_VOLUMEUP"><span class="Identifier">K_VOLUMEUP</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741952'i32</span></pre></dt>
  3528. <dd>
  3529. </dd>
  3530. <a id="K_VOLUMEDOWN"></a>
  3531. <dt><pre><a href="sdl2.html#K_VOLUMEDOWN"><span class="Identifier">K_VOLUMEDOWN</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741953'i32</span></pre></dt>
  3532. <dd>
  3533. </dd>
  3534. <a id="K_KP_COMMA"></a>
  3535. <dt><pre><a href="sdl2.html#K_KP_COMMA"><span class="Identifier">K_KP_COMMA</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741957'i32</span></pre></dt>
  3536. <dd>
  3537. </dd>
  3538. <a id="K_KP_EQUALSAS400"></a>
  3539. <dt><pre><a href="sdl2.html#K_KP_EQUALSAS400"><span class="Identifier">K_KP_EQUALSAS400</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741958'i32</span></pre></dt>
  3540. <dd>
  3541. </dd>
  3542. <a id="K_ALTERASE"></a>
  3543. <dt><pre><a href="sdl2.html#K_ALTERASE"><span class="Identifier">K_ALTERASE</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741977'i32</span></pre></dt>
  3544. <dd>
  3545. </dd>
  3546. <a id="K_SYSREQ"></a>
  3547. <dt><pre><a href="sdl2.html#K_SYSREQ"><span class="Identifier">K_SYSREQ</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741978'i32</span></pre></dt>
  3548. <dd>
  3549. </dd>
  3550. <a id="K_CANCEL"></a>
  3551. <dt><pre><a href="sdl2.html#K_CANCEL"><span class="Identifier">K_CANCEL</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741979'i32</span></pre></dt>
  3552. <dd>
  3553. </dd>
  3554. <a id="K_CLEAR"></a>
  3555. <dt><pre><a href="sdl2.html#K_CLEAR"><span class="Identifier">K_CLEAR</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741980'i32</span></pre></dt>
  3556. <dd>
  3557. </dd>
  3558. <a id="K_PRIOR"></a>
  3559. <dt><pre><a href="sdl2.html#K_PRIOR"><span class="Identifier">K_PRIOR</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741981'i32</span></pre></dt>
  3560. <dd>
  3561. </dd>
  3562. <a id="K_RETURN2"></a>
  3563. <dt><pre><a href="sdl2.html#K_RETURN2"><span class="Identifier">K_RETURN2</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741982'i32</span></pre></dt>
  3564. <dd>
  3565. </dd>
  3566. <a id="K_SEPARATOR"></a>
  3567. <dt><pre><a href="sdl2.html#K_SEPARATOR"><span class="Identifier">K_SEPARATOR</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741983'i32</span></pre></dt>
  3568. <dd>
  3569. </dd>
  3570. <a id="K_OUT"></a>
  3571. <dt><pre><a href="sdl2.html#K_OUT"><span class="Identifier">K_OUT</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741984'i32</span></pre></dt>
  3572. <dd>
  3573. </dd>
  3574. <a id="K_OPER"></a>
  3575. <dt><pre><a href="sdl2.html#K_OPER"><span class="Identifier">K_OPER</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741985'i32</span></pre></dt>
  3576. <dd>
  3577. </dd>
  3578. <a id="K_CLEARAGAIN"></a>
  3579. <dt><pre><a href="sdl2.html#K_CLEARAGAIN"><span class="Identifier">K_CLEARAGAIN</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741986'i32</span></pre></dt>
  3580. <dd>
  3581. </dd>
  3582. <a id="K_CRSEL"></a>
  3583. <dt><pre><a href="sdl2.html#K_CRSEL"><span class="Identifier">K_CRSEL</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741987'i32</span></pre></dt>
  3584. <dd>
  3585. </dd>
  3586. <a id="K_EXSEL"></a>
  3587. <dt><pre><a href="sdl2.html#K_EXSEL"><span class="Identifier">K_EXSEL</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073741988'i32</span></pre></dt>
  3588. <dd>
  3589. </dd>
  3590. <a id="K_KP_00"></a>
  3591. <dt><pre><a href="sdl2.html#K_KP_00"><span class="Identifier">K_KP_00</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742000'i32</span></pre></dt>
  3592. <dd>
  3593. </dd>
  3594. <a id="K_KP_000"></a>
  3595. <dt><pre><a href="sdl2.html#K_KP_000"><span class="Identifier">K_KP_000</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742001'i32</span></pre></dt>
  3596. <dd>
  3597. </dd>
  3598. <a id="K_THOUSANDSSEPARATOR"></a>
  3599. <dt><pre><a href="sdl2.html#K_THOUSANDSSEPARATOR"><span class="Identifier">K_THOUSANDSSEPARATOR</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742002'i32</span></pre></dt>
  3600. <dd>
  3601. </dd>
  3602. <a id="K_DECIMALSEPARATOR"></a>
  3603. <dt><pre><a href="sdl2.html#K_DECIMALSEPARATOR"><span class="Identifier">K_DECIMALSEPARATOR</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742003'i32</span></pre></dt>
  3604. <dd>
  3605. </dd>
  3606. <a id="K_CURRENCYUNIT"></a>
  3607. <dt><pre><a href="sdl2.html#K_CURRENCYUNIT"><span class="Identifier">K_CURRENCYUNIT</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742004'i32</span></pre></dt>
  3608. <dd>
  3609. </dd>
  3610. <a id="K_CURRENCYSUBUNIT"></a>
  3611. <dt><pre><a href="sdl2.html#K_CURRENCYSUBUNIT"><span class="Identifier">K_CURRENCYSUBUNIT</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742005'i32</span></pre></dt>
  3612. <dd>
  3613. </dd>
  3614. <a id="K_KP_LEFTPAREN"></a>
  3615. <dt><pre><a href="sdl2.html#K_KP_LEFTPAREN"><span class="Identifier">K_KP_LEFTPAREN</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742006'i32</span></pre></dt>
  3616. <dd>
  3617. </dd>
  3618. <a id="K_KP_RIGHTPAREN"></a>
  3619. <dt><pre><a href="sdl2.html#K_KP_RIGHTPAREN"><span class="Identifier">K_KP_RIGHTPAREN</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742007'i32</span></pre></dt>
  3620. <dd>
  3621. </dd>
  3622. <a id="K_KP_LEFTBRACE"></a>
  3623. <dt><pre><a href="sdl2.html#K_KP_LEFTBRACE"><span class="Identifier">K_KP_LEFTBRACE</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742008'i32</span></pre></dt>
  3624. <dd>
  3625. </dd>
  3626. <a id="K_KP_RIGHTBRACE"></a>
  3627. <dt><pre><a href="sdl2.html#K_KP_RIGHTBRACE"><span class="Identifier">K_KP_RIGHTBRACE</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742009'i32</span></pre></dt>
  3628. <dd>
  3629. </dd>
  3630. <a id="K_KP_TAB"></a>
  3631. <dt><pre><a href="sdl2.html#K_KP_TAB"><span class="Identifier">K_KP_TAB</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742010'i32</span></pre></dt>
  3632. <dd>
  3633. </dd>
  3634. <a id="K_KP_BACKSPACE"></a>
  3635. <dt><pre><a href="sdl2.html#K_KP_BACKSPACE"><span class="Identifier">K_KP_BACKSPACE</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742011'i32</span></pre></dt>
  3636. <dd>
  3637. </dd>
  3638. <a id="K_KP_A"></a>
  3639. <dt><pre><a href="sdl2.html#K_KP_A"><span class="Identifier">K_KP_A</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742012'i32</span></pre></dt>
  3640. <dd>
  3641. </dd>
  3642. <a id="K_KP_B"></a>
  3643. <dt><pre><a href="sdl2.html#K_KP_B"><span class="Identifier">K_KP_B</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742013'i32</span></pre></dt>
  3644. <dd>
  3645. </dd>
  3646. <a id="K_KP_C"></a>
  3647. <dt><pre><a href="sdl2.html#K_KP_C"><span class="Identifier">K_KP_C</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742014'i32</span></pre></dt>
  3648. <dd>
  3649. </dd>
  3650. <a id="K_KP_D"></a>
  3651. <dt><pre><a href="sdl2.html#K_KP_D"><span class="Identifier">K_KP_D</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742015'i32</span></pre></dt>
  3652. <dd>
  3653. </dd>
  3654. <a id="K_KP_E"></a>
  3655. <dt><pre><a href="sdl2.html#K_KP_E"><span class="Identifier">K_KP_E</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742016'i32</span></pre></dt>
  3656. <dd>
  3657. </dd>
  3658. <a id="K_KP_F"></a>
  3659. <dt><pre><a href="sdl2.html#K_KP_F"><span class="Identifier">K_KP_F</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742017'i32</span></pre></dt>
  3660. <dd>
  3661. </dd>
  3662. <a id="K_KP_XOR"></a>
  3663. <dt><pre><a href="sdl2.html#K_KP_XOR"><span class="Identifier">K_KP_XOR</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742018'i32</span></pre></dt>
  3664. <dd>
  3665. </dd>
  3666. <a id="K_KP_POWER"></a>
  3667. <dt><pre><a href="sdl2.html#K_KP_POWER"><span class="Identifier">K_KP_POWER</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742019'i32</span></pre></dt>
  3668. <dd>
  3669. </dd>
  3670. <a id="K_KP_PERCENT"></a>
  3671. <dt><pre><a href="sdl2.html#K_KP_PERCENT"><span class="Identifier">K_KP_PERCENT</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742020'i32</span></pre></dt>
  3672. <dd>
  3673. </dd>
  3674. <a id="K_KP_LESS"></a>
  3675. <dt><pre><a href="sdl2.html#K_KP_LESS"><span class="Identifier">K_KP_LESS</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742021'i32</span></pre></dt>
  3676. <dd>
  3677. </dd>
  3678. <a id="K_KP_GREATER"></a>
  3679. <dt><pre><a href="sdl2.html#K_KP_GREATER"><span class="Identifier">K_KP_GREATER</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742022'i32</span></pre></dt>
  3680. <dd>
  3681. </dd>
  3682. <a id="K_KP_AMPERSAND"></a>
  3683. <dt><pre><a href="sdl2.html#K_KP_AMPERSAND"><span class="Identifier">K_KP_AMPERSAND</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742023'i32</span></pre></dt>
  3684. <dd>
  3685. </dd>
  3686. <a id="K_KP_DBLAMPERSAND"></a>
  3687. <dt><pre><a href="sdl2.html#K_KP_DBLAMPERSAND"><span class="Identifier">K_KP_DBLAMPERSAND</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742024'i32</span></pre></dt>
  3688. <dd>
  3689. </dd>
  3690. <a id="K_KP_VERTICALBAR"></a>
  3691. <dt><pre><a href="sdl2.html#K_KP_VERTICALBAR"><span class="Identifier">K_KP_VERTICALBAR</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742025'i32</span></pre></dt>
  3692. <dd>
  3693. </dd>
  3694. <a id="K_KP_DBLVERTICALBAR"></a>
  3695. <dt><pre><a href="sdl2.html#K_KP_DBLVERTICALBAR"><span class="Identifier">K_KP_DBLVERTICALBAR</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742026'i32</span></pre></dt>
  3696. <dd>
  3697. </dd>
  3698. <a id="K_KP_COLON"></a>
  3699. <dt><pre><a href="sdl2.html#K_KP_COLON"><span class="Identifier">K_KP_COLON</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742027'i32</span></pre></dt>
  3700. <dd>
  3701. </dd>
  3702. <a id="K_KP_HASH"></a>
  3703. <dt><pre><a href="sdl2.html#K_KP_HASH"><span class="Identifier">K_KP_HASH</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742028'i32</span></pre></dt>
  3704. <dd>
  3705. </dd>
  3706. <a id="K_KP_SPACE"></a>
  3707. <dt><pre><a href="sdl2.html#K_KP_SPACE"><span class="Identifier">K_KP_SPACE</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742029'i32</span></pre></dt>
  3708. <dd>
  3709. </dd>
  3710. <a id="K_KP_AT"></a>
  3711. <dt><pre><a href="sdl2.html#K_KP_AT"><span class="Identifier">K_KP_AT</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742030'i32</span></pre></dt>
  3712. <dd>
  3713. </dd>
  3714. <a id="K_KP_EXCLAM"></a>
  3715. <dt><pre><a href="sdl2.html#K_KP_EXCLAM"><span class="Identifier">K_KP_EXCLAM</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742031'i32</span></pre></dt>
  3716. <dd>
  3717. </dd>
  3718. <a id="K_KP_MEMSTORE"></a>
  3719. <dt><pre><a href="sdl2.html#K_KP_MEMSTORE"><span class="Identifier">K_KP_MEMSTORE</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742032'i32</span></pre></dt>
  3720. <dd>
  3721. </dd>
  3722. <a id="K_KP_MEMRECALL"></a>
  3723. <dt><pre><a href="sdl2.html#K_KP_MEMRECALL"><span class="Identifier">K_KP_MEMRECALL</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742033'i32</span></pre></dt>
  3724. <dd>
  3725. </dd>
  3726. <a id="K_KP_MEMCLEAR"></a>
  3727. <dt><pre><a href="sdl2.html#K_KP_MEMCLEAR"><span class="Identifier">K_KP_MEMCLEAR</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742034'i32</span></pre></dt>
  3728. <dd>
  3729. </dd>
  3730. <a id="K_KP_MEMADD"></a>
  3731. <dt><pre><a href="sdl2.html#K_KP_MEMADD"><span class="Identifier">K_KP_MEMADD</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742035'i32</span></pre></dt>
  3732. <dd>
  3733. </dd>
  3734. <a id="K_KP_MEMSUBTRACT"></a>
  3735. <dt><pre><a href="sdl2.html#K_KP_MEMSUBTRACT"><span class="Identifier">K_KP_MEMSUBTRACT</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742036'i32</span></pre></dt>
  3736. <dd>
  3737. </dd>
  3738. <a id="K_KP_MEMMULTIPLY"></a>
  3739. <dt><pre><a href="sdl2.html#K_KP_MEMMULTIPLY"><span class="Identifier">K_KP_MEMMULTIPLY</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742037'i32</span></pre></dt>
  3740. <dd>
  3741. </dd>
  3742. <a id="K_KP_MEMDIVIDE"></a>
  3743. <dt><pre><a href="sdl2.html#K_KP_MEMDIVIDE"><span class="Identifier">K_KP_MEMDIVIDE</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742038'i32</span></pre></dt>
  3744. <dd>
  3745. </dd>
  3746. <a id="K_KP_PLUSMINUS"></a>
  3747. <dt><pre><a href="sdl2.html#K_KP_PLUSMINUS"><span class="Identifier">K_KP_PLUSMINUS</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742039'i32</span></pre></dt>
  3748. <dd>
  3749. </dd>
  3750. <a id="K_KP_CLEAR"></a>
  3751. <dt><pre><a href="sdl2.html#K_KP_CLEAR"><span class="Identifier">K_KP_CLEAR</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742040'i32</span></pre></dt>
  3752. <dd>
  3753. </dd>
  3754. <a id="K_KP_CLEARENTRY"></a>
  3755. <dt><pre><a href="sdl2.html#K_KP_CLEARENTRY"><span class="Identifier">K_KP_CLEARENTRY</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742041'i32</span></pre></dt>
  3756. <dd>
  3757. </dd>
  3758. <a id="K_KP_BINARY"></a>
  3759. <dt><pre><a href="sdl2.html#K_KP_BINARY"><span class="Identifier">K_KP_BINARY</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742042'i32</span></pre></dt>
  3760. <dd>
  3761. </dd>
  3762. <a id="K_KP_OCTAL"></a>
  3763. <dt><pre><a href="sdl2.html#K_KP_OCTAL"><span class="Identifier">K_KP_OCTAL</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742043'i32</span></pre></dt>
  3764. <dd>
  3765. </dd>
  3766. <a id="K_KP_DECIMAL"></a>
  3767. <dt><pre><a href="sdl2.html#K_KP_DECIMAL"><span class="Identifier">K_KP_DECIMAL</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742044'i32</span></pre></dt>
  3768. <dd>
  3769. </dd>
  3770. <a id="K_KP_HEXADECIMAL"></a>
  3771. <dt><pre><a href="sdl2.html#K_KP_HEXADECIMAL"><span class="Identifier">K_KP_HEXADECIMAL</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742045'i32</span></pre></dt>
  3772. <dd>
  3773. </dd>
  3774. <a id="K_LCTRL"></a>
  3775. <dt><pre><a href="sdl2.html#K_LCTRL"><span class="Identifier">K_LCTRL</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742048'i32</span></pre></dt>
  3776. <dd>
  3777. </dd>
  3778. <a id="K_LSHIFT"></a>
  3779. <dt><pre><a href="sdl2.html#K_LSHIFT"><span class="Identifier">K_LSHIFT</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742049'i32</span></pre></dt>
  3780. <dd>
  3781. </dd>
  3782. <a id="K_LALT"></a>
  3783. <dt><pre><a href="sdl2.html#K_LALT"><span class="Identifier">K_LALT</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742050'i32</span></pre></dt>
  3784. <dd>
  3785. </dd>
  3786. <a id="K_LGUI"></a>
  3787. <dt><pre><a href="sdl2.html#K_LGUI"><span class="Identifier">K_LGUI</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742051'i32</span></pre></dt>
  3788. <dd>
  3789. </dd>
  3790. <a id="K_RCTRL"></a>
  3791. <dt><pre><a href="sdl2.html#K_RCTRL"><span class="Identifier">K_RCTRL</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742052'i32</span></pre></dt>
  3792. <dd>
  3793. </dd>
  3794. <a id="K_RSHIFT"></a>
  3795. <dt><pre><a href="sdl2.html#K_RSHIFT"><span class="Identifier">K_RSHIFT</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742053'i32</span></pre></dt>
  3796. <dd>
  3797. </dd>
  3798. <a id="K_RALT"></a>
  3799. <dt><pre><a href="sdl2.html#K_RALT"><span class="Identifier">K_RALT</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742054'i32</span></pre></dt>
  3800. <dd>
  3801. </dd>
  3802. <a id="K_RGUI"></a>
  3803. <dt><pre><a href="sdl2.html#K_RGUI"><span class="Identifier">K_RGUI</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742055'i32</span></pre></dt>
  3804. <dd>
  3805. </dd>
  3806. <a id="K_MODE"></a>
  3807. <dt><pre><a href="sdl2.html#K_MODE"><span class="Identifier">K_MODE</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742081'i32</span></pre></dt>
  3808. <dd>
  3809. </dd>
  3810. <a id="K_AUDIONEXT"></a>
  3811. <dt><pre><a href="sdl2.html#K_AUDIONEXT"><span class="Identifier">K_AUDIONEXT</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742082'i32</span></pre></dt>
  3812. <dd>
  3813. </dd>
  3814. <a id="K_AUDIOPREV"></a>
  3815. <dt><pre><a href="sdl2.html#K_AUDIOPREV"><span class="Identifier">K_AUDIOPREV</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742083'i32</span></pre></dt>
  3816. <dd>
  3817. </dd>
  3818. <a id="K_AUDIOSTOP"></a>
  3819. <dt><pre><a href="sdl2.html#K_AUDIOSTOP"><span class="Identifier">K_AUDIOSTOP</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742084'i32</span></pre></dt>
  3820. <dd>
  3821. </dd>
  3822. <a id="K_AUDIOPLAY"></a>
  3823. <dt><pre><a href="sdl2.html#K_AUDIOPLAY"><span class="Identifier">K_AUDIOPLAY</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742085'i32</span></pre></dt>
  3824. <dd>
  3825. </dd>
  3826. <a id="K_AUDIOMUTE"></a>
  3827. <dt><pre><a href="sdl2.html#K_AUDIOMUTE"><span class="Identifier">K_AUDIOMUTE</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742086'i32</span></pre></dt>
  3828. <dd>
  3829. </dd>
  3830. <a id="K_MEDIASELECT"></a>
  3831. <dt><pre><a href="sdl2.html#K_MEDIASELECT"><span class="Identifier">K_MEDIASELECT</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742087'i32</span></pre></dt>
  3832. <dd>
  3833. </dd>
  3834. <a id="K_WWW"></a>
  3835. <dt><pre><a href="sdl2.html#K_WWW"><span class="Identifier">K_WWW</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742088'i32</span></pre></dt>
  3836. <dd>
  3837. </dd>
  3838. <a id="K_MAIL"></a>
  3839. <dt><pre><a href="sdl2.html#K_MAIL"><span class="Identifier">K_MAIL</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742089'i32</span></pre></dt>
  3840. <dd>
  3841. </dd>
  3842. <a id="K_CALCULATOR"></a>
  3843. <dt><pre><a href="sdl2.html#K_CALCULATOR"><span class="Identifier">K_CALCULATOR</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742090'i32</span></pre></dt>
  3844. <dd>
  3845. </dd>
  3846. <a id="K_COMPUTER"></a>
  3847. <dt><pre><a href="sdl2.html#K_COMPUTER"><span class="Identifier">K_COMPUTER</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742091'i32</span></pre></dt>
  3848. <dd>
  3849. </dd>
  3850. <a id="K_AC_SEARCH"></a>
  3851. <dt><pre><a href="sdl2.html#K_AC_SEARCH"><span class="Identifier">K_AC_SEARCH</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742092'i32</span></pre></dt>
  3852. <dd>
  3853. </dd>
  3854. <a id="K_AC_HOME"></a>
  3855. <dt><pre><a href="sdl2.html#K_AC_HOME"><span class="Identifier">K_AC_HOME</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742093'i32</span></pre></dt>
  3856. <dd>
  3857. </dd>
  3858. <a id="K_AC_BACK"></a>
  3859. <dt><pre><a href="sdl2.html#K_AC_BACK"><span class="Identifier">K_AC_BACK</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742094'i32</span></pre></dt>
  3860. <dd>
  3861. </dd>
  3862. <a id="K_AC_FORWARD"></a>
  3863. <dt><pre><a href="sdl2.html#K_AC_FORWARD"><span class="Identifier">K_AC_FORWARD</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742095'i32</span></pre></dt>
  3864. <dd>
  3865. </dd>
  3866. <a id="K_AC_STOP"></a>
  3867. <dt><pre><a href="sdl2.html#K_AC_STOP"><span class="Identifier">K_AC_STOP</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742096'i32</span></pre></dt>
  3868. <dd>
  3869. </dd>
  3870. <a id="K_AC_REFRESH"></a>
  3871. <dt><pre><a href="sdl2.html#K_AC_REFRESH"><span class="Identifier">K_AC_REFRESH</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742097'i32</span></pre></dt>
  3872. <dd>
  3873. </dd>
  3874. <a id="K_AC_BOOKMARKS"></a>
  3875. <dt><pre><a href="sdl2.html#K_AC_BOOKMARKS"><span class="Identifier">K_AC_BOOKMARKS</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742098'i32</span></pre></dt>
  3876. <dd>
  3877. </dd>
  3878. <a id="K_BRIGHTNESSDOWN"></a>
  3879. <dt><pre><a href="sdl2.html#K_BRIGHTNESSDOWN"><span class="Identifier">K_BRIGHTNESSDOWN</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742099'i32</span></pre></dt>
  3880. <dd>
  3881. </dd>
  3882. <a id="K_BRIGHTNESSUP"></a>
  3883. <dt><pre><a href="sdl2.html#K_BRIGHTNESSUP"><span class="Identifier">K_BRIGHTNESSUP</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742100'i32</span></pre></dt>
  3884. <dd>
  3885. </dd>
  3886. <a id="K_DISPLAYSWITCH"></a>
  3887. <dt><pre><a href="sdl2.html#K_DISPLAYSWITCH"><span class="Identifier">K_DISPLAYSWITCH</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742101'i32</span></pre></dt>
  3888. <dd>
  3889. </dd>
  3890. <a id="K_KBDILLUMTOGGLE"></a>
  3891. <dt><pre><a href="sdl2.html#K_KBDILLUMTOGGLE"><span class="Identifier">K_KBDILLUMTOGGLE</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742102'i32</span></pre></dt>
  3892. <dd>
  3893. </dd>
  3894. <a id="K_KBDILLUMDOWN"></a>
  3895. <dt><pre><a href="sdl2.html#K_KBDILLUMDOWN"><span class="Identifier">K_KBDILLUMDOWN</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742103'i32</span></pre></dt>
  3896. <dd>
  3897. </dd>
  3898. <a id="K_KBDILLUMUP"></a>
  3899. <dt><pre><a href="sdl2.html#K_KBDILLUMUP"><span class="Identifier">K_KBDILLUMUP</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742104'i32</span></pre></dt>
  3900. <dd>
  3901. </dd>
  3902. <a id="K_EJECT"></a>
  3903. <dt><pre><a href="sdl2.html#K_EJECT"><span class="Identifier">K_EJECT</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742105'i32</span></pre></dt>
  3904. <dd>
  3905. </dd>
  3906. <a id="K_SLEEP"></a>
  3907. <dt><pre><a href="sdl2.html#K_SLEEP"><span class="Identifier">K_SLEEP</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">1073742106'i32</span></pre></dt>
  3908. <dd>
  3909. </dd>
  3910. <a id="SDL_TEXTEDITINGEVENT_TEXT_SIZE"></a>
  3911. <dt><pre><a href="sdl2.html#SDL_TEXTEDITINGEVENT_TEXT_SIZE"><span class="Identifier">SDL_TEXTEDITINGEVENT_TEXT_SIZE</span></a> <span class="Other">=</span> <span class="DecNumber">32</span></pre></dt>
  3912. <dd>
  3913. </dd>
  3914. <a id="SDL_TEXTINPUTEVENT_TEXT_SIZE"></a>
  3915. <dt><pre><a href="sdl2.html#SDL_TEXTINPUTEVENT_TEXT_SIZE"><span class="Identifier">SDL_TEXTINPUTEVENT_TEXT_SIZE</span></a> <span class="Other">=</span> <span class="DecNumber">32</span></pre></dt>
  3916. <dd>
  3917. </dd>
  3918. <a id="SDL_GL_CONTEXT_PROFILE_CORE"></a>
  3919. <dt><pre><a href="sdl2.html#SDL_GL_CONTEXT_PROFILE_CORE"><span class="Identifier">SDL_GL_CONTEXT_PROFILE_CORE</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">0x00000001</span></pre></dt>
  3920. <dd>
  3921. </dd>
  3922. <a id="SDL_GL_CONTEXT_PROFILE_COMPATIBILITY"></a>
  3923. <dt><pre><a href="sdl2.html#SDL_GL_CONTEXT_PROFILE_COMPATIBILITY"><span class="Identifier">SDL_GL_CONTEXT_PROFILE_COMPATIBILITY</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">0x00000002</span></pre></dt>
  3924. <dd>
  3925. </dd>
  3926. <a id="SDL_GL_CONTEXT_PROFILE_ES"></a>
  3927. <dt><pre><a href="sdl2.html#SDL_GL_CONTEXT_PROFILE_ES"><span class="Identifier">SDL_GL_CONTEXT_PROFILE_ES</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">0x00000004</span></pre></dt>
  3928. <dd>
  3929. </dd>
  3930. <a id="SDL_GL_CONTEXT_DEBUG_FLAG"></a>
  3931. <dt><pre><a href="sdl2.html#SDL_GL_CONTEXT_DEBUG_FLAG"><span class="Identifier">SDL_GL_CONTEXT_DEBUG_FLAG</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">0x00000001</span></pre></dt>
  3932. <dd>
  3933. </dd>
  3934. <a id="SDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG"></a>
  3935. <dt><pre><a href="sdl2.html#SDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG"><span class="Identifier">SDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">0x00000002</span></pre></dt>
  3936. <dd>
  3937. </dd>
  3938. <a id="SDL_GL_CONTEXT_ROBUST_ACCESS_FLAG"></a>
  3939. <dt><pre><a href="sdl2.html#SDL_GL_CONTEXT_ROBUST_ACCESS_FLAG"><span class="Identifier">SDL_GL_CONTEXT_ROBUST_ACCESS_FLAG</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">0x00000004</span></pre></dt>
  3940. <dd>
  3941. </dd>
  3942. <a id="SDL_GL_CONTEXT_RESET_ISOLATION_FLAG"></a>
  3943. <dt><pre><a href="sdl2.html#SDL_GL_CONTEXT_RESET_ISOLATION_FLAG"><span class="Identifier">SDL_GL_CONTEXT_RESET_ISOLATION_FLAG</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">0x00000008</span></pre></dt>
  3944. <dd>
  3945. </dd>
  3946. <a id="SDL_GL_CONTEXT_RELEASE_BEHAVIOR_NONE"></a>
  3947. <dt><pre><a href="sdl2.html#SDL_GL_CONTEXT_RELEASE_BEHAVIOR_NONE"><span class="Identifier">SDL_GL_CONTEXT_RELEASE_BEHAVIOR_NONE</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">0x00000000</span></pre></dt>
  3948. <dd>
  3949. </dd>
  3950. <a id="SDL_GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH"></a>
  3951. <dt><pre><a href="sdl2.html#SDL_GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH"><span class="Identifier">SDL_GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">0x00000001</span></pre></dt>
  3952. <dd>
  3953. </dd>
  3954. <a id="SDL_WINDOW_FULLSCREEN"></a>
  3955. <dt><pre><a href="sdl2.html#SDL_WINDOW_FULLSCREEN"><span class="Identifier">SDL_WINDOW_FULLSCREEN</span></a><span class="Other">:</span> <span class="Identifier">cuint</span> <span class="Other">=</span> <span class="DecNumber">0x00000001</span></pre></dt>
  3956. <dd>
  3957. </dd>
  3958. <a id="SDL_WINDOW_OPENGL"></a>
  3959. <dt><pre><a href="sdl2.html#SDL_WINDOW_OPENGL"><span class="Identifier">SDL_WINDOW_OPENGL</span></a><span class="Other">:</span> <span class="Identifier">cuint</span> <span class="Other">=</span> <span class="DecNumber">0x00000002</span></pre></dt>
  3960. <dd>
  3961. </dd>
  3962. <a id="SDL_WINDOW_SHOWN"></a>
  3963. <dt><pre><a href="sdl2.html#SDL_WINDOW_SHOWN"><span class="Identifier">SDL_WINDOW_SHOWN</span></a><span class="Other">:</span> <span class="Identifier">cuint</span> <span class="Other">=</span> <span class="DecNumber">0x00000004</span></pre></dt>
  3964. <dd>
  3965. </dd>
  3966. <a id="SDL_WINDOW_HIDDEN"></a>
  3967. <dt><pre><a href="sdl2.html#SDL_WINDOW_HIDDEN"><span class="Identifier">SDL_WINDOW_HIDDEN</span></a><span class="Other">:</span> <span class="Identifier">cuint</span> <span class="Other">=</span> <span class="DecNumber">0x00000008</span></pre></dt>
  3968. <dd>
  3969. </dd>
  3970. <a id="SDL_WINDOW_BORDERLESS"></a>
  3971. <dt><pre><a href="sdl2.html#SDL_WINDOW_BORDERLESS"><span class="Identifier">SDL_WINDOW_BORDERLESS</span></a><span class="Other">:</span> <span class="Identifier">cuint</span> <span class="Other">=</span> <span class="DecNumber">0x00000010</span></pre></dt>
  3972. <dd>
  3973. </dd>
  3974. <a id="SDL_WINDOW_RESIZABLE"></a>
  3975. <dt><pre><a href="sdl2.html#SDL_WINDOW_RESIZABLE"><span class="Identifier">SDL_WINDOW_RESIZABLE</span></a><span class="Other">:</span> <span class="Identifier">cuint</span> <span class="Other">=</span> <span class="DecNumber">0x00000020</span></pre></dt>
  3976. <dd>
  3977. </dd>
  3978. <a id="SDL_WINDOW_MINIMIZED"></a>
  3979. <dt><pre><a href="sdl2.html#SDL_WINDOW_MINIMIZED"><span class="Identifier">SDL_WINDOW_MINIMIZED</span></a><span class="Other">:</span> <span class="Identifier">cuint</span> <span class="Other">=</span> <span class="DecNumber">0x00000040</span></pre></dt>
  3980. <dd>
  3981. </dd>
  3982. <a id="SDL_WINDOW_MAXIMIZED"></a>
  3983. <dt><pre><a href="sdl2.html#SDL_WINDOW_MAXIMIZED"><span class="Identifier">SDL_WINDOW_MAXIMIZED</span></a><span class="Other">:</span> <span class="Identifier">cuint</span> <span class="Other">=</span> <span class="DecNumber">0x00000080</span></pre></dt>
  3984. <dd>
  3985. </dd>
  3986. <a id="SDL_WINDOW_INPUT_GRABBED"></a>
  3987. <dt><pre><a href="sdl2.html#SDL_WINDOW_INPUT_GRABBED"><span class="Identifier">SDL_WINDOW_INPUT_GRABBED</span></a><span class="Other">:</span> <span class="Identifier">cuint</span> <span class="Other">=</span> <span class="DecNumber">0x00000100</span></pre></dt>
  3988. <dd>
  3989. </dd>
  3990. <a id="SDL_WINDOW_INPUT_FOCUS"></a>
  3991. <dt><pre><a href="sdl2.html#SDL_WINDOW_INPUT_FOCUS"><span class="Identifier">SDL_WINDOW_INPUT_FOCUS</span></a><span class="Other">:</span> <span class="Identifier">cuint</span> <span class="Other">=</span> <span class="DecNumber">0x00000200</span></pre></dt>
  3992. <dd>
  3993. </dd>
  3994. <a id="SDL_WINDOW_MOUSE_FOCUS"></a>
  3995. <dt><pre><a href="sdl2.html#SDL_WINDOW_MOUSE_FOCUS"><span class="Identifier">SDL_WINDOW_MOUSE_FOCUS</span></a><span class="Other">:</span> <span class="Identifier">cuint</span> <span class="Other">=</span> <span class="DecNumber">0x00000400</span></pre></dt>
  3996. <dd>
  3997. </dd>
  3998. <a id="SDL_WINDOW_FULLSCREEN_DESKTOP"></a>
  3999. <dt><pre><a href="sdl2.html#SDL_WINDOW_FULLSCREEN_DESKTOP"><span class="Identifier">SDL_WINDOW_FULLSCREEN_DESKTOP</span></a><span class="Other">:</span> <span class="Identifier">cuint</span> <span class="Other">=</span> <span class="DecNumber">4097'u32</span></pre></dt>
  4000. <dd>
  4001. </dd>
  4002. <a id="SDL_WINDOW_FOREIGN"></a>
  4003. <dt><pre><a href="sdl2.html#SDL_WINDOW_FOREIGN"><span class="Identifier">SDL_WINDOW_FOREIGN</span></a><span class="Other">:</span> <span class="Identifier">cuint</span> <span class="Other">=</span> <span class="DecNumber">0x00000800</span></pre></dt>
  4004. <dd>
  4005. </dd>
  4006. <a id="SDL_WINDOW_ALLOW_HIGHDPI"></a>
  4007. <dt><pre><a href="sdl2.html#SDL_WINDOW_ALLOW_HIGHDPI"><span class="Identifier">SDL_WINDOW_ALLOW_HIGHDPI</span></a><span class="Other">:</span> <span class="Identifier">cuint</span> <span class="Other">=</span> <span class="DecNumber">0x00002000</span></pre></dt>
  4008. <dd>
  4009. </dd>
  4010. <a id="SDL_WINDOW_MOUSE_CAPTURE"></a>
  4011. <dt><pre><a href="sdl2.html#SDL_WINDOW_MOUSE_CAPTURE"><span class="Identifier">SDL_WINDOW_MOUSE_CAPTURE</span></a><span class="Other">:</span> <span class="Identifier">cuint</span> <span class="Other">=</span> <span class="DecNumber">0x00004000</span></pre></dt>
  4012. <dd>
  4013. </dd>
  4014. <a id="SDL_WINDOW_VULKAN"></a>
  4015. <dt><pre><a href="sdl2.html#SDL_WINDOW_VULKAN"><span class="Identifier">SDL_WINDOW_VULKAN</span></a><span class="Other">:</span> <span class="Identifier">cuint</span> <span class="Other">=</span> <span class="DecNumber">0x10000000</span></pre></dt>
  4016. <dd>
  4017. </dd>
  4018. <a id="SDL_FLIP_NONE"></a>
  4019. <dt><pre><a href="sdl2.html#SDL_FLIP_NONE"><span class="Identifier">SDL_FLIP_NONE</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">0x00000000</span></pre></dt>
  4020. <dd>
  4021. </dd>
  4022. <a id="SDL_FLIP_HORIZONTAL"></a>
  4023. <dt><pre><a href="sdl2.html#SDL_FLIP_HORIZONTAL"><span class="Identifier">SDL_FLIP_HORIZONTAL</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">0x00000001</span></pre></dt>
  4024. <dd>
  4025. </dd>
  4026. <a id="SDL_FLIP_VERTICAL"></a>
  4027. <dt><pre><a href="sdl2.html#SDL_FLIP_VERTICAL"><span class="Identifier">SDL_FLIP_VERTICAL</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">0x00000002</span></pre></dt>
  4028. <dd>
  4029. </dd>
  4030. <a id="SDL_ALPHA_OPAQUE"></a>
  4031. <dt><pre><a href="sdl2.html#SDL_ALPHA_OPAQUE"><span class="Identifier">SDL_ALPHA_OPAQUE</span></a> <span class="Other">=</span> <span class="DecNumber">255</span></pre></dt>
  4032. <dd>
  4033. </dd>
  4034. <a id="SDL_ALPHA_TRANSPARENT"></a>
  4035. <dt><pre><a href="sdl2.html#SDL_ALPHA_TRANSPARENT"><span class="Identifier">SDL_ALPHA_TRANSPARENT</span></a> <span class="Other">=</span> <span class="DecNumber">0</span></pre></dt>
  4036. <dd>
  4037. </dd>
  4038. <a id="SDL_PIXELTYPE_UNKNOWN"></a>
  4039. <dt><pre><a href="sdl2.html#SDL_PIXELTYPE_UNKNOWN"><span class="Identifier">SDL_PIXELTYPE_UNKNOWN</span></a> <span class="Other">=</span> <span class="DecNumber">0</span></pre></dt>
  4040. <dd>
  4041. </dd>
  4042. <a id="SDL_PIXELTYPE_INDEX1"></a>
  4043. <dt><pre><a href="sdl2.html#SDL_PIXELTYPE_INDEX1"><span class="Identifier">SDL_PIXELTYPE_INDEX1</span></a> <span class="Other">=</span> <span class="DecNumber">1</span></pre></dt>
  4044. <dd>
  4045. </dd>
  4046. <a id="SDL_PIXELTYPE_INDEX4"></a>
  4047. <dt><pre><a href="sdl2.html#SDL_PIXELTYPE_INDEX4"><span class="Identifier">SDL_PIXELTYPE_INDEX4</span></a> <span class="Other">=</span> <span class="DecNumber">2</span></pre></dt>
  4048. <dd>
  4049. </dd>
  4050. <a id="SDL_PIXELTYPE_INDEX8"></a>
  4051. <dt><pre><a href="sdl2.html#SDL_PIXELTYPE_INDEX8"><span class="Identifier">SDL_PIXELTYPE_INDEX8</span></a> <span class="Other">=</span> <span class="DecNumber">3</span></pre></dt>
  4052. <dd>
  4053. </dd>
  4054. <a id="SDL_PIXELTYPE_PACKED8"></a>
  4055. <dt><pre><a href="sdl2.html#SDL_PIXELTYPE_PACKED8"><span class="Identifier">SDL_PIXELTYPE_PACKED8</span></a> <span class="Other">=</span> <span class="DecNumber">4</span></pre></dt>
  4056. <dd>
  4057. </dd>
  4058. <a id="SDL_PIXELTYPE_PACKED16"></a>
  4059. <dt><pre><a href="sdl2.html#SDL_PIXELTYPE_PACKED16"><span class="Identifier">SDL_PIXELTYPE_PACKED16</span></a> <span class="Other">=</span> <span class="DecNumber">5</span></pre></dt>
  4060. <dd>
  4061. </dd>
  4062. <a id="SDL_PIXELTYPE_PACKED32"></a>
  4063. <dt><pre><a href="sdl2.html#SDL_PIXELTYPE_PACKED32"><span class="Identifier">SDL_PIXELTYPE_PACKED32</span></a> <span class="Other">=</span> <span class="DecNumber">6</span></pre></dt>
  4064. <dd>
  4065. </dd>
  4066. <a id="SDL_PIXELTYPE_ARRAYU8"></a>
  4067. <dt><pre><a href="sdl2.html#SDL_PIXELTYPE_ARRAYU8"><span class="Identifier">SDL_PIXELTYPE_ARRAYU8</span></a> <span class="Other">=</span> <span class="DecNumber">7</span></pre></dt>
  4068. <dd>
  4069. </dd>
  4070. <a id="SDL_PIXELTYPE_ARRAYU16"></a>
  4071. <dt><pre><a href="sdl2.html#SDL_PIXELTYPE_ARRAYU16"><span class="Identifier">SDL_PIXELTYPE_ARRAYU16</span></a> <span class="Other">=</span> <span class="DecNumber">8</span></pre></dt>
  4072. <dd>
  4073. </dd>
  4074. <a id="SDL_PIXELTYPE_ARRAYU32"></a>
  4075. <dt><pre><a href="sdl2.html#SDL_PIXELTYPE_ARRAYU32"><span class="Identifier">SDL_PIXELTYPE_ARRAYU32</span></a> <span class="Other">=</span> <span class="DecNumber">9</span></pre></dt>
  4076. <dd>
  4077. </dd>
  4078. <a id="SDL_PIXELTYPE_ARRAYF16"></a>
  4079. <dt><pre><a href="sdl2.html#SDL_PIXELTYPE_ARRAYF16"><span class="Identifier">SDL_PIXELTYPE_ARRAYF16</span></a> <span class="Other">=</span> <span class="DecNumber">10</span></pre></dt>
  4080. <dd>
  4081. </dd>
  4082. <a id="SDL_PIXELTYPE_ARRAYF32"></a>
  4083. <dt><pre><a href="sdl2.html#SDL_PIXELTYPE_ARRAYF32"><span class="Identifier">SDL_PIXELTYPE_ARRAYF32</span></a> <span class="Other">=</span> <span class="DecNumber">11</span></pre></dt>
  4084. <dd>
  4085. </dd>
  4086. <a id="SDL_BITMAPORDER_NONE"></a>
  4087. <dt><pre><a href="sdl2.html#SDL_BITMAPORDER_NONE"><span class="Identifier">SDL_BITMAPORDER_NONE</span></a> <span class="Other">=</span> <span class="DecNumber">0</span></pre></dt>
  4088. <dd>
  4089. </dd>
  4090. <a id="SDL_BITMAPORDER_4321"></a>
  4091. <dt><pre><a href="sdl2.html#SDL_BITMAPORDER_4321"><span class="Identifier">SDL_BITMAPORDER_4321</span></a> <span class="Other">=</span> <span class="DecNumber">1</span></pre></dt>
  4092. <dd>
  4093. </dd>
  4094. <a id="SDL_BITMAPORDER_1234"></a>
  4095. <dt><pre><a href="sdl2.html#SDL_BITMAPORDER_1234"><span class="Identifier">SDL_BITMAPORDER_1234</span></a> <span class="Other">=</span> <span class="DecNumber">2</span></pre></dt>
  4096. <dd>
  4097. </dd>
  4098. <a id="SDL_PACKEDORDER_NONE"></a>
  4099. <dt><pre><a href="sdl2.html#SDL_PACKEDORDER_NONE"><span class="Identifier">SDL_PACKEDORDER_NONE</span></a> <span class="Other">=</span> <span class="DecNumber">0</span></pre></dt>
  4100. <dd>
  4101. </dd>
  4102. <a id="SDL_PACKEDORDER_XRGB"></a>
  4103. <dt><pre><a href="sdl2.html#SDL_PACKEDORDER_XRGB"><span class="Identifier">SDL_PACKEDORDER_XRGB</span></a> <span class="Other">=</span> <span class="DecNumber">1</span></pre></dt>
  4104. <dd>
  4105. </dd>
  4106. <a id="SDL_PACKEDORDER_RGBX"></a>
  4107. <dt><pre><a href="sdl2.html#SDL_PACKEDORDER_RGBX"><span class="Identifier">SDL_PACKEDORDER_RGBX</span></a> <span class="Other">=</span> <span class="DecNumber">2</span></pre></dt>
  4108. <dd>
  4109. </dd>
  4110. <a id="SDL_PACKEDORDER_ARGB"></a>
  4111. <dt><pre><a href="sdl2.html#SDL_PACKEDORDER_ARGB"><span class="Identifier">SDL_PACKEDORDER_ARGB</span></a> <span class="Other">=</span> <span class="DecNumber">3</span></pre></dt>
  4112. <dd>
  4113. </dd>
  4114. <a id="SDL_PACKEDORDER_RGBA"></a>
  4115. <dt><pre><a href="sdl2.html#SDL_PACKEDORDER_RGBA"><span class="Identifier">SDL_PACKEDORDER_RGBA</span></a> <span class="Other">=</span> <span class="DecNumber">4</span></pre></dt>
  4116. <dd>
  4117. </dd>
  4118. <a id="SDL_PACKEDORDER_XBGR"></a>
  4119. <dt><pre><a href="sdl2.html#SDL_PACKEDORDER_XBGR"><span class="Identifier">SDL_PACKEDORDER_XBGR</span></a> <span class="Other">=</span> <span class="DecNumber">5</span></pre></dt>
  4120. <dd>
  4121. </dd>
  4122. <a id="SDL_PACKEDORDER_BGRX"></a>
  4123. <dt><pre><a href="sdl2.html#SDL_PACKEDORDER_BGRX"><span class="Identifier">SDL_PACKEDORDER_BGRX</span></a> <span class="Other">=</span> <span class="DecNumber">6</span></pre></dt>
  4124. <dd>
  4125. </dd>
  4126. <a id="SDL_PACKEDORDER_ABGR"></a>
  4127. <dt><pre><a href="sdl2.html#SDL_PACKEDORDER_ABGR"><span class="Identifier">SDL_PACKEDORDER_ABGR</span></a> <span class="Other">=</span> <span class="DecNumber">7</span></pre></dt>
  4128. <dd>
  4129. </dd>
  4130. <a id="SDL_PACKEDORDER_BGRA"></a>
  4131. <dt><pre><a href="sdl2.html#SDL_PACKEDORDER_BGRA"><span class="Identifier">SDL_PACKEDORDER_BGRA</span></a> <span class="Other">=</span> <span class="DecNumber">8</span></pre></dt>
  4132. <dd>
  4133. </dd>
  4134. <a id="SDL_ARRAYORDER_NONE"></a>
  4135. <dt><pre><a href="sdl2.html#SDL_ARRAYORDER_NONE"><span class="Identifier">SDL_ARRAYORDER_NONE</span></a> <span class="Other">=</span> <span class="DecNumber">0</span></pre></dt>
  4136. <dd>
  4137. </dd>
  4138. <a id="SDL_ARRAYORDER_RGB"></a>
  4139. <dt><pre><a href="sdl2.html#SDL_ARRAYORDER_RGB"><span class="Identifier">SDL_ARRAYORDER_RGB</span></a> <span class="Other">=</span> <span class="DecNumber">1</span></pre></dt>
  4140. <dd>
  4141. </dd>
  4142. <a id="SDL_ARRAYORDER_RGBA"></a>
  4143. <dt><pre><a href="sdl2.html#SDL_ARRAYORDER_RGBA"><span class="Identifier">SDL_ARRAYORDER_RGBA</span></a> <span class="Other">=</span> <span class="DecNumber">2</span></pre></dt>
  4144. <dd>
  4145. </dd>
  4146. <a id="SDL_ARRAYORDER_ARGB"></a>
  4147. <dt><pre><a href="sdl2.html#SDL_ARRAYORDER_ARGB"><span class="Identifier">SDL_ARRAYORDER_ARGB</span></a> <span class="Other">=</span> <span class="DecNumber">3</span></pre></dt>
  4148. <dd>
  4149. </dd>
  4150. <a id="SDL_ARRAYORDER_BGR"></a>
  4151. <dt><pre><a href="sdl2.html#SDL_ARRAYORDER_BGR"><span class="Identifier">SDL_ARRAYORDER_BGR</span></a> <span class="Other">=</span> <span class="DecNumber">4</span></pre></dt>
  4152. <dd>
  4153. </dd>
  4154. <a id="SDL_ARRAYORDER_BGRA"></a>
  4155. <dt><pre><a href="sdl2.html#SDL_ARRAYORDER_BGRA"><span class="Identifier">SDL_ARRAYORDER_BGRA</span></a> <span class="Other">=</span> <span class="DecNumber">5</span></pre></dt>
  4156. <dd>
  4157. </dd>
  4158. <a id="SDL_ARRAYORDER_ABGR"></a>
  4159. <dt><pre><a href="sdl2.html#SDL_ARRAYORDER_ABGR"><span class="Identifier">SDL_ARRAYORDER_ABGR</span></a> <span class="Other">=</span> <span class="DecNumber">6</span></pre></dt>
  4160. <dd>
  4161. </dd>
  4162. <a id="SDL_PACKEDLAYOUT_NONE"></a>
  4163. <dt><pre><a href="sdl2.html#SDL_PACKEDLAYOUT_NONE"><span class="Identifier">SDL_PACKEDLAYOUT_NONE</span></a> <span class="Other">=</span> <span class="DecNumber">0</span></pre></dt>
  4164. <dd>
  4165. </dd>
  4166. <a id="SDL_PACKEDLAYOUT_332"></a>
  4167. <dt><pre><a href="sdl2.html#SDL_PACKEDLAYOUT_332"><span class="Identifier">SDL_PACKEDLAYOUT_332</span></a> <span class="Other">=</span> <span class="DecNumber">1</span></pre></dt>
  4168. <dd>
  4169. </dd>
  4170. <a id="SDL_PACKEDLAYOUT_4444"></a>
  4171. <dt><pre><a href="sdl2.html#SDL_PACKEDLAYOUT_4444"><span class="Identifier">SDL_PACKEDLAYOUT_4444</span></a> <span class="Other">=</span> <span class="DecNumber">2</span></pre></dt>
  4172. <dd>
  4173. </dd>
  4174. <a id="SDL_PACKEDLAYOUT_1555"></a>
  4175. <dt><pre><a href="sdl2.html#SDL_PACKEDLAYOUT_1555"><span class="Identifier">SDL_PACKEDLAYOUT_1555</span></a> <span class="Other">=</span> <span class="DecNumber">3</span></pre></dt>
  4176. <dd>
  4177. </dd>
  4178. <a id="SDL_PACKEDLAYOUT_5551"></a>
  4179. <dt><pre><a href="sdl2.html#SDL_PACKEDLAYOUT_5551"><span class="Identifier">SDL_PACKEDLAYOUT_5551</span></a> <span class="Other">=</span> <span class="DecNumber">4</span></pre></dt>
  4180. <dd>
  4181. </dd>
  4182. <a id="SDL_PACKEDLAYOUT_565"></a>
  4183. <dt><pre><a href="sdl2.html#SDL_PACKEDLAYOUT_565"><span class="Identifier">SDL_PACKEDLAYOUT_565</span></a> <span class="Other">=</span> <span class="DecNumber">5</span></pre></dt>
  4184. <dd>
  4185. </dd>
  4186. <a id="SDL_PACKEDLAYOUT_8888"></a>
  4187. <dt><pre><a href="sdl2.html#SDL_PACKEDLAYOUT_8888"><span class="Identifier">SDL_PACKEDLAYOUT_8888</span></a> <span class="Other">=</span> <span class="DecNumber">6</span></pre></dt>
  4188. <dd>
  4189. </dd>
  4190. <a id="SDL_PACKEDLAYOUT_2101010"></a>
  4191. <dt><pre><a href="sdl2.html#SDL_PACKEDLAYOUT_2101010"><span class="Identifier">SDL_PACKEDLAYOUT_2101010</span></a> <span class="Other">=</span> <span class="DecNumber">7</span></pre></dt>
  4192. <dd>
  4193. </dd>
  4194. <a id="SDL_PACKEDLAYOUT_1010102"></a>
  4195. <dt><pre><a href="sdl2.html#SDL_PACKEDLAYOUT_1010102"><span class="Identifier">SDL_PACKEDLAYOUT_1010102</span></a> <span class="Other">=</span> <span class="DecNumber">8</span></pre></dt>
  4196. <dd>
  4197. </dd>
  4198. <a id="SDL_PIXELFORMAT_UNKNOWN"></a>
  4199. <dt><pre><a href="sdl2.html#SDL_PIXELFORMAT_UNKNOWN"><span class="Identifier">SDL_PIXELFORMAT_UNKNOWN</span></a> <span class="Other">=</span> <span class="DecNumber">0</span></pre></dt>
  4200. <dd>
  4201. </dd>
  4202. <a id="SDL_PIXELFORMAT_INDEX1LSB"></a>
  4203. <dt><pre><a href="sdl2.html#SDL_PIXELFORMAT_INDEX1LSB"><span class="Identifier">SDL_PIXELFORMAT_INDEX1LSB</span></a> <span class="Other">=</span> <span class="DecNumber">286261504'u</span></pre></dt>
  4204. <dd>
  4205. </dd>
  4206. <a id="SDL_PIXELFORMAT_INDEX1MSB"></a>
  4207. <dt><pre><a href="sdl2.html#SDL_PIXELFORMAT_INDEX1MSB"><span class="Identifier">SDL_PIXELFORMAT_INDEX1MSB</span></a> <span class="Other">=</span> <span class="DecNumber">287310080'u</span></pre></dt>
  4208. <dd>
  4209. </dd>
  4210. <a id="SDL_PIXELFORMAT_INDEX4LSB"></a>
  4211. <dt><pre><a href="sdl2.html#SDL_PIXELFORMAT_INDEX4LSB"><span class="Identifier">SDL_PIXELFORMAT_INDEX4LSB</span></a> <span class="Other">=</span> <span class="DecNumber">303039488'u</span></pre></dt>
  4212. <dd>
  4213. </dd>
  4214. <a id="SDL_PIXELFORMAT_INDEX4MSB"></a>
  4215. <dt><pre><a href="sdl2.html#SDL_PIXELFORMAT_INDEX4MSB"><span class="Identifier">SDL_PIXELFORMAT_INDEX4MSB</span></a> <span class="Other">=</span> <span class="DecNumber">304088064'u</span></pre></dt>
  4216. <dd>
  4217. </dd>
  4218. <a id="SDL_PIXELFORMAT_INDEX8"></a>
  4219. <dt><pre><a href="sdl2.html#SDL_PIXELFORMAT_INDEX8"><span class="Identifier">SDL_PIXELFORMAT_INDEX8</span></a> <span class="Other">=</span> <span class="DecNumber">318769153'u</span></pre></dt>
  4220. <dd>
  4221. </dd>
  4222. <a id="SDL_PIXELFORMAT_RGB332"></a>
  4223. <dt><pre><a href="sdl2.html#SDL_PIXELFORMAT_RGB332"><span class="Identifier">SDL_PIXELFORMAT_RGB332</span></a> <span class="Other">=</span> <span class="DecNumber">336660481'u</span></pre></dt>
  4224. <dd>
  4225. </dd>
  4226. <a id="SDL_PIXELFORMAT_RGB444"></a>
  4227. <dt><pre><a href="sdl2.html#SDL_PIXELFORMAT_RGB444"><span class="Identifier">SDL_PIXELFORMAT_RGB444</span></a> <span class="Other">=</span> <span class="DecNumber">353504258'u</span></pre></dt>
  4228. <dd>
  4229. </dd>
  4230. <a id="SDL_PIXELFORMAT_RGB555"></a>
  4231. <dt><pre><a href="sdl2.html#SDL_PIXELFORMAT_RGB555"><span class="Identifier">SDL_PIXELFORMAT_RGB555</span></a> <span class="Other">=</span> <span class="DecNumber">353570562'u</span></pre></dt>
  4232. <dd>
  4233. </dd>
  4234. <a id="SDL_PIXELFORMAT_BGR555"></a>
  4235. <dt><pre><a href="sdl2.html#SDL_PIXELFORMAT_BGR555"><span class="Identifier">SDL_PIXELFORMAT_BGR555</span></a> <span class="Other">=</span> <span class="DecNumber">357764866'u</span></pre></dt>
  4236. <dd>
  4237. </dd>
  4238. <a id="SDL_PIXELFORMAT_ARGB4444"></a>
  4239. <dt><pre><a href="sdl2.html#SDL_PIXELFORMAT_ARGB4444"><span class="Identifier">SDL_PIXELFORMAT_ARGB4444</span></a> <span class="Other">=</span> <span class="DecNumber">355602434'u</span></pre></dt>
  4240. <dd>
  4241. </dd>
  4242. <a id="SDL_PIXELFORMAT_RGBA4444"></a>
  4243. <dt><pre><a href="sdl2.html#SDL_PIXELFORMAT_RGBA4444"><span class="Identifier">SDL_PIXELFORMAT_RGBA4444</span></a> <span class="Other">=</span> <span class="DecNumber">356651010'u</span></pre></dt>
  4244. <dd>
  4245. </dd>
  4246. <a id="SDL_PIXELFORMAT_ABGR4444"></a>
  4247. <dt><pre><a href="sdl2.html#SDL_PIXELFORMAT_ABGR4444"><span class="Identifier">SDL_PIXELFORMAT_ABGR4444</span></a> <span class="Other">=</span> <span class="DecNumber">359796738'u</span></pre></dt>
  4248. <dd>
  4249. </dd>
  4250. <a id="SDL_PIXELFORMAT_BGRA4444"></a>
  4251. <dt><pre><a href="sdl2.html#SDL_PIXELFORMAT_BGRA4444"><span class="Identifier">SDL_PIXELFORMAT_BGRA4444</span></a> <span class="Other">=</span> <span class="DecNumber">360845314'u</span></pre></dt>
  4252. <dd>
  4253. </dd>
  4254. <a id="SDL_PIXELFORMAT_ARGB1555"></a>
  4255. <dt><pre><a href="sdl2.html#SDL_PIXELFORMAT_ARGB1555"><span class="Identifier">SDL_PIXELFORMAT_ARGB1555</span></a> <span class="Other">=</span> <span class="DecNumber">355667970'u</span></pre></dt>
  4256. <dd>
  4257. </dd>
  4258. <a id="SDL_PIXELFORMAT_RGBA5551"></a>
  4259. <dt><pre><a href="sdl2.html#SDL_PIXELFORMAT_RGBA5551"><span class="Identifier">SDL_PIXELFORMAT_RGBA5551</span></a> <span class="Other">=</span> <span class="DecNumber">356782082'u</span></pre></dt>
  4260. <dd>
  4261. </dd>
  4262. <a id="SDL_PIXELFORMAT_ABGR1555"></a>
  4263. <dt><pre><a href="sdl2.html#SDL_PIXELFORMAT_ABGR1555"><span class="Identifier">SDL_PIXELFORMAT_ABGR1555</span></a> <span class="Other">=</span> <span class="DecNumber">359862274'u</span></pre></dt>
  4264. <dd>
  4265. </dd>
  4266. <a id="SDL_PIXELFORMAT_BGRA5551"></a>
  4267. <dt><pre><a href="sdl2.html#SDL_PIXELFORMAT_BGRA5551"><span class="Identifier">SDL_PIXELFORMAT_BGRA5551</span></a> <span class="Other">=</span> <span class="DecNumber">360976386'u</span></pre></dt>
  4268. <dd>
  4269. </dd>
  4270. <a id="SDL_PIXELFORMAT_RGB565"></a>
  4271. <dt><pre><a href="sdl2.html#SDL_PIXELFORMAT_RGB565"><span class="Identifier">SDL_PIXELFORMAT_RGB565</span></a> <span class="Other">=</span> <span class="DecNumber">353701890'u</span></pre></dt>
  4272. <dd>
  4273. </dd>
  4274. <a id="SDL_PIXELFORMAT_BGR565"></a>
  4275. <dt><pre><a href="sdl2.html#SDL_PIXELFORMAT_BGR565"><span class="Identifier">SDL_PIXELFORMAT_BGR565</span></a> <span class="Other">=</span> <span class="DecNumber">357896194'u</span></pre></dt>
  4276. <dd>
  4277. </dd>
  4278. <a id="SDL_PIXELFORMAT_RGB24"></a>
  4279. <dt><pre><a href="sdl2.html#SDL_PIXELFORMAT_RGB24"><span class="Identifier">SDL_PIXELFORMAT_RGB24</span></a> <span class="Other">=</span> <span class="DecNumber">386930691'u</span></pre></dt>
  4280. <dd>
  4281. </dd>
  4282. <a id="SDL_PIXELFORMAT_BGR24"></a>
  4283. <dt><pre><a href="sdl2.html#SDL_PIXELFORMAT_BGR24"><span class="Identifier">SDL_PIXELFORMAT_BGR24</span></a> <span class="Other">=</span> <span class="DecNumber">390076419'u</span></pre></dt>
  4284. <dd>
  4285. </dd>
  4286. <a id="SDL_PIXELFORMAT_RGB888"></a>
  4287. <dt><pre><a href="sdl2.html#SDL_PIXELFORMAT_RGB888"><span class="Identifier">SDL_PIXELFORMAT_RGB888</span></a> <span class="Other">=</span> <span class="DecNumber">370546692'u</span></pre></dt>
  4288. <dd>
  4289. </dd>
  4290. <a id="SDL_PIXELFORMAT_RGBX8888"></a>
  4291. <dt><pre><a href="sdl2.html#SDL_PIXELFORMAT_RGBX8888"><span class="Identifier">SDL_PIXELFORMAT_RGBX8888</span></a> <span class="Other">=</span> <span class="DecNumber">371595268'u</span></pre></dt>
  4292. <dd>
  4293. </dd>
  4294. <a id="SDL_PIXELFORMAT_BGR888"></a>
  4295. <dt><pre><a href="sdl2.html#SDL_PIXELFORMAT_BGR888"><span class="Identifier">SDL_PIXELFORMAT_BGR888</span></a> <span class="Other">=</span> <span class="DecNumber">374740996'u</span></pre></dt>
  4296. <dd>
  4297. </dd>
  4298. <a id="SDL_PIXELFORMAT_BGRX8888"></a>
  4299. <dt><pre><a href="sdl2.html#SDL_PIXELFORMAT_BGRX8888"><span class="Identifier">SDL_PIXELFORMAT_BGRX8888</span></a> <span class="Other">=</span> <span class="DecNumber">375789572'u</span></pre></dt>
  4300. <dd>
  4301. </dd>
  4302. <a id="SDL_PIXELFORMAT_ARGB8888"></a>
  4303. <dt><pre><a href="sdl2.html#SDL_PIXELFORMAT_ARGB8888"><span class="Identifier">SDL_PIXELFORMAT_ARGB8888</span></a> <span class="Other">=</span> <span class="DecNumber">372645892'u</span></pre></dt>
  4304. <dd>
  4305. </dd>
  4306. <a id="SDL_PIXELFORMAT_RGBA8888"></a>
  4307. <dt><pre><a href="sdl2.html#SDL_PIXELFORMAT_RGBA8888"><span class="Identifier">SDL_PIXELFORMAT_RGBA8888</span></a> <span class="Other">=</span> <span class="DecNumber">373694468'u</span></pre></dt>
  4308. <dd>
  4309. </dd>
  4310. <a id="SDL_PIXELFORMAT_ABGR8888"></a>
  4311. <dt><pre><a href="sdl2.html#SDL_PIXELFORMAT_ABGR8888"><span class="Identifier">SDL_PIXELFORMAT_ABGR8888</span></a> <span class="Other">=</span> <span class="DecNumber">376840196'u</span></pre></dt>
  4312. <dd>
  4313. </dd>
  4314. <a id="SDL_PIXELFORMAT_BGRA8888"></a>
  4315. <dt><pre><a href="sdl2.html#SDL_PIXELFORMAT_BGRA8888"><span class="Identifier">SDL_PIXELFORMAT_BGRA8888</span></a> <span class="Other">=</span> <span class="DecNumber">377888772'u</span></pre></dt>
  4316. <dd>
  4317. </dd>
  4318. <a id="SDL_PIXELFORMAT_ARGB2101010"></a>
  4319. <dt><pre><a href="sdl2.html#SDL_PIXELFORMAT_ARGB2101010"><span class="Identifier">SDL_PIXELFORMAT_ARGB2101010</span></a> <span class="Other">=</span> <span class="DecNumber">372711428'u</span></pre></dt>
  4320. <dd>
  4321. </dd>
  4322. <a id="SDL_PIXELFORMAT_YV12"></a>
  4323. <dt><pre><a href="sdl2.html#SDL_PIXELFORMAT_YV12"><span class="Identifier">SDL_PIXELFORMAT_YV12</span></a> <span class="Other">=</span> <span class="DecNumber">842094169'u32</span></pre></dt>
  4324. <dd>
  4325. </dd>
  4326. <a id="SDL_PIXELFORMAT_IYUV"></a>
  4327. <dt><pre><a href="sdl2.html#SDL_PIXELFORMAT_IYUV"><span class="Identifier">SDL_PIXELFORMAT_IYUV</span></a> <span class="Other">=</span> <span class="DecNumber">1448433993'u32</span></pre></dt>
  4328. <dd>
  4329. </dd>
  4330. <a id="SDL_PIXELFORMAT_YUY2"></a>
  4331. <dt><pre><a href="sdl2.html#SDL_PIXELFORMAT_YUY2"><span class="Identifier">SDL_PIXELFORMAT_YUY2</span></a> <span class="Other">=</span> <span class="DecNumber">844715353'u32</span></pre></dt>
  4332. <dd>
  4333. </dd>
  4334. <a id="SDL_PIXELFORMAT_UYVY"></a>
  4335. <dt><pre><a href="sdl2.html#SDL_PIXELFORMAT_UYVY"><span class="Identifier">SDL_PIXELFORMAT_UYVY</span></a> <span class="Other">=</span> <span class="DecNumber">1498831189'u32</span></pre></dt>
  4336. <dd>
  4337. </dd>
  4338. <a id="SDL_PIXELFORMAT_YVYU"></a>
  4339. <dt><pre><a href="sdl2.html#SDL_PIXELFORMAT_YVYU"><span class="Identifier">SDL_PIXELFORMAT_YVYU</span></a> <span class="Other">=</span> <span class="DecNumber">1431918169'u32</span></pre></dt>
  4340. <dd>
  4341. </dd>
  4342. <a id="Renderer_Software"></a>
  4343. <dt><pre><a href="sdl2.html#Renderer_Software"><span class="Identifier">Renderer_Software</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">0x00000001</span></pre></dt>
  4344. <dd>
  4345. </dd>
  4346. <a id="Renderer_Accelerated"></a>
  4347. <dt><pre><a href="sdl2.html#Renderer_Accelerated"><span class="Identifier">Renderer_Accelerated</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">0x00000002</span></pre></dt>
  4348. <dd>
  4349. </dd>
  4350. <a id="Renderer_PresentVsync"></a>
  4351. <dt><pre><a href="sdl2.html#Renderer_PresentVsync"><span class="Identifier">Renderer_PresentVsync</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">0x00000004</span></pre></dt>
  4352. <dd>
  4353. </dd>
  4354. <a id="Renderer_TargetTexture"></a>
  4355. <dt><pre><a href="sdl2.html#Renderer_TargetTexture"><span class="Identifier">Renderer_TargetTexture</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">0x00000008</span></pre></dt>
  4356. <dd>
  4357. </dd>
  4358. <a id="SDL_SWSURFACE"></a>
  4359. <dt><pre><a href="sdl2.html#SDL_SWSURFACE"><span class="Identifier">SDL_SWSURFACE</span></a> <span class="Other">=</span> <span class="DecNumber">0</span></pre></dt>
  4360. <dd>
  4361. </dd>
  4362. <a id="SDL_PREALLOC"></a>
  4363. <dt><pre><a href="sdl2.html#SDL_PREALLOC"><span class="Identifier">SDL_PREALLOC</span></a> <span class="Other">=</span> <span class="DecNumber">0x00000001</span></pre></dt>
  4364. <dd>
  4365. </dd>
  4366. <a id="SDL_RLEACCEL"></a>
  4367. <dt><pre><a href="sdl2.html#SDL_RLEACCEL"><span class="Identifier">SDL_RLEACCEL</span></a> <span class="Other">=</span> <span class="DecNumber">0x00000002</span></pre></dt>
  4368. <dd>
  4369. </dd>
  4370. <a id="SDL_DONTFREE"></a>
  4371. <dt><pre><a href="sdl2.html#SDL_DONTFREE"><span class="Identifier">SDL_DONTFREE</span></a> <span class="Other">=</span> <span class="DecNumber">0x00000004</span></pre></dt>
  4372. <dd>
  4373. </dd>
  4374. <a id="INIT_TIMER"></a>
  4375. <dt><pre><a href="sdl2.html#INIT_TIMER"><span class="Identifier">INIT_TIMER</span></a> <span class="Other">=</span> <span class="DecNumber">0x00000001</span></pre></dt>
  4376. <dd>
  4377. </dd>
  4378. <a id="INIT_AUDIO"></a>
  4379. <dt><pre><a href="sdl2.html#INIT_AUDIO"><span class="Identifier">INIT_AUDIO</span></a> <span class="Other">=</span> <span class="DecNumber">0x00000010</span></pre></dt>
  4380. <dd>
  4381. </dd>
  4382. <a id="INIT_VIDEO"></a>
  4383. <dt><pre><a href="sdl2.html#INIT_VIDEO"><span class="Identifier">INIT_VIDEO</span></a> <span class="Other">=</span> <span class="DecNumber">0x00000020</span></pre></dt>
  4384. <dd>
  4385. </dd>
  4386. <a id="INIT_JOYSTICK"></a>
  4387. <dt><pre><a href="sdl2.html#INIT_JOYSTICK"><span class="Identifier">INIT_JOYSTICK</span></a> <span class="Other">=</span> <span class="DecNumber">0x00000200</span></pre></dt>
  4388. <dd>
  4389. </dd>
  4390. <a id="INIT_HAPTIC"></a>
  4391. <dt><pre><a href="sdl2.html#INIT_HAPTIC"><span class="Identifier">INIT_HAPTIC</span></a> <span class="Other">=</span> <span class="DecNumber">0x00001000</span></pre></dt>
  4392. <dd>
  4393. </dd>
  4394. <a id="INIT_GAMECONTROLLER"></a>
  4395. <dt><pre><a href="sdl2.html#INIT_GAMECONTROLLER"><span class="Identifier">INIT_GAMECONTROLLER</span></a> <span class="Other">=</span> <span class="DecNumber">0x00002000</span></pre></dt>
  4396. <dd>
  4397. </dd>
  4398. <a id="INIT_EVENTS"></a>
  4399. <dt><pre><a href="sdl2.html#INIT_EVENTS"><span class="Identifier">INIT_EVENTS</span></a> <span class="Other">=</span> <span class="DecNumber">0x00004000</span></pre></dt>
  4400. <dd>
  4401. </dd>
  4402. <a id="INIT_NOPARACHUTE"></a>
  4403. <dt><pre><a href="sdl2.html#INIT_NOPARACHUTE"><span class="Identifier">INIT_NOPARACHUTE</span></a> <span class="Other">=</span> <span class="DecNumber">0x00100000</span></pre></dt>
  4404. <dd>
  4405. </dd>
  4406. <a id="INIT_EVERYTHING"></a>
  4407. <dt><pre><a href="sdl2.html#INIT_EVERYTHING"><span class="Identifier">INIT_EVERYTHING</span></a> <span class="Other">=</span> <span class="DecNumber">0x0000FFFF</span></pre></dt>
  4408. <dd>
  4409. </dd>
  4410. <a id="SDL_WINDOWPOS_UNDEFINED_MASK"></a>
  4411. <dt><pre><a href="sdl2.html#SDL_WINDOWPOS_UNDEFINED_MASK"><span class="Identifier">SDL_WINDOWPOS_UNDEFINED_MASK</span></a> <span class="Other">=</span> <span class="DecNumber">0x1FFF0000</span></pre></dt>
  4412. <dd>
  4413. </dd>
  4414. <a id="SDL_WINDOWPOS_UNDEFINED"></a>
  4415. <dt><pre><a href="sdl2.html#SDL_WINDOWPOS_UNDEFINED"><span class="Identifier">SDL_WINDOWPOS_UNDEFINED</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">536805376'i32</span></pre></dt>
  4416. <dd>
  4417. </dd>
  4418. <a id="SDL_WINDOWPOS_CENTERED_MASK"></a>
  4419. <dt><pre><a href="sdl2.html#SDL_WINDOWPOS_CENTERED_MASK"><span class="Identifier">SDL_WINDOWPOS_CENTERED_MASK</span></a> <span class="Other">=</span> <span class="DecNumber">0x2FFF0000</span></pre></dt>
  4420. <dd>
  4421. </dd>
  4422. <a id="SDL_WINDOWPOS_CENTERED"></a>
  4423. <dt><pre><a href="sdl2.html#SDL_WINDOWPOS_CENTERED"><span class="Identifier">SDL_WINDOWPOS_CENTERED</span></a><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Other">=</span> <span class="DecNumber">805240832'i32</span></pre></dt>
  4424. <dd>
  4425. </dd>
  4426. <a id="SDL_MESSAGEBOX_ERROR"></a>
  4427. <dt><pre><a href="sdl2.html#SDL_MESSAGEBOX_ERROR"><span class="Identifier">SDL_MESSAGEBOX_ERROR</span></a> <span class="Other">=</span> <span class="DecNumber">0x00000010</span></pre></dt>
  4428. <dd>
  4429. </dd>
  4430. <a id="SDL_MESSAGEBOX_WARNING"></a>
  4431. <dt><pre><a href="sdl2.html#SDL_MESSAGEBOX_WARNING"><span class="Identifier">SDL_MESSAGEBOX_WARNING</span></a> <span class="Other">=</span> <span class="DecNumber">0x00000020</span></pre></dt>
  4432. <dd>
  4433. </dd>
  4434. <a id="SDL_MESSAGEBOX_INFORMATION"></a>
  4435. <dt><pre><a href="sdl2.html#SDL_MESSAGEBOX_INFORMATION"><span class="Identifier">SDL_MESSAGEBOX_INFORMATION</span></a> <span class="Other">=</span> <span class="DecNumber">0x00000040</span></pre></dt>
  4436. <dd>
  4437. </dd>
  4438. <a id="SDL_MESSAGEBOX_BUTTON_RETURNKEY_DEFAULT"></a>
  4439. <dt><pre><a href="sdl2.html#SDL_MESSAGEBOX_BUTTON_RETURNKEY_DEFAULT"><span class="Identifier">SDL_MESSAGEBOX_BUTTON_RETURNKEY_DEFAULT</span></a> <span class="Other">=</span> <span class="DecNumber">0x00000001</span></pre></dt>
  4440. <dd>
  4441. </dd>
  4442. <a id="SDL_MESSAGEBOX_BUTTON_ESCAPEKEY_DEFAULT"></a>
  4443. <dt><pre><a href="sdl2.html#SDL_MESSAGEBOX_BUTTON_ESCAPEKEY_DEFAULT"><span class="Identifier">SDL_MESSAGEBOX_BUTTON_ESCAPEKEY_DEFAULT</span></a> <span class="Other">=</span> <span class="DecNumber">0x00000002</span></pre></dt>
  4444. <dd>
  4445. </dd>
  4446. <a id="SDL_ANDROID_EXTERNAL_STORAGE_READ"></a>
  4447. <dt><pre><a href="sdl2.html#SDL_ANDROID_EXTERNAL_STORAGE_READ"><span class="Identifier">SDL_ANDROID_EXTERNAL_STORAGE_READ</span></a> <span class="Other">=</span> <span class="DecNumber">1'i32</span></pre></dt>
  4448. <dd>
  4449. </dd>
  4450. <a id="SDL_ANDROID_EXTERNAL_STORAGE_WRITE"></a>
  4451. <dt><pre><a href="sdl2.html#SDL_ANDROID_EXTERNAL_STORAGE_WRITE"><span class="Identifier">SDL_ANDROID_EXTERNAL_STORAGE_WRITE</span></a> <span class="Other">=</span> <span class="DecNumber">2'i32</span></pre></dt>
  4452. <dd>
  4453. </dd>
  4454. <a id="SDL_QUERY"></a>
  4455. <dt><pre><a href="sdl2.html#SDL_QUERY"><span class="Identifier">SDL_QUERY</span></a> <span class="Other">=</span> <span class="DecNumber">-1</span></pre></dt>
  4456. <dd>
  4457. </dd>
  4458. <a id="SDL_IGNORE"></a>
  4459. <dt><pre><a href="sdl2.html#SDL_IGNORE"><span class="Identifier">SDL_IGNORE</span></a> <span class="Other">=</span> <span class="DecNumber">0</span></pre></dt>
  4460. <dd>
  4461. </dd>
  4462. <a id="SDL_DISABLE"></a>
  4463. <dt><pre><a href="sdl2.html#SDL_DISABLE"><span class="Identifier">SDL_DISABLE</span></a> <span class="Other">=</span> <span class="DecNumber">0</span></pre></dt>
  4464. <dd>
  4465. </dd>
  4466. <a id="SDL_ENABLE"></a>
  4467. <dt><pre><a href="sdl2.html#SDL_ENABLE"><span class="Identifier">SDL_ENABLE</span></a> <span class="Other">=</span> <span class="DecNumber">1</span></pre></dt>
  4468. <dd>
  4469. </dd>
  4470. <a id="BUTTON_LEFT"></a>
  4471. <dt><pre><a href="sdl2.html#BUTTON_LEFT"><span class="Identifier">BUTTON_LEFT</span></a> <span class="Other">=</span> <span class="DecNumber">1'u8</span></pre></dt>
  4472. <dd>
  4473. </dd>
  4474. <a id="BUTTON_MIDDLE"></a>
  4475. <dt><pre><a href="sdl2.html#BUTTON_MIDDLE"><span class="Identifier">BUTTON_MIDDLE</span></a> <span class="Other">=</span> <span class="DecNumber">2'u8</span></pre></dt>
  4476. <dd>
  4477. </dd>
  4478. <a id="BUTTON_RIGHT"></a>
  4479. <dt><pre><a href="sdl2.html#BUTTON_RIGHT"><span class="Identifier">BUTTON_RIGHT</span></a> <span class="Other">=</span> <span class="DecNumber">3'u8</span></pre></dt>
  4480. <dd>
  4481. </dd>
  4482. <a id="BUTTON_X1"></a>
  4483. <dt><pre><a href="sdl2.html#BUTTON_X1"><span class="Identifier">BUTTON_X1</span></a> <span class="Other">=</span> <span class="DecNumber">4'u8</span></pre></dt>
  4484. <dd>
  4485. </dd>
  4486. <a id="BUTTON_X2"></a>
  4487. <dt><pre><a href="sdl2.html#BUTTON_X2"><span class="Identifier">BUTTON_X2</span></a> <span class="Other">=</span> <span class="DecNumber">5'u8</span></pre></dt>
  4488. <dd>
  4489. </dd>
  4490. <a id="BUTTON_LMASK"></a>
  4491. <dt><pre><a href="sdl2.html#BUTTON_LMASK"><span class="Identifier">BUTTON_LMASK</span></a> <span class="Other">=</span> <span class="DecNumber">1'u8</span></pre></dt>
  4492. <dd>
  4493. </dd>
  4494. <a id="BUTTON_MMASK"></a>
  4495. <dt><pre><a href="sdl2.html#BUTTON_MMASK"><span class="Identifier">BUTTON_MMASK</span></a> <span class="Other">=</span> <span class="DecNumber">2'u8</span></pre></dt>
  4496. <dd>
  4497. </dd>
  4498. <a id="BUTTON_RMASK"></a>
  4499. <dt><pre><a href="sdl2.html#BUTTON_RMASK"><span class="Identifier">BUTTON_RMASK</span></a> <span class="Other">=</span> <span class="DecNumber">4'u8</span></pre></dt>
  4500. <dd>
  4501. </dd>
  4502. <a id="BUTTON_X1MASK"></a>
  4503. <dt><pre><a href="sdl2.html#BUTTON_X1MASK"><span class="Identifier">BUTTON_X1MASK</span></a> <span class="Other">=</span> <span class="DecNumber">8'u8</span></pre></dt>
  4504. <dd>
  4505. </dd>
  4506. <a id="BUTTON_X2MASK"></a>
  4507. <dt><pre><a href="sdl2.html#BUTTON_X2MASK"><span class="Identifier">BUTTON_X2MASK</span></a> <span class="Other">=</span> <span class="DecNumber">16'u8</span></pre></dt>
  4508. <dd>
  4509. </dd>
  4510. <a id="SDL_TOUCH_MOUSEID"></a>
  4511. <dt><pre><a href="sdl2.html#SDL_TOUCH_MOUSEID"><span class="Identifier">SDL_TOUCH_MOUSEID</span></a> <span class="Other">=</span> <span class="DecNumber">4294967295'u32</span></pre></dt>
  4512. <dd>
  4513. </dd>
  4514. <a id="HINT_RENDER_SCALE_QUALITY"></a>
  4515. <dt><pre><a href="sdl2.html#HINT_RENDER_SCALE_QUALITY"><span class="Identifier">HINT_RENDER_SCALE_QUALITY</span></a> <span class="Other">=</span> <span class="StringLit">&quot;SDL_RENDER_SCALE_QUALITY&quot;</span></pre></dt>
  4516. <dd>
  4517. </dd>
  4518. </dl></div>
  4519. <div class="section" id="12">
  4520. <h1><a class="toc-backref" href="#12">Procs</a></h1>
  4521. <dl class="item">
  4522. <a id="evWindow,Event"></a>
  4523. <dt><pre><span class="Keyword">proc</span> <a href="#evWindow%2CEvent"><span class="Identifier">evWindow</span></a><span class="Other">(</span><span class="Identifier">event`gensym16655034</span><span class="Other">:</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#WindowEventPtr"><span class="Identifier">WindowEventPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  4524. <dd>
  4525. </dd>
  4526. <a id="window,Event"></a>
  4527. <dt><pre><span class="Keyword">proc</span> <a href="#window%2CEvent"><span class="Identifier">window</span></a><span class="Other">(</span><span class="Identifier">event`gensym16655035</span><span class="Other">:</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#WindowEventPtr"><span class="Identifier">WindowEventPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  4528. <dd>
  4529. </dd>
  4530. <a id="evKeyboard,Event"></a>
  4531. <dt><pre><span class="Keyword">proc</span> <a href="#evKeyboard%2CEvent"><span class="Identifier">evKeyboard</span></a><span class="Other">(</span><span class="Identifier">event`gensym16690217</span><span class="Other">:</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#KeyboardEventPtr"><span class="Identifier">KeyboardEventPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  4532. <dd>
  4533. </dd>
  4534. <a id="key,Event"></a>
  4535. <dt><pre><span class="Keyword">proc</span> <a href="#key%2CEvent"><span class="Identifier">key</span></a><span class="Other">(</span><span class="Identifier">event`gensym16690218</span><span class="Other">:</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#KeyboardEventPtr"><span class="Identifier">KeyboardEventPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  4536. <dd>
  4537. </dd>
  4538. <a id="evTextEditing,Event"></a>
  4539. <dt><pre><span class="Keyword">proc</span> <a href="#evTextEditing%2CEvent"><span class="Identifier">evTextEditing</span></a><span class="Other">(</span><span class="Identifier">event`gensym16725217</span><span class="Other">:</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#TextEditingEventPtr"><span class="Identifier">TextEditingEventPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
  4540. <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  4541. <dd>
  4542. </dd>
  4543. <a id="edit,Event"></a>
  4544. <dt><pre><span class="Keyword">proc</span> <a href="#edit%2CEvent"><span class="Identifier">edit</span></a><span class="Other">(</span><span class="Identifier">event`gensym16725218</span><span class="Other">:</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#TextEditingEventPtr"><span class="Identifier">TextEditingEventPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  4545. <dd>
  4546. </dd>
  4547. <a id="evTextInput,Event"></a>
  4548. <dt><pre><span class="Keyword">proc</span> <a href="#evTextInput%2CEvent"><span class="Identifier">evTextInput</span></a><span class="Other">(</span><span class="Identifier">event`gensym16760217</span><span class="Other">:</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#TextInputEventPtr"><span class="Identifier">TextInputEventPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
  4549. <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  4550. <dd>
  4551. </dd>
  4552. <a id="text,Event"></a>
  4553. <dt><pre><span class="Keyword">proc</span> <a href="#text%2CEvent"><span class="Identifier">text</span></a><span class="Other">(</span><span class="Identifier">event`gensym16760218</span><span class="Other">:</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#TextInputEventPtr"><span class="Identifier">TextInputEventPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  4554. <dd>
  4555. </dd>
  4556. <a id="evMouseMotion,Event"></a>
  4557. <dt><pre><span class="Keyword">proc</span> <a href="#evMouseMotion%2CEvent"><span class="Identifier">evMouseMotion</span></a><span class="Other">(</span><span class="Identifier">event`gensym16795217</span><span class="Other">:</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#MouseMotionEventPtr"><span class="Identifier">MouseMotionEventPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
  4558. <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  4559. <dd>
  4560. </dd>
  4561. <a id="motion,Event"></a>
  4562. <dt><pre><span class="Keyword">proc</span> <a href="#motion%2CEvent"><span class="Identifier">motion</span></a><span class="Other">(</span><span class="Identifier">event`gensym16795218</span><span class="Other">:</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#MouseMotionEventPtr"><span class="Identifier">MouseMotionEventPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  4563. <dd>
  4564. </dd>
  4565. <a id="evMouseButton,Event"></a>
  4566. <dt><pre><span class="Keyword">proc</span> <a href="#evMouseButton%2CEvent"><span class="Identifier">evMouseButton</span></a><span class="Other">(</span><span class="Identifier">event`gensym16830217</span><span class="Other">:</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#MouseButtonEventPtr"><span class="Identifier">MouseButtonEventPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
  4567. <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  4568. <dd>
  4569. </dd>
  4570. <a id="button,Event"></a>
  4571. <dt><pre><span class="Keyword">proc</span> <a href="#button%2CEvent"><span class="Identifier">button</span></a><span class="Other">(</span><span class="Identifier">event`gensym16830218</span><span class="Other">:</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#MouseButtonEventPtr"><span class="Identifier">MouseButtonEventPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  4572. <dd>
  4573. </dd>
  4574. <a id="evMouseWheel,Event"></a>
  4575. <dt><pre><span class="Keyword">proc</span> <a href="#evMouseWheel%2CEvent"><span class="Identifier">evMouseWheel</span></a><span class="Other">(</span><span class="Identifier">event`gensym16865217</span><span class="Other">:</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#MouseWheelEventPtr"><span class="Identifier">MouseWheelEventPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
  4576. <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  4577. <dd>
  4578. </dd>
  4579. <a id="wheel,Event"></a>
  4580. <dt><pre><span class="Keyword">proc</span> <a href="#wheel%2CEvent"><span class="Identifier">wheel</span></a><span class="Other">(</span><span class="Identifier">event`gensym16865218</span><span class="Other">:</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#MouseWheelEventPtr"><span class="Identifier">MouseWheelEventPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  4581. <dd>
  4582. </dd>
  4583. <a id="EvJoyAxis,Event"></a>
  4584. <dt><pre><span class="Keyword">proc</span> <a href="#EvJoyAxis%2CEvent"><span class="Identifier">EvJoyAxis</span></a><span class="Other">(</span><span class="Identifier">event`gensym16900217</span><span class="Other">:</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#JoyAxisEventPtr"><span class="Identifier">JoyAxisEventPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  4585. <dd>
  4586. </dd>
  4587. <a id="jaxis,Event"></a>
  4588. <dt><pre><span class="Keyword">proc</span> <a href="#jaxis%2CEvent"><span class="Identifier">jaxis</span></a><span class="Other">(</span><span class="Identifier">event`gensym16900218</span><span class="Other">:</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#JoyAxisEventPtr"><span class="Identifier">JoyAxisEventPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  4589. <dd>
  4590. </dd>
  4591. <a id="EvJoyBall,Event"></a>
  4592. <dt><pre><span class="Keyword">proc</span> <a href="#EvJoyBall%2CEvent"><span class="Identifier">EvJoyBall</span></a><span class="Other">(</span><span class="Identifier">event`gensym16935217</span><span class="Other">:</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#JoyBallEventPtr"><span class="Identifier">JoyBallEventPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  4593. <dd>
  4594. </dd>
  4595. <a id="jball,Event"></a>
  4596. <dt><pre><span class="Keyword">proc</span> <a href="#jball%2CEvent"><span class="Identifier">jball</span></a><span class="Other">(</span><span class="Identifier">event`gensym16935218</span><span class="Other">:</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#JoyBallEventPtr"><span class="Identifier">JoyBallEventPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  4597. <dd>
  4598. </dd>
  4599. <a id="EvJoyHat,Event"></a>
  4600. <dt><pre><span class="Keyword">proc</span> <a href="#EvJoyHat%2CEvent"><span class="Identifier">EvJoyHat</span></a><span class="Other">(</span><span class="Identifier">event`gensym16970217</span><span class="Other">:</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#JoyHatEventPtr"><span class="Identifier">JoyHatEventPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  4601. <dd>
  4602. </dd>
  4603. <a id="jhat,Event"></a>
  4604. <dt><pre><span class="Keyword">proc</span> <a href="#jhat%2CEvent"><span class="Identifier">jhat</span></a><span class="Other">(</span><span class="Identifier">event`gensym16970218</span><span class="Other">:</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#JoyHatEventPtr"><span class="Identifier">JoyHatEventPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  4605. <dd>
  4606. </dd>
  4607. <a id="EvJoyButton,Event"></a>
  4608. <dt><pre><span class="Keyword">proc</span> <a href="#EvJoyButton%2CEvent"><span class="Identifier">EvJoyButton</span></a><span class="Other">(</span><span class="Identifier">event`gensym17005217</span><span class="Other">:</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#JoyButtonEventPtr"><span class="Identifier">JoyButtonEventPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
  4609. <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  4610. <dd>
  4611. </dd>
  4612. <a id="jbutton,Event"></a>
  4613. <dt><pre><span class="Keyword">proc</span> <a href="#jbutton%2CEvent"><span class="Identifier">jbutton</span></a><span class="Other">(</span><span class="Identifier">event`gensym17005218</span><span class="Other">:</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#JoyButtonEventPtr"><span class="Identifier">JoyButtonEventPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  4614. <dd>
  4615. </dd>
  4616. <a id="EvJoyDevice,Event"></a>
  4617. <dt><pre><span class="Keyword">proc</span> <a href="#EvJoyDevice%2CEvent"><span class="Identifier">EvJoyDevice</span></a><span class="Other">(</span><span class="Identifier">event`gensym17040217</span><span class="Other">:</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#JoyDeviceEventPtr"><span class="Identifier">JoyDeviceEventPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
  4618. <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  4619. <dd>
  4620. </dd>
  4621. <a id="jdevice,Event"></a>
  4622. <dt><pre><span class="Keyword">proc</span> <a href="#jdevice%2CEvent"><span class="Identifier">jdevice</span></a><span class="Other">(</span><span class="Identifier">event`gensym17040218</span><span class="Other">:</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#JoyDeviceEventPtr"><span class="Identifier">JoyDeviceEventPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  4623. <dd>
  4624. </dd>
  4625. <a id="EvControllerAxis,Event"></a>
  4626. <dt><pre><span class="Keyword">proc</span> <a href="#EvControllerAxis%2CEvent"><span class="Identifier">EvControllerAxis</span></a><span class="Other">(</span><span class="Identifier">event`gensym17075217</span><span class="Other">:</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#ControllerAxisEventPtr"><span class="Identifier">ControllerAxisEventPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  4627. <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  4628. <dd>
  4629. </dd>
  4630. <a id="caxis,Event"></a>
  4631. <dt><pre><span class="Keyword">proc</span> <a href="#caxis%2CEvent"><span class="Identifier">caxis</span></a><span class="Other">(</span><span class="Identifier">event`gensym17075218</span><span class="Other">:</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#ControllerAxisEventPtr"><span class="Identifier">ControllerAxisEventPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  4632. <dd>
  4633. </dd>
  4634. <a id="EvControllerButton,Event"></a>
  4635. <dt><pre><span class="Keyword">proc</span> <a href="#EvControllerButton%2CEvent"><span class="Identifier">EvControllerButton</span></a><span class="Other">(</span><span class="Identifier">event`gensym17110217</span><span class="Other">:</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#ControllerButtonEventPtr"><span class="Identifier">ControllerButtonEventPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  4636. <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  4637. <dd>
  4638. </dd>
  4639. <a id="cbutton,Event"></a>
  4640. <dt><pre><span class="Keyword">proc</span> <a href="#cbutton%2CEvent"><span class="Identifier">cbutton</span></a><span class="Other">(</span><span class="Identifier">event`gensym17110218</span><span class="Other">:</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#ControllerButtonEventPtr"><span class="Identifier">ControllerButtonEventPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
  4641. <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  4642. <dd>
  4643. </dd>
  4644. <a id="EvControllerDevice,Event"></a>
  4645. <dt><pre><span class="Keyword">proc</span> <a href="#EvControllerDevice%2CEvent"><span class="Identifier">EvControllerDevice</span></a><span class="Other">(</span><span class="Identifier">event`gensym17145217</span><span class="Other">:</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#ControllerDeviceEventPtr"><span class="Identifier">ControllerDeviceEventPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  4646. <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  4647. <dd>
  4648. </dd>
  4649. <a id="cdevice,Event"></a>
  4650. <dt><pre><span class="Keyword">proc</span> <a href="#cdevice%2CEvent"><span class="Identifier">cdevice</span></a><span class="Other">(</span><span class="Identifier">event`gensym17145218</span><span class="Other">:</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#ControllerDeviceEventPtr"><span class="Identifier">ControllerDeviceEventPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
  4651. <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  4652. <dd>
  4653. </dd>
  4654. <a id="EvTouchFinger,Event"></a>
  4655. <dt><pre><span class="Keyword">proc</span> <a href="#EvTouchFinger%2CEvent"><span class="Identifier">EvTouchFinger</span></a><span class="Other">(</span><span class="Identifier">event`gensym17180217</span><span class="Other">:</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#TouchFingerEventPtr"><span class="Identifier">TouchFingerEventPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
  4656. <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  4657. <dd>
  4658. </dd>
  4659. <a id="tfinger,Event"></a>
  4660. <dt><pre><span class="Keyword">proc</span> <a href="#tfinger%2CEvent"><span class="Identifier">tfinger</span></a><span class="Other">(</span><span class="Identifier">event`gensym17180218</span><span class="Other">:</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#TouchFingerEventPtr"><span class="Identifier">TouchFingerEventPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  4661. <dd>
  4662. </dd>
  4663. <a id="EvMultiGesture,Event"></a>
  4664. <dt><pre><span class="Keyword">proc</span> <a href="#EvMultiGesture%2CEvent"><span class="Identifier">EvMultiGesture</span></a><span class="Other">(</span><span class="Identifier">event`gensym17215217</span><span class="Other">:</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#MultiGestureEventPtr"><span class="Identifier">MultiGestureEventPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
  4665. <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  4666. <dd>
  4667. </dd>
  4668. <a id="mgesture,Event"></a>
  4669. <dt><pre><span class="Keyword">proc</span> <a href="#mgesture%2CEvent"><span class="Identifier">mgesture</span></a><span class="Other">(</span><span class="Identifier">event`gensym17215218</span><span class="Other">:</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#MultiGestureEventPtr"><span class="Identifier">MultiGestureEventPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
  4670. <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  4671. <dd>
  4672. </dd>
  4673. <a id="EvDollarGesture,Event"></a>
  4674. <dt><pre><span class="Keyword">proc</span> <a href="#EvDollarGesture%2CEvent"><span class="Identifier">EvDollarGesture</span></a><span class="Other">(</span><span class="Identifier">event`gensym17250217</span><span class="Other">:</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#DollarGestureEventPtr"><span class="Identifier">DollarGestureEventPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  4675. <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  4676. <dd>
  4677. </dd>
  4678. <a id="dgesture,Event"></a>
  4679. <dt><pre><span class="Keyword">proc</span> <a href="#dgesture%2CEvent"><span class="Identifier">dgesture</span></a><span class="Other">(</span><span class="Identifier">event`gensym17250218</span><span class="Other">:</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#DollarGestureEventPtr"><span class="Identifier">DollarGestureEventPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
  4680. <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  4681. <dd>
  4682. </dd>
  4683. <a id="evDropFile,Event"></a>
  4684. <dt><pre><span class="Keyword">proc</span> <a href="#evDropFile%2CEvent"><span class="Identifier">evDropFile</span></a><span class="Other">(</span><span class="Identifier">event`gensym17285217</span><span class="Other">:</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#DropEventPtr"><span class="Identifier">DropEventPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  4685. <dd>
  4686. </dd>
  4687. <a id="drop,Event"></a>
  4688. <dt><pre><span class="Keyword">proc</span> <a href="#drop%2CEvent"><span class="Identifier">drop</span></a><span class="Other">(</span><span class="Identifier">event`gensym17285218</span><span class="Other">:</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#DropEventPtr"><span class="Identifier">DropEventPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  4689. <dd>
  4690. </dd>
  4691. <a id="evQuit,Event"></a>
  4692. <dt><pre><span class="Keyword">proc</span> <a href="#evQuit%2CEvent"><span class="Identifier">evQuit</span></a><span class="Other">(</span><span class="Identifier">event`gensym17320217</span><span class="Other">:</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#QuitEventPtr"><span class="Identifier">QuitEventPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  4693. <dd>
  4694. </dd>
  4695. <a id="quit,Event"></a>
  4696. <dt><pre><span class="Keyword">proc</span> <a href="#quit%2CEvent"><span class="Identifier">quit</span></a><span class="Other">(</span><span class="Identifier">event`gensym17320218</span><span class="Other">:</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#QuitEventPtr"><span class="Identifier">QuitEventPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  4697. <dd>
  4698. </dd>
  4699. <a id="evUser,Event"></a>
  4700. <dt><pre><span class="Keyword">proc</span> <a href="#evUser%2CEvent"><span class="Identifier">evUser</span></a><span class="Other">(</span><span class="Identifier">event`gensym17355217</span><span class="Other">:</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#UserEventPtr"><span class="Identifier">UserEventPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  4701. <dd>
  4702. </dd>
  4703. <a id="user,Event"></a>
  4704. <dt><pre><span class="Keyword">proc</span> <a href="#user%2CEvent"><span class="Identifier">user</span></a><span class="Other">(</span><span class="Identifier">event`gensym17355218</span><span class="Other">:</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#UserEventPtr"><span class="Identifier">UserEventPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  4705. <dd>
  4706. </dd>
  4707. <a id="getWMInfo,WindowPtr,WMinfo"></a>
  4708. <dt><pre><span class="Keyword">proc</span> <a href="#getWMInfo%2CWindowPtr%2CWMinfo"><span class="Identifier">getWMInfo</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">;</span> <span class="Identifier">info</span><span class="Other">:</span> <span class="Keyword">var</span> <a href="sdl2.html#WMinfo"><span class="Identifier">WMinfo</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#Bool32"><span class="Identifier">Bool32</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  4709. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetWindowWMInfo&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4710. <dd>
  4711. </dd>
  4712. <a id="setLogicalSize,RendererPtr,cint,cint"></a>
  4713. <dt><pre><span class="Keyword">proc</span> <a href="#setLogicalSize%2CRendererPtr%2Ccint%2Ccint"><span class="Identifier">setLogicalSize</span></a><span class="Other">(</span><span class="Identifier">renderer</span><span class="Other">:</span> <a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a><span class="Other">;</span> <span class="Identifier">w</span><span class="Other">,</span> <span class="Identifier">h</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  4714. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_RenderSetLogicalSize&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4715. <dd>
  4716. </dd>
  4717. <a id="getLogicalSize,RendererPtr,cint,cint"></a>
  4718. <dt><pre><span class="Keyword">proc</span> <a href="#getLogicalSize%2CRendererPtr%2Ccint%2Ccint"><span class="Identifier">getLogicalSize</span></a><span class="Other">(</span><span class="Identifier">renderer</span><span class="Other">:</span> <a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a><span class="Other">;</span> <span class="Identifier">w</span><span class="Other">,</span> <span class="Identifier">h</span><span class="Other">:</span> <span class="Keyword">var</span> <span class="Identifier">cint</span><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  4719. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_RenderGetLogicalSize&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4720. <dd>
  4721. </dd>
  4722. <a id="setDrawColor,RendererPtr,uint8,uint8,uint8,uint8"></a>
  4723. <dt><pre><span class="Keyword">proc</span> <a href="#setDrawColor%2CRendererPtr%2Cuint8%2Cuint8%2Cuint8%2Cuint8"><span class="Identifier">setDrawColor</span></a><span class="Other">(</span><span class="Identifier">renderer</span><span class="Other">:</span> <a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a><span class="Other">;</span> <span class="Identifier">r</span><span class="Other">,</span> <span class="Identifier">g</span><span class="Other">,</span> <span class="Identifier">b</span><span class="Other">:</span> <span class="Identifier">uint8</span><span class="Other">;</span> <span class="Identifier">a</span> <span class="Other">=</span> <span class="DecNumber">255'u8</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  4724. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_SetRenderDrawColor&quot;</span><span class="Other">,</span> <span class="Identifier">discardable</span></span><span class="Other">.}</span></span></pre></dt>
  4725. <dd>
  4726. </dd>
  4727. <a id="setDrawColor,RendererPtr,Color"></a>
  4728. <dt><pre><span class="Keyword">proc</span> <a href="#setDrawColor%2CRendererPtr%2CColor"><span class="Identifier">setDrawColor</span></a><span class="Other">(</span><span class="Identifier">renderer</span><span class="Other">:</span> <a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a><span class="Other">;</span> <span class="Identifier">c</span><span class="Other">:</span> <a href="sdl2.html#Color"><span class="Identifier">Color</span></a><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  4729. <dd>
  4730. </dd>
  4731. <a id="getDrawColor,RendererPtr,uint8,uint8,uint8,uint8"></a>
  4732. <dt><pre><span class="Keyword">proc</span> <a href="#getDrawColor%2CRendererPtr%2Cuint8%2Cuint8%2Cuint8%2Cuint8"><span class="Identifier">getDrawColor</span></a><span class="Other">(</span><span class="Identifier">renderer</span><span class="Other">:</span> <a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a><span class="Other">;</span> <span class="Identifier">r</span><span class="Other">,</span> <span class="Identifier">g</span><span class="Other">,</span> <span class="Identifier">b</span><span class="Other">,</span> <span class="Identifier">a</span><span class="Other">:</span> <span class="Keyword">var</span> <span class="Identifier">uint8</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  4733. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetRenderDrawColor&quot;</span><span class="Other">,</span> <span class="Identifier">discardable</span></span><span class="Other">.}</span></span></pre></dt>
  4734. <dd>
  4735. </dd>
  4736. <a id="setDrawBlendMode,RendererPtr,BlendMode"></a>
  4737. <dt><pre><span class="Keyword">proc</span> <a href="#setDrawBlendMode%2CRendererPtr%2CBlendMode"><span class="Identifier">setDrawBlendMode</span></a><span class="Other">(</span><span class="Identifier">renderer</span><span class="Other">:</span> <a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a><span class="Other">;</span> <span class="Identifier">blendMode</span><span class="Other">:</span> <a href="sdl2.html#BlendMode"><span class="Identifier">BlendMode</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  4738. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_SetRenderDrawBlendMode&quot;</span><span class="Other">,</span> <span class="Identifier">discardable</span></span><span class="Other">.}</span></span></pre></dt>
  4739. <dd>
  4740. </dd>
  4741. <a id="getDrawBlendMode,RendererPtr,BlendMode"></a>
  4742. <dt><pre><span class="Keyword">proc</span> <a href="#getDrawBlendMode%2CRendererPtr%2CBlendMode"><span class="Identifier">getDrawBlendMode</span></a><span class="Other">(</span><span class="Identifier">renderer</span><span class="Other">:</span> <a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a><span class="Other">;</span> <span class="Identifier">blendMode</span><span class="Other">:</span> <span class="Keyword">var</span> <a href="sdl2.html#BlendMode"><span class="Identifier">BlendMode</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  4743. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetRenderDrawBlendMode&quot;</span><span class="Other">,</span> <span class="Identifier">discardable</span></span><span class="Other">.}</span></span></pre></dt>
  4744. <dd>
  4745. </dd>
  4746. <a id="destroy,TexturePtr"></a>
  4747. <dt><pre><span class="Keyword">proc</span> <a href="#destroy%2CTexturePtr"><span class="Identifier">destroy</span></a><span class="Other">(</span><span class="Identifier">texture</span><span class="Other">:</span> <a href="sdl2.html#TexturePtr"><span class="Identifier">TexturePtr</span></a><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_DestroyTexture&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4748. <dd>
  4749. </dd>
  4750. <a id="destroy,RendererPtr"></a>
  4751. <dt><pre><span class="Keyword">proc</span> <a href="#destroy%2CRendererPtr"><span class="Identifier">destroy</span></a><span class="Other">(</span><span class="Identifier">renderer</span><span class="Other">:</span> <a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_DestroyRenderer&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4752. <dd>
  4753. </dd>
  4754. <a id="getDisplayIndex,WindowPtr"></a>
  4755. <dt><pre><span class="Keyword">proc</span> <a href="#getDisplayIndex%2CWindowPtr"><span class="Identifier">getDisplayIndex</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetWindowDisplayIndex&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4756. <dd>
  4757. </dd>
  4758. <a id="setDisplayMode,WindowPtr,ptr.DisplayMode"></a>
  4759. <dt><pre><span class="Keyword">proc</span> <a href="#setDisplayMode%2CWindowPtr%2Cptr.DisplayMode"><span class="Identifier">setDisplayMode</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">;</span> <span class="Identifier">mode</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#DisplayMode"><span class="Identifier">DisplayMode</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  4760. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_SetWindowDisplayMode&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4761. <dd>
  4762. </dd>
  4763. <a id="getDisplayMode,WindowPtr,DisplayMode"></a>
  4764. <dt><pre><span class="Keyword">proc</span> <a href="#getDisplayMode%2CWindowPtr%2CDisplayMode"><span class="Identifier">getDisplayMode</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">;</span> <span class="Identifier">mode</span><span class="Other">:</span> <span class="Keyword">var</span> <a href="sdl2.html#DisplayMode"><span class="Identifier">DisplayMode</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  4765. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetWindowDisplayMode&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4766. <dd>
  4767. </dd>
  4768. <a id="getPixelFormat,WindowPtr"></a>
  4769. <dt><pre><span class="Keyword">proc</span> <a href="#getPixelFormat%2CWindowPtr"><span class="Identifier">getPixelFormat</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">uint32</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetWindowPixelFormat&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4770. <dd>
  4771. </dd>
  4772. <a id="getID,WindowPtr"></a>
  4773. <dt><pre><span class="Keyword">proc</span> <a href="#getID%2CWindowPtr"><span class="Identifier">getID</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">uint32</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetWindowID&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4774. <dd>
  4775. </dd>
  4776. <a id="getFlags,WindowPtr"></a>
  4777. <dt><pre><span class="Keyword">proc</span> <a href="#getFlags%2CWindowPtr"><span class="Identifier">getFlags</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">uint32</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetWindowFlags&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4778. <dd>
  4779. </dd>
  4780. <a id="setTitle,WindowPtr,cstring"></a>
  4781. <dt><pre><span class="Keyword">proc</span> <a href="#setTitle%2CWindowPtr%2Ccstring"><span class="Identifier">setTitle</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">;</span> <span class="Identifier">title</span><span class="Other">:</span> <span class="Identifier">cstring</span><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_SetWindowTitle&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4782. <dd>
  4783. </dd>
  4784. <a id="getTitle,WindowPtr"></a>
  4785. <dt><pre><span class="Keyword">proc</span> <a href="#getTitle%2CWindowPtr"><span class="Identifier">getTitle</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cstring</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetWindowTitle&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4786. <dd>
  4787. </dd>
  4788. <a id="setIcon,WindowPtr,SurfacePtr"></a>
  4789. <dt><pre><span class="Keyword">proc</span> <a href="#setIcon%2CWindowPtr%2CSurfacePtr"><span class="Identifier">setIcon</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">;</span> <span class="Identifier">icon</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_SetWindowIcon&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4790. <dd>
  4791. </dd>
  4792. <a id="setData,WindowPtr,cstring,pointer"></a>
  4793. <dt><pre><span class="Keyword">proc</span> <a href="#setData%2CWindowPtr%2Ccstring%2Cpointer"><span class="Identifier">setData</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">;</span> <span class="Identifier">name</span><span class="Other">:</span> <span class="Identifier">cstring</span><span class="Other">;</span> <span class="Identifier">userdata</span><span class="Other">:</span> <span class="Identifier">pointer</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">pointer</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  4794. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_SetWindowData&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4795. <dd>
  4796. </dd>
  4797. <a id="getData,WindowPtr,cstring"></a>
  4798. <dt><pre><span class="Keyword">proc</span> <a href="#getData%2CWindowPtr%2Ccstring"><span class="Identifier">getData</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">;</span> <span class="Identifier">name</span><span class="Other">:</span> <span class="Identifier">cstring</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">pointer</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetWindowData&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4799. <dd>
  4800. </dd>
  4801. <a id="setPosition,WindowPtr,cint,cint"></a>
  4802. <dt><pre><span class="Keyword">proc</span> <a href="#setPosition%2CWindowPtr%2Ccint%2Ccint"><span class="Identifier">setPosition</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">;</span> <span class="Identifier">x</span><span class="Other">,</span> <span class="Identifier">y</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_SetWindowPosition&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4803. <dd>
  4804. </dd>
  4805. <a id="getPosition,WindowPtr,cint,cint"></a>
  4806. <dt><pre><span class="Keyword">proc</span> <a href="#getPosition%2CWindowPtr%2Ccint%2Ccint"><span class="Identifier">getPosition</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">;</span> <span class="Identifier">x</span><span class="Other">,</span> <span class="Identifier">y</span><span class="Other">:</span> <span class="Keyword">var</span> <span class="Identifier">cint</span><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetWindowPosition&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4807. <dd>
  4808. </dd>
  4809. <a id="setSize,WindowPtr,cint,cint"></a>
  4810. <dt><pre><span class="Keyword">proc</span> <a href="#setSize%2CWindowPtr%2Ccint%2Ccint"><span class="Identifier">setSize</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">;</span> <span class="Identifier">w</span><span class="Other">,</span> <span class="Identifier">h</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_SetWindowSize&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4811. <dd>
  4812. </dd>
  4813. <a id="getSize,WindowPtr,cint,cint"></a>
  4814. <dt><pre><span class="Keyword">proc</span> <a href="#getSize%2CWindowPtr%2Ccint%2Ccint"><span class="Identifier">getSize</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">;</span> <span class="Identifier">w</span><span class="Other">,</span> <span class="Identifier">h</span><span class="Other">:</span> <span class="Keyword">var</span> <span class="Identifier">cint</span><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetWindowSize&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4815. <dd>
  4816. </dd>
  4817. <a id="setBordered,WindowPtr,Bool32"></a>
  4818. <dt><pre><span class="Keyword">proc</span> <a href="#setBordered%2CWindowPtr%2CBool32"><span class="Identifier">setBordered</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">;</span> <span class="Identifier">bordered</span><span class="Other">:</span> <a href="sdl2.html#Bool32"><span class="Identifier">Bool32</span></a><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  4819. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_SetWindowBordered&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4820. <dd>
  4821. </dd>
  4822. <a id="setFullscreen,WindowPtr,uint32"></a>
  4823. <dt><pre><span class="Keyword">proc</span> <a href="#setFullscreen%2CWindowPtr%2Cuint32"><span class="Identifier">setFullscreen</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">;</span> <span class="Identifier">fullscreen</span><span class="Other">:</span> <span class="Identifier">uint32</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  4824. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_SetWindowFullscreen&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4825. <dd>
  4826. </dd>
  4827. <a id="getSurface,WindowPtr"></a>
  4828. <dt><pre><span class="Keyword">proc</span> <a href="#getSurface%2CWindowPtr"><span class="Identifier">getSurface</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetWindowSurface&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4829. <dd>
  4830. </dd>
  4831. <a id="updateSurface,WindowPtr"></a>
  4832. <dt><pre><span class="Keyword">proc</span> <a href="#updateSurface%2CWindowPtr"><span class="Identifier">updateSurface</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  4833. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_UpdateWindowSurface&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4834. <dd>
  4835. </dd>
  4836. <a id="updateSurfaceRects,WindowPtr,ptr.Rect,cint"></a>
  4837. <dt><pre><span class="Keyword">proc</span> <a href="#updateSurfaceRects%2CWindowPtr%2Cptr.Rect%2Ccint"><span class="Identifier">updateSurfaceRects</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">;</span> <span class="Identifier">rects</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Rect"><span class="Identifier">Rect</span></a><span class="Other">;</span> <span class="Identifier">numrects</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  4838. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_UpdateWindowSurfaceRects&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4839. <dd>
  4840. </dd>
  4841. <a id="setGrab,WindowPtr,Bool32"></a>
  4842. <dt><pre><span class="Keyword">proc</span> <a href="#setGrab%2CWindowPtr%2CBool32"><span class="Identifier">setGrab</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">;</span> <span class="Identifier">grabbed</span><span class="Other">:</span> <a href="sdl2.html#Bool32"><span class="Identifier">Bool32</span></a><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_SetWindowGrab&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4843. <dd>
  4844. </dd>
  4845. <a id="getGrab,WindowPtr"></a>
  4846. <dt><pre><span class="Keyword">proc</span> <a href="#getGrab%2CWindowPtr"><span class="Identifier">getGrab</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#Bool32"><span class="Identifier">Bool32</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetWindowGrab&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4847. <dd>
  4848. </dd>
  4849. <a id="setBrightness,WindowPtr,cfloat"></a>
  4850. <dt><pre><span class="Keyword">proc</span> <a href="#setBrightness%2CWindowPtr%2Ccfloat"><span class="Identifier">setBrightness</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">;</span> <span class="Identifier">brightness</span><span class="Other">:</span> <span class="Identifier">cfloat</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  4851. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_SetWindowBrightness&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4852. <dd>
  4853. </dd>
  4854. <a id="getBrightness,WindowPtr"></a>
  4855. <dt><pre><span class="Keyword">proc</span> <a href="#getBrightness%2CWindowPtr"><span class="Identifier">getBrightness</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cfloat</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetWindowBrightness&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4856. <dd>
  4857. </dd>
  4858. <a id="setGammaRamp,WindowPtr,ptr.uint16,ptr.uint16,ptr.uint16"></a>
  4859. <dt><pre><span class="Keyword">proc</span> <a href="#setGammaRamp%2CWindowPtr%2Cptr.uint16%2Cptr.uint16%2Cptr.uint16"><span class="Identifier">setGammaRamp</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">;</span> <span class="Identifier">red</span><span class="Other">,</span> <span class="Identifier">green</span><span class="Other">,</span> <span class="Identifier">blue</span><span class="Other">:</span> <span class="Keyword">ptr</span> <span class="Identifier">uint16</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  4860. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_SetWindowGammaRamp&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4861. <dd>
  4862. </dd>
  4863. <a id="getGammaRamp,WindowPtr,ptr.uint16,ptr.uint16,ptr.uint16"></a>
  4864. <dt><pre><span class="Keyword">proc</span> <a href="#getGammaRamp%2CWindowPtr%2Cptr.uint16%2Cptr.uint16%2Cptr.uint16"><span class="Identifier">getGammaRamp</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">;</span> <span class="Identifier">red</span><span class="Other">:</span> <span class="Keyword">ptr</span> <span class="Identifier">uint16</span><span class="Other">;</span> <span class="Identifier">green</span><span class="Other">:</span> <span class="Keyword">ptr</span> <span class="Identifier">uint16</span><span class="Other">;</span> <span class="Identifier">blue</span><span class="Other">:</span> <span class="Keyword">ptr</span> <span class="Identifier">uint16</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  4865. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetWindowGammaRamp&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4866. <dd>
  4867. </dd>
  4868. <a id="init,cint"></a>
  4869. <dt><pre><span class="Keyword">proc</span> <a href="#init%2Ccint"><span class="Identifier">init</span></a><span class="Other">(</span><span class="Identifier">flags</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">discardable</span><span class="Other">,</span> <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_Init&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4870. <dd>
  4871. </dd>
  4872. <a id="initSubSystem,uint32"></a>
  4873. <dt><pre><span class="Keyword">proc</span> <a href="#initSubSystem%2Cuint32"><span class="Identifier">initSubSystem</span></a><span class="Other">(</span><span class="Identifier">flags</span><span class="Other">:</span> <span class="Identifier">uint32</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_InitSubSystem&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4874. <dd>
  4875. </dd>
  4876. <a id="quitSubSystem,uint32"></a>
  4877. <dt><pre><span class="Keyword">proc</span> <a href="#quitSubSystem%2Cuint32"><span class="Identifier">quitSubSystem</span></a><span class="Other">(</span><span class="Identifier">flags</span><span class="Other">:</span> <span class="Identifier">uint32</span><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_QuitSubSystem&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4878. <dd>
  4879. </dd>
  4880. <a id="wasInit,uint32"></a>
  4881. <dt><pre><span class="Keyword">proc</span> <a href="#wasInit%2Cuint32"><span class="Identifier">wasInit</span></a><span class="Other">(</span><span class="Identifier">flags</span><span class="Other">:</span> <span class="Identifier">uint32</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">uint32</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_WasInit&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4882. <dd>
  4883. </dd>
  4884. <a id="quit"></a>
  4885. <dt><pre><span class="Keyword">proc</span> <a href="#quit"><span class="Identifier">quit</span></a><span class="Other">(</span><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_Quit&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4886. <dd>
  4887. </dd>
  4888. <a id="getPlatform"></a>
  4889. <dt><pre><span class="Keyword">proc</span> <a href="#getPlatform"><span class="Identifier">getPlatform</span></a><span class="Other">(</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cstring</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetPlatform&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4890. <dd>
  4891. </dd>
  4892. <a id="getVersion,SDL_Version"></a>
  4893. <dt><pre><span class="Keyword">proc</span> <a href="#getVersion%2CSDL_Version"><span class="Identifier">getVersion</span></a><span class="Other">(</span><span class="Identifier">ver</span><span class="Other">:</span> <span class="Keyword">var</span> <a href="sdl2.html#SDL_Version"><span class="Identifier">SDL_Version</span></a><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetVersion&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4894. <dd>
  4895. </dd>
  4896. <a id="getRevision"></a>
  4897. <dt><pre><span class="Keyword">proc</span> <a href="#getRevision"><span class="Identifier">getRevision</span></a><span class="Other">(</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cstring</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetRevision&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4898. <dd>
  4899. </dd>
  4900. <a id="getRevisionNumber"></a>
  4901. <dt><pre><span class="Keyword">proc</span> <a href="#getRevisionNumber"><span class="Identifier">getRevisionNumber</span></a><span class="Other">(</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetRevisionNumber&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4902. <dd>
  4903. </dd>
  4904. <a id="getBasePath"></a>
  4905. <dt><pre><span class="Keyword">proc</span> <a href="#getBasePath"><span class="Identifier">getBasePath</span></a><span class="Other">(</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cstring</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetBasePath&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4906. <dd>
  4907. </dd>
  4908. <a id="getPrefPath,cstring,cstring"></a>
  4909. <dt><pre><span class="Keyword">proc</span> <a href="#getPrefPath%2Ccstring%2Ccstring"><span class="Identifier">getPrefPath</span></a><span class="Other">(</span><span class="Identifier">org</span><span class="Other">,</span> <span class="Identifier">app</span><span class="Other">:</span> <span class="Identifier">cstring</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cstring</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetPrefPath&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4910. <dd>
  4911. </dd>
  4912. <a id="getNumRenderDrivers"></a>
  4913. <dt><pre><span class="Keyword">proc</span> <a href="#getNumRenderDrivers"><span class="Identifier">getNumRenderDrivers</span></a><span class="Other">(</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetNumRenderDriver&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4914. <dd>
  4915. </dd>
  4916. <a id="getRenderDriverInfo,cint,RendererInfo"></a>
  4917. <dt><pre><span class="Keyword">proc</span> <a href="#getRenderDriverInfo%2Ccint%2CRendererInfo"><span class="Identifier">getRenderDriverInfo</span></a><span class="Other">(</span><span class="Identifier">index</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">;</span> <span class="Identifier">info</span><span class="Other">:</span> <span class="Keyword">var</span> <a href="sdl2.html#RendererInfo"><span class="Identifier">RendererInfo</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  4918. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetRenderDriverInfo&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4919. <dd>
  4920. </dd>
  4921. <a id="createWindowAndRenderer,cint,cint,uint32,WindowPtr,RendererPtr"></a>
  4922. <dt><pre><span class="Keyword">proc</span> <a href="#createWindowAndRenderer%2Ccint%2Ccint%2Cuint32%2CWindowPtr%2CRendererPtr"><span class="Identifier">createWindowAndRenderer</span></a><span class="Other">(</span><span class="Identifier">width</span><span class="Other">,</span> <span class="Identifier">height</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">;</span> <span class="Identifier">window_flags</span><span class="Other">:</span> <span class="Identifier">uint32</span><span class="Other">;</span>
  4923. <span class="Identifier">window</span><span class="Other">:</span> <span class="Keyword">var</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">;</span> <span class="Identifier">renderer</span><span class="Other">:</span> <span class="Keyword">var</span> <a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  4924. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_CreateWindowAndRenderer&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4925. <dd>
  4926. </dd>
  4927. <a id="createRenderer,WindowPtr,cint,cint"></a>
  4928. <dt><pre><span class="Keyword">proc</span> <a href="#createRenderer%2CWindowPtr%2Ccint%2Ccint"><span class="Identifier">createRenderer</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">;</span> <span class="Identifier">index</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">;</span> <span class="Identifier">flags</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  4929. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_CreateRenderer&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4930. <dd>
  4931. </dd>
  4932. <a id="createSoftwareRenderer,SurfacePtr"></a>
  4933. <dt><pre><span class="Keyword">proc</span> <a href="#createSoftwareRenderer%2CSurfacePtr"><span class="Identifier">createSoftwareRenderer</span></a><span class="Other">(</span><span class="Identifier">surface</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  4934. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_CreateSoftwareRenderer&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4935. <dd>
  4936. </dd>
  4937. <a id="getRenderer,WindowPtr"></a>
  4938. <dt><pre><span class="Keyword">proc</span> <a href="#getRenderer%2CWindowPtr"><span class="Identifier">getRenderer</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetRenderer&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4939. <dd>
  4940. </dd>
  4941. <a id="getRendererInfo,RendererPtr,RendererInfoPtr"></a>
  4942. <dt><pre><span class="Keyword">proc</span> <a href="#getRendererInfo%2CRendererPtr%2CRendererInfoPtr"><span class="Identifier">getRendererInfo</span></a><span class="Other">(</span><span class="Identifier">renderer</span><span class="Other">:</span> <a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a><span class="Other">;</span> <span class="Identifier">info</span><span class="Other">:</span> <a href="sdl2.html#RendererInfoPtr"><span class="Identifier">RendererInfoPtr</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  4943. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetRendererInfo&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4944. <dd>
  4945. </dd>
  4946. <a id="getRendererOutputSize,RendererPtr,ptr.cint,ptr.cint"></a>
  4947. <dt><pre><span class="Keyword">proc</span> <a href="#getRendererOutputSize%2CRendererPtr%2Cptr.cint%2Cptr.cint"><span class="Identifier">getRendererOutputSize</span></a><span class="Other">(</span><span class="Identifier">renderer</span><span class="Other">:</span> <a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a><span class="Other">;</span> <span class="Identifier">w</span><span class="Other">:</span> <span class="Keyword">ptr</span> <span class="Identifier">cint</span><span class="Other">;</span> <span class="Identifier">h</span><span class="Other">:</span> <span class="Keyword">ptr</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  4948. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetRendererOutputSize&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4949. <dd>
  4950. </dd>
  4951. <a id="createTexture,RendererPtr,uint32,cint,cint,cint"></a>
  4952. <dt><pre><span class="Keyword">proc</span> <a href="#createTexture%2CRendererPtr%2Cuint32%2Ccint%2Ccint%2Ccint"><span class="Identifier">createTexture</span></a><span class="Other">(</span><span class="Identifier">renderer</span><span class="Other">:</span> <a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a><span class="Other">;</span> <span class="Identifier">format</span><span class="Other">:</span> <span class="Identifier">uint32</span><span class="Other">;</span> <span class="Identifier">access</span><span class="Other">,</span> <span class="Identifier">w</span><span class="Other">,</span> <span class="Identifier">h</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#TexturePtr"><span class="Identifier">TexturePtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  4953. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_CreateTexture&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4954. <dd>
  4955. </dd>
  4956. <a id="createTextureFromSurface,RendererPtr,SurfacePtr"></a>
  4957. <dt><pre><span class="Keyword">proc</span> <a href="#createTextureFromSurface%2CRendererPtr%2CSurfacePtr"><span class="Identifier">createTextureFromSurface</span></a><span class="Other">(</span><span class="Identifier">renderer</span><span class="Other">:</span> <a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a><span class="Other">;</span> <span class="Identifier">surface</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#TexturePtr"><span class="Identifier">TexturePtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  4958. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_CreateTextureFromSurface&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4959. <dd>
  4960. </dd>
  4961. <a id="createTexture,RendererPtr,SurfacePtr"></a>
  4962. <dt><pre><span class="Keyword">proc</span> <a href="#createTexture%2CRendererPtr%2CSurfacePtr"><span class="Identifier">createTexture</span></a><span class="Other">(</span><span class="Identifier">renderer</span><span class="Other">:</span> <a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a><span class="Other">;</span> <span class="Identifier">surface</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#TexturePtr"><span class="Identifier">TexturePtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">inline</span><span class="Other">,</span>
  4963. <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  4964. <dd>
  4965. </dd>
  4966. <a id="queryTexture,TexturePtr,ptr.uint32,ptr.cint,ptr.cint,ptr.cint"></a>
  4967. <dt><pre><span class="Keyword">proc</span> <a href="#queryTexture%2CTexturePtr%2Cptr.uint32%2Cptr.cint%2Cptr.cint%2Cptr.cint"><span class="Identifier">queryTexture</span></a><span class="Other">(</span><span class="Identifier">texture</span><span class="Other">:</span> <a href="sdl2.html#TexturePtr"><span class="Identifier">TexturePtr</span></a><span class="Other">;</span> <span class="Identifier">format</span><span class="Other">:</span> <span class="Keyword">ptr</span> <span class="Identifier">uint32</span><span class="Other">;</span> <span class="Identifier">access</span><span class="Other">,</span> <span class="Identifier">w</span><span class="Other">,</span> <span class="Identifier">h</span><span class="Other">:</span> <span class="Keyword">ptr</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  4968. <span class="Identifier">discardable</span><span class="Other">,</span> <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_QueryTexture&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4969. <dd>
  4970. </dd>
  4971. <a id="setTextureColorMod,TexturePtr,uint8,uint8,uint8"></a>
  4972. <dt><pre><span class="Keyword">proc</span> <a href="#setTextureColorMod%2CTexturePtr%2Cuint8%2Cuint8%2Cuint8"><span class="Identifier">setTextureColorMod</span></a><span class="Other">(</span><span class="Identifier">texture</span><span class="Other">:</span> <a href="sdl2.html#TexturePtr"><span class="Identifier">TexturePtr</span></a><span class="Other">;</span> <span class="Identifier">r</span><span class="Other">,</span> <span class="Identifier">g</span><span class="Other">,</span> <span class="Identifier">b</span><span class="Other">:</span> <span class="Identifier">uint8</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  4973. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_SetTextureColorMod&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4974. <dd>
  4975. </dd>
  4976. <a id="getTextureColorMod,TexturePtr,uint8,uint8,uint8"></a>
  4977. <dt><pre><span class="Keyword">proc</span> <a href="#getTextureColorMod%2CTexturePtr%2Cuint8%2Cuint8%2Cuint8"><span class="Identifier">getTextureColorMod</span></a><span class="Other">(</span><span class="Identifier">texture</span><span class="Other">:</span> <a href="sdl2.html#TexturePtr"><span class="Identifier">TexturePtr</span></a><span class="Other">;</span> <span class="Identifier">r</span><span class="Other">,</span> <span class="Identifier">g</span><span class="Other">,</span> <span class="Identifier">b</span><span class="Other">:</span> <span class="Keyword">var</span> <span class="Identifier">uint8</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  4978. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetTextureColorMod&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  4979. <dd>
  4980. </dd>
  4981. <a id="setTextureAlphaMod,TexturePtr,uint8"></a>
  4982. <dt><pre><span class="Keyword">proc</span> <a href="#setTextureAlphaMod%2CTexturePtr%2Cuint8"><span class="Identifier">setTextureAlphaMod</span></a><span class="Other">(</span><span class="Identifier">texture</span><span class="Other">:</span> <a href="sdl2.html#TexturePtr"><span class="Identifier">TexturePtr</span></a><span class="Other">;</span> <span class="Identifier">alpha</span><span class="Other">:</span> <span class="Identifier">uint8</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  4983. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_SetTextureAlphaMod&quot;</span><span class="Other">,</span> <span class="Identifier">discardable</span></span><span class="Other">.}</span></span></pre></dt>
  4984. <dd>
  4985. </dd>
  4986. <a id="getTextureAlphaMod,TexturePtr,uint8"></a>
  4987. <dt><pre><span class="Keyword">proc</span> <a href="#getTextureAlphaMod%2CTexturePtr%2Cuint8"><span class="Identifier">getTextureAlphaMod</span></a><span class="Other">(</span><span class="Identifier">texture</span><span class="Other">:</span> <a href="sdl2.html#TexturePtr"><span class="Identifier">TexturePtr</span></a><span class="Other">;</span> <span class="Identifier">alpha</span><span class="Other">:</span> <span class="Keyword">var</span> <span class="Identifier">uint8</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  4988. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetTextureAlphaMod&quot;</span><span class="Other">,</span> <span class="Identifier">discardable</span></span><span class="Other">.}</span></span></pre></dt>
  4989. <dd>
  4990. </dd>
  4991. <a id="setTextureBlendMode,TexturePtr,BlendMode"></a>
  4992. <dt><pre><span class="Keyword">proc</span> <a href="#setTextureBlendMode%2CTexturePtr%2CBlendMode"><span class="Identifier">setTextureBlendMode</span></a><span class="Other">(</span><span class="Identifier">texture</span><span class="Other">:</span> <a href="sdl2.html#TexturePtr"><span class="Identifier">TexturePtr</span></a><span class="Other">;</span> <span class="Identifier">blendMode</span><span class="Other">:</span> <a href="sdl2.html#BlendMode"><span class="Identifier">BlendMode</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  4993. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_SetTextureBlendMode&quot;</span><span class="Other">,</span> <span class="Identifier">discardable</span></span><span class="Other">.}</span></span></pre></dt>
  4994. <dd>
  4995. </dd>
  4996. <a id="getTextureBlendMode,TexturePtr,BlendMode"></a>
  4997. <dt><pre><span class="Keyword">proc</span> <a href="#getTextureBlendMode%2CTexturePtr%2CBlendMode"><span class="Identifier">getTextureBlendMode</span></a><span class="Other">(</span><span class="Identifier">texture</span><span class="Other">:</span> <a href="sdl2.html#TexturePtr"><span class="Identifier">TexturePtr</span></a><span class="Other">;</span> <span class="Identifier">blendMode</span><span class="Other">:</span> <span class="Keyword">var</span> <a href="sdl2.html#BlendMode"><span class="Identifier">BlendMode</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  4998. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetTextureBlendMode&quot;</span><span class="Other">,</span> <span class="Identifier">discardable</span></span><span class="Other">.}</span></span></pre></dt>
  4999. <dd>
  5000. </dd>
  5001. <a id="updateTexture,TexturePtr,ptr.Rect,pointer,cint"></a>
  5002. <dt><pre><span class="Keyword">proc</span> <a href="#updateTexture%2CTexturePtr%2Cptr.Rect%2Cpointer%2Ccint"><span class="Identifier">updateTexture</span></a><span class="Other">(</span><span class="Identifier">texture</span><span class="Other">:</span> <a href="sdl2.html#TexturePtr"><span class="Identifier">TexturePtr</span></a><span class="Other">;</span> <span class="Identifier">rect</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Rect"><span class="Identifier">Rect</span></a><span class="Other">;</span> <span class="Identifier">pixels</span><span class="Other">:</span> <span class="Identifier">pointer</span><span class="Other">;</span> <span class="Identifier">pitch</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5003. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_UpdateTexture&quot;</span><span class="Other">,</span> <span class="Identifier">discardable</span></span><span class="Other">.}</span></span></pre></dt>
  5004. <dd>
  5005. </dd>
  5006. <a id="lockTexture,TexturePtr,ptr.Rect,ptr.pointer,ptr.cint"></a>
  5007. <dt><pre><span class="Keyword">proc</span> <a href="#lockTexture%2CTexturePtr%2Cptr.Rect%2Cptr.pointer%2Cptr.cint"><span class="Identifier">lockTexture</span></a><span class="Other">(</span><span class="Identifier">texture</span><span class="Other">:</span> <a href="sdl2.html#TexturePtr"><span class="Identifier">TexturePtr</span></a><span class="Other">;</span> <span class="Identifier">rect</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Rect"><span class="Identifier">Rect</span></a><span class="Other">;</span> <span class="Identifier">pixels</span><span class="Other">:</span> <span class="Keyword">ptr</span> <span class="Identifier">pointer</span><span class="Other">;</span>
  5008. <span class="Identifier">pitch</span><span class="Other">:</span> <span class="Keyword">ptr</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_LockTexture&quot;</span><span class="Other">,</span> <span class="Identifier">discardable</span></span><span class="Other">.}</span></span></pre></dt>
  5009. <dd>
  5010. </dd>
  5011. <a id="unlockTexture,TexturePtr"></a>
  5012. <dt><pre><span class="Keyword">proc</span> <a href="#unlockTexture%2CTexturePtr"><span class="Identifier">unlockTexture</span></a><span class="Other">(</span><span class="Identifier">texture</span><span class="Other">:</span> <a href="sdl2.html#TexturePtr"><span class="Identifier">TexturePtr</span></a><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_UnlockTexture&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5013. <dd>
  5014. </dd>
  5015. <a id="renderTargetSupported,RendererPtr"></a>
  5016. <dt><pre><span class="Keyword">proc</span> <a href="#renderTargetSupported%2CRendererPtr"><span class="Identifier">renderTargetSupported</span></a><span class="Other">(</span><span class="Identifier">renderer</span><span class="Other">:</span> <a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#Bool32"><span class="Identifier">Bool32</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5017. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_RenderTargetSupported&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5018. <dd>
  5019. </dd>
  5020. <a id="setRenderTarget,RendererPtr,TexturePtr"></a>
  5021. <dt><pre><span class="Keyword">proc</span> <a href="#setRenderTarget%2CRendererPtr%2CTexturePtr"><span class="Identifier">setRenderTarget</span></a><span class="Other">(</span><span class="Identifier">renderer</span><span class="Other">:</span> <a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a><span class="Other">;</span> <span class="Identifier">texture</span><span class="Other">:</span> <a href="sdl2.html#TexturePtr"><span class="Identifier">TexturePtr</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5022. <span class="Identifier">discardable</span><span class="Other">,</span> <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_SetRenderTarget&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5023. <dd>
  5024. </dd>
  5025. <a id="getRenderTarget,RendererPtr"></a>
  5026. <dt><pre><span class="Keyword">proc</span> <a href="#getRenderTarget%2CRendererPtr"><span class="Identifier">getRenderTarget</span></a><span class="Other">(</span><span class="Identifier">renderer</span><span class="Other">:</span> <a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#TexturePtr"><span class="Identifier">TexturePtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5027. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetRenderTarget&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5028. <dd>
  5029. </dd>
  5030. <a id="setViewport,RendererPtr,ptr.Rect"></a>
  5031. <dt><pre><span class="Keyword">proc</span> <a href="#setViewport%2CRendererPtr%2Cptr.Rect"><span class="Identifier">setViewport</span></a><span class="Other">(</span><span class="Identifier">renderer</span><span class="Other">:</span> <a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a><span class="Other">;</span> <span class="Identifier">rect</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Rect"><span class="Identifier">Rect</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5032. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_RenderSetViewport&quot;</span><span class="Other">,</span> <span class="Identifier">discardable</span></span><span class="Other">.}</span></span></pre></dt>
  5033. <dd>
  5034. </dd>
  5035. <a id="getViewport,RendererPtr,Rect"></a>
  5036. <dt><pre><span class="Keyword">proc</span> <a href="#getViewport%2CRendererPtr%2CRect"><span class="Identifier">getViewport</span></a><span class="Other">(</span><span class="Identifier">renderer</span><span class="Other">:</span> <a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a><span class="Other">;</span> <span class="Identifier">rect</span><span class="Other">:</span> <span class="Keyword">var</span> <a href="sdl2.html#Rect"><span class="Identifier">Rect</span></a><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5037. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_RenderGetViewport&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5038. <dd>
  5039. </dd>
  5040. <a id="setScale,RendererPtr,cfloat,cfloat"></a>
  5041. <dt><pre><span class="Keyword">proc</span> <a href="#setScale%2CRendererPtr%2Ccfloat%2Ccfloat"><span class="Identifier">setScale</span></a><span class="Other">(</span><span class="Identifier">renderer</span><span class="Other">:</span> <a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a><span class="Other">;</span> <span class="Identifier">scaleX</span><span class="Other">,</span> <span class="Identifier">scaleY</span><span class="Other">:</span> <span class="Identifier">cfloat</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5042. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_RenderSetScale&quot;</span><span class="Other">,</span> <span class="Identifier">discardable</span></span><span class="Other">.}</span></span></pre></dt>
  5043. <dd>
  5044. </dd>
  5045. <a id="getScale,RendererPtr,cfloat,cfloat"></a>
  5046. <dt><pre><span class="Keyword">proc</span> <a href="#getScale%2CRendererPtr%2Ccfloat%2Ccfloat"><span class="Identifier">getScale</span></a><span class="Other">(</span><span class="Identifier">renderer</span><span class="Other">:</span> <a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a><span class="Other">;</span> <span class="Identifier">scaleX</span><span class="Other">,</span> <span class="Identifier">scaleY</span><span class="Other">:</span> <span class="Keyword">var</span> <span class="Identifier">cfloat</span><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5047. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_RenderGetScale&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5048. <dd>
  5049. </dd>
  5050. <a id="drawPoint,RendererPtr,cint,cint"></a>
  5051. <dt><pre><span class="Keyword">proc</span> <a href="#drawPoint%2CRendererPtr%2Ccint%2Ccint"><span class="Identifier">drawPoint</span></a><span class="Other">(</span><span class="Identifier">renderer</span><span class="Other">:</span> <a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a><span class="Other">;</span> <span class="Identifier">x</span><span class="Other">,</span> <span class="Identifier">y</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5052. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_RenderDrawPoint&quot;</span><span class="Other">,</span> <span class="Identifier">discardable</span></span><span class="Other">.}</span></span></pre></dt>
  5053. <dd>
  5054. </dd>
  5055. <a id="drawPoints,RendererPtr,ptr.Point,cint"></a>
  5056. <dt><pre><span class="Keyword">proc</span> <a href="#drawPoints%2CRendererPtr%2Cptr.Point%2Ccint"><span class="Identifier">drawPoints</span></a><span class="Other">(</span><span class="Identifier">renderer</span><span class="Other">:</span> <a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a><span class="Other">;</span> <span class="Identifier">points</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Point"><span class="Identifier">Point</span></a><span class="Other">;</span> <span class="Identifier">count</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5057. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_RenderDrawPoints&quot;</span><span class="Other">,</span> <span class="Identifier">discardable</span></span><span class="Other">.}</span></span></pre></dt>
  5058. <dd>
  5059. </dd>
  5060. <a id="drawLine,RendererPtr,cint,cint,cint,cint"></a>
  5061. <dt><pre><span class="Keyword">proc</span> <a href="#drawLine%2CRendererPtr%2Ccint%2Ccint%2Ccint%2Ccint"><span class="Identifier">drawLine</span></a><span class="Other">(</span><span class="Identifier">renderer</span><span class="Other">:</span> <a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a><span class="Other">;</span> <span class="Identifier">x1</span><span class="Other">,</span> <span class="Identifier">y1</span><span class="Other">,</span> <span class="Identifier">x2</span><span class="Other">,</span> <span class="Identifier">y2</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5062. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_RenderDrawLine&quot;</span><span class="Other">,</span> <span class="Identifier">discardable</span></span><span class="Other">.}</span></span></pre></dt>
  5063. <dd>
  5064. </dd>
  5065. <a id="drawLines,RendererPtr,ptr.Point,cint"></a>
  5066. <dt><pre><span class="Keyword">proc</span> <a href="#drawLines%2CRendererPtr%2Cptr.Point%2Ccint"><span class="Identifier">drawLines</span></a><span class="Other">(</span><span class="Identifier">renderer</span><span class="Other">:</span> <a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a><span class="Other">;</span> <span class="Identifier">points</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Point"><span class="Identifier">Point</span></a><span class="Other">;</span> <span class="Identifier">count</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5067. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_RenderDrawLines&quot;</span><span class="Other">,</span> <span class="Identifier">discardable</span></span><span class="Other">.}</span></span></pre></dt>
  5068. <dd>
  5069. </dd>
  5070. <a id="drawRect,RendererPtr,Rect"></a>
  5071. <dt><pre><span class="Keyword">proc</span> <a href="#drawRect%2CRendererPtr%2CRect"><span class="Identifier">drawRect</span></a><span class="Other">(</span><span class="Identifier">renderer</span><span class="Other">:</span> <a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a><span class="Other">;</span> <span class="Identifier">rect</span><span class="Other">:</span> <span class="Keyword">var</span> <a href="sdl2.html#Rect"><span class="Identifier">Rect</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5072. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_RenderDrawRect&quot;</span><span class="Other">,</span> <span class="Identifier">discardable</span></span><span class="Other">.}</span></span></pre></dt>
  5073. <dd>
  5074. </dd>
  5075. <a id="drawRect,RendererPtr,ptr.Rect"></a>
  5076. <dt><pre><span class="Keyword">proc</span> <a href="#drawRect%2CRendererPtr%2Cptr.Rect"><span class="Identifier">drawRect</span></a><span class="Other">(</span><span class="Identifier">renderer</span><span class="Other">:</span> <a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a><span class="Other">;</span> <span class="Identifier">rect</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Rect"><span class="Identifier">Rect</span></a> <span class="Other">=</span> <span class="Keyword">nil</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5077. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_RenderDrawRect&quot;</span><span class="Other">,</span> <span class="Identifier">discardable</span></span><span class="Other">.}</span></span></pre></dt>
  5078. <dd>
  5079. </dd>
  5080. <a id="drawRects,RendererPtr,ptr.Rect,cint"></a>
  5081. <dt><pre><span class="Keyword">proc</span> <a href="#drawRects%2CRendererPtr%2Cptr.Rect%2Ccint"><span class="Identifier">drawRects</span></a><span class="Other">(</span><span class="Identifier">renderer</span><span class="Other">:</span> <a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a><span class="Other">;</span> <span class="Identifier">rects</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Rect"><span class="Identifier">Rect</span></a><span class="Other">;</span> <span class="Identifier">count</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5082. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_RenderDrawRects&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5083. <dd>
  5084. </dd>
  5085. <a id="fillRect,RendererPtr,Rect"></a>
  5086. <dt><pre><span class="Keyword">proc</span> <a href="#fillRect%2CRendererPtr%2CRect"><span class="Identifier">fillRect</span></a><span class="Other">(</span><span class="Identifier">renderer</span><span class="Other">:</span> <a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a><span class="Other">;</span> <span class="Identifier">rect</span><span class="Other">:</span> <span class="Keyword">var</span> <a href="sdl2.html#Rect"><span class="Identifier">Rect</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5087. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_RenderFillRect&quot;</span><span class="Other">,</span> <span class="Identifier">discardable</span></span><span class="Other">.}</span></span></pre></dt>
  5088. <dd>
  5089. </dd>
  5090. <a id="fillRect,RendererPtr,ptr.Rect"></a>
  5091. <dt><pre><span class="Keyword">proc</span> <a href="#fillRect%2CRendererPtr%2Cptr.Rect"><span class="Identifier">fillRect</span></a><span class="Other">(</span><span class="Identifier">renderer</span><span class="Other">:</span> <a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a><span class="Other">;</span> <span class="Identifier">rect</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Rect"><span class="Identifier">Rect</span></a> <span class="Other">=</span> <span class="Keyword">nil</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5092. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_RenderFillRect&quot;</span><span class="Other">,</span> <span class="Identifier">discardable</span></span><span class="Other">.}</span></span></pre></dt>
  5093. <dd>
  5094. </dd>
  5095. <a id="fillRects,RendererPtr,ptr.Rect,cint"></a>
  5096. <dt><pre><span class="Keyword">proc</span> <a href="#fillRects%2CRendererPtr%2Cptr.Rect%2Ccint"><span class="Identifier">fillRects</span></a><span class="Other">(</span><span class="Identifier">renderer</span><span class="Other">:</span> <a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a><span class="Other">;</span> <span class="Identifier">rects</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Rect"><span class="Identifier">Rect</span></a><span class="Other">;</span> <span class="Identifier">count</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5097. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_RenderFillRects&quot;</span><span class="Other">,</span> <span class="Identifier">discardable</span></span><span class="Other">.}</span></span></pre></dt>
  5098. <dd>
  5099. </dd>
  5100. <a id="copy,RendererPtr,TexturePtr,ptr.Rect,ptr.Rect"></a>
  5101. <dt><pre><span class="Keyword">proc</span> <a href="#copy%2CRendererPtr%2CTexturePtr%2Cptr.Rect%2Cptr.Rect"><span class="Identifier">copy</span></a><span class="Other">(</span><span class="Identifier">renderer</span><span class="Other">:</span> <a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a><span class="Other">;</span> <span class="Identifier">texture</span><span class="Other">:</span> <a href="sdl2.html#TexturePtr"><span class="Identifier">TexturePtr</span></a><span class="Other">;</span> <span class="Identifier">srcrect</span><span class="Other">,</span> <span class="Identifier">dstrect</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Rect"><span class="Identifier">Rect</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5102. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_RenderCopy&quot;</span><span class="Other">,</span> <span class="Identifier">discardable</span></span><span class="Other">.}</span></span></pre></dt>
  5103. <dd>
  5104. </dd>
  5105. <a id="copyEx,RendererPtr,TexturePtr,Rect,Rect,cdouble,ptr.Point,RendererFlip"></a>
  5106. <dt><pre><span class="Keyword">proc</span> <a href="#copyEx%2CRendererPtr%2CTexturePtr%2CRect%2CRect%2Ccdouble%2Cptr.Point%2CRendererFlip"><span class="Identifier">copyEx</span></a><span class="Other">(</span><span class="Identifier">renderer</span><span class="Other">:</span> <a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a><span class="Other">;</span> <span class="Identifier">texture</span><span class="Other">:</span> <a href="sdl2.html#TexturePtr"><span class="Identifier">TexturePtr</span></a><span class="Other">;</span> <span class="Identifier">srcrect</span><span class="Other">,</span> <span class="Identifier">dstrect</span><span class="Other">:</span> <span class="Keyword">var</span> <a href="sdl2.html#Rect"><span class="Identifier">Rect</span></a><span class="Other">;</span>
  5107. <span class="Identifier">angle</span><span class="Other">:</span> <span class="Identifier">cdouble</span><span class="Other">;</span> <span class="Identifier">center</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Point"><span class="Identifier">Point</span></a><span class="Other">;</span> <span class="Identifier">flip</span><span class="Other">:</span> <a href="sdl2.html#RendererFlip"><span class="Identifier">RendererFlip</span></a> <span class="Other">=</span> <span class="Identifier">SDL_FLIP_NONE</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5108. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_RenderCopyEx&quot;</span><span class="Other">,</span> <span class="Identifier">discardable</span></span><span class="Other">.}</span></span></pre></dt>
  5109. <dd>
  5110. </dd>
  5111. <a id="copyEx,RendererPtr,TexturePtr,ptr.Rect,ptr.Rect,cdouble,ptr.Point,RendererFlip"></a>
  5112. <dt><pre><span class="Keyword">proc</span> <a href="#copyEx%2CRendererPtr%2CTexturePtr%2Cptr.Rect%2Cptr.Rect%2Ccdouble%2Cptr.Point%2CRendererFlip"><span class="Identifier">copyEx</span></a><span class="Other">(</span><span class="Identifier">renderer</span><span class="Other">:</span> <a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a><span class="Other">;</span> <span class="Identifier">texture</span><span class="Other">:</span> <a href="sdl2.html#TexturePtr"><span class="Identifier">TexturePtr</span></a><span class="Other">;</span> <span class="Identifier">srcrect</span><span class="Other">,</span> <span class="Identifier">dstrect</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Rect"><span class="Identifier">Rect</span></a><span class="Other">;</span>
  5113. <span class="Identifier">angle</span><span class="Other">:</span> <span class="Identifier">cdouble</span><span class="Other">;</span> <span class="Identifier">center</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Point"><span class="Identifier">Point</span></a><span class="Other">;</span> <span class="Identifier">flip</span><span class="Other">:</span> <a href="sdl2.html#RendererFlip"><span class="Identifier">RendererFlip</span></a> <span class="Other">=</span> <span class="Identifier">SDL_FLIP_NONE</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5114. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_RenderCopyEx&quot;</span><span class="Other">,</span> <span class="Identifier">discardable</span></span><span class="Other">.}</span></span></pre></dt>
  5115. <dd>
  5116. </dd>
  5117. <a id="clear,RendererPtr"></a>
  5118. <dt><pre><span class="Keyword">proc</span> <a href="#clear%2CRendererPtr"><span class="Identifier">clear</span></a><span class="Other">(</span><span class="Identifier">renderer</span><span class="Other">:</span> <a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_RenderClear&quot;</span><span class="Other">,</span> <span class="Identifier">discardable</span></span><span class="Other">.}</span></span></pre></dt>
  5119. <dd>
  5120. </dd>
  5121. <a id="readPixels,RendererPtr,Rect,cint,pointer,cint"></a>
  5122. <dt><pre><span class="Keyword">proc</span> <a href="#readPixels%2CRendererPtr%2CRect%2Ccint%2Cpointer%2Ccint"><span class="Identifier">readPixels</span></a><span class="Other">(</span><span class="Identifier">renderer</span><span class="Other">:</span> <a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a><span class="Other">;</span> <span class="Identifier">rect</span><span class="Other">:</span> <span class="Keyword">var</span> <a href="sdl2.html#Rect"><span class="Identifier">Rect</span></a><span class="Other">;</span> <span class="Identifier">format</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">;</span> <span class="Identifier">pixels</span><span class="Other">:</span> <span class="Identifier">pointer</span><span class="Other">;</span>
  5123. <span class="Identifier">pitch</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_RenderReadPixels&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5124. <dd>
  5125. </dd>
  5126. <a id="readPixels,RendererPtr,ptr.Rect,cint,pointer,cint"></a>
  5127. <dt><pre><span class="Keyword">proc</span> <a href="#readPixels%2CRendererPtr%2Cptr.Rect%2Ccint%2Cpointer%2Ccint"><span class="Identifier">readPixels</span></a><span class="Other">(</span><span class="Identifier">renderer</span><span class="Other">:</span> <a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a><span class="Other">;</span> <span class="Identifier">rect</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Rect"><span class="Identifier">Rect</span></a><span class="Other">;</span> <span class="Identifier">format</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">;</span> <span class="Identifier">pixels</span><span class="Other">:</span> <span class="Identifier">pointer</span><span class="Other">;</span>
  5128. <span class="Identifier">pitch</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_RenderReadPixels&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5129. <dd>
  5130. </dd>
  5131. <a id="present,RendererPtr"></a>
  5132. <dt><pre><span class="Keyword">proc</span> <a href="#present%2CRendererPtr"><span class="Identifier">present</span></a><span class="Other">(</span><span class="Identifier">renderer</span><span class="Other">:</span> <a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_RenderPresent&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5133. <dd>
  5134. </dd>
  5135. <a id="glBindTexture,TexturePtr,cfloat,cfloat"></a>
  5136. <dt><pre><span class="Keyword">proc</span> <a href="#glBindTexture%2CTexturePtr%2Ccfloat%2Ccfloat"><span class="Identifier">glBindTexture</span></a><span class="Other">(</span><span class="Identifier">texture</span><span class="Other">:</span> <a href="sdl2.html#TexturePtr"><span class="Identifier">TexturePtr</span></a><span class="Other">;</span> <span class="Identifier">texw</span><span class="Other">,</span> <span class="Identifier">texh</span><span class="Other">:</span> <span class="Keyword">var</span> <span class="Identifier">cfloat</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5137. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GL_BindTexture&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5138. <dd>
  5139. </dd>
  5140. <a id="glUnbindTexture,TexturePtr"></a>
  5141. <dt><pre><span class="Keyword">proc</span> <a href="#glUnbindTexture%2CTexturePtr"><span class="Identifier">glUnbindTexture</span></a><span class="Other">(</span><span class="Identifier">texture</span><span class="Other">:</span> <a href="sdl2.html#TexturePtr"><span class="Identifier">TexturePtr</span></a><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GL_UnbindTexture&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5142. <dd>
  5143. </dd>
  5144. <a id="createRGBSurface,cint,cint,cint,cint,uint32,uint32,uint32,uint32"></a>
  5145. <dt><pre><span class="Keyword">proc</span> <a href="#createRGBSurface%2Ccint%2Ccint%2Ccint%2Ccint%2Cuint32%2Cuint32%2Cuint32%2Cuint32"><span class="Identifier">createRGBSurface</span></a><span class="Other">(</span><span class="Identifier">flags</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">;</span> <span class="Identifier">width</span><span class="Other">,</span> <span class="Identifier">height</span><span class="Other">,</span> <span class="Identifier">depth</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">;</span>
  5146. <span class="Identifier">Rmask</span><span class="Other">,</span> <span class="Identifier">Gmask</span><span class="Other">,</span> <span class="Identifier">BMask</span><span class="Other">,</span> <span class="Identifier">Amask</span><span class="Other">:</span> <span class="Identifier">uint32</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5147. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_CreateRGBSurface&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5148. <dd>
  5149. </dd>
  5150. <a id="createRGBSurfaceFrom,pointer,cint,cint,cint,cint,uint32,uint32,uint32,uint32"></a>
  5151. <dt><pre><span class="Keyword">proc</span> <a href="#createRGBSurfaceFrom%2Cpointer%2Ccint%2Ccint%2Ccint%2Ccint%2Cuint32%2Cuint32%2Cuint32%2Cuint32"><span class="Identifier">createRGBSurfaceFrom</span></a><span class="Other">(</span><span class="Identifier">pixels</span><span class="Other">:</span> <span class="Identifier">pointer</span><span class="Other">;</span> <span class="Identifier">width</span><span class="Other">,</span> <span class="Identifier">height</span><span class="Other">,</span> <span class="Identifier">depth</span><span class="Other">,</span> <span class="Identifier">pitch</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">;</span>
  5152. <span class="Identifier">Rmask</span><span class="Other">,</span> <span class="Identifier">Gmask</span><span class="Other">,</span> <span class="Identifier">Bmask</span><span class="Other">,</span> <span class="Identifier">Amask</span><span class="Other">:</span> <span class="Identifier">uint32</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5153. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_CreateRGBSurfaceFrom&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5154. <dd>
  5155. </dd>
  5156. <a id="freeSurface,SurfacePtr"></a>
  5157. <dt><pre><span class="Keyword">proc</span> <a href="#freeSurface%2CSurfacePtr"><span class="Identifier">freeSurface</span></a><span class="Other">(</span><span class="Identifier">surface</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_FreeSurface&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5158. <dd>
  5159. </dd>
  5160. <a id="setSurfacePalette,SurfacePtr,ptr.Palette"></a>
  5161. <dt><pre><span class="Keyword">proc</span> <a href="#setSurfacePalette%2CSurfacePtr%2Cptr.Palette"><span class="Identifier">setSurfacePalette</span></a><span class="Other">(</span><span class="Identifier">surface</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a><span class="Other">;</span> <span class="Identifier">palette</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Palette"><span class="Identifier">Palette</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5162. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_SetSurfacePalette&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5163. <dd>
  5164. </dd>
  5165. <a id="lockSurface,SurfacePtr"></a>
  5166. <dt><pre><span class="Keyword">proc</span> <a href="#lockSurface%2CSurfacePtr"><span class="Identifier">lockSurface</span></a><span class="Other">(</span><span class="Identifier">surface</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_LockSurface&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5167. <dd>
  5168. </dd>
  5169. <a id="unlockSurface,SurfacePtr"></a>
  5170. <dt><pre><span class="Keyword">proc</span> <a href="#unlockSurface%2CSurfacePtr"><span class="Identifier">unlockSurface</span></a><span class="Other">(</span><span class="Identifier">surface</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_UnlockSurface&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5171. <dd>
  5172. </dd>
  5173. <a id="loadBMP_RW,RWopsPtr,cint"></a>
  5174. <dt><pre><span class="Keyword">proc</span> <a href="#loadBMP_RW%2CRWopsPtr%2Ccint"><span class="Identifier">loadBMP_RW</span></a><span class="Other">(</span><span class="Identifier">src</span><span class="Other">:</span> <a href="sdl2.html#RWopsPtr"><span class="Identifier">RWopsPtr</span></a><span class="Other">;</span> <span class="Identifier">freesrc</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_LoadBMP_RW&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5175. <dd>
  5176. </dd>
  5177. <a id="rwFromFile,cstring,cstring"></a>
  5178. <dt><pre><span class="Keyword">proc</span> <a href="#rwFromFile%2Ccstring%2Ccstring"><span class="Identifier">rwFromFile</span></a><span class="Other">(</span><span class="Identifier">file</span><span class="Other">:</span> <span class="Identifier">cstring</span><span class="Other">;</span> <span class="Identifier">mode</span><span class="Other">:</span> <span class="Identifier">cstring</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#RWopsPtr"><span class="Identifier">RWopsPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_RWFromFile&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5179. <dd>
  5180. </dd>
  5181. <a id="rwFromFP,File,Bool32"></a>
  5182. <dt><pre><span class="Keyword">proc</span> <a href="#rwFromFP%2CFile%2CBool32"><span class="Identifier">rwFromFP</span></a><span class="Other">(</span><span class="Identifier">fp</span><span class="Other">:</span> <span class="Identifier">File</span><span class="Other">;</span> <span class="Identifier">autoclose</span><span class="Other">:</span> <a href="sdl2.html#Bool32"><span class="Identifier">Bool32</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#RWopsPtr"><span class="Identifier">RWopsPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_RWFromFP&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5183. <dd>
  5184. </dd>
  5185. <a id="rwFromMem,pointer,cint"></a>
  5186. <dt><pre><span class="Keyword">proc</span> <a href="#rwFromMem%2Cpointer%2Ccint"><span class="Identifier">rwFromMem</span></a><span class="Other">(</span><span class="Identifier">mem</span><span class="Other">:</span> <span class="Identifier">pointer</span><span class="Other">;</span> <span class="Identifier">size</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#RWopsPtr"><span class="Identifier">RWopsPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_RWFromMem&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5187. <dd>
  5188. </dd>
  5189. <a id="rwFromConstMem,pointer,cint"></a>
  5190. <dt><pre><span class="Keyword">proc</span> <a href="#rwFromConstMem%2Cpointer%2Ccint"><span class="Identifier">rwFromConstMem</span></a><span class="Other">(</span><span class="Identifier">mem</span><span class="Other">:</span> <span class="Identifier">pointer</span><span class="Other">;</span> <span class="Identifier">size</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#RWopsPtr"><span class="Identifier">RWopsPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5191. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_RWFromConstMem&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5192. <dd>
  5193. </dd>
  5194. <a id="allocRW"></a>
  5195. <dt><pre><span class="Keyword">proc</span> <a href="#allocRW"><span class="Identifier">allocRW</span></a><span class="Other">(</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#RWopsPtr"><span class="Identifier">RWopsPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_AllocRW&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5196. <dd>
  5197. </dd>
  5198. <a id="freeRW,RWopsPtr"></a>
  5199. <dt><pre><span class="Keyword">proc</span> <a href="#freeRW%2CRWopsPtr"><span class="Identifier">freeRW</span></a><span class="Other">(</span><span class="Identifier">area</span><span class="Other">:</span> <a href="sdl2.html#RWopsPtr"><span class="Identifier">RWopsPtr</span></a><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_FreeRW&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5200. <dd>
  5201. </dd>
  5202. <a id="saveBMP_RW,SurfacePtr,RWopsPtr,cint"></a>
  5203. <dt><pre><span class="Keyword">proc</span> <a href="#saveBMP_RW%2CSurfacePtr%2CRWopsPtr%2Ccint"><span class="Identifier">saveBMP_RW</span></a><span class="Other">(</span><span class="Identifier">surface</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a><span class="Other">;</span> <span class="Identifier">dst</span><span class="Other">:</span> <a href="sdl2.html#RWopsPtr"><span class="Identifier">RWopsPtr</span></a><span class="Other">;</span> <span class="Identifier">freedst</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5204. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_SaveBMP_RW&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5205. <dd>
  5206. </dd>
  5207. <a id="setSurfaceRLE,SurfacePtr,cint"></a>
  5208. <dt><pre><span class="Keyword">proc</span> <a href="#setSurfaceRLE%2CSurfacePtr%2Ccint"><span class="Identifier">setSurfaceRLE</span></a><span class="Other">(</span><span class="Identifier">surface</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a><span class="Other">;</span> <span class="Identifier">flag</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5209. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_SetSurfaceRLE&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5210. <dd>
  5211. </dd>
  5212. <a id="setColorKey,SurfacePtr,cint,uint32"></a>
  5213. <dt><pre><span class="Keyword">proc</span> <a href="#setColorKey%2CSurfacePtr%2Ccint%2Cuint32"><span class="Identifier">setColorKey</span></a><span class="Other">(</span><span class="Identifier">surface</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a><span class="Other">;</span> <span class="Identifier">flag</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">;</span> <span class="Identifier">key</span><span class="Other">:</span> <span class="Identifier">uint32</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5214. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_SetColorKey&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5215. <dd>
  5216. </dd>
  5217. <a id="getColorKey,SurfacePtr,uint32"></a>
  5218. <dt><pre><span class="Keyword">proc</span> <a href="#getColorKey%2CSurfacePtr%2Cuint32"><span class="Identifier">getColorKey</span></a><span class="Other">(</span><span class="Identifier">surface</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a><span class="Other">;</span> <span class="Identifier">key</span><span class="Other">:</span> <span class="Keyword">var</span> <span class="Identifier">uint32</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5219. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetColorKey&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5220. <dd>
  5221. </dd>
  5222. <a id="setSurfaceColorMod,SurfacePtr,uint8,uint8,uint8"></a>
  5223. <dt><pre><span class="Keyword">proc</span> <a href="#setSurfaceColorMod%2CSurfacePtr%2Cuint8%2Cuint8%2Cuint8"><span class="Identifier">setSurfaceColorMod</span></a><span class="Other">(</span><span class="Identifier">surface</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a><span class="Other">;</span> <span class="Identifier">r</span><span class="Other">,</span> <span class="Identifier">g</span><span class="Other">,</span> <span class="Identifier">b</span><span class="Other">:</span> <span class="Identifier">uint8</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5224. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_SetSurfaceColorMod&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5225. <dd>
  5226. </dd>
  5227. <a id="getSurfaceColorMod,SurfacePtr,uint8,uint8,uint8"></a>
  5228. <dt><pre><span class="Keyword">proc</span> <a href="#getSurfaceColorMod%2CSurfacePtr%2Cuint8%2Cuint8%2Cuint8"><span class="Identifier">getSurfaceColorMod</span></a><span class="Other">(</span><span class="Identifier">surface</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a><span class="Other">;</span> <span class="Identifier">r</span><span class="Other">,</span> <span class="Identifier">g</span><span class="Other">,</span> <span class="Identifier">b</span><span class="Other">:</span> <span class="Keyword">var</span> <span class="Identifier">uint8</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5229. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetSurfaceColorMod&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5230. <dd>
  5231. </dd>
  5232. <a id="setSurfaceAlphaMod,SurfacePtr,uint8"></a>
  5233. <dt><pre><span class="Keyword">proc</span> <a href="#setSurfaceAlphaMod%2CSurfacePtr%2Cuint8"><span class="Identifier">setSurfaceAlphaMod</span></a><span class="Other">(</span><span class="Identifier">surface</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a><span class="Other">;</span> <span class="Identifier">alpha</span><span class="Other">:</span> <span class="Identifier">uint8</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5234. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_SetSurfaceAlphaMod&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5235. <dd>
  5236. </dd>
  5237. <a id="getSurfaceAlphaMod,SurfacePtr,uint8"></a>
  5238. <dt><pre><span class="Keyword">proc</span> <a href="#getSurfaceAlphaMod%2CSurfacePtr%2Cuint8"><span class="Identifier">getSurfaceAlphaMod</span></a><span class="Other">(</span><span class="Identifier">surface</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a><span class="Other">;</span> <span class="Identifier">alpha</span><span class="Other">:</span> <span class="Keyword">var</span> <span class="Identifier">uint8</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5239. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetSurfaceAlphaMod&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5240. <dd>
  5241. </dd>
  5242. <a id="setSurfaceBlendMode,SurfacePtr,BlendMode"></a>
  5243. <dt><pre><span class="Keyword">proc</span> <a href="#setSurfaceBlendMode%2CSurfacePtr%2CBlendMode"><span class="Identifier">setSurfaceBlendMode</span></a><span class="Other">(</span><span class="Identifier">surface</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a><span class="Other">;</span> <span class="Identifier">blendMode</span><span class="Other">:</span> <a href="sdl2.html#BlendMode"><span class="Identifier">BlendMode</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5244. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_SetSurfaceBlendMode&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5245. <dd>
  5246. </dd>
  5247. <a id="getSurfaceBlendMode,SurfacePtr,ptr.BlendMode"></a>
  5248. <dt><pre><span class="Keyword">proc</span> <a href="#getSurfaceBlendMode%2CSurfacePtr%2Cptr.BlendMode"><span class="Identifier">getSurfaceBlendMode</span></a><span class="Other">(</span><span class="Identifier">surface</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a><span class="Other">;</span> <span class="Identifier">blendMode</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#BlendMode"><span class="Identifier">BlendMode</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5249. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetSurfaceBlendMode&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5250. <dd>
  5251. </dd>
  5252. <a id="setClipRect,SurfacePtr,ptr.Rect"></a>
  5253. <dt><pre><span class="Keyword">proc</span> <a href="#setClipRect%2CSurfacePtr%2Cptr.Rect"><span class="Identifier">setClipRect</span></a><span class="Other">(</span><span class="Identifier">surface</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a><span class="Other">;</span> <span class="Identifier">rect</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Rect"><span class="Identifier">Rect</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#Bool32"><span class="Identifier">Bool32</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5254. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_SetClipRect&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5255. <dd>
  5256. </dd>
  5257. <a id="getClipRect,SurfacePtr,ptr.Rect"></a>
  5258. <dt><pre><span class="Keyword">proc</span> <a href="#getClipRect%2CSurfacePtr%2Cptr.Rect"><span class="Identifier">getClipRect</span></a><span class="Other">(</span><span class="Identifier">surface</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a><span class="Other">;</span> <span class="Identifier">rect</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Rect"><span class="Identifier">Rect</span></a><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetClipRect&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5259. <dd>
  5260. </dd>
  5261. <a id="setClipRect,RendererPtr,ptr.Rect"></a>
  5262. <dt><pre><span class="Keyword">proc</span> <a href="#setClipRect%2CRendererPtr%2Cptr.Rect"><span class="Identifier">setClipRect</span></a><span class="Other">(</span><span class="Identifier">renderer</span><span class="Other">:</span> <a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a><span class="Other">;</span> <span class="Identifier">rect</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Rect"><span class="Identifier">Rect</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5263. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_RenderSetClipRect&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5264. <dd>
  5265. </dd>
  5266. <a id="getClipRect,RendererPtr,ptr.Rect"></a>
  5267. <dt><pre><span class="Keyword">proc</span> <a href="#getClipRect%2CRendererPtr%2Cptr.Rect"><span class="Identifier">getClipRect</span></a><span class="Other">(</span><span class="Identifier">renderer</span><span class="Other">:</span> <a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a><span class="Other">;</span> <span class="Identifier">rect</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Rect"><span class="Identifier">Rect</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5268. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_RenderGetClipRect&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5269. <dd>
  5270. </dd>
  5271. <a id="isClipEnabled,RendererPtr"></a>
  5272. <dt><pre><span class="Keyword">proc</span> <a href="#isClipEnabled%2CRendererPtr"><span class="Identifier">isClipEnabled</span></a><span class="Other">(</span><span class="Identifier">renderer</span><span class="Other">:</span> <a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_RenderIsClipEnabled&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5273. <dd>
  5274. </dd>
  5275. <a id="convertSurface,SurfacePtr,ptr.PixelFormat,cint"></a>
  5276. <dt><pre><span class="Keyword">proc</span> <a href="#convertSurface%2CSurfacePtr%2Cptr.PixelFormat%2Ccint"><span class="Identifier">convertSurface</span></a><span class="Other">(</span><span class="Identifier">src</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a><span class="Other">;</span> <span class="Identifier">fmt</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#PixelFormat"><span class="Identifier">PixelFormat</span></a><span class="Other">;</span> <span class="Identifier">flags</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5277. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_ConvertSurface&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5278. <dd>
  5279. </dd>
  5280. <a id="convertSurfaceFormat,SurfacePtr,uint32,uint32"></a>
  5281. <dt><pre><span class="Keyword">proc</span> <a href="#convertSurfaceFormat%2CSurfacePtr%2Cuint32%2Cuint32"><span class="Identifier">convertSurfaceFormat</span></a><span class="Other">(</span><span class="Identifier">src</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a><span class="Other">;</span> <span class="Identifier">pixel_format</span><span class="Other">,</span> <span class="Identifier">flags</span><span class="Other">:</span> <span class="Identifier">uint32</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5282. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_ConvertSurfaceFormat&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5283. <dd>
  5284. </dd>
  5285. <a id="convertPixels,cint,cint,uint32,pointer,cint,uint32,pointer,cint"></a>
  5286. <dt><pre><span class="Keyword">proc</span> <a href="#convertPixels%2Ccint%2Ccint%2Cuint32%2Cpointer%2Ccint%2Cuint32%2Cpointer%2Ccint"><span class="Identifier">convertPixels</span></a><span class="Other">(</span><span class="Identifier">width</span><span class="Other">,</span> <span class="Identifier">height</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">;</span> <span class="Identifier">src_format</span><span class="Other">:</span> <span class="Identifier">uint32</span><span class="Other">;</span> <span class="Identifier">src</span><span class="Other">:</span> <span class="Identifier">pointer</span><span class="Other">;</span>
  5287. <span class="Identifier">src_pitch</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">;</span> <span class="Identifier">dst_format</span><span class="Other">:</span> <span class="Identifier">uint32</span><span class="Other">;</span> <span class="Identifier">dst</span><span class="Other">:</span> <span class="Identifier">pointer</span><span class="Other">;</span> <span class="Identifier">dst_pitch</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5288. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_ConvertPixels&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5289. <dd>
  5290. </dd>
  5291. <a id="fillRect,SurfacePtr,ptr.Rect,uint32"></a>
  5292. <dt><pre><span class="Keyword">proc</span> <a href="#fillRect%2CSurfacePtr%2Cptr.Rect%2Cuint32"><span class="Identifier">fillRect</span></a><span class="Other">(</span><span class="Identifier">dst</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a><span class="Other">;</span> <span class="Identifier">rect</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Rect"><span class="Identifier">Rect</span></a><span class="Other">;</span> <span class="Identifier">color</span><span class="Other">:</span> <span class="Identifier">uint32</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5293. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_FillRect&quot;</span><span class="Other">,</span> <span class="Identifier">discardable</span></span><span class="Other">.}</span></span></pre></dt>
  5294. <dd>
  5295. </dd>
  5296. <a id="fillRects,SurfacePtr,ptr.Rect,cint,uint32"></a>
  5297. <dt><pre><span class="Keyword">proc</span> <a href="#fillRects%2CSurfacePtr%2Cptr.Rect%2Ccint%2Cuint32"><span class="Identifier">fillRects</span></a><span class="Other">(</span><span class="Identifier">dst</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a><span class="Other">;</span> <span class="Identifier">rects</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Rect"><span class="Identifier">Rect</span></a><span class="Other">;</span> <span class="Identifier">count</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">;</span> <span class="Identifier">color</span><span class="Other">:</span> <span class="Identifier">uint32</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5298. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_FillRects&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5299. <dd>
  5300. </dd>
  5301. <a id="upperBlit,SurfacePtr,ptr.Rect,SurfacePtr,ptr.Rect"></a>
  5302. <dt><pre><span class="Keyword">proc</span> <a href="#upperBlit%2CSurfacePtr%2Cptr.Rect%2CSurfacePtr%2Cptr.Rect"><span class="Identifier">upperBlit</span></a><span class="Other">(</span><span class="Identifier">src</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a><span class="Other">;</span> <span class="Identifier">srcrect</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Rect"><span class="Identifier">Rect</span></a><span class="Other">;</span> <span class="Identifier">dst</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a><span class="Other">;</span> <span class="Identifier">dstrect</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Rect"><span class="Identifier">Rect</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5303. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_UpperBlit&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5304. <dd>
  5305. </dd>
  5306. <a id="lowerBlit,SurfacePtr,ptr.Rect,SurfacePtr,ptr.Rect"></a>
  5307. <dt><pre><span class="Keyword">proc</span> <a href="#lowerBlit%2CSurfacePtr%2Cptr.Rect%2CSurfacePtr%2Cptr.Rect"><span class="Identifier">lowerBlit</span></a><span class="Other">(</span><span class="Identifier">src</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a><span class="Other">;</span> <span class="Identifier">srcrect</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Rect"><span class="Identifier">Rect</span></a><span class="Other">;</span> <span class="Identifier">dst</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a><span class="Other">;</span> <span class="Identifier">dstrect</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Rect"><span class="Identifier">Rect</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5308. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_LowerBlit&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5309. <dd>
  5310. </dd>
  5311. <a id="softStretch,SurfacePtr,ptr.Rect,SurfacePtr,ptr.Rect"></a>
  5312. <dt><pre><span class="Keyword">proc</span> <a href="#softStretch%2CSurfacePtr%2Cptr.Rect%2CSurfacePtr%2Cptr.Rect"><span class="Identifier">softStretch</span></a><span class="Other">(</span><span class="Identifier">src</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a><span class="Other">;</span> <span class="Identifier">srcrect</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Rect"><span class="Identifier">Rect</span></a><span class="Other">;</span> <span class="Identifier">dst</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a><span class="Other">;</span> <span class="Identifier">dstrect</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Rect"><span class="Identifier">Rect</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5313. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_SoftStretch&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5314. <dd>
  5315. </dd>
  5316. <a id="upperBlitScaled,SurfacePtr,ptr.Rect,SurfacePtr,ptr.Rect"></a>
  5317. <dt><pre><span class="Keyword">proc</span> <a href="#upperBlitScaled%2CSurfacePtr%2Cptr.Rect%2CSurfacePtr%2Cptr.Rect"><span class="Identifier">upperBlitScaled</span></a><span class="Other">(</span><span class="Identifier">src</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a><span class="Other">;</span> <span class="Identifier">srcrect</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Rect"><span class="Identifier">Rect</span></a><span class="Other">;</span> <span class="Identifier">dst</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a><span class="Other">;</span>
  5318. <span class="Identifier">dstrect</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Rect"><span class="Identifier">Rect</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_UpperBlitScaled&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5319. <dd>
  5320. </dd>
  5321. <a id="lowerBlitScaled,SurfacePtr,ptr.Rect,SurfacePtr,ptr.Rect"></a>
  5322. <dt><pre><span class="Keyword">proc</span> <a href="#lowerBlitScaled%2CSurfacePtr%2Cptr.Rect%2CSurfacePtr%2Cptr.Rect"><span class="Identifier">lowerBlitScaled</span></a><span class="Other">(</span><span class="Identifier">src</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a><span class="Other">;</span> <span class="Identifier">srcrect</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Rect"><span class="Identifier">Rect</span></a><span class="Other">;</span> <span class="Identifier">dst</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a><span class="Other">;</span>
  5323. <span class="Identifier">dstrect</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Rect"><span class="Identifier">Rect</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_LowerBlitScaled&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5324. <dd>
  5325. </dd>
  5326. <a id="readU8,RWopsPtr"></a>
  5327. <dt><pre><span class="Keyword">proc</span> <a href="#readU8%2CRWopsPtr"><span class="Identifier">readU8</span></a><span class="Other">(</span><span class="Identifier">src</span><span class="Other">:</span> <a href="sdl2.html#RWopsPtr"><span class="Identifier">RWopsPtr</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">uint8</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_ReadU8&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5328. <dd>
  5329. </dd>
  5330. <a id="readLE16,RWopsPtr"></a>
  5331. <dt><pre><span class="Keyword">proc</span> <a href="#readLE16%2CRWopsPtr"><span class="Identifier">readLE16</span></a><span class="Other">(</span><span class="Identifier">src</span><span class="Other">:</span> <a href="sdl2.html#RWopsPtr"><span class="Identifier">RWopsPtr</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">uint16</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_ReadLE16&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5332. <dd>
  5333. </dd>
  5334. <a id="readBE16,RWopsPtr"></a>
  5335. <dt><pre><span class="Keyword">proc</span> <a href="#readBE16%2CRWopsPtr"><span class="Identifier">readBE16</span></a><span class="Other">(</span><span class="Identifier">src</span><span class="Other">:</span> <a href="sdl2.html#RWopsPtr"><span class="Identifier">RWopsPtr</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">uint16</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_ReadBE16&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5336. <dd>
  5337. </dd>
  5338. <a id="readLE32,RWopsPtr"></a>
  5339. <dt><pre><span class="Keyword">proc</span> <a href="#readLE32%2CRWopsPtr"><span class="Identifier">readLE32</span></a><span class="Other">(</span><span class="Identifier">src</span><span class="Other">:</span> <a href="sdl2.html#RWopsPtr"><span class="Identifier">RWopsPtr</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">uint32</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_ReadLE32&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5340. <dd>
  5341. </dd>
  5342. <a id="readBE32,RWopsPtr"></a>
  5343. <dt><pre><span class="Keyword">proc</span> <a href="#readBE32%2CRWopsPtr"><span class="Identifier">readBE32</span></a><span class="Other">(</span><span class="Identifier">src</span><span class="Other">:</span> <a href="sdl2.html#RWopsPtr"><span class="Identifier">RWopsPtr</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">uint32</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_ReadBE32&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5344. <dd>
  5345. </dd>
  5346. <a id="readLE64,RWopsPtr"></a>
  5347. <dt><pre><span class="Keyword">proc</span> <a href="#readLE64%2CRWopsPtr"><span class="Identifier">readLE64</span></a><span class="Other">(</span><span class="Identifier">src</span><span class="Other">:</span> <a href="sdl2.html#RWopsPtr"><span class="Identifier">RWopsPtr</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">uint64</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_ReadLE64&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5348. <dd>
  5349. </dd>
  5350. <a id="readBE64,RWopsPtr"></a>
  5351. <dt><pre><span class="Keyword">proc</span> <a href="#readBE64%2CRWopsPtr"><span class="Identifier">readBE64</span></a><span class="Other">(</span><span class="Identifier">src</span><span class="Other">:</span> <a href="sdl2.html#RWopsPtr"><span class="Identifier">RWopsPtr</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">uint64</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_ReadBE64&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5352. <dd>
  5353. </dd>
  5354. <a id="writeU8,RWopsPtr,uint8"></a>
  5355. <dt><pre><span class="Keyword">proc</span> <a href="#writeU8%2CRWopsPtr%2Cuint8"><span class="Identifier">writeU8</span></a><span class="Other">(</span><span class="Identifier">dst</span><span class="Other">:</span> <a href="sdl2.html#RWopsPtr"><span class="Identifier">RWopsPtr</span></a><span class="Other">;</span> <span class="Identifier">value</span><span class="Other">:</span> <span class="Identifier">uint8</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#csize_t_const"><span class="Identifier">csize_t_const</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_WriteU8&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5356. <dd>
  5357. </dd>
  5358. <a id="writeLE16,RWopsPtr,uint16"></a>
  5359. <dt><pre><span class="Keyword">proc</span> <a href="#writeLE16%2CRWopsPtr%2Cuint16"><span class="Identifier">writeLE16</span></a><span class="Other">(</span><span class="Identifier">dst</span><span class="Other">:</span> <a href="sdl2.html#RWopsPtr"><span class="Identifier">RWopsPtr</span></a><span class="Other">;</span> <span class="Identifier">value</span><span class="Other">:</span> <span class="Identifier">uint16</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#csize_t_const"><span class="Identifier">csize_t_const</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_WriteLE16&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5360. <dd>
  5361. </dd>
  5362. <a id="writeBE16,RWopsPtr,uint16"></a>
  5363. <dt><pre><span class="Keyword">proc</span> <a href="#writeBE16%2CRWopsPtr%2Cuint16"><span class="Identifier">writeBE16</span></a><span class="Other">(</span><span class="Identifier">dst</span><span class="Other">:</span> <a href="sdl2.html#RWopsPtr"><span class="Identifier">RWopsPtr</span></a><span class="Other">;</span> <span class="Identifier">value</span><span class="Other">:</span> <span class="Identifier">uint16</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#csize_t_const"><span class="Identifier">csize_t_const</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_WriteBE16&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5364. <dd>
  5365. </dd>
  5366. <a id="writeLE32,RWopsPtr,uint32"></a>
  5367. <dt><pre><span class="Keyword">proc</span> <a href="#writeLE32%2CRWopsPtr%2Cuint32"><span class="Identifier">writeLE32</span></a><span class="Other">(</span><span class="Identifier">dst</span><span class="Other">:</span> <a href="sdl2.html#RWopsPtr"><span class="Identifier">RWopsPtr</span></a><span class="Other">;</span> <span class="Identifier">value</span><span class="Other">:</span> <span class="Identifier">uint32</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#csize_t_const"><span class="Identifier">csize_t_const</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_WriteLE32&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5368. <dd>
  5369. </dd>
  5370. <a id="writeBE32,RWopsPtr,uint32"></a>
  5371. <dt><pre><span class="Keyword">proc</span> <a href="#writeBE32%2CRWopsPtr%2Cuint32"><span class="Identifier">writeBE32</span></a><span class="Other">(</span><span class="Identifier">dst</span><span class="Other">:</span> <a href="sdl2.html#RWopsPtr"><span class="Identifier">RWopsPtr</span></a><span class="Other">;</span> <span class="Identifier">value</span><span class="Other">:</span> <span class="Identifier">uint32</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#csize_t_const"><span class="Identifier">csize_t_const</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_WriteBE32&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5372. <dd>
  5373. </dd>
  5374. <a id="writeLE64,RWopsPtr,uint64"></a>
  5375. <dt><pre><span class="Keyword">proc</span> <a href="#writeLE64%2CRWopsPtr%2Cuint64"><span class="Identifier">writeLE64</span></a><span class="Other">(</span><span class="Identifier">dst</span><span class="Other">:</span> <a href="sdl2.html#RWopsPtr"><span class="Identifier">RWopsPtr</span></a><span class="Other">;</span> <span class="Identifier">value</span><span class="Other">:</span> <span class="Identifier">uint64</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#csize_t_const"><span class="Identifier">csize_t_const</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_WriteLE64&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5376. <dd>
  5377. </dd>
  5378. <a id="writeBE64,RWopsPtr,uint64"></a>
  5379. <dt><pre><span class="Keyword">proc</span> <a href="#writeBE64%2CRWopsPtr%2Cuint64"><span class="Identifier">writeBE64</span></a><span class="Other">(</span><span class="Identifier">dst</span><span class="Other">:</span> <a href="sdl2.html#RWopsPtr"><span class="Identifier">RWopsPtr</span></a><span class="Other">;</span> <span class="Identifier">value</span><span class="Other">:</span> <span class="Identifier">uint64</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#csize_t_const"><span class="Identifier">csize_t_const</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_WriteBE64&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5380. <dd>
  5381. </dd>
  5382. <a id="showMessageBox,ptr.MessageBoxData,cint"></a>
  5383. <dt><pre><span class="Keyword">proc</span> <a href="#showMessageBox%2Cptr.MessageBoxData%2Ccint"><span class="Identifier">showMessageBox</span></a><span class="Other">(</span><span class="Identifier">messageboxdata</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#MessageBoxData"><span class="Identifier">MessageBoxData</span></a><span class="Other">;</span> <span class="Identifier">buttonid</span><span class="Other">:</span> <span class="Keyword">var</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5384. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_ShowMessageBox&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5385. <dd>
  5386. </dd>
  5387. <a id="showSimpleMessageBox,uint32,cstring,cstring,WindowPtr"></a>
  5388. <dt><pre><span class="Keyword">proc</span> <a href="#showSimpleMessageBox%2Cuint32%2Ccstring%2Ccstring%2CWindowPtr"><span class="Identifier">showSimpleMessageBox</span></a><span class="Other">(</span><span class="Identifier">flags</span><span class="Other">:</span> <span class="Identifier">uint32</span><span class="Other">;</span> <span class="Identifier">title</span><span class="Other">,</span> <span class="Identifier">message</span><span class="Other">:</span> <span class="Identifier">cstring</span><span class="Other">;</span> <span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5389. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_ShowSimpleMessageBox&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5390. <dd>
  5391. </dd>
  5392. <a id="getNumVideoDrivers"></a>
  5393. <dt><pre><span class="Keyword">proc</span> <a href="#getNumVideoDrivers"><span class="Identifier">getNumVideoDrivers</span></a><span class="Other">(</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetNumVideoDrivers&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5394. <dd>
  5395. </dd>
  5396. <a id="getVideoDriver,cint"></a>
  5397. <dt><pre><span class="Keyword">proc</span> <a href="#getVideoDriver%2Ccint"><span class="Identifier">getVideoDriver</span></a><span class="Other">(</span><span class="Identifier">index</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cstring</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetVideoDriver&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5398. <dd>
  5399. </dd>
  5400. <a id="videoInit,cstring"></a>
  5401. <dt><pre><span class="Keyword">proc</span> <a href="#videoInit%2Ccstring"><span class="Identifier">videoInit</span></a><span class="Other">(</span><span class="Identifier">driver_name</span><span class="Other">:</span> <span class="Identifier">cstring</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_VideoInit&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5402. <dd>
  5403. </dd>
  5404. <a id="videoQuit"></a>
  5405. <dt><pre><span class="Keyword">proc</span> <a href="#videoQuit"><span class="Identifier">videoQuit</span></a><span class="Other">(</span><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_VideoQuit&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5406. <dd>
  5407. </dd>
  5408. <a id="getCurrentVideoDriver"></a>
  5409. <dt><pre><span class="Keyword">proc</span> <a href="#getCurrentVideoDriver"><span class="Identifier">getCurrentVideoDriver</span></a><span class="Other">(</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cstring</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetCurrentVideoDriver&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5410. <dd>
  5411. </dd>
  5412. <a id="getNumVideoDisplays"></a>
  5413. <dt><pre><span class="Keyword">proc</span> <a href="#getNumVideoDisplays"><span class="Identifier">getNumVideoDisplays</span></a><span class="Other">(</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetNumVideoDisplays&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5414. <dd>
  5415. </dd>
  5416. <a id="getDisplayBounds,cint,Rect"></a>
  5417. <dt><pre><span class="Keyword">proc</span> <a href="#getDisplayBounds%2Ccint%2CRect"><span class="Identifier">getDisplayBounds</span></a><span class="Other">(</span><span class="Identifier">displayIndex</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">;</span> <span class="Identifier">rect</span><span class="Other">:</span> <span class="Keyword">var</span> <a href="sdl2.html#Rect"><span class="Identifier">Rect</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5418. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetDisplayBounds&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5419. <dd>
  5420. </dd>
  5421. <a id="getNumDisplayModes,cint"></a>
  5422. <dt><pre><span class="Keyword">proc</span> <a href="#getNumDisplayModes%2Ccint"><span class="Identifier">getNumDisplayModes</span></a><span class="Other">(</span><span class="Identifier">displayIndex</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5423. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetNumDisplayModes&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5424. <dd>
  5425. </dd>
  5426. <a id="getDisplayMode,cint,cint,DisplayMode"></a>
  5427. <dt><pre><span class="Keyword">proc</span> <a href="#getDisplayMode%2Ccint%2Ccint%2CDisplayMode"><span class="Identifier">getDisplayMode</span></a><span class="Other">(</span><span class="Identifier">displayIndex</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">;</span> <span class="Identifier">modeIndex</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">;</span> <span class="Identifier">mode</span><span class="Other">:</span> <span class="Keyword">var</span> <a href="sdl2.html#DisplayMode"><span class="Identifier">DisplayMode</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5428. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetDisplayMode&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5429. <dd>
  5430. </dd>
  5431. <a id="getDesktopDisplayMode,cint,DisplayMode"></a>
  5432. <dt><pre><span class="Keyword">proc</span> <a href="#getDesktopDisplayMode%2Ccint%2CDisplayMode"><span class="Identifier">getDesktopDisplayMode</span></a><span class="Other">(</span><span class="Identifier">displayIndex</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">;</span> <span class="Identifier">mode</span><span class="Other">:</span> <span class="Keyword">var</span> <a href="sdl2.html#DisplayMode"><span class="Identifier">DisplayMode</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5433. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetDesktopDisplayMode&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5434. <dd>
  5435. </dd>
  5436. <a id="getCurrentDisplayMode,cint,DisplayMode"></a>
  5437. <dt><pre><span class="Keyword">proc</span> <a href="#getCurrentDisplayMode%2Ccint%2CDisplayMode"><span class="Identifier">getCurrentDisplayMode</span></a><span class="Other">(</span><span class="Identifier">displayIndex</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">;</span> <span class="Identifier">mode</span><span class="Other">:</span> <span class="Keyword">var</span> <a href="sdl2.html#DisplayMode"><span class="Identifier">DisplayMode</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5438. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetCurrentDisplayMode&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5439. <dd>
  5440. </dd>
  5441. <a id="getClosestDisplayMode,cint,ptr.DisplayMode,ptr.DisplayMode"></a>
  5442. <dt><pre><span class="Keyword">proc</span> <a href="#getClosestDisplayMode%2Ccint%2Cptr.DisplayMode%2Cptr.DisplayMode"><span class="Identifier">getClosestDisplayMode</span></a><span class="Other">(</span><span class="Identifier">displayIndex</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">;</span> <span class="Identifier">mode</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#DisplayMode"><span class="Identifier">DisplayMode</span></a><span class="Other">;</span>
  5443. <span class="Identifier">closest</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#DisplayMode"><span class="Identifier">DisplayMode</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#DisplayMode"><span class="Identifier">DisplayMode</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5444. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetClosestDisplayMode&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5445. <dd>
  5446. </dd>
  5447. <a id="getDisplayDPI,cint,ptr.cfloat,ptr.cfloat,ptr.cfloat"></a>
  5448. <dt><pre><span class="Keyword">proc</span> <a href="#getDisplayDPI%2Ccint%2Cptr.cfloat%2Cptr.cfloat%2Cptr.cfloat"><span class="Identifier">getDisplayDPI</span></a><span class="Other">(</span><span class="Identifier">displayIndex</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">;</span> <span class="Identifier">ddpi</span><span class="Other">,</span> <span class="Identifier">hdpi</span><span class="Other">,</span> <span class="Identifier">vdpi</span><span class="Other">:</span> <span class="Keyword">ptr</span> <span class="Identifier">cfloat</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5449. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetDisplayDPI&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5450. <dd>
  5451. </dd>
  5452. <a id="createWindow,cstring,cint,cint,cint,cint,uint32"></a>
  5453. <dt><pre><span class="Keyword">proc</span> <a href="#createWindow%2Ccstring%2Ccint%2Ccint%2Ccint%2Ccint%2Cuint32"><span class="Identifier">createWindow</span></a><span class="Other">(</span><span class="Identifier">title</span><span class="Other">:</span> <span class="Identifier">cstring</span><span class="Other">;</span> <span class="Identifier">x</span><span class="Other">,</span> <span class="Identifier">y</span><span class="Other">,</span> <span class="Identifier">w</span><span class="Other">,</span> <span class="Identifier">h</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">;</span> <span class="Identifier">flags</span><span class="Other">:</span> <span class="Identifier">uint32</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5454. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_CreateWindow&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5455. <dd>
  5456. </dd>
  5457. <a id="createWindowFrom,pointer"></a>
  5458. <dt><pre><span class="Keyword">proc</span> <a href="#createWindowFrom%2Cpointer"><span class="Identifier">createWindowFrom</span></a><span class="Other">(</span><span class="Identifier">data</span><span class="Other">:</span> <span class="Identifier">pointer</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_CreateWindowFrom&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5459. <dd>
  5460. </dd>
  5461. <a id="getWindowFromID,uint32"></a>
  5462. <dt><pre><span class="Keyword">proc</span> <a href="#getWindowFromID%2Cuint32"><span class="Identifier">getWindowFromID</span></a><span class="Other">(</span><span class="Identifier">id</span><span class="Other">:</span> <span class="Identifier">uint32</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetWindowFromID&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5463. <dd>
  5464. </dd>
  5465. <a id="showWindow,WindowPtr"></a>
  5466. <dt><pre><span class="Keyword">proc</span> <a href="#showWindow%2CWindowPtr"><span class="Identifier">showWindow</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_ShowWindow&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5467. <dd>
  5468. </dd>
  5469. <a id="hideWindow,WindowPtr"></a>
  5470. <dt><pre><span class="Keyword">proc</span> <a href="#hideWindow%2CWindowPtr"><span class="Identifier">hideWindow</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_HideWindow&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5471. <dd>
  5472. </dd>
  5473. <a id="raiseWindow,WindowPtr"></a>
  5474. <dt><pre><span class="Keyword">proc</span> <a href="#raiseWindow%2CWindowPtr"><span class="Identifier">raiseWindow</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_RaiseWindow&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5475. <dd>
  5476. </dd>
  5477. <a id="maximizeWindow,WindowPtr"></a>
  5478. <dt><pre><span class="Keyword">proc</span> <a href="#maximizeWindow%2CWindowPtr"><span class="Identifier">maximizeWindow</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_MaximizeWindow&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5479. <dd>
  5480. </dd>
  5481. <a id="minimizeWindow,WindowPtr"></a>
  5482. <dt><pre><span class="Keyword">proc</span> <a href="#minimizeWindow%2CWindowPtr"><span class="Identifier">minimizeWindow</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_MinimizeWindow&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5483. <dd>
  5484. </dd>
  5485. <a id="restoreWindow,WindowPtr"></a>
  5486. <dt><pre><span class="Keyword">proc</span> <a href="#restoreWindow%2CWindowPtr"><span class="Identifier">restoreWindow</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_RestoreWindow&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5487. <dd>
  5488. </dd>
  5489. <a id="destroyWindow,WindowPtr"></a>
  5490. <dt><pre><span class="Keyword">proc</span> <a href="#destroyWindow%2CWindowPtr"><span class="Identifier">destroyWindow</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_DestroyWindow&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5491. <dd>
  5492. </dd>
  5493. <a id="isScreenSaverEnabled"></a>
  5494. <dt><pre><span class="Keyword">proc</span> <a href="#isScreenSaverEnabled"><span class="Identifier">isScreenSaverEnabled</span></a><span class="Other">(</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#Bool32"><span class="Identifier">Bool32</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_IsScreenSaverEnabled&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5495. <dd>
  5496. </dd>
  5497. <a id="enableScreenSaver"></a>
  5498. <dt><pre><span class="Keyword">proc</span> <a href="#enableScreenSaver"><span class="Identifier">enableScreenSaver</span></a><span class="Other">(</span><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_EnableScreenSaver&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5499. <dd>
  5500. </dd>
  5501. <a id="disableScreenSaver"></a>
  5502. <dt><pre><span class="Keyword">proc</span> <a href="#disableScreenSaver"><span class="Identifier">disableScreenSaver</span></a><span class="Other">(</span><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_DisableScreenSaver&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5503. <dd>
  5504. </dd>
  5505. <a id="getTicks"></a>
  5506. <dt><pre><span class="Keyword">proc</span> <a href="#getTicks"><span class="Identifier">getTicks</span></a><span class="Other">(</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">uint32</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetTicks&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5507. <dd>
  5508. </dd>
  5509. <a id="getPerformanceCounter"></a>
  5510. <dt><pre><span class="Keyword">proc</span> <a href="#getPerformanceCounter"><span class="Identifier">getPerformanceCounter</span></a><span class="Other">(</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">uint64</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetPerformanceCounter&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5511. <dd>
  5512. </dd>
  5513. <a id="getPerformanceFrequency"></a>
  5514. <dt><pre><span class="Keyword">proc</span> <a href="#getPerformanceFrequency"><span class="Identifier">getPerformanceFrequency</span></a><span class="Other">(</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">uint64</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetPerformanceFrequency&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5515. <dd>
  5516. </dd>
  5517. <a id="delay,uint32"></a>
  5518. <dt><pre><span class="Keyword">proc</span> <a href="#delay%2Cuint32"><span class="Identifier">delay</span></a><span class="Other">(</span><span class="Identifier">ms</span><span class="Other">:</span> <span class="Identifier">uint32</span><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_Delay&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5519. <dd>
  5520. </dd>
  5521. <a id="addTimer,uint32,TimerCallback,pointer"></a>
  5522. <dt><pre><span class="Keyword">proc</span> <a href="#addTimer%2Cuint32%2CTimerCallback%2Cpointer"><span class="Identifier">addTimer</span></a><span class="Other">(</span><span class="Identifier">interval</span><span class="Other">:</span> <span class="Identifier">uint32</span><span class="Other">;</span> <span class="Identifier">callback</span><span class="Other">:</span> <a href="sdl2.html#TimerCallback"><span class="Identifier">TimerCallback</span></a><span class="Other">;</span> <span class="Identifier">param</span><span class="Other">:</span> <span class="Identifier">pointer</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#TimerID"><span class="Identifier">TimerID</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5523. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_AddTimer&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5524. <dd>
  5525. </dd>
  5526. <a id="removeTimer,TimerID"></a>
  5527. <dt><pre><span class="Keyword">proc</span> <a href="#removeTimer%2CTimerID"><span class="Identifier">removeTimer</span></a><span class="Other">(</span><span class="Identifier">id</span><span class="Other">:</span> <a href="sdl2.html#TimerID"><span class="Identifier">TimerID</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#Bool32"><span class="Identifier">Bool32</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_RemoveTimer&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5528. <dd>
  5529. </dd>
  5530. <a id="glLoadLibrary,cstring"></a>
  5531. <dt><pre><span class="Keyword">proc</span> <a href="#glLoadLibrary%2Ccstring"><span class="Identifier">glLoadLibrary</span></a><span class="Other">(</span><span class="Identifier">path</span><span class="Other">:</span> <span class="Identifier">cstring</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">discardable</span><span class="Other">,</span>
  5532. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GL_LoadLibrary&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5533. <dd>
  5534. </dd>
  5535. <a id="glGetProcAddress,cstring"></a>
  5536. <dt><pre><span class="Keyword">proc</span> <a href="#glGetProcAddress%2Ccstring"><span class="Identifier">glGetProcAddress</span></a><span class="Other">(</span><span class="Identifier">procedure</span><span class="Other">:</span> <span class="Identifier">cstring</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">pointer</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5537. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GL_GetProcAddress&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5538. <dd>
  5539. </dd>
  5540. <a id="glUnloadLibrary"></a>
  5541. <dt><pre><span class="Keyword">proc</span> <a href="#glUnloadLibrary"><span class="Identifier">glUnloadLibrary</span></a><span class="Other">(</span><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GL_UnloadLibrary&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5542. <dd>
  5543. </dd>
  5544. <a id="glExtensionSupported,cstring"></a>
  5545. <dt><pre><span class="Keyword">proc</span> <a href="#glExtensionSupported%2Ccstring"><span class="Identifier">glExtensionSupported</span></a><span class="Other">(</span><span class="Identifier">extension</span><span class="Other">:</span> <span class="Identifier">cstring</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5546. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GL_ExtensionSupported&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5547. <dd>
  5548. </dd>
  5549. <a id="glSetAttribute,GLattr,cint"></a>
  5550. <dt><pre><span class="Keyword">proc</span> <a href="#glSetAttribute%2CGLattr%2Ccint"><span class="Identifier">glSetAttribute</span></a><span class="Other">(</span><span class="Identifier">attr</span><span class="Other">:</span> <a href="sdl2.html#GLattr"><span class="Identifier">GLattr</span></a><span class="Other">;</span> <span class="Identifier">value</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GL_SetAttribute&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5551. <dd>
  5552. </dd>
  5553. <a id="glGetAttribute,GLattr,cint"></a>
  5554. <dt><pre><span class="Keyword">proc</span> <a href="#glGetAttribute%2CGLattr%2Ccint"><span class="Identifier">glGetAttribute</span></a><span class="Other">(</span><span class="Identifier">attr</span><span class="Other">:</span> <a href="sdl2.html#GLattr"><span class="Identifier">GLattr</span></a><span class="Other">;</span> <span class="Identifier">value</span><span class="Other">:</span> <span class="Keyword">var</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5555. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GL_GetAttribute&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5556. <dd>
  5557. </dd>
  5558. <a id="glCreateContext,WindowPtr"></a>
  5559. <dt><pre><span class="Keyword">proc</span> <a href="#glCreateContext%2CWindowPtr"><span class="Identifier">glCreateContext</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#GlContextPtr"><span class="Identifier">GlContextPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5560. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GL_CreateContext&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5561. <dd>
  5562. Create an OpenGL context for use with an OpenGL window, and make it current.
  5563. </dd>
  5564. <a id="glMakeCurrent,WindowPtr,GlContextPtr"></a>
  5565. <dt><pre><span class="Keyword">proc</span> <a href="#glMakeCurrent%2CWindowPtr%2CGlContextPtr"><span class="Identifier">glMakeCurrent</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">;</span> <span class="Identifier">context</span><span class="Other">:</span> <a href="sdl2.html#GlContextPtr"><span class="Identifier">GlContextPtr</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5566. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GL_MakeCurrent&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5567. <dd>
  5568. </dd>
  5569. <a id="glGetCurrentWindow"></a>
  5570. <dt><pre><span class="Keyword">proc</span> <a href="#glGetCurrentWindow"><span class="Identifier">glGetCurrentWindow</span></a><span class="Other">(</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GL_GetCurrentWindow&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5571. <dd>
  5572. </dd>
  5573. <a id="glGetCurrentContext"></a>
  5574. <dt><pre><span class="Keyword">proc</span> <a href="#glGetCurrentContext"><span class="Identifier">glGetCurrentContext</span></a><span class="Other">(</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#GlContextPtr"><span class="Identifier">GlContextPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GL_GetCurrentContext&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5575. <dd>
  5576. </dd>
  5577. <a id="glGetDrawableSize,WindowPtr,cint,cint"></a>
  5578. <dt><pre><span class="Keyword">proc</span> <a href="#glGetDrawableSize%2CWindowPtr%2Ccint%2Ccint"><span class="Identifier">glGetDrawableSize</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">;</span> <span class="Identifier">w</span><span class="Other">,</span> <span class="Identifier">h</span><span class="Other">:</span> <span class="Keyword">var</span> <span class="Identifier">cint</span><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5579. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GL_GetDrawableSize&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5580. <dd>
  5581. </dd>
  5582. <a id="glSetSwapInterval,cint"></a>
  5583. <dt><pre><span class="Keyword">proc</span> <a href="#glSetSwapInterval%2Ccint"><span class="Identifier">glSetSwapInterval</span></a><span class="Other">(</span><span class="Identifier">interval</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GL_SetSwapInterval&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5584. <dd>
  5585. </dd>
  5586. <a id="glGetSwapInterval"></a>
  5587. <dt><pre><span class="Keyword">proc</span> <a href="#glGetSwapInterval"><span class="Identifier">glGetSwapInterval</span></a><span class="Other">(</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GL_GetSwapInterval&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5588. <dd>
  5589. </dd>
  5590. <a id="glSwapWindow,WindowPtr"></a>
  5591. <dt><pre><span class="Keyword">proc</span> <a href="#glSwapWindow%2CWindowPtr"><span class="Identifier">glSwapWindow</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GL_SwapWindow&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5592. <dd>
  5593. Swap the OpenGL buffers for a window, if double-buffering is supported.
  5594. </dd>
  5595. <a id="glDeleteContext,GlContextPtr"></a>
  5596. <dt><pre><span class="Keyword">proc</span> <a href="#glDeleteContext%2CGlContextPtr"><span class="Identifier">glDeleteContext</span></a><span class="Other">(</span><span class="Identifier">context</span><span class="Other">:</span> <a href="sdl2.html#GlContextPtr"><span class="Identifier">GlContextPtr</span></a><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GL_DeleteContext&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5597. <dd>
  5598. </dd>
  5599. <a id="vulkanLoadLibrary,cstring"></a>
  5600. <dt><pre><span class="Keyword">proc</span> <a href="#vulkanLoadLibrary%2Ccstring"><span class="Identifier">vulkanLoadLibrary</span></a><span class="Other">(</span><span class="Identifier">path</span><span class="Other">:</span> <span class="Identifier">cstring</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_Vulkan_LoadLibrary&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5601. <dd>
  5602. </dd>
  5603. <a id="vulkanGetVkGetInstanceProcAddr"></a>
  5604. <dt><pre><span class="Keyword">proc</span> <a href="#vulkanGetVkGetInstanceProcAddr"><span class="Identifier">vulkanGetVkGetInstanceProcAddr</span></a><span class="Other">(</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">pointer</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5605. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_Vulkan_GetVkGetInstanceProcAddr&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5606. <dd>
  5607. </dd>
  5608. <a id="vulkanUnloadLibrary"></a>
  5609. <dt><pre><span class="Keyword">proc</span> <a href="#vulkanUnloadLibrary"><span class="Identifier">vulkanUnloadLibrary</span></a><span class="Other">(</span><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_Vulkan_UnloadLibrary&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5610. <dd>
  5611. </dd>
  5612. <a id="vulkanGetInstanceExtensions,WindowPtr,ptr.cuint,cstringArray"></a>
  5613. <dt><pre><span class="Keyword">proc</span> <a href="#vulkanGetInstanceExtensions%2CWindowPtr%2Cptr.cuint%2CcstringArray"><span class="Identifier">vulkanGetInstanceExtensions</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">;</span> <span class="Identifier">pCount</span><span class="Other">:</span> <span class="Keyword">ptr</span> <span class="Identifier">cuint</span><span class="Other">;</span>
  5614. <span class="Identifier">pNames</span><span class="Other">:</span> <span class="Identifier">cstringArray</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#Bool32"><span class="Identifier">Bool32</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5615. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_Vulkan_GetInstanceExtensions&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5616. <dd>
  5617. </dd>
  5618. <a id="vulkanCreateSurface,WindowPtr,VulkanInstance,ptr.VulkanSurface"></a>
  5619. <dt><pre><span class="Keyword">proc</span> <a href="#vulkanCreateSurface%2CWindowPtr%2CVulkanInstance%2Cptr.VulkanSurface"><span class="Identifier">vulkanCreateSurface</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">;</span> <span class="Identifier">instance</span><span class="Other">:</span> <a href="sdl2.html#VulkanInstance"><span class="Identifier">VulkanInstance</span></a><span class="Other">;</span>
  5620. <span class="Identifier">surface</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#VulkanSurface"><span class="Identifier">VulkanSurface</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#Bool32"><span class="Identifier">Bool32</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5621. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_Vulkan_CreateSurface&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5622. <dd>
  5623. </dd>
  5624. <a id="vulkanGetDrawableSize,WindowPtr,ptr.cint,ptr.cint"></a>
  5625. <dt><pre><span class="Keyword">proc</span> <a href="#vulkanGetDrawableSize%2CWindowPtr%2Cptr.cint%2Cptr.cint"><span class="Identifier">vulkanGetDrawableSize</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">;</span> <span class="Identifier">w</span><span class="Other">,</span> <span class="Identifier">h</span><span class="Other">:</span> <span class="Keyword">ptr</span> <span class="Identifier">cint</span><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5626. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_Vulkan_GetDrawableSize&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5627. <dd>
  5628. </dd>
  5629. <a id="getKeyboardFocus"></a>
  5630. <dt><pre><span class="Keyword">proc</span> <a href="#getKeyboardFocus"><span class="Identifier">getKeyboardFocus</span></a><span class="Other">(</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetKeyboardFocus&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5631. <dd>
  5632. </dd>
  5633. <a id="getKeyboardState,ptr.int"></a>
  5634. <dt><pre><span class="Keyword">proc</span> <a href="#getKeyboardState%2Cptr.int"><span class="Identifier">getKeyboardState</span></a><span class="Other">(</span><span class="Identifier">numkeys</span><span class="Other">:</span> <span class="Keyword">ptr</span> <span class="Identifier">int</span> <span class="Other">=</span> <span class="Keyword">nil</span><span class="Other">)</span><span class="Other">:</span> <span class="Keyword">ptr</span> <span class="Identifier">array</span><span class="Other">[</span><span class="DecNumber">0</span> <span class="Operator">..</span> <span class="Identifier">SDL_NUM_SCANCODES</span><span class="Other">.</span><span class="Identifier">int</span><span class="Other">,</span> <span class="Identifier">uint8</span><span class="Other">]</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5635. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetKeyboardState&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5636. <dd>
  5637. </dd>
  5638. <a id="getModState"></a>
  5639. <dt><pre><span class="Keyword">proc</span> <a href="#getModState"><span class="Identifier">getModState</span></a><span class="Other">(</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#Keymod"><span class="Identifier">Keymod</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetModState&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5640. <dd>
  5641. </dd>
  5642. <a id="setModState,Keymod"></a>
  5643. <dt><pre><span class="Keyword">proc</span> <a href="#setModState%2CKeymod"><span class="Identifier">setModState</span></a><span class="Other">(</span><span class="Identifier">state</span><span class="Other">:</span> <a href="sdl2.html#Keymod"><span class="Identifier">Keymod</span></a><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_SetModState&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5644. <dd>
  5645. </dd>
  5646. <a id="getKeyFromScancode,Scancode"></a>
  5647. <dt><pre><span class="Keyword">proc</span> <a href="#getKeyFromScancode%2CScancode"><span class="Identifier">getKeyFromScancode</span></a><span class="Other">(</span><span class="Identifier">scancode</span><span class="Other">:</span> <a href="sdl2.html#Scancode"><span class="Identifier">Scancode</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5648. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetKeyFromScancode&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5649. <dd>
  5650. </dd>
  5651. <a id="getScancodeFromKey,cint"></a>
  5652. <dt><pre><span class="Keyword">proc</span> <a href="#getScancodeFromKey%2Ccint"><span class="Identifier">getScancodeFromKey</span></a><span class="Other">(</span><span class="Identifier">key</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#Scancode"><span class="Identifier">Scancode</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetScancodeFromKey&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5653. <dd>
  5654. </dd>
  5655. <a id="getScancodeName,Scancode"></a>
  5656. <dt><pre><span class="Keyword">proc</span> <a href="#getScancodeName%2CScancode"><span class="Identifier">getScancodeName</span></a><span class="Other">(</span><span class="Identifier">scancode</span><span class="Other">:</span> <a href="sdl2.html#Scancode"><span class="Identifier">Scancode</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cstring</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetScancodeName&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5657. <dd>
  5658. </dd>
  5659. <a id="getScancodeFromName,cstring"></a>
  5660. <dt><pre><span class="Keyword">proc</span> <a href="#getScancodeFromName%2Ccstring"><span class="Identifier">getScancodeFromName</span></a><span class="Other">(</span><span class="Identifier">name</span><span class="Other">:</span> <span class="Identifier">cstring</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#Scancode"><span class="Identifier">Scancode</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5661. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetScancodeFromName&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5662. <dd>
  5663. </dd>
  5664. <a id="getKeyName,cint"></a>
  5665. <dt><pre><span class="Keyword">proc</span> <a href="#getKeyName%2Ccint"><span class="Identifier">getKeyName</span></a><span class="Other">(</span><span class="Identifier">key</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cstring</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetKeyName&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5666. <dd>
  5667. </dd>
  5668. <a id="getKeyFromName,cstring"></a>
  5669. <dt><pre><span class="Keyword">proc</span> <a href="#getKeyFromName%2Ccstring"><span class="Identifier">getKeyFromName</span></a><span class="Other">(</span><span class="Identifier">name</span><span class="Other">:</span> <span class="Identifier">cstring</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetKeyFromName&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5670. <dd>
  5671. </dd>
  5672. <a id="startTextInput"></a>
  5673. <dt><pre><span class="Keyword">proc</span> <a href="#startTextInput"><span class="Identifier">startTextInput</span></a><span class="Other">(</span><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_StartTextInput&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5674. <dd>
  5675. </dd>
  5676. <a id="isTextInputActive"></a>
  5677. <dt><pre><span class="Keyword">proc</span> <a href="#isTextInputActive"><span class="Identifier">isTextInputActive</span></a><span class="Other">(</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_IsTextInputActive&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5678. <dd>
  5679. </dd>
  5680. <a id="stopTextInput"></a>
  5681. <dt><pre><span class="Keyword">proc</span> <a href="#stopTextInput"><span class="Identifier">stopTextInput</span></a><span class="Other">(</span><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_StopTextInput&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5682. <dd>
  5683. </dd>
  5684. <a id="setTextInputRect,ptr.Rect"></a>
  5685. <dt><pre><span class="Keyword">proc</span> <a href="#setTextInputRect%2Cptr.Rect"><span class="Identifier">setTextInputRect</span></a><span class="Other">(</span><span class="Identifier">rect</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Rect"><span class="Identifier">Rect</span></a><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_SetTextInputRect&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5686. <dd>
  5687. </dd>
  5688. <a id="hasScreenKeyboardSupport"></a>
  5689. <dt><pre><span class="Keyword">proc</span> <a href="#hasScreenKeyboardSupport"><span class="Identifier">hasScreenKeyboardSupport</span></a><span class="Other">(</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_HasScreenKeyboardSupport&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5690. <dd>
  5691. </dd>
  5692. <a id="isScreenKeyboardShown,WindowPtr"></a>
  5693. <dt><pre><span class="Keyword">proc</span> <a href="#isScreenKeyboardShown%2CWindowPtr"><span class="Identifier">isScreenKeyboardShown</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5694. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_IsScreenKeyboardShown&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5695. <dd>
  5696. </dd>
  5697. <a id="getMouseFocus"></a>
  5698. <dt><pre><span class="Keyword">proc</span> <a href="#getMouseFocus"><span class="Identifier">getMouseFocus</span></a><span class="Other">(</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetMouseFocus&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5699. <dd>
  5700. </dd>
  5701. <a id="getMouseState,cint,cint"></a>
  5702. <dt><pre><span class="Keyword">proc</span> <a href="#getMouseState%2Ccint%2Ccint"><span class="Identifier">getMouseState</span></a><span class="Other">(</span><span class="Identifier">x</span><span class="Other">,</span> <span class="Identifier">y</span><span class="Other">:</span> <span class="Keyword">var</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">uint8</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetMouseState&quot;</span><span class="Other">,</span> <span class="Identifier">discardable</span></span><span class="Other">.}</span></span></pre></dt>
  5703. <dd>
  5704. </dd>
  5705. <a id="getMouseState,ptr.cint,ptr.cint"></a>
  5706. <dt><pre><span class="Keyword">proc</span> <a href="#getMouseState%2Cptr.cint%2Cptr.cint"><span class="Identifier">getMouseState</span></a><span class="Other">(</span><span class="Identifier">x</span><span class="Other">,</span> <span class="Identifier">y</span><span class="Other">:</span> <span class="Keyword">ptr</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">uint8</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetMouseState&quot;</span><span class="Other">,</span> <span class="Identifier">discardable</span></span><span class="Other">.}</span></span></pre></dt>
  5707. <dd>
  5708. </dd>
  5709. <a id="getRelativeMouseState,cint,cint"></a>
  5710. <dt><pre><span class="Keyword">proc</span> <a href="#getRelativeMouseState%2Ccint%2Ccint"><span class="Identifier">getRelativeMouseState</span></a><span class="Other">(</span><span class="Identifier">x</span><span class="Other">,</span> <span class="Identifier">y</span><span class="Other">:</span> <span class="Keyword">var</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">uint8</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5711. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetRelativeMouseState&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5712. <dd>
  5713. </dd>
  5714. <a id="warpMouseInWindow,WindowPtr,cint,cint"></a>
  5715. <dt><pre><span class="Keyword">proc</span> <a href="#warpMouseInWindow%2CWindowPtr%2Ccint%2Ccint"><span class="Identifier">warpMouseInWindow</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">;</span> <span class="Identifier">x</span><span class="Other">,</span> <span class="Identifier">y</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5716. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_WarpMouseInWindow&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5717. <dd>
  5718. </dd>
  5719. <a id="setRelativeMouseMode,Bool32"></a>
  5720. <dt><pre><span class="Keyword">proc</span> <a href="#setRelativeMouseMode%2CBool32"><span class="Identifier">setRelativeMouseMode</span></a><span class="Other">(</span><span class="Identifier">enabled</span><span class="Other">:</span> <a href="sdl2.html#Bool32"><span class="Identifier">Bool32</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5721. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_SetRelativeMouseMode&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5722. <dd>
  5723. </dd>
  5724. <a id="captureMouse,Bool32"></a>
  5725. <dt><pre><span class="Keyword">proc</span> <a href="#captureMouse%2CBool32"><span class="Identifier">captureMouse</span></a><span class="Other">(</span><span class="Identifier">enabled</span><span class="Other">:</span> <a href="sdl2.html#Bool32"><span class="Identifier">Bool32</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_CaptureMouse&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5726. <dd>
  5727. </dd>
  5728. <a id="getRelativeMouseMode"></a>
  5729. <dt><pre><span class="Keyword">proc</span> <a href="#getRelativeMouseMode"><span class="Identifier">getRelativeMouseMode</span></a><span class="Other">(</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#Bool32"><span class="Identifier">Bool32</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetRelativeMouseMode&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5730. <dd>
  5731. </dd>
  5732. <a id="createCursor,ptr.uint8,ptr.uint8,cint,cint,cint,cint"></a>
  5733. <dt><pre><span class="Keyword">proc</span> <a href="#createCursor%2Cptr.uint8%2Cptr.uint8%2Ccint%2Ccint%2Ccint%2Ccint"><span class="Identifier">createCursor</span></a><span class="Other">(</span><span class="Identifier">data</span><span class="Other">,</span> <span class="Identifier">mask</span><span class="Other">:</span> <span class="Keyword">ptr</span> <span class="Identifier">uint8</span><span class="Other">;</span> <span class="Identifier">w</span><span class="Other">,</span> <span class="Identifier">h</span><span class="Other">,</span> <span class="Identifier">hot_x</span><span class="Other">,</span> <span class="Identifier">hot_y</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#CursorPtr"><span class="Identifier">CursorPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5734. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_CreateCursor&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5735. <dd>
  5736. </dd>
  5737. <a id="createColorCursor,SurfacePtr,cint,cint"></a>
  5738. <dt><pre><span class="Keyword">proc</span> <a href="#createColorCursor%2CSurfacePtr%2Ccint%2Ccint"><span class="Identifier">createColorCursor</span></a><span class="Other">(</span><span class="Identifier">surface</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a><span class="Other">;</span> <span class="Identifier">hot_x</span><span class="Other">,</span> <span class="Identifier">hot_y</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#CursorPtr"><span class="Identifier">CursorPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5739. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_CreateColorCursor&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5740. <dd>
  5741. </dd>
  5742. <a id="createSystemCursor,SystemCursor"></a>
  5743. <dt><pre><span class="Keyword">proc</span> <a href="#createSystemCursor%2CSystemCursor"><span class="Identifier">createSystemCursor</span></a><span class="Other">(</span><span class="Identifier">c</span><span class="Other">:</span> <a href="sdl2.html#SystemCursor"><span class="Identifier">SystemCursor</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#CursorPtr"><span class="Identifier">CursorPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5744. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_CreateSystemCursor&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5745. <dd>
  5746. </dd>
  5747. <a id="setCursor,CursorPtr"></a>
  5748. <dt><pre><span class="Keyword">proc</span> <a href="#setCursor%2CCursorPtr"><span class="Identifier">setCursor</span></a><span class="Other">(</span><span class="Identifier">cursor</span><span class="Other">:</span> <a href="sdl2.html#CursorPtr"><span class="Identifier">CursorPtr</span></a><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_SetCursor&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5749. <dd>
  5750. </dd>
  5751. <a id="getCursor"></a>
  5752. <dt><pre><span class="Keyword">proc</span> <a href="#getCursor"><span class="Identifier">getCursor</span></a><span class="Other">(</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#CursorPtr"><span class="Identifier">CursorPtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetCursor&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5753. <dd>
  5754. </dd>
  5755. <a id="freeCursor,CursorPtr"></a>
  5756. <dt><pre><span class="Keyword">proc</span> <a href="#freeCursor%2CCursorPtr"><span class="Identifier">freeCursor</span></a><span class="Other">(</span><span class="Identifier">cursor</span><span class="Other">:</span> <a href="sdl2.html#CursorPtr"><span class="Identifier">CursorPtr</span></a><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_FreeCursor&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5757. <dd>
  5758. </dd>
  5759. <a id="showCursor,bool"></a>
  5760. <dt><pre><span class="Keyword">proc</span> <a href="#showCursor%2Cbool"><span class="Identifier">showCursor</span></a><span class="Other">(</span><span class="Identifier">toggle</span><span class="Other">:</span> <span class="Identifier">bool</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#Bool32"><span class="Identifier">Bool32</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_ShowCursor&quot;</span><span class="Other">,</span> <span class="Identifier">discardable</span></span><span class="Other">.}</span></span></pre></dt>
  5761. <dd>
  5762. </dd>
  5763. <a id="pumpEvents"></a>
  5764. <dt><pre><span class="Keyword">proc</span> <a href="#pumpEvents"><span class="Identifier">pumpEvents</span></a><span class="Other">(</span><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_PumpEvents&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5765. <dd>
  5766. </dd>
  5767. <a id="peepEvents,ptr.Event,cint,Eventaction,uint32,uint32"></a>
  5768. <dt><pre><span class="Keyword">proc</span> <a href="#peepEvents%2Cptr.Event%2Ccint%2CEventaction%2Cuint32%2Cuint32"><span class="Identifier">peepEvents</span></a><span class="Other">(</span><span class="Identifier">events</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">;</span> <span class="Identifier">numevents</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">;</span> <span class="Identifier">action</span><span class="Other">:</span> <a href="sdl2.html#Eventaction"><span class="Identifier">Eventaction</span></a><span class="Other">;</span>
  5769. <span class="Identifier">minType</span><span class="Other">:</span> <span class="Identifier">uint32</span><span class="Other">;</span> <span class="Identifier">maxType</span><span class="Other">:</span> <span class="Identifier">uint32</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_PeepEvents&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5770. <dd>
  5771. </dd>
  5772. <a id="hasEvent,uint32"></a>
  5773. <dt><pre><span class="Keyword">proc</span> <a href="#hasEvent%2Cuint32"><span class="Identifier">hasEvent</span></a><span class="Other">(</span><span class="Identifier">kind</span><span class="Other">:</span> <span class="Identifier">uint32</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#Bool32"><span class="Identifier">Bool32</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_HasEvent&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5774. <dd>
  5775. </dd>
  5776. <a id="hasEvents,uint32,uint32"></a>
  5777. <dt><pre><span class="Keyword">proc</span> <a href="#hasEvents%2Cuint32%2Cuint32"><span class="Identifier">hasEvents</span></a><span class="Other">(</span><span class="Identifier">minType</span><span class="Other">:</span> <span class="Identifier">uint32</span><span class="Other">;</span> <span class="Identifier">maxType</span><span class="Other">:</span> <span class="Identifier">uint32</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#Bool32"><span class="Identifier">Bool32</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_HasEvents&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5778. <dd>
  5779. </dd>
  5780. <a id="flushEvent,uint32"></a>
  5781. <dt><pre><span class="Keyword">proc</span> <a href="#flushEvent%2Cuint32"><span class="Identifier">flushEvent</span></a><span class="Other">(</span><span class="Identifier">kind</span><span class="Other">:</span> <span class="Identifier">uint32</span><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_FlushEvent&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5782. <dd>
  5783. </dd>
  5784. <a id="flushEvents,uint32,uint32"></a>
  5785. <dt><pre><span class="Keyword">proc</span> <a href="#flushEvents%2Cuint32%2Cuint32"><span class="Identifier">flushEvents</span></a><span class="Other">(</span><span class="Identifier">minType</span><span class="Other">:</span> <span class="Identifier">uint32</span><span class="Other">;</span> <span class="Identifier">maxType</span><span class="Other">:</span> <span class="Identifier">uint32</span><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_FlushEvents&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5786. <dd>
  5787. </dd>
  5788. <a id="pollEvent,Event"></a>
  5789. <dt><pre><span class="Keyword">proc</span> <a href="#pollEvent%2CEvent"><span class="Identifier">pollEvent</span></a><span class="Other">(</span><span class="Identifier">event</span><span class="Other">:</span> <span class="Keyword">var</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#Bool32"><span class="Identifier">Bool32</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_PollEvent&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5790. <dd>
  5791. </dd>
  5792. <a id="waitEvent,Event"></a>
  5793. <dt><pre><span class="Keyword">proc</span> <a href="#waitEvent%2CEvent"><span class="Identifier">waitEvent</span></a><span class="Other">(</span><span class="Identifier">event</span><span class="Other">:</span> <span class="Keyword">var</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#Bool32"><span class="Identifier">Bool32</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_WaitEvent&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5794. <dd>
  5795. </dd>
  5796. <a id="waitEventTimeout,Event,cint"></a>
  5797. <dt><pre><span class="Keyword">proc</span> <a href="#waitEventTimeout%2CEvent%2Ccint"><span class="Identifier">waitEventTimeout</span></a><span class="Other">(</span><span class="Identifier">event</span><span class="Other">:</span> <span class="Keyword">var</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">;</span> <span class="Identifier">timeout</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#Bool32"><span class="Identifier">Bool32</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5798. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_WaitEventTimeout&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5799. <dd>
  5800. </dd>
  5801. <a id="pushEvent,ptr.Event"></a>
  5802. <dt><pre><span class="Keyword">proc</span> <a href="#pushEvent%2Cptr.Event"><span class="Identifier">pushEvent</span></a><span class="Other">(</span><span class="Identifier">event</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Event"><span class="Identifier">Event</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_PushEvent&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5803. <dd>
  5804. </dd>
  5805. <a id="setEventFilter,EventFilter,pointer"></a>
  5806. <dt><pre><span class="Keyword">proc</span> <a href="#setEventFilter%2CEventFilter%2Cpointer"><span class="Identifier">setEventFilter</span></a><span class="Other">(</span><span class="Identifier">filter</span><span class="Other">:</span> <a href="sdl2.html#EventFilter"><span class="Identifier">EventFilter</span></a><span class="Other">;</span> <span class="Identifier">userdata</span><span class="Other">:</span> <span class="Identifier">pointer</span><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5807. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_SetEventFilter&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5808. <dd>
  5809. </dd>
  5810. <a id="getEventFilter,EventFilter,pointer"></a>
  5811. <dt><pre><span class="Keyword">proc</span> <a href="#getEventFilter%2CEventFilter%2Cpointer"><span class="Identifier">getEventFilter</span></a><span class="Other">(</span><span class="Identifier">filter</span><span class="Other">:</span> <span class="Keyword">var</span> <a href="sdl2.html#EventFilter"><span class="Identifier">EventFilter</span></a><span class="Other">;</span> <span class="Identifier">userdata</span><span class="Other">:</span> <span class="Keyword">var</span> <span class="Identifier">pointer</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#Bool32"><span class="Identifier">Bool32</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5812. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetEventFilter&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5813. <dd>
  5814. </dd>
  5815. <a id="addEventWatch,EventFilter,pointer"></a>
  5816. <dt><pre><span class="Keyword">proc</span> <a href="#addEventWatch%2CEventFilter%2Cpointer"><span class="Identifier">addEventWatch</span></a><span class="Other">(</span><span class="Identifier">filter</span><span class="Other">:</span> <a href="sdl2.html#EventFilter"><span class="Identifier">EventFilter</span></a><span class="Other">;</span> <span class="Identifier">userdata</span><span class="Other">:</span> <span class="Identifier">pointer</span><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5817. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_AddEventWatch&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5818. <dd>
  5819. </dd>
  5820. <a id="delEventWatch,EventFilter,pointer"></a>
  5821. <dt><pre><span class="Keyword">proc</span> <a href="#delEventWatch%2CEventFilter%2Cpointer"><span class="Identifier">delEventWatch</span></a><span class="Other">(</span><span class="Identifier">filter</span><span class="Other">:</span> <a href="sdl2.html#EventFilter"><span class="Identifier">EventFilter</span></a><span class="Other">;</span> <span class="Identifier">userdata</span><span class="Other">:</span> <span class="Identifier">pointer</span><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5822. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_DelEventWatch&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5823. <dd>
  5824. </dd>
  5825. <a id="filterEvents,EventFilter,pointer"></a>
  5826. <dt><pre><span class="Keyword">proc</span> <a href="#filterEvents%2CEventFilter%2Cpointer"><span class="Identifier">filterEvents</span></a><span class="Other">(</span><span class="Identifier">filter</span><span class="Other">:</span> <a href="sdl2.html#EventFilter"><span class="Identifier">EventFilter</span></a><span class="Other">;</span> <span class="Identifier">userdata</span><span class="Other">:</span> <span class="Identifier">pointer</span><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5827. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_FilterEvents&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5828. <dd>
  5829. </dd>
  5830. <a id="eventState,EventType,cint"></a>
  5831. <dt><pre><span class="Keyword">proc</span> <a href="#eventState%2CEventType%2Ccint"><span class="Identifier">eventState</span></a><span class="Other">(</span><span class="Identifier">kind</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a><span class="Other">;</span> <span class="Identifier">state</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">uint8</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_EventState&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5832. <dd>
  5833. </dd>
  5834. <a id="registerEvents,cint"></a>
  5835. <dt><pre><span class="Keyword">proc</span> <a href="#registerEvents%2Ccint"><span class="Identifier">registerEvents</span></a><span class="Other">(</span><span class="Identifier">numevents</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">uint32</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_RegisterEvents&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5836. <dd>
  5837. </dd>
  5838. <a id="setError,cstring"></a>
  5839. <dt><pre><span class="Keyword">proc</span> <a href="#setError%2Ccstring"><span class="Identifier">setError</span></a><span class="Other">(</span><span class="Identifier">fmt</span><span class="Other">:</span> <span class="Identifier">cstring</span><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">varargs</span><span class="Other">,</span> <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_SetError&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5840. <dd>
  5841. </dd>
  5842. <a id="getError"></a>
  5843. <dt><pre><span class="Keyword">proc</span> <a href="#getError"><span class="Identifier">getError</span></a><span class="Other">(</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cstring</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetError&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5844. <dd>
  5845. </dd>
  5846. <a id="clearError"></a>
  5847. <dt><pre><span class="Keyword">proc</span> <a href="#clearError"><span class="Identifier">clearError</span></a><span class="Other">(</span><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_ClearError&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5848. <dd>
  5849. </dd>
  5850. <a id="getPixelFormatName,uint32"></a>
  5851. <dt><pre><span class="Keyword">proc</span> <a href="#getPixelFormatName%2Cuint32"><span class="Identifier">getPixelFormatName</span></a><span class="Other">(</span><span class="Identifier">format</span><span class="Other">:</span> <span class="Identifier">uint32</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cstring</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetPixelFormatName&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5852. <dd>
  5853. Get the human readable name of a pixel format
  5854. </dd>
  5855. <a id="pixelFormatEnumToMasks,uint32,cint,uint32,uint32,uint32,uint32"></a>
  5856. <dt><pre><span class="Keyword">proc</span> <a href="#pixelFormatEnumToMasks%2Cuint32%2Ccint%2Cuint32%2Cuint32%2Cuint32%2Cuint32"><span class="Identifier">pixelFormatEnumToMasks</span></a><span class="Other">(</span><span class="Identifier">format</span><span class="Other">:</span> <span class="Identifier">uint32</span><span class="Other">;</span> <span class="Identifier">bpp</span><span class="Other">:</span> <span class="Keyword">var</span> <span class="Identifier">cint</span><span class="Other">;</span>
  5857. <span class="Identifier">Rmask</span><span class="Other">,</span> <span class="Identifier">Gmask</span><span class="Other">,</span> <span class="Identifier">Bmask</span><span class="Other">,</span> <span class="Identifier">Amask</span><span class="Other">:</span> <span class="Keyword">var</span> <span class="Identifier">uint32</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5858. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_PixelFormatEnumToMasks&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5859. <dd>
  5860. Convert one of the enumerated pixel formats to a bpp and RGBA masks. Returns TRUE or FALSE if the conversion wasn't possible.
  5861. </dd>
  5862. <a id="masksToPixelFormatEnum,cint,uint32,uint32,uint32,uint32"></a>
  5863. <dt><pre><span class="Keyword">proc</span> <a href="#masksToPixelFormatEnum%2Ccint%2Cuint32%2Cuint32%2Cuint32%2Cuint32"><span class="Identifier">masksToPixelFormatEnum</span></a><span class="Other">(</span><span class="Identifier">bpp</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">;</span> <span class="Identifier">Rmask</span><span class="Other">,</span> <span class="Identifier">Gmask</span><span class="Other">,</span> <span class="Identifier">Bmask</span><span class="Other">,</span> <span class="Identifier">Amask</span><span class="Other">:</span> <span class="Identifier">uint32</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">uint32</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5864. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_MasksToPixelFormatEnum&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5865. <dd>
  5866. Convert a bpp and RGBA masks to an enumerated pixel format. The pixel format, or ::SDL_PIXELFORMAT_UNKNOWN if the conversion wasn't possible.
  5867. </dd>
  5868. <a id="allocFormat,uint32"></a>
  5869. <dt><pre><span class="Keyword">proc</span> <a href="#allocFormat%2Cuint32"><span class="Identifier">allocFormat</span></a><span class="Other">(</span><span class="Identifier">pixelFormat</span><span class="Other">:</span> <span class="Identifier">uint32</span><span class="Other">)</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#PixelFormat"><span class="Identifier">PixelFormat</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_AllocFormat&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5870. <dd>
  5871. </dd>
  5872. <a id="freeFormat,ptr.PixelFormat"></a>
  5873. <dt><pre><span class="Keyword">proc</span> <a href="#freeFormat%2Cptr.PixelFormat"><span class="Identifier">freeFormat</span></a><span class="Other">(</span><span class="Identifier">format</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#PixelFormat"><span class="Identifier">PixelFormat</span></a><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_FreeFormat&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5874. <dd>
  5875. Free an SDL_PixelFormat structure.
  5876. </dd>
  5877. <a id="allocPalette,cint"></a>
  5878. <dt><pre><span class="Keyword">proc</span> <a href="#allocPalette%2Ccint"><span class="Identifier">allocPalette</span></a><span class="Other">(</span><span class="Identifier">numColors</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Palette"><span class="Identifier">Palette</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_AllocPalette&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5879. <dd>
  5880. Create a palette structure with the specified number of color entries. Returns A new palette, or NULL if there wasn't enough memory. Note: The palette entries are initialized to white.
  5881. </dd>
  5882. <a id="setPixelFormatPalette,ptr.PixelFormat,ptr.Palette"></a>
  5883. <dt><pre><span class="Keyword">proc</span> <a href="#setPixelFormatPalette%2Cptr.PixelFormat%2Cptr.Palette"><span class="Identifier">setPixelFormatPalette</span></a><span class="Other">(</span><span class="Identifier">format</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#PixelFormat"><span class="Identifier">PixelFormat</span></a><span class="Other">;</span> <span class="Identifier">palette</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Palette"><span class="Identifier">Palette</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5884. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_SetPixelFormatPalette&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5885. <dd>
  5886. Set the palette for a pixel format structure.
  5887. </dd>
  5888. <a id="setPaletteColors,ptr.Palette,ptr.Color,cint,cint"></a>
  5889. <dt><pre><span class="Keyword">proc</span> <a href="#setPaletteColors%2Cptr.Palette%2Cptr.Color%2Ccint%2Ccint"><span class="Identifier">setPaletteColors</span></a><span class="Other">(</span><span class="Identifier">palette</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Palette"><span class="Identifier">Palette</span></a><span class="Other">;</span> <span class="Identifier">colors</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Color"><span class="Identifier">Color</span></a><span class="Other">;</span> <span class="Identifier">first</span><span class="Other">,</span> <span class="Identifier">numColors</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5890. <span class="Identifier">discardable</span><span class="Other">,</span> <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_SetPaletteColors&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5891. <dd>
  5892. Set a range of colors in a palette.
  5893. </dd>
  5894. <a id="freePalette,ptr.Palette"></a>
  5895. <dt><pre><span class="Keyword">proc</span> <a href="#freePalette%2Cptr.Palette"><span class="Identifier">freePalette</span></a><span class="Other">(</span><span class="Identifier">palette</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Palette"><span class="Identifier">Palette</span></a><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_FreePalette&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5896. <dd>
  5897. Free a palette created with SDL_AllocPalette().
  5898. </dd>
  5899. <a id="mapRGB,ptr.PixelFormat,uint8,uint8,uint8"></a>
  5900. <dt><pre><span class="Keyword">proc</span> <a href="#mapRGB%2Cptr.PixelFormat%2Cuint8%2Cuint8%2Cuint8"><span class="Identifier">mapRGB</span></a><span class="Other">(</span><span class="Identifier">format</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#PixelFormat"><span class="Identifier">PixelFormat</span></a><span class="Other">;</span> <span class="Identifier">r</span><span class="Other">,</span> <span class="Identifier">g</span><span class="Other">,</span> <span class="Identifier">b</span><span class="Other">:</span> <span class="Identifier">uint8</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">uint32</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_MapRGB&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5901. <dd>
  5902. Maps an RGB triple to an opaque pixel value for a given pixel format.
  5903. </dd>
  5904. <a id="mapRGBA,ptr.PixelFormat,uint8,uint8,uint8,uint8"></a>
  5905. <dt><pre><span class="Keyword">proc</span> <a href="#mapRGBA%2Cptr.PixelFormat%2Cuint8%2Cuint8%2Cuint8%2Cuint8"><span class="Identifier">mapRGBA</span></a><span class="Other">(</span><span class="Identifier">format</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#PixelFormat"><span class="Identifier">PixelFormat</span></a><span class="Other">;</span> <span class="Identifier">r</span><span class="Other">,</span> <span class="Identifier">g</span><span class="Other">,</span> <span class="Identifier">b</span><span class="Other">,</span> <span class="Identifier">a</span><span class="Other">:</span> <span class="Identifier">uint8</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">uint32</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_MapRGBA&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5906. <dd>
  5907. Maps an RGBA quadruple to a pixel value for a given pixel format.
  5908. </dd>
  5909. <a id="getRGB,uint32,ptr.PixelFormat,uint8,uint8,uint8"></a>
  5910. <dt><pre><span class="Keyword">proc</span> <a href="#getRGB%2Cuint32%2Cptr.PixelFormat%2Cuint8%2Cuint8%2Cuint8"><span class="Identifier">getRGB</span></a><span class="Other">(</span><span class="Identifier">pixel</span><span class="Other">:</span> <span class="Identifier">uint32</span><span class="Other">;</span> <span class="Identifier">format</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#PixelFormat"><span class="Identifier">PixelFormat</span></a><span class="Other">;</span> <span class="Identifier">r</span><span class="Other">,</span> <span class="Identifier">g</span><span class="Other">,</span> <span class="Identifier">b</span><span class="Other">:</span> <span class="Keyword">var</span> <span class="Identifier">uint8</span><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5911. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetRGB&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5912. <dd>
  5913. Get the RGB components from a pixel of the specified format.
  5914. </dd>
  5915. <a id="getRGBA,uint32,ptr.PixelFormat,uint8,uint8,uint8,uint8"></a>
  5916. <dt><pre><span class="Keyword">proc</span> <a href="#getRGBA%2Cuint32%2Cptr.PixelFormat%2Cuint8%2Cuint8%2Cuint8%2Cuint8"><span class="Identifier">getRGBA</span></a><span class="Other">(</span><span class="Identifier">pixel</span><span class="Other">:</span> <span class="Identifier">uint32</span><span class="Other">;</span> <span class="Identifier">format</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#PixelFormat"><span class="Identifier">PixelFormat</span></a><span class="Other">;</span> <span class="Identifier">r</span><span class="Other">,</span> <span class="Identifier">g</span><span class="Other">,</span> <span class="Identifier">b</span><span class="Other">,</span> <span class="Identifier">a</span><span class="Other">:</span> <span class="Keyword">var</span> <span class="Identifier">uint8</span><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5917. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetRGBA&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5918. <dd>
  5919. Get the RGBA components from a pixel of the specified format.
  5920. </dd>
  5921. <a id="calculateGammaRamp,cfloat,ptr.uint16"></a>
  5922. <dt><pre><span class="Keyword">proc</span> <a href="#calculateGammaRamp%2Ccfloat%2Cptr.uint16"><span class="Identifier">calculateGammaRamp</span></a><span class="Other">(</span><span class="Identifier">gamma</span><span class="Other">:</span> <span class="Identifier">cfloat</span><span class="Other">;</span> <span class="Identifier">ramp</span><span class="Other">:</span> <span class="Keyword">ptr</span> <span class="Identifier">uint16</span><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5923. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_CalculateGammaRamp&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5924. <dd>
  5925. Calculate a 256 entry gamma ramp for a gamma value.
  5926. </dd>
  5927. <a id="setClipboardText,cstring"></a>
  5928. <dt><pre><span class="Keyword">proc</span> <a href="#setClipboardText%2Ccstring"><span class="Identifier">setClipboardText</span></a><span class="Other">(</span><span class="Identifier">text</span><span class="Other">:</span> <span class="Identifier">cstring</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_SetClipboardText&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5929. <dd>
  5930. </dd>
  5931. <a id="getClipboardText"></a>
  5932. <dt><pre><span class="Keyword">proc</span> <a href="#getClipboardText"><span class="Identifier">getClipboardText</span></a><span class="Other">(</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cstring</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetClipboardText&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5933. <dd>
  5934. </dd>
  5935. <a id="hasClipboardText"></a>
  5936. <dt><pre><span class="Keyword">proc</span> <a href="#hasClipboardText"><span class="Identifier">hasClipboardText</span></a><span class="Other">(</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#Bool32"><span class="Identifier">Bool32</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_HasClipboardText&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5937. <dd>
  5938. </dd>
  5939. <a id="freeClipboardText,cstring"></a>
  5940. <dt><pre><span class="Keyword">proc</span> <a href="#freeClipboardText%2Ccstring"><span class="Identifier">freeClipboardText</span></a><span class="Other">(</span><span class="Identifier">text</span><span class="Other">:</span> <span class="Identifier">cstring</span><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_free&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5941. <dd>
  5942. </dd>
  5943. <a id="getNumTouchFingers,TouchID"></a>
  5944. <dt><pre><span class="Keyword">proc</span> <a href="#getNumTouchFingers%2CTouchID"><span class="Identifier">getNumTouchFingers</span></a><span class="Other">(</span><span class="Identifier">id</span><span class="Other">:</span> <a href="sdl2.html#TouchID"><span class="Identifier">TouchID</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetNumTouchFingers&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5945. <dd>
  5946. </dd>
  5947. <a id="getTouchFinger,TouchID,cint"></a>
  5948. <dt><pre><span class="Keyword">proc</span> <a href="#getTouchFinger%2CTouchID%2Ccint"><span class="Identifier">getTouchFinger</span></a><span class="Other">(</span><span class="Identifier">id</span><span class="Other">:</span> <a href="sdl2.html#TouchID"><span class="Identifier">TouchID</span></a><span class="Other">;</span> <span class="Identifier">index</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Finger"><span class="Identifier">Finger</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5949. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetTouchFinger&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5950. <dd>
  5951. </dd>
  5952. <a id="getEventState,EventType"></a>
  5953. <dt><pre><span class="Keyword">proc</span> <a href="#getEventState%2CEventType"><span class="Identifier">getEventState</span></a><span class="Other">(</span><span class="Identifier">kind</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">uint8</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">inline</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  5954. <dd>
  5955. </dd>
  5956. <a id="createRGBSurface,int32,int32,int32"></a>
  5957. <dt><pre><span class="Keyword">proc</span> <a href="#createRGBSurface%2Cint32%2Cint32%2Cint32"><span class="Identifier">createRGBSurface</span></a><span class="Other">(</span><span class="Identifier">width</span><span class="Other">,</span> <span class="Identifier">height</span><span class="Other">,</span> <span class="Identifier">depth</span><span class="Other">:</span> <span class="Identifier">int32</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">inline</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
  5958. <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  5959. <dd>
  5960. </dd>
  5961. <a id="getSize,WindowPtr"></a>
  5962. <dt><pre><span class="Keyword">proc</span> <a href="#getSize%2CWindowPtr"><span class="Identifier">getSize</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#Point"><span class="Identifier">Point</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">inline</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  5963. <dd>
  5964. </dd>
  5965. <a id="destroyTexture,TexturePtr"></a>
  5966. <dt><pre><span class="Keyword">proc</span> <a href="#destroyTexture%2CTexturePtr"><span class="Identifier">destroyTexture</span></a><span class="Other">(</span><span class="Identifier">texture</span><span class="Other">:</span> <a href="sdl2.html#TexturePtr"><span class="Identifier">TexturePtr</span></a><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">inline</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  5967. <dd>
  5968. </dd>
  5969. <a id="destroyRenderer,RendererPtr"></a>
  5970. <dt><pre><span class="Keyword">proc</span> <a href="#destroyRenderer%2CRendererPtr"><span class="Identifier">destroyRenderer</span></a><span class="Other">(</span><span class="Identifier">renderer</span><span class="Other">:</span> <a href="sdl2.html#RendererPtr"><span class="Identifier">RendererPtr</span></a><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">inline</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  5971. <dd>
  5972. </dd>
  5973. <a id="destroy,WindowPtr"></a>
  5974. <dt><pre><span class="Keyword">proc</span> <a href="#destroy%2CWindowPtr"><span class="Identifier">destroy</span></a><span class="Other">(</span><span class="Identifier">window</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">inline</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  5975. <dd>
  5976. </dd>
  5977. <a id="destroy,CursorPtr"></a>
  5978. <dt><pre><span class="Keyword">proc</span> <a href="#destroy%2CCursorPtr"><span class="Identifier">destroy</span></a><span class="Other">(</span><span class="Identifier">cursor</span><span class="Other">:</span> <a href="sdl2.html#CursorPtr"><span class="Identifier">CursorPtr</span></a><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">inline</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  5979. <dd>
  5980. </dd>
  5981. <a id="destroy,SurfacePtr"></a>
  5982. <dt><pre><span class="Keyword">proc</span> <a href="#destroy%2CSurfacePtr"><span class="Identifier">destroy</span></a><span class="Other">(</span><span class="Identifier">surface</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">inline</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  5983. <dd>
  5984. </dd>
  5985. <a id="destroy,ptr.PixelFormat"></a>
  5986. <dt><pre><span class="Keyword">proc</span> <a href="#destroy%2Cptr.PixelFormat"><span class="Identifier">destroy</span></a><span class="Other">(</span><span class="Identifier">format</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#PixelFormat"><span class="Identifier">PixelFormat</span></a><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">inline</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  5987. <dd>
  5988. </dd>
  5989. <a id="destroy,ptr.Palette"></a>
  5990. <dt><pre><span class="Keyword">proc</span> <a href="#destroy%2Cptr.Palette"><span class="Identifier">destroy</span></a><span class="Other">(</span><span class="Identifier">palette</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Palette"><span class="Identifier">Palette</span></a><span class="Other">)</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">inline</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  5991. <dd>
  5992. </dd>
  5993. <a id="blitSurface,SurfacePtr,ptr.Rect,SurfacePtr,ptr.Rect"></a>
  5994. <dt><pre><span class="Keyword">proc</span> <a href="#blitSurface%2CSurfacePtr%2Cptr.Rect%2CSurfacePtr%2Cptr.Rect"><span class="Identifier">blitSurface</span></a><span class="Other">(</span><span class="Identifier">src</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a><span class="Other">;</span> <span class="Identifier">srcrect</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Rect"><span class="Identifier">Rect</span></a><span class="Other">;</span> <span class="Identifier">dst</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a><span class="Other">;</span> <span class="Identifier">dstrect</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Rect"><span class="Identifier">Rect</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  5995. <span class="Identifier">inline</span><span class="Other">,</span> <span class="Identifier">discardable</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  5996. <dd>
  5997. </dd>
  5998. <a id="blitScaled,SurfacePtr,ptr.Rect,SurfacePtr,ptr.Rect"></a>
  5999. <dt><pre><span class="Keyword">proc</span> <a href="#blitScaled%2CSurfacePtr%2Cptr.Rect%2CSurfacePtr%2Cptr.Rect"><span class="Identifier">blitScaled</span></a><span class="Other">(</span><span class="Identifier">src</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a><span class="Other">;</span> <span class="Identifier">srcrect</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Rect"><span class="Identifier">Rect</span></a><span class="Other">;</span> <span class="Identifier">dst</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a><span class="Other">;</span> <span class="Identifier">dstrect</span><span class="Other">:</span> <span class="Keyword">ptr</span> <a href="sdl2.html#Rect"><span class="Identifier">Rect</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  6000. <span class="Identifier">inline</span><span class="Other">,</span> <span class="Identifier">discardable</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  6001. <dd>
  6002. </dd>
  6003. <a id="loadBMP,string"></a>
  6004. <dt><pre><span class="Keyword">proc</span> <a href="#loadBMP%2Cstring"><span class="Identifier">loadBMP</span></a><span class="Other">(</span><span class="Identifier">file</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">inline</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  6005. <dd>
  6006. </dd>
  6007. <a id="saveBMP,SurfacePtr,string"></a>
  6008. <dt><pre><span class="Keyword">proc</span> <a href="#saveBMP%2CSurfacePtr%2Cstring"><span class="Identifier">saveBMP</span></a><span class="Other">(</span><span class="Identifier">surface</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a><span class="Other">;</span> <span class="Identifier">file</span><span class="Other">:</span> <span class="Identifier">string</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">inline</span><span class="Other">,</span> <span class="Identifier">discardable</span><span class="Other">,</span>
  6009. <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  6010. <dd>
  6011. </dd>
  6012. <a id="color,range[],range[],range[],range[]"></a>
  6013. <dt><pre><span class="Keyword">proc</span> <a href="#color%2Crange%5B%5D%2Crange%5B%5D%2Crange%5B%5D%2Crange%5B%5D"><span class="Identifier">color</span></a><span class="Other">(</span><span class="Identifier">r</span><span class="Other">,</span> <span class="Identifier">g</span><span class="Other">,</span> <span class="Identifier">b</span><span class="Other">,</span> <span class="Identifier">a</span><span class="Other">:</span> <span class="Identifier">range</span><span class="Other">[</span><span class="DecNumber">0</span> <span class="Operator">..</span> <span class="DecNumber">255</span><span class="Other">]</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#Color"><span class="Identifier">Color</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  6014. <dd>
  6015. </dd>
  6016. <a id="rect,cint,cint"></a>
  6017. <dt><pre><span class="Keyword">proc</span> <a href="#rect%2Ccint%2Ccint"><span class="Identifier">rect</span></a><span class="Other">(</span><span class="Identifier">x</span><span class="Other">,</span> <span class="Identifier">y</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">;</span> <span class="Identifier">w</span> <span class="Other">=</span> <span class="Identifier">cint</span><span class="Other">(</span><span class="DecNumber">0</span><span class="Other">)</span><span class="Other">;</span> <span class="Identifier">h</span> <span class="Other">=</span> <span class="Identifier">cint</span><span class="Other">(</span><span class="DecNumber">0</span><span class="Other">)</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#Rect"><span class="Identifier">Rect</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  6018. <dd>
  6019. </dd>
  6020. <a id="point,T,T"></a>
  6021. <dt><pre><span class="Keyword">proc</span> <a href="#point%2CT%2CT"><span class="Identifier">point</span></a><span class="Other">[</span><span class="Identifier">T</span><span class="Other">:</span> <span class="Identifier">SomeNumber</span><span class="Other">]</span><span class="Other">(</span><span class="Identifier">x</span><span class="Other">,</span> <span class="Identifier">y</span><span class="Other">:</span> <span class="Identifier">T</span><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#Point"><span class="Identifier">Point</span></a></pre></dt>
  6022. <dd>
  6023. </dd>
  6024. <a id="contains,Rect,Point"></a>
  6025. <dt><pre><span class="Keyword">proc</span> <a href="#contains%2CRect%2CPoint"><span class="Identifier">contains</span></a><span class="Other">(</span><span class="Identifier">some</span><span class="Other">:</span> <a href="sdl2.html#Rect"><span class="Identifier">Rect</span></a><span class="Other">;</span> <span class="Identifier">point</span><span class="Other">:</span> <a href="sdl2.html#Point"><span class="Identifier">Point</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  6026. <dd>
  6027. </dd>
  6028. <a id="setHint,cstring,cstring"></a>
  6029. <dt><pre><span class="Keyword">proc</span> <a href="#setHint%2Ccstring%2Ccstring"><span class="Identifier">setHint</span></a><span class="Other">(</span><span class="Identifier">name</span><span class="Other">:</span> <span class="Identifier">cstring</span><span class="Other">;</span> <span class="Identifier">value</span><span class="Other">:</span> <span class="Identifier">cstring</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_SetHint&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  6030. <dd>
  6031. </dd>
  6032. <a id="setHintWithPriority,cstring,cstring,cint"></a>
  6033. <dt><pre><span class="Keyword">proc</span> <a href="#setHintWithPriority%2Ccstring%2Ccstring%2Ccint"><span class="Identifier">setHintWithPriority</span></a><span class="Other">(</span><span class="Identifier">name</span><span class="Other">:</span> <span class="Identifier">cstring</span><span class="Other">;</span> <span class="Identifier">value</span><span class="Other">:</span> <span class="Identifier">cstring</span><span class="Other">;</span> <span class="Identifier">priority</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  6034. <span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_SetHintWithPriority&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  6035. <dd>
  6036. </dd>
  6037. <a id="getHint,cstring"></a>
  6038. <dt><pre><span class="Keyword">proc</span> <a href="#getHint%2Ccstring"><span class="Identifier">getHint</span></a><span class="Other">(</span><span class="Identifier">name</span><span class="Other">:</span> <span class="Identifier">cstring</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cstring</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">importc</span><span class="Other">:</span> <span class="StringLit">&quot;SDL_GetHint&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  6039. <dd>
  6040. </dd>
  6041. <a id="size,RWopsPtr"></a>
  6042. <dt><pre><span class="Keyword">proc</span> <a href="#size%2CRWopsPtr"><span class="Identifier">size</span></a><span class="Other">(</span><span class="Identifier">ctx</span><span class="Other">:</span> <a href="sdl2.html#RWopsPtr"><span class="Identifier">RWopsPtr</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">int64</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">inline</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  6043. <dd>
  6044. </dd>
  6045. <a id="seek,RWopsPtr,int64,cint"></a>
  6046. <dt><pre><span class="Keyword">proc</span> <a href="#seek%2CRWopsPtr%2Cint64%2Ccint"><span class="Identifier">seek</span></a><span class="Other">(</span><span class="Identifier">ctx</span><span class="Other">:</span> <a href="sdl2.html#RWopsPtr"><span class="Identifier">RWopsPtr</span></a><span class="Other">;</span> <span class="Identifier">offset</span><span class="Other">:</span> <span class="Identifier">int64</span><span class="Other">;</span> <span class="Identifier">whence</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">int64</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">inline</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  6047. <dd>
  6048. </dd>
  6049. <a id="read,RWopsPtr,pointer,csize_t_const,csize_t_const"></a>
  6050. <dt><pre><span class="Keyword">proc</span> <a href="#read%2CRWopsPtr%2Cpointer%2Ccsize_t_const%2Ccsize_t_const"><span class="Identifier">read</span></a><span class="Other">(</span><span class="Identifier">ctx</span><span class="Other">:</span> <a href="sdl2.html#RWopsPtr"><span class="Identifier">RWopsPtr</span></a><span class="Other">;</span> <span class="Other">`</span><span class="Keyword">ptr</span><span class="Other">`</span><span class="Other">:</span> <span class="Identifier">pointer</span><span class="Other">;</span> <span class="Identifier">size</span><span class="Other">,</span> <span class="Identifier">maxnum</span><span class="Other">:</span> <a href="sdl2.html#csize_t_const"><span class="Identifier">csize_t_const</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#csize_t_const"><span class="Identifier">csize_t_const</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  6051. <span class="Identifier">inline</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">ReadIOEffect</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  6052. <dd>
  6053. </dd>
  6054. <a id="write,RWopsPtr,pointer,csize_t_const,csize_t_const"></a>
  6055. <dt><pre><span class="Keyword">proc</span> <a href="#write%2CRWopsPtr%2Cpointer%2Ccsize_t_const%2Ccsize_t_const"><span class="Identifier">write</span></a><span class="Other">(</span><span class="Identifier">ctx</span><span class="Other">:</span> <a href="sdl2.html#RWopsPtr"><span class="Identifier">RWopsPtr</span></a><span class="Other">;</span> <span class="Other">`</span><span class="Keyword">ptr</span><span class="Other">`</span><span class="Other">:</span> <span class="Identifier">pointer</span><span class="Other">;</span> <span class="Identifier">size</span><span class="Other">,</span> <span class="Identifier">num</span><span class="Other">:</span> <a href="sdl2.html#csize_t_const"><span class="Identifier">csize_t_const</span></a><span class="Other">)</span><span class="Other">:</span> <a href="sdl2.html#csize_t_const"><span class="Identifier">csize_t_const</span></a> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma">
  6056. <span class="Identifier">inline</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">WriteIOEffect</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  6057. <dd>
  6058. </dd>
  6059. <a id="close,RWopsPtr"></a>
  6060. <dt><pre><span class="Keyword">proc</span> <a href="#close%2CRWopsPtr"><span class="Identifier">close</span></a><span class="Other">(</span><span class="Identifier">ctx</span><span class="Other">:</span> <a href="sdl2.html#RWopsPtr"><span class="Identifier">RWopsPtr</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">inline</span><span class="Other">,</span> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">Exception</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Identifier">WriteIOEffect</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  6061. <dd>
  6062. </dd>
  6063. </dl></div>
  6064. <div class="section" id="16">
  6065. <h1><a class="toc-backref" href="#16">Converters</a></h1>
  6066. <dl class="item">
  6067. <a id="toInt.c,Keymod"></a>
  6068. <dt><pre><span class="Keyword">converter</span> <a href="#toInt.c%2CKeymod"><span class="Identifier">toInt</span></a><span class="Other">(</span><span class="Identifier">some</span><span class="Other">:</span> <a href="sdl2.html#Keymod"><span class="Identifier">Keymod</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  6069. <dd>
  6070. </dd>
  6071. <a id="toBool.c,Bool32"></a>
  6072. <dt><pre><span class="Keyword">converter</span> <a href="#toBool.c%2CBool32"><span class="Identifier">toBool</span></a><span class="Other">(</span><span class="Identifier">some</span><span class="Other">:</span> <a href="sdl2.html#Bool32"><span class="Identifier">Bool32</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  6073. <dd>
  6074. </dd>
  6075. <a id="toBool.c,SDL_Return"></a>
  6076. <dt><pre><span class="Keyword">converter</span> <a href="#toBool.c%2CSDL_Return"><span class="Identifier">toBool</span></a><span class="Other">(</span><span class="Identifier">some</span><span class="Other">:</span> <a href="sdl2.html#SDL_Return"><span class="Identifier">SDL_Return</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  6077. <dd>
  6078. </dd>
  6079. <a id="toCint.c,TextureAccess"></a>
  6080. <dt><pre><span class="Keyword">converter</span> <a href="#toCint.c%2CTextureAccess"><span class="Identifier">toCint</span></a><span class="Other">(</span><span class="Identifier">some</span><span class="Other">:</span> <a href="sdl2.html#TextureAccess"><span class="Identifier">TextureAccess</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span> <span><span class="Other">{</span><span class="Other pragmadots">...</span><span class="Other">}</span></span><span class="pragmawrap"><span class="Other">{.</span><span class="pragma"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span></pre></dt>
  6081. <dd>
  6082. </dd>
  6083. </dl></div>
  6084. <div class="section" id="18">
  6085. <h1><a class="toc-backref" href="#18">Templates</a></h1>
  6086. <dl class="item">
  6087. <a id="KMOD_CTRL.t"></a>
  6088. <dt><pre><span class="Keyword">template</span> <a href="#KMOD_CTRL.t"><span class="Identifier">KMOD_CTRL</span></a><span class="Other">(</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">untyped</span></pre></dt>
  6089. <dd>
  6090. </dd>
  6091. <a id="KMOD_SHIFT.t"></a>
  6092. <dt><pre><span class="Keyword">template</span> <a href="#KMOD_SHIFT.t"><span class="Identifier">KMOD_SHIFT</span></a><span class="Other">(</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">untyped</span></pre></dt>
  6093. <dd>
  6094. </dd>
  6095. <a id="KMOD_ALT.t"></a>
  6096. <dt><pre><span class="Keyword">template</span> <a href="#KMOD_ALT.t"><span class="Identifier">KMOD_ALT</span></a><span class="Other">(</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">untyped</span></pre></dt>
  6097. <dd>
  6098. </dd>
  6099. <a id="KMOD_GUI.t"></a>
  6100. <dt><pre><span class="Keyword">template</span> <a href="#KMOD_GUI.t"><span class="Identifier">KMOD_GUI</span></a><span class="Other">(</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">untyped</span></pre></dt>
  6101. <dd>
  6102. </dd>
  6103. <a id="SDL_DEFINE_PIXELFOURCC.t,char,char,char,char"></a>
  6104. <dt><pre><span class="Keyword">template</span> <a href="#SDL_DEFINE_PIXELFOURCC.t%2Cchar%2Cchar%2Cchar%2Cchar"><span class="Identifier">SDL_DEFINE_PIXELFOURCC</span></a><span class="Other">(</span><span class="Identifier">A</span><span class="Other">,</span> <span class="Identifier">B</span><span class="Other">,</span> <span class="Identifier">C</span><span class="Other">,</span> <span class="Identifier">D</span><span class="Other">:</span> <span class="Identifier">char</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">uint32</span></pre></dt>
  6105. <dd>
  6106. </dd>
  6107. <a id="SDL_DEFINE_PIXELFORMAT.t,int,int,int,int,int"></a>
  6108. <dt><pre><span class="Keyword">template</span> <a href="#SDL_DEFINE_PIXELFORMAT.t%2Cint%2Cint%2Cint%2Cint%2Cint"><span class="Identifier">SDL_DEFINE_PIXELFORMAT</span></a><span class="Other">(</span><span class="Other">`</span><span class="Keyword">type</span><span class="Other">`</span><span class="Other">,</span> <span class="Identifier">order</span><span class="Other">,</span> <span class="Identifier">layout</span><span class="Other">,</span> <span class="Identifier">bits</span><span class="Other">,</span> <span class="Identifier">bytes</span><span class="Other">:</span> <span class="Identifier">int</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">uint32</span></pre></dt>
  6109. <dd>
  6110. </dd>
  6111. <a id="SDL_PIXELFLAG.t,uint32"></a>
  6112. <dt><pre><span class="Keyword">template</span> <a href="#SDL_PIXELFLAG.t%2Cuint32"><span class="Identifier">SDL_PIXELFLAG</span></a><span class="Other">(</span><span class="Identifier">X</span><span class="Other">:</span> <span class="Identifier">uint32</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">int</span></pre></dt>
  6113. <dd>
  6114. </dd>
  6115. <a id="SDL_PIXELTYPE.t,uint32"></a>
  6116. <dt><pre><span class="Keyword">template</span> <a href="#SDL_PIXELTYPE.t%2Cuint32"><span class="Identifier">SDL_PIXELTYPE</span></a><span class="Other">(</span><span class="Identifier">X</span><span class="Other">:</span> <span class="Identifier">uint32</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">int</span></pre></dt>
  6117. <dd>
  6118. </dd>
  6119. <a id="SDL_PIXELORDER.t,uint32"></a>
  6120. <dt><pre><span class="Keyword">template</span> <a href="#SDL_PIXELORDER.t%2Cuint32"><span class="Identifier">SDL_PIXELORDER</span></a><span class="Other">(</span><span class="Identifier">X</span><span class="Other">:</span> <span class="Identifier">uint32</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">int</span></pre></dt>
  6121. <dd>
  6122. </dd>
  6123. <a id="SDL_PIXELLAYOUT.t,uint32"></a>
  6124. <dt><pre><span class="Keyword">template</span> <a href="#SDL_PIXELLAYOUT.t%2Cuint32"><span class="Identifier">SDL_PIXELLAYOUT</span></a><span class="Other">(</span><span class="Identifier">X</span><span class="Other">:</span> <span class="Identifier">uint32</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">int</span></pre></dt>
  6125. <dd>
  6126. </dd>
  6127. <a id="SDL_BITSPERPIXEL.t,uint32"></a>
  6128. <dt><pre><span class="Keyword">template</span> <a href="#SDL_BITSPERPIXEL.t%2Cuint32"><span class="Identifier">SDL_BITSPERPIXEL</span></a><span class="Other">(</span><span class="Identifier">X</span><span class="Other">:</span> <span class="Identifier">uint32</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">int</span></pre></dt>
  6129. <dd>
  6130. </dd>
  6131. <a id="SDL_BYTESPERPIXEL.t,uint32"></a>
  6132. <dt><pre><span class="Keyword">template</span> <a href="#SDL_BYTESPERPIXEL.t%2Cuint32"><span class="Identifier">SDL_BYTESPERPIXEL</span></a><span class="Other">(</span><span class="Identifier">X</span><span class="Other">:</span> <span class="Identifier">uint32</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">int</span></pre></dt>
  6133. <dd>
  6134. </dd>
  6135. <a id="SDL_ISPIXELFORMAT_INDEXED.t,uint32"></a>
  6136. <dt><pre><span class="Keyword">template</span> <a href="#SDL_ISPIXELFORMAT_INDEXED.t%2Cuint32"><span class="Identifier">SDL_ISPIXELFORMAT_INDEXED</span></a><span class="Other">(</span><span class="Identifier">format</span><span class="Other">:</span> <span class="Identifier">uint32</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span></pre></dt>
  6137. <dd>
  6138. </dd>
  6139. <a id="SDL_ISPIXELFORMAT_ALPHA.t,uint32"></a>
  6140. <dt><pre><span class="Keyword">template</span> <a href="#SDL_ISPIXELFORMAT_ALPHA.t%2Cuint32"><span class="Identifier">SDL_ISPIXELFORMAT_ALPHA</span></a><span class="Other">(</span><span class="Identifier">format</span><span class="Other">:</span> <span class="Identifier">uint32</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span></pre></dt>
  6141. <dd>
  6142. </dd>
  6143. <a id="SDL_ISPIXELFORMAT_FOURCC.t,uint32"></a>
  6144. <dt><pre><span class="Keyword">template</span> <a href="#SDL_ISPIXELFORMAT_FOURCC.t%2Cuint32"><span class="Identifier">SDL_ISPIXELFORMAT_FOURCC</span></a><span class="Other">(</span><span class="Identifier">format</span><span class="Other">:</span> <span class="Identifier">uint32</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span></pre></dt>
  6145. <dd>
  6146. </dd>
  6147. <a id="SDL_MUSTLOCK.t,SurfacePtr"></a>
  6148. <dt><pre><span class="Keyword">template</span> <a href="#SDL_MUSTLOCK.t%2CSurfacePtr"><span class="Identifier">SDL_MUSTLOCK</span></a><span class="Other">(</span><span class="Identifier">some</span><span class="Other">:</span> <a href="sdl2.html#SurfacePtr"><span class="Identifier">SurfacePtr</span></a><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span></pre></dt>
  6149. <dd>
  6150. </dd>
  6151. <a id="SDL_WINDOWPOS_UNDEFINED_DISPLAY.t,cint"></a>
  6152. <dt><pre><span class="Keyword">template</span> <a href="#SDL_WINDOWPOS_UNDEFINED_DISPLAY.t%2Ccint"><span class="Identifier">SDL_WINDOWPOS_UNDEFINED_DISPLAY</span></a><span class="Other">(</span><span class="Identifier">X</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">untyped</span></pre></dt>
  6153. <dd>
  6154. </dd>
  6155. <a id="SDL_WINDOWPOS_ISUNDEFINED.t,cint"></a>
  6156. <dt><pre><span class="Keyword">template</span> <a href="#SDL_WINDOWPOS_ISUNDEFINED.t%2Ccint"><span class="Identifier">SDL_WINDOWPOS_ISUNDEFINED</span></a><span class="Other">(</span><span class="Identifier">X</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span></pre></dt>
  6157. <dd>
  6158. </dd>
  6159. <a id="SDL_WINDOWPOS_CENTERED_DISPLAY.t,cint"></a>
  6160. <dt><pre><span class="Keyword">template</span> <a href="#SDL_WINDOWPOS_CENTERED_DISPLAY.t%2Ccint"><span class="Identifier">SDL_WINDOWPOS_CENTERED_DISPLAY</span></a><span class="Other">(</span><span class="Identifier">X</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">cint</span></pre></dt>
  6161. <dd>
  6162. </dd>
  6163. <a id="SDL_WINDOWPOS_ISCENTERED.t,cint"></a>
  6164. <dt><pre><span class="Keyword">template</span> <a href="#SDL_WINDOWPOS_ISCENTERED.t%2Ccint"><span class="Identifier">SDL_WINDOWPOS_ISCENTERED</span></a><span class="Other">(</span><span class="Identifier">X</span><span class="Other">:</span> <span class="Identifier">cint</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">bool</span></pre></dt>
  6165. <dd>
  6166. </dd>
  6167. <a id="SDL_BUTTON.t,uint8"></a>
  6168. <dt><pre><span class="Keyword">template</span> <a href="#SDL_BUTTON.t%2Cuint8"><span class="Identifier">SDL_BUTTON</span></a><span class="Other">(</span><span class="Identifier">x</span><span class="Other">:</span> <span class="Identifier">uint8</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">uint8</span></pre></dt>
  6169. <dd>
  6170. </dd>
  6171. </dl></div>
  6172. </div>
  6173. </div>
  6174. <div class="row">
  6175. <div class="twelve-columns footer">
  6176. <span class="nim-sprite"></span>
  6177. <br/>
  6178. <small style="color: var(--hint);">Made with Nim. Generated: 2020-06-08 15:13:33 UTC</small>
  6179. </div>
  6180. </div>
  6181. </div>
  6182. </div>
  6183. </body>
  6184. </html>