sdl2.html 742 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742
  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="#Scancode"
  92. title="Scancode {.size: 4.} = enum
  93. SDL_SCANCODE_UNKNOWN = 0, SDL_SCANCODE_A = 4, SDL_SCANCODE_B = 5, SDL_SCANCODE_C = 6,
  94. SDL_SCANCODE_D = 7, SDL_SCANCODE_E = 8, SDL_SCANCODE_F = 9, SDL_SCANCODE_G = 10,
  95. SDL_SCANCODE_H = 11, SDL_SCANCODE_I = 12, SDL_SCANCODE_J = 13, SDL_SCANCODE_K = 14,
  96. SDL_SCANCODE_L = 15, SDL_SCANCODE_M = 16, SDL_SCANCODE_N = 17, SDL_SCANCODE_O = 18,
  97. SDL_SCANCODE_P = 19, SDL_SCANCODE_Q = 20, SDL_SCANCODE_R = 21, SDL_SCANCODE_S = 22,
  98. SDL_SCANCODE_T = 23, SDL_SCANCODE_U = 24, SDL_SCANCODE_V = 25, SDL_SCANCODE_W = 26,
  99. SDL_SCANCODE_X = 27, SDL_SCANCODE_Y = 28, SDL_SCANCODE_Z = 29, SDL_SCANCODE_1 = 30,
  100. SDL_SCANCODE_2 = 31, SDL_SCANCODE_3 = 32, SDL_SCANCODE_4 = 33, SDL_SCANCODE_5 = 34,
  101. SDL_SCANCODE_6 = 35, SDL_SCANCODE_7 = 36, SDL_SCANCODE_8 = 37, SDL_SCANCODE_9 = 38,
  102. SDL_SCANCODE_0 = 39, SDL_SCANCODE_RETURN = 40, SDL_SCANCODE_ESCAPE = 41,
  103. SDL_SCANCODE_BACKSPACE = 42, SDL_SCANCODE_TAB = 43, SDL_SCANCODE_SPACE = 44,
  104. SDL_SCANCODE_MINUS = 45, SDL_SCANCODE_EQUALS = 46, SDL_SCANCODE_LEFTBRACKET = 47,
  105. SDL_SCANCODE_RIGHTBRACKET = 48, SDL_SCANCODE_BACKSLASH = 49,
  106. SDL_SCANCODE_NONUSHASH = 50, SDL_SCANCODE_SEMICOLON = 51,
  107. SDL_SCANCODE_APOSTROPHE = 52, SDL_SCANCODE_GRAVE = 53, SDL_SCANCODE_COMMA = 54,
  108. SDL_SCANCODE_PERIOD = 55, SDL_SCANCODE_SLASH = 56, SDL_SCANCODE_CAPSLOCK = 57,
  109. SDL_SCANCODE_F1 = 58, SDL_SCANCODE_F2 = 59, SDL_SCANCODE_F3 = 60, SDL_SCANCODE_F4 = 61,
  110. SDL_SCANCODE_F5 = 62, SDL_SCANCODE_F6 = 63, SDL_SCANCODE_F7 = 64, SDL_SCANCODE_F8 = 65,
  111. SDL_SCANCODE_F9 = 66, SDL_SCANCODE_F10 = 67, SDL_SCANCODE_F11 = 68,
  112. SDL_SCANCODE_F12 = 69, SDL_SCANCODE_PRINTSCREEN = 70, SDL_SCANCODE_SCROLLLOCK = 71,
  113. SDL_SCANCODE_PAUSE = 72, SDL_SCANCODE_INSERT = 73, SDL_SCANCODE_HOME = 74,
  114. SDL_SCANCODE_PAGEUP = 75, SDL_SCANCODE_DELETE = 76, SDL_SCANCODE_END = 77,
  115. SDL_SCANCODE_PAGEDOWN = 78, SDL_SCANCODE_RIGHT = 79, SDL_SCANCODE_LEFT = 80,
  116. SDL_SCANCODE_DOWN = 81, SDL_SCANCODE_UP = 82, SDL_SCANCODE_NUMLOCKCLEAR = 83,
  117. SDL_SCANCODE_KP_DIVIDE = 84, SDL_SCANCODE_KP_MULTIPLY = 85,
  118. SDL_SCANCODE_KP_MINUS = 86, SDL_SCANCODE_KP_PLUS = 87, SDL_SCANCODE_KP_ENTER = 88,
  119. SDL_SCANCODE_KP_1 = 89, SDL_SCANCODE_KP_2 = 90, SDL_SCANCODE_KP_3 = 91,
  120. SDL_SCANCODE_KP_4 = 92, SDL_SCANCODE_KP_5 = 93, SDL_SCANCODE_KP_6 = 94,
  121. SDL_SCANCODE_KP_7 = 95, SDL_SCANCODE_KP_8 = 96, SDL_SCANCODE_KP_9 = 97,
  122. SDL_SCANCODE_KP_0 = 98, SDL_SCANCODE_KP_PERIOD = 99,
  123. SDL_SCANCODE_NONUSBACKSLASH = 100, SDL_SCANCODE_APPLICATION = 101,
  124. SDL_SCANCODE_POWER = 102, SDL_SCANCODE_KP_EQUALS = 103, SDL_SCANCODE_F13 = 104,
  125. SDL_SCANCODE_F14 = 105, SDL_SCANCODE_F15 = 106, SDL_SCANCODE_F16 = 107,
  126. SDL_SCANCODE_F17 = 108, SDL_SCANCODE_F18 = 109, SDL_SCANCODE_F19 = 110,
  127. SDL_SCANCODE_F20 = 111, SDL_SCANCODE_F21 = 112, SDL_SCANCODE_F22 = 113,
  128. SDL_SCANCODE_F23 = 114, SDL_SCANCODE_F24 = 115, SDL_SCANCODE_EXECUTE = 116,
  129. SDL_SCANCODE_HELP = 117, SDL_SCANCODE_MENU = 118, SDL_SCANCODE_SELECT = 119,
  130. SDL_SCANCODE_STOP = 120, SDL_SCANCODE_AGAIN = 121, SDL_SCANCODE_UNDO = 122,
  131. SDL_SCANCODE_CUT = 123, SDL_SCANCODE_COPY = 124, SDL_SCANCODE_PASTE = 125,
  132. SDL_SCANCODE_FIND = 126, SDL_SCANCODE_MUTE = 127, SDL_SCANCODE_VOLUMEUP = 128,
  133. SDL_SCANCODE_VOLUMEDOWN = 129, SDL_SCANCODE_KP_COMMA = 133,
  134. SDL_SCANCODE_KP_EQUALSAS400 = 134, SDL_SCANCODE_INTERNATIONAL1 = 135,
  135. SDL_SCANCODE_INTERNATIONAL2 = 136, SDL_SCANCODE_INTERNATIONAL3 = 137,
  136. SDL_SCANCODE_INTERNATIONAL4 = 138, SDL_SCANCODE_INTERNATIONAL5 = 139,
  137. SDL_SCANCODE_INTERNATIONAL6 = 140, SDL_SCANCODE_INTERNATIONAL7 = 141,
  138. SDL_SCANCODE_INTERNATIONAL8 = 142, SDL_SCANCODE_INTERNATIONAL9 = 143,
  139. SDL_SCANCODE_LANG1 = 144, SDL_SCANCODE_LANG2 = 145, SDL_SCANCODE_LANG3 = 146,
  140. SDL_SCANCODE_LANG4 = 147, SDL_SCANCODE_LANG5 = 148, SDL_SCANCODE_LANG6 = 149,
  141. SDL_SCANCODE_LANG7 = 150, SDL_SCANCODE_LANG8 = 151, SDL_SCANCODE_LANG9 = 152,
  142. SDL_SCANCODE_ALTERASE = 153, SDL_SCANCODE_SYSREQ = 154, SDL_SCANCODE_CANCEL = 155,
  143. SDL_SCANCODE_CLEAR = 156, SDL_SCANCODE_PRIOR = 157, SDL_SCANCODE_RETURN2 = 158,
  144. SDL_SCANCODE_SEPARATOR = 159, SDL_SCANCODE_OUT = 160, SDL_SCANCODE_OPER = 161,
  145. SDL_SCANCODE_CLEARAGAIN = 162, SDL_SCANCODE_CRSEL = 163, SDL_SCANCODE_EXSEL = 164,
  146. SDL_SCANCODE_KP_00 = 176, SDL_SCANCODE_KP_000 = 177,
  147. SDL_SCANCODE_THOUSANDSSEPARATOR = 178, SDL_SCANCODE_DECIMALSEPARATOR = 179,
  148. SDL_SCANCODE_CURRENCYUNIT = 180, SDL_SCANCODE_CURRENCYSUBUNIT = 181,
  149. SDL_SCANCODE_KP_LEFTPAREN = 182, SDL_SCANCODE_KP_RIGHTPAREN = 183,
  150. SDL_SCANCODE_KP_LEFTBRACE = 184, SDL_SCANCODE_KP_RIGHTBRACE = 185,
  151. SDL_SCANCODE_KP_TAB = 186, SDL_SCANCODE_KP_BACKSPACE = 187, SDL_SCANCODE_KP_A = 188,
  152. SDL_SCANCODE_KP_B = 189, SDL_SCANCODE_KP_C = 190, SDL_SCANCODE_KP_D = 191,
  153. SDL_SCANCODE_KP_E = 192, SDL_SCANCODE_KP_F = 193, SDL_SCANCODE_KP_XOR = 194,
  154. SDL_SCANCODE_KP_POWER = 195, SDL_SCANCODE_KP_PERCENT = 196,
  155. SDL_SCANCODE_KP_LESS = 197, SDL_SCANCODE_KP_GREATER = 198,
  156. SDL_SCANCODE_KP_AMPERSAND = 199, SDL_SCANCODE_KP_DBLAMPERSAND = 200,
  157. SDL_SCANCODE_KP_VERTICALBAR = 201, SDL_SCANCODE_KP_DBLVERTICALBAR = 202,
  158. SDL_SCANCODE_KP_COLON = 203, SDL_SCANCODE_KP_HASH = 204,
  159. SDL_SCANCODE_KP_SPACE = 205, SDL_SCANCODE_KP_AT = 206, SDL_SCANCODE_KP_EXCLAM = 207,
  160. SDL_SCANCODE_KP_MEMSTORE = 208, SDL_SCANCODE_KP_MEMRECALL = 209,
  161. SDL_SCANCODE_KP_MEMCLEAR = 210, SDL_SCANCODE_KP_MEMADD = 211,
  162. SDL_SCANCODE_KP_MEMSUBTRACT = 212, SDL_SCANCODE_KP_MEMMULTIPLY = 213,
  163. SDL_SCANCODE_KP_MEMDIVIDE = 214, SDL_SCANCODE_KP_PLUSMINUS = 215,
  164. SDL_SCANCODE_KP_CLEAR = 216, SDL_SCANCODE_KP_CLEARENTRY = 217,
  165. SDL_SCANCODE_KP_BINARY = 218, SDL_SCANCODE_KP_OCTAL = 219,
  166. SDL_SCANCODE_KP_DECIMAL = 220, SDL_SCANCODE_KP_HEXADECIMAL = 221,
  167. SDL_SCANCODE_LCTRL = 224, SDL_SCANCODE_LSHIFT = 225, SDL_SCANCODE_LALT = 226,
  168. SDL_SCANCODE_LGUI = 227, SDL_SCANCODE_RCTRL = 228, SDL_SCANCODE_RSHIFT = 229,
  169. SDL_SCANCODE_RALT = 230, SDL_SCANCODE_RGUI = 231, SDL_SCANCODE_MODE = 257,
  170. SDL_SCANCODE_AUDIONEXT = 258, SDL_SCANCODE_AUDIOPREV = 259,
  171. SDL_SCANCODE_AUDIOSTOP = 260, SDL_SCANCODE_AUDIOPLAY = 261,
  172. SDL_SCANCODE_AUDIOMUTE = 262, SDL_SCANCODE_MEDIASELECT = 263,
  173. SDL_SCANCODE_WWW = 264, SDL_SCANCODE_MAIL = 265, SDL_SCANCODE_CALCULATOR = 266,
  174. SDL_SCANCODE_COMPUTER = 267, SDL_SCANCODE_AC_SEARCH = 268,
  175. SDL_SCANCODE_AC_HOME = 269, SDL_SCANCODE_AC_BACK = 270,
  176. SDL_SCANCODE_AC_FORWARD = 271, SDL_SCANCODE_AC_STOP = 272,
  177. SDL_SCANCODE_AC_REFRESH = 273, SDL_SCANCODE_AC_BOOKMARKS = 274,
  178. SDL_SCANCODE_BRIGHTNESSDOWN = 275, SDL_SCANCODE_BRIGHTNESSUP = 276,
  179. SDL_SCANCODE_DISPLAYSWITCH = 277, SDL_SCANCODE_KBDILLUMTOGGLE = 278,
  180. SDL_SCANCODE_KBDILLUMDOWN = 279, SDL_SCANCODE_KBDILLUMUP = 280,
  181. SDL_SCANCODE_EJECT = 281, SDL_SCANCODE_SLEEP = 282, SDL_NUM_SCANCODES = 512"><wbr />Scancode<span class="attachedType"></span></a></li>
  182. <li><a class="reference" href="#Keymod"
  183. title="Keymod {.size: 4.} = enum
  184. KMOD_NONE = 0x00000000, KMOD_LSHIFT = 0x00000001, KMOD_RSHIFT = 0x00000002,
  185. KMOD_LCTRL = 0x00000040, KMOD_RCTRL = 0x00000080, KMOD_LALT = 0x00000100,
  186. KMOD_RALT = 0x00000200, KMOD_LGUI = 0x00000400, KMOD_RGUI = 0x00000800,
  187. KMOD_NUM = 0x00001000, KMOD_CAPS = 0x00002000, KMOD_MODE = 0x00004000,
  188. KMOD_RESERVED = 0x00008000"><wbr />Keymod<span class="attachedType"></span></a></li>
  189. <li><a class="reference" href="#WindowEventID"
  190. title="WindowEventID {.size: 1.} = enum
  191. WindowEvent_None = 0, WindowEvent_Shown, WindowEvent_Hidden, WindowEvent_Exposed,
  192. WindowEvent_Moved, WindowEvent_Resized, WindowEvent_SizeChanged,
  193. WindowEvent_Minimized, WindowEvent_Maximized, WindowEvent_Restored,
  194. WindowEvent_Enter, WindowEvent_Leave, WindowEvent_FocusGained,
  195. WindowEvent_FocusLost, WindowEvent_Close, WindowEvent_TakeFocus,
  196. WindowEvent_HitTest"><wbr />Window<wbr />Event<wbr />ID<span class="attachedType"></span></a></li>
  197. <li><a class="reference" href="#EventType"
  198. title="EventType {.size: 4.} = enum
  199. QuitEvent = 0x00000100, AppTerminating, AppLowMemory, AppWillEnterBackground,
  200. AppDidEnterBackground, AppWillEnterForeground, AppDidEnterForeground,
  201. DisplayEvent = 0x00000150, WindowEvent = 0x00000200, SysWMEvent,
  202. KeyDown = 0x00000300, KeyUp, TextEditing, TextInput, KeymapChanged,
  203. MouseMotion = 0x00000400, MouseButtonDown, MouseButtonUp, MouseWheel,
  204. JoyAxisMotion = 0x00000600, JoyBallMotion, JoyHatMotion, JoyButtonDown, JoyButtonUp,
  205. JoyDeviceAdded, JoyDeviceRemoved, ControllerAxisMotion = 0x00000650,
  206. ControllerButtonDown, ControllerButtonUp, ControllerDeviceAdded,
  207. ControllerDeviceRemoved, ControllerDeviceRemapped, FingerDown = 0x00000700,
  208. FingerUp, FingerMotion, DollarGesture = 0x00000800, DollarRecord, MultiGesture,
  209. ClipboardUpdate = 0x00000900, DropFile = 0x00001000, DropText, DropBegin,
  210. DropComplete, AudioDeviceAdded = 0x00001100, AudioDeviceRemoved = 0x00001101,
  211. SensorUpdate = 0x00001200, RenderTargetsReset = 0x00002000, RenderDeviceReset,
  212. UserEvent = 0x00008000, UserEvent1, UserEvent2, UserEvent3, UserEvent4, UserEvent5,
  213. LastEvent = 0x0000FFFF"><wbr />Event<wbr />Type<span class="attachedType"></span></a></li>
  214. <li><a class="reference" href="#Event"
  215. title="Event = object
  216. kind*: EventType
  217. padding: array[56 - 4, byte]"><wbr />Event<span class="attachedType"></span></a></li>
  218. <li><a class="reference" href="#QuitEventPtr"
  219. title="QuitEventPtr = ptr QuitEventObj"><wbr />Quit<wbr />Event<wbr />Ptr<span class="attachedType"></span></a></li>
  220. <li><a class="reference" href="#QuitEventObj"
  221. title="QuitEventObj = object
  222. kind*: EventType
  223. timestamp*: uint32"><wbr />Quit<wbr />Event<wbr />Obj<span class="attachedType"></span></a></li>
  224. <li><a class="reference" href="#WindowEventPtr"
  225. title="WindowEventPtr = ptr WindowEventObj"><wbr />Window<wbr />Event<wbr />Ptr<span class="attachedType"></span></a></li>
  226. <li><a class="reference" href="#WindowEventObj"
  227. title="WindowEventObj = object
  228. kind*: EventType
  229. timestamp*: uint32
  230. windowID*: uint32
  231. event*: WindowEventID
  232. pad*: array[56 - 13, byte]"><wbr />Window<wbr />Event<wbr />Obj<span class="attachedType"></span></a></li>
  233. <li><a class="reference" href="#KeyboardEventPtr"
  234. title="KeyboardEventPtr = ptr KeyboardEventObj"><wbr />Keyboard<wbr />Event<wbr />Ptr<span class="attachedType"></span></a></li>
  235. <li><a class="reference" href="#KeyboardEventObj"
  236. title="KeyboardEventObj = object
  237. kind*: EventType
  238. timestamp*: uint32
  239. windowID*: uint32
  240. state*: uint8
  241. repeat*: bool
  242. keysym*: KeySym
  243. pad*: array[24, byte]"><wbr />Keyboard<wbr />Event<wbr />Obj<span class="attachedType"></span></a></li>
  244. <li><a class="reference" href="#TextEditingEventPtr"
  245. title="TextEditingEventPtr = ptr TextEditingEventObj"><wbr />Text<wbr />Editing<wbr />Event<wbr />Ptr<span class="attachedType"></span></a></li>
  246. <li><a class="reference" href="#TextEditingEventObj"
  247. title="TextEditingEventObj = object
  248. kind*: EventType
  249. timestamp*: uint32
  250. windowID*: uint32
  251. text*: array[SDL_TEXTEDITINGEVENT_TEXT_SIZE, char]
  252. start*, length*: int32
  253. pad*: array[8, byte]"><wbr />Text<wbr />Editing<wbr />Event<wbr />Obj<span class="attachedType"></span></a></li>
  254. <li><a class="reference" href="#TextInputEventPtr"
  255. title="TextInputEventPtr = ptr TextInputEventObj"><wbr />Text<wbr />Input<wbr />Event<wbr />Ptr<span class="attachedType"></span></a></li>
  256. <li><a class="reference" href="#TextInputEventObj"
  257. title="TextInputEventObj = object
  258. kind*: EventType
  259. timestamp*: uint32
  260. windowID*: uint32
  261. text*: array[SDL_TEXTINPUTEVENT_TEXT_SIZE, char]
  262. pad*: array[24, byte]"><wbr />Text<wbr />Input<wbr />Event<wbr />Obj<span class="attachedType"></span></a></li>
  263. <li><a class="reference" href="#MouseMotionEventPtr"
  264. title="MouseMotionEventPtr = ptr MouseMotionEventObj"><wbr />Mouse<wbr />Motion<wbr />Event<wbr />Ptr<span class="attachedType"></span></a></li>
  265. <li><a class="reference" href="#MouseMotionEventObj"
  266. title="MouseMotionEventObj = object
  267. kind*: EventType
  268. timestamp*, windowID*: uint32
  269. which*: uint32
  270. state*: uint32
  271. x*, y*, xrel*, yrel*: int32
  272. pad*: array[20, byte]"><wbr />Mouse<wbr />Motion<wbr />Event<wbr />Obj<span class="attachedType"></span></a></li>
  273. <li><a class="reference" href="#MouseButtonEventPtr"
  274. title="MouseButtonEventPtr = ptr MouseButtonEventObj"><wbr />Mouse<wbr />Button<wbr />Event<wbr />Ptr<span class="attachedType"></span></a></li>
  275. <li><a class="reference" href="#MouseButtonEventObj"
  276. title="MouseButtonEventObj = object
  277. kind*: EventType
  278. timestamp*, windowID*: uint32
  279. which*: uint32
  280. button*: uint8
  281. state*: uint8
  282. clicks*: uint8
  283. x*, y*: cint
  284. pad*: array[28, byte]"><wbr />Mouse<wbr />Button<wbr />Event<wbr />Obj<span class="attachedType"></span></a></li>
  285. <li><a class="reference" href="#MouseWheelEventPtr"
  286. title="MouseWheelEventPtr = ptr MouseWheelEventObj"><wbr />Mouse<wbr />Wheel<wbr />Event<wbr />Ptr<span class="attachedType"></span></a></li>
  287. <li><a class="reference" href="#MouseWheelEventObj"
  288. title="MouseWheelEventObj = object
  289. kind*: EventType
  290. timestamp*, windowID*: uint32
  291. which*: uint32
  292. x*, y*: cint
  293. direction*: MouseWheelDirection"><wbr />Mouse<wbr />Wheel<wbr />Event<wbr />Obj<span class="attachedType"></span></a></li>
  294. <li><a class="reference" href="#JoyAxisEventPtr"
  295. title="JoyAxisEventPtr = ptr JoyAxisEventObj"><wbr />Joy<wbr />Axis<wbr />Event<wbr />Ptr<span class="attachedType"></span></a></li>
  296. <li><a class="reference" href="#JoyAxisEventObj"
  297. title="JoyAxisEventObj = object
  298. kind*: EventType
  299. timestamp*: uint32
  300. which*: int32
  301. axis*: uint8
  302. pad1, pad2, pad3: uint8
  303. value*: int16"><wbr />Joy<wbr />Axis<wbr />Event<wbr />Obj<span class="attachedType"></span></a></li>
  304. <li><a class="reference" href="#JoyBallEventPtr"
  305. title="JoyBallEventPtr = ptr JoyBallEventObj"><wbr />Joy<wbr />Ball<wbr />Event<wbr />Ptr<span class="attachedType"></span></a></li>
  306. <li><a class="reference" href="#JoyBallEventObj"
  307. title="JoyBallEventObj = object
  308. kind*: EventType
  309. timestamp*: uint32
  310. which*: int32
  311. ball*, pad1, pad2, pad3: uint8
  312. xrel*, yrel*: int16"><wbr />Joy<wbr />Ball<wbr />Event<wbr />Obj<span class="attachedType"></span></a></li>
  313. <li><a class="reference" href="#JoyHatEventPtr"
  314. title="JoyHatEventPtr = ptr JoyHatEventObj"><wbr />Joy<wbr />Hat<wbr />Event<wbr />Ptr<span class="attachedType"></span></a></li>
  315. <li><a class="reference" href="#JoyHatEventObj"
  316. title="JoyHatEventObj = object
  317. kind*: EventType
  318. timestamp*: uint32
  319. which*: int32
  320. hat*, value*: uint8"><wbr />Joy<wbr />Hat<wbr />Event<wbr />Obj<span class="attachedType"></span></a></li>
  321. <li><a class="reference" href="#JoyButtonEventPtr"
  322. title="JoyButtonEventPtr = ptr JoyButtonEventObj"><wbr />Joy<wbr />Button<wbr />Event<wbr />Ptr<span class="attachedType"></span></a></li>
  323. <li><a class="reference" href="#JoyButtonEventObj"
  324. title="JoyButtonEventObj = object
  325. kind*: EventType
  326. timestamp*: uint32
  327. which*: int32
  328. button*, state*: uint8"><wbr />Joy<wbr />Button<wbr />Event<wbr />Obj<span class="attachedType"></span></a></li>
  329. <li><a class="reference" href="#JoyDeviceEventPtr"
  330. title="JoyDeviceEventPtr = ptr JoyDeviceEventObj"><wbr />Joy<wbr />Device<wbr />Event<wbr />Ptr<span class="attachedType"></span></a></li>
  331. <li><a class="reference" href="#JoyDeviceEventObj"
  332. title="JoyDeviceEventObj = object
  333. kind*: EventType
  334. timestamp*: uint32
  335. which*: int32"><wbr />Joy<wbr />Device<wbr />Event<wbr />Obj<span class="attachedType"></span></a></li>
  336. <li><a class="reference" href="#ControllerAxisEventPtr"
  337. title="ControllerAxisEventPtr = ptr ControllerAxisEventObj"><wbr />Controller<wbr />Axis<wbr />Event<wbr />Ptr<span class="attachedType"></span></a></li>
  338. <li><a class="reference" href="#ControllerAxisEventObj"
  339. title="ControllerAxisEventObj = object
  340. kind*: EventType
  341. timestamp*: uint32
  342. which*: int32
  343. axis*, pad1, pad2, pad3: uint8
  344. value*: int16"><wbr />Controller<wbr />Axis<wbr />Event<wbr />Obj<span class="attachedType"></span></a></li>
  345. <li><a class="reference" href="#ControllerButtonEventPtr"
  346. title="ControllerButtonEventPtr = ptr ControllerButtonEventObj"><wbr />Controller<wbr />Button<wbr />Event<wbr />Ptr<span class="attachedType"></span></a></li>
  347. <li><a class="reference" href="#ControllerButtonEventObj"
  348. title="ControllerButtonEventObj = object
  349. kind*: EventType
  350. timestamp*: uint32
  351. which*: int32
  352. button*, state*: uint8"><wbr />Controller<wbr />Button<wbr />Event<wbr />Obj<span class="attachedType"></span></a></li>
  353. <li><a class="reference" href="#ControllerDeviceEventPtr"
  354. title="ControllerDeviceEventPtr = ptr ControllerDeviceEventObj"><wbr />Controller<wbr />Device<wbr />Event<wbr />Ptr<span class="attachedType"></span></a></li>
  355. <li><a class="reference" href="#ControllerDeviceEventObj"
  356. title="ControllerDeviceEventObj = object
  357. kind*: EventType
  358. timestamp*: uint32
  359. which*: int32"><wbr />Controller<wbr />Device<wbr />Event<wbr />Obj<span class="attachedType"></span></a></li>
  360. <li><a class="reference" href="#TouchID"
  361. title="TouchID = int64"><wbr />Touch<wbr />ID<span class="attachedType"></span></a></li>
  362. <li><a class="reference" href="#FingerID"
  363. title="FingerID = int64"><wbr />Finger<wbr />ID<span class="attachedType"></span></a></li>
  364. <li><a class="reference" href="#TouchFingerEventPtr"
  365. title="TouchFingerEventPtr = ptr TouchFingerEventObj"><wbr />Touch<wbr />Finger<wbr />Event<wbr />Ptr<span class="attachedType"></span></a></li>
  366. <li><a class="reference" href="#TouchFingerEventObj"
  367. title="TouchFingerEventObj = object
  368. kind*: EventType
  369. timestamp*: uint32
  370. touchID*: TouchID
  371. fingerID*: FingerID
  372. x*, y*, dx*, dy*, pressure*: cfloat
  373. pad*: array[24, byte]"><wbr />Touch<wbr />Finger<wbr />Event<wbr />Obj<span class="attachedType"></span></a></li>
  374. <li><a class="reference" href="#MultiGestureEventPtr"
  375. title="MultiGestureEventPtr = ptr MultiGestureEventObj"><wbr />Multi<wbr />Gesture<wbr />Event<wbr />Ptr<span class="attachedType"></span></a></li>
  376. <li><a class="reference" href="#MultiGestureEventObj"
  377. title="MultiGestureEventObj = object
  378. kind*: EventType
  379. timestamp*: uint32
  380. touchID*: TouchID
  381. dTheta*, dDist*, x*, y*: cfloat
  382. numFingers*: uint16"><wbr />Multi<wbr />Gesture<wbr />Event<wbr />Obj<span class="attachedType"></span></a></li>
  383. <li><a class="reference" href="#Finger"
  384. title="Finger = object
  385. id*: FingerID
  386. x*, y*: cfloat
  387. pressure*: cfloat"><wbr />Finger<span class="attachedType"></span></a></li>
  388. <li><a class="reference" href="#DollarGestureEventPtr"
  389. title="DollarGestureEventPtr = ptr DollarGestureEventObj"><wbr />Dollar<wbr />Gesture<wbr />Event<wbr />Ptr<span class="attachedType"></span></a></li>
  390. <li><a class="reference" href="#DollarGestureEventObj"
  391. title="DollarGestureEventObj = object
  392. kind*: EventType
  393. timestamp*: uint32
  394. touchID*: TouchID
  395. gestureID*: GestureID
  396. numFingers*: uint32
  397. error*, x*, y*: float"><wbr />Dollar<wbr />Gesture<wbr />Event<wbr />Obj<span class="attachedType"></span></a></li>
  398. <li><a class="reference" href="#DropEventPtr"
  399. title="DropEventPtr = ptr DropEventObj"><wbr />Drop<wbr />Event<wbr />Ptr<span class="attachedType"></span></a></li>
  400. <li><a class="reference" href="#DropEventObj"
  401. title="DropEventObj = object
  402. kind*: EventType
  403. timestamp*: uint32
  404. file*: cstring"><wbr />Drop<wbr />Event<wbr />Obj<span class="attachedType"></span></a></li>
  405. <li><a class="reference" href="#UserEventPtr"
  406. title="UserEventPtr = ptr UserEventObj"><wbr />User<wbr />Event<wbr />Ptr<span class="attachedType"></span></a></li>
  407. <li><a class="reference" href="#UserEventObj"
  408. title="UserEventObj = object
  409. kind*: EventType
  410. timestamp*, windowID*: uint32
  411. code*: int32
  412. data1*, data2*: pointer"><wbr />User<wbr />Event<wbr />Obj<span class="attachedType"></span></a></li>
  413. <li><a class="reference" href="#Eventaction"
  414. title="Eventaction {.size: 4.} = enum
  415. SDL_ADDEVENT, SDL_PEEKEVENT, SDL_GETEVENT"><wbr />Eventaction<span class="attachedType"></span></a></li>
  416. <li><a class="reference" href="#EventFilter"
  417. title="EventFilter = proc (userdata: pointer; event: ptr Event): Bool32 {.cdecl.}"><wbr />Event<wbr />Filter<span class="attachedType"></span></a></li>
  418. <li><a class="reference" href="#SDL_Return"
  419. title="SDL_Return {.size: 4.} = enum
  420. SdlError = -1, SdlSuccess = 0 ## \
  421. ## Return value for many SDL functions. Any function that returns like this \
  422. ## should also be discardable"><wbr />SDL_<wbr />Return<span class="attachedType"></span></a></li>
  423. <li><a class="reference" href="#Bool32"
  424. title="Bool32 {.size: 4.} = enum
  425. False32 = 0, True32 = 1 ## \
  426. ## SDL_bool"><wbr />Bool32<span class="attachedType"></span></a></li>
  427. <li><a class="reference" href="#KeyState"
  428. title="KeyState {.size: 1.} = enum
  429. KeyReleased = 0, KeyPressed"><wbr />Key<wbr />State<span class="attachedType"></span></a></li>
  430. <li><a class="reference" href="#KeySym"
  431. title="KeySym {.pure.} = object
  432. scancode*: Scancode
  433. sym*: cint ## Keycode
  434. modstate*: int16
  435. unicode*: cint"><wbr />Key<wbr />Sym<span class="attachedType"></span></a></li>
  436. <li><a class="reference" href="#Point"
  437. title="Point = tuple[x, y: cint]"><wbr />Point<span class="attachedType"></span></a></li>
  438. <li><a class="reference" href="#Rect"
  439. title="Rect = tuple[x, y: cint, w, h: cint]"><wbr />Rect<span class="attachedType"></span></a></li>
  440. <li><a class="reference" href="#GLattr"
  441. title="GLattr {.size: 4.} = enum
  442. SDL_GL_RED_SIZE, SDL_GL_GREEN_SIZE, SDL_GL_BLUE_SIZE, SDL_GL_ALPHA_SIZE,
  443. SDL_GL_BUFFER_SIZE, SDL_GL_DOUBLEBUFFER, SDL_GL_DEPTH_SIZE, SDL_GL_STENCIL_SIZE,
  444. SDL_GL_ACCUM_RED_SIZE, SDL_GL_ACCUM_GREEN_SIZE, SDL_GL_ACCUM_BLUE_SIZE,
  445. SDL_GL_ACCUM_ALPHA_SIZE, SDL_GL_STEREO, SDL_GL_MULTISAMPLEBUFFERS,
  446. SDL_GL_MULTISAMPLESAMPLES, SDL_GL_ACCELERATED_VISUAL, SDL_GL_RETAINED_BACKING,
  447. SDL_GL_CONTEXT_MAJOR_VERSION, SDL_GL_CONTEXT_MINOR_VERSION, SDL_GL_CONTEXT_EGL,
  448. SDL_GL_CONTEXT_FLAGS, SDL_GL_CONTEXT_PROFILE_MASK,
  449. SDL_GL_SHARE_WITH_CURRENT_CONTEXT, SDL_GL_FRAMEBUFFER_SRGB_CAPABLE,
  450. SDL_GL_CONTEXT_RELEASE_BEHAVIOR, SDL_GL_CONTEXT_RESET_NOTIFICATION,
  451. SDL_GL_CONTEXT_NO_ERROR"><wbr />GLattr<span class="attachedType"></span></a></li>
  452. <li><a class="reference" href="#MouseWheelDirection"
  453. title="MouseWheelDirection {.size: 4.} = enum
  454. SDL_MOUSEWHEEL_NORMAL, SDL_MOUSEWHEEL_FLIPPED"><wbr />Mouse<wbr />Wheel<wbr />Direction<span class="attachedType"></span></a></li>
  455. <li><a class="reference" href="#DisplayMode"
  456. title="DisplayMode = object
  457. format*: cuint
  458. w*, h*, refresh_rate*: cint
  459. driverData*: pointer"><wbr />Display<wbr />Mode<span class="attachedType"></span></a></li>
  460. <li><a class="reference" href="#WindowPtr"
  461. title="WindowPtr = ptr object"><wbr />Window<wbr />Ptr<span class="attachedType"></span></a></li>
  462. <li><a class="reference" href="#RendererPtr"
  463. title="RendererPtr = ptr object"><wbr />Renderer<wbr />Ptr<span class="attachedType"></span></a></li>
  464. <li><a class="reference" href="#TexturePtr"
  465. title="TexturePtr = ptr object"><wbr />Texture<wbr />Ptr<span class="attachedType"></span></a></li>
  466. <li><a class="reference" href="#CursorPtr"
  467. title="CursorPtr = ptr object"><wbr />Cursor<wbr />Ptr<span class="attachedType"></span></a></li>
  468. <li><a class="reference" href="#GlContextPtr"
  469. title="GlContextPtr = ptr object"><wbr />Gl<wbr />Context<wbr />Ptr<span class="attachedType"></span></a></li>
  470. <li><a class="reference" href="#SDL_Version"
  471. title="SDL_Version = object
  472. major*, minor*, patch*: uint8"><wbr />SDL_<wbr />Version<span class="attachedType"></span></a></li>
  473. <li><a class="reference" href="#RendererInfoPtr"
  474. title="RendererInfoPtr = ptr RendererInfo"><wbr />Renderer<wbr />Info<wbr />Ptr<span class="attachedType"></span></a></li>
  475. <li><a class="reference" href="#RendererInfo"
  476. title="RendererInfo {.pure, final.} = object
  477. name*: cstring
  478. flags*: uint32
  479. num_texture_formats*: uint32
  480. texture_formats*: array[0 .. 16 - 1, uint32]
  481. max_texture_width*: cint
  482. max_texture_height*: cint"><wbr />Renderer<wbr />Info<span class="attachedType"></span></a></li>
  483. <li><a class="reference" href="#TextureAccess"
  484. title="TextureAccess {.size: 4.} = enum
  485. SDL_TEXTUREACCESS_STATIC, SDL_TEXTUREACCESS_STREAMING, SDL_TEXTUREACCESS_TARGET"><wbr />Texture<wbr />Access<span class="attachedType"></span></a></li>
  486. <li><a class="reference" href="#TextureModulate"
  487. title="TextureModulate {.size: 4.} = enum
  488. SDL_TEXTUREMODULATE_NONE, SDL_TEXTUREMODULATE_COLOR, SDL_TEXTUREMODULATE_ALPHA"><wbr />Texture<wbr />Modulate<span class="attachedType"></span></a></li>
  489. <li><a class="reference" href="#RendererFlip"
  490. title="RendererFlip = cint"><wbr />Renderer<wbr />Flip<span class="attachedType"></span></a></li>
  491. <li><a class="reference" href="#SysWMType"
  492. title="SysWMType {.size: 4.} = enum
  493. SysWM_Unknown, SysWM_Windows, SysWM_X11, SysWM_DirectFB, SysWM_Cocoa, SysWM_UIkit,
  494. SysWM_Wayland, SysWM_Mir, SysWM_WinRT, SysWM_Android, SysWM_Vivante"><wbr />Sys<wbr />WMType<span class="attachedType"></span></a></li>
  495. <li><a class="reference" href="#WMinfo"
  496. title="WMinfo = object
  497. version*: SDL_Version
  498. subsystem*: SysWMType
  499. padding*: array[64, byte] ## if the low-level stuff is important to you check \
  500. ## SDL_syswm.h and cast padding to the right type"><wbr />WMinfo<span class="attachedType"></span></a></li>
  501. <li><a class="reference" href="#Color"
  502. title="Color {.pure, final.} = tuple[r: uint8, g: uint8, b: uint8, a: uint8]"><wbr />Color<span class="attachedType"></span></a></li>
  503. <li><a class="reference" href="#Palette"
  504. title="Palette {.pure, final.} = object
  505. ncolors*: cint
  506. colors*: ptr Color
  507. version*: uint32
  508. refcount*: cint"><wbr />Palette<span class="attachedType"></span></a></li>
  509. <li><a class="reference" href="#PixelFormat"
  510. title="PixelFormat {.pure, final.} = object
  511. format*: uint32
  512. palette*: ptr Palette
  513. BitsPerPixel*: uint8
  514. BytesPerPixel*: uint8
  515. padding*: array[0 .. 2 - 1, uint8]
  516. Rmask*: uint32
  517. Gmask*: uint32
  518. Bmask*: uint32
  519. Amask*: uint32
  520. Rloss*: uint8
  521. Gloss*: uint8
  522. Bloss*: uint8
  523. Aloss*: uint8
  524. Rshift*: uint8
  525. Gshift*: uint8
  526. Bshift*: uint8
  527. Ashift*: uint8
  528. refcount*: cint
  529. next*: ptr PixelFormat"><wbr />Pixel<wbr />Format<span class="attachedType"></span></a></li>
  530. <li><a class="reference" href="#BlitMapPtr"
  531. title="BlitMapPtr {.pure.} = ptr object"><wbr />Blit<wbr />Map<wbr />Ptr<span class="attachedType"></span></a></li>
  532. <li><a class="reference" href="#SurfacePtr"
  533. title="SurfacePtr = ptr Surface"><wbr />Surface<wbr />Ptr<span class="attachedType"></span></a></li>
  534. <li><a class="reference" href="#Surface"
  535. title="Surface {.pure, final.} = object
  536. flags*: uint32
  537. format*: ptr PixelFormat
  538. w*, h*, pitch*: int32
  539. pixels*: pointer
  540. userdata*: pointer
  541. locked*: int32
  542. lock_data*: pointer
  543. clip_rect*: Rect
  544. map: BlitMapPtr
  545. refcount*: cint"><wbr />Surface<span class="attachedType"></span></a></li>
  546. <li><a class="reference" href="#BlendMode"
  547. title="BlendMode {.size: 4.} = enum
  548. BlendMode_None = 0x00000000, BlendMode_Blend = 0x00000001,
  549. BlendMode_Add = 0x00000002, BlendMode_Mod = 0x00000004"><wbr />Blend<wbr />Mode<span class="attachedType"></span></a></li>
  550. <li><a class="reference" href="#BlitFunction"
  551. title="BlitFunction = proc (src: SurfacePtr; srcrect: ptr Rect; dst: SurfacePtr;
  552. dstrect: ptr Rect): cint {.cdecl.}"><wbr />Blit<wbr />Function<span class="attachedType"></span></a></li>
  553. <li><a class="reference" href="#TimerCallback"
  554. title="TimerCallback = proc (interval: uint32; param: pointer): uint32 {.cdecl.}"><wbr />Timer<wbr />Callback<span class="attachedType"></span></a></li>
  555. <li><a class="reference" href="#TimerID"
  556. title="TimerID = cint"><wbr />Timer<wbr />ID<span class="attachedType"></span></a></li>
  557. <li><a class="reference" href="#MessageBoxColor"
  558. title="MessageBoxColor {.pure, final.} = object
  559. r*: uint8
  560. g*: uint8
  561. b*: uint8"><wbr />Message<wbr />Box<wbr />Color<span class="attachedType"></span></a></li>
  562. <li><a class="reference" href="#MessageBoxColorType"
  563. title="MessageBoxColorType = enum
  564. SDL_MESSAGEBOX_COLOR_BACKGROUND, SDL_MESSAGEBOX_COLOR_TEXT,
  565. SDL_MESSAGEBOX_COLOR_BUTTON_BORDER, SDL_MESSAGEBOX_COLOR_BUTTON_BACKGROUND,
  566. SDL_MESSAGEBOX_COLOR_BUTTON_SELECTED, SDL_MESSAGEBOX_COLOR_MAX"><wbr />Message<wbr />Box<wbr />Color<wbr />Type<span class="attachedType"></span></a></li>
  567. <li><a class="reference" href="#MessageBoxColorScheme"
  568. title="MessageBoxColorScheme {.pure, final.} = object
  569. colors*: array[MessageBoxColorType, MessageBoxColor]"><wbr />Message<wbr />Box<wbr />Color<wbr />Scheme<span class="attachedType"></span></a></li>
  570. <li><a class="reference" href="#MessageBoxButtonData"
  571. title="MessageBoxButtonData {.pure, final.} = object
  572. flags*: cint
  573. buttonid*: cint
  574. text*: cstring"><wbr />Message<wbr />Box<wbr />Button<wbr />Data<span class="attachedType"></span></a></li>
  575. <li><a class="reference" href="#MessageBoxData"
  576. title="MessageBoxData {.pure, final.} = object
  577. flags*: cint
  578. window*: WindowPtr
  579. title*, message*: cstring
  580. numbuttons*: cint
  581. buttons*: ptr MessageBoxButtonData
  582. colorScheme*: ptr MessageBoxColorScheme"><wbr />Message<wbr />Box<wbr />Data<span class="attachedType"></span></a></li>
  583. <li><a class="reference" href="#RWopsPtr"
  584. title="RWopsPtr = ptr RWops"><wbr />RWops<wbr />Ptr<span class="attachedType"></span></a></li>
  585. <li><a class="reference" href="#RWops"
  586. title="RWops {.pure, final.} = object
  587. size*: proc (context: RWopsPtr): int64 {.cdecl, tags: [], raises: [].}
  588. seek*: proc (context: RWopsPtr; offset: int64; whence: cint): int64 {.cdecl, tags: [],
  589. raises: [].}
  590. read*: proc (context: RWopsPtr; destination: pointer; size, maxnum: csize_t): csize_t {.
  591. cdecl, tags: [ReadIOEffect], raises: [].}
  592. write*: proc (context: RWopsPtr; source: pointer; size: csize_t; num: csize_t): csize_t {.
  593. cdecl, tags: [WriteIOEffect], raises: [].}
  594. close*: proc (context: RWopsPtr): cint {.cdecl, tags: [WriteIOEffect].}
  595. kind*: cint
  596. mem*: Mem"><wbr />RWops<span class="attachedType"></span></a></li>
  597. <li><a class="reference" href="#Mem"
  598. title="Mem {.final.} = object
  599. base*: ptr byte
  600. here*: ptr byte
  601. stop*: ptr byte"><wbr />Mem<span class="attachedType"></span></a></li>
  602. <li><a class="reference" href="#VoidCallback"
  603. title="VoidCallback = proc (arg: pointer): void {.cdecl.}"><wbr />Void<wbr />Callback<span class="attachedType"></span></a></li>
  604. <li><a class="reference" href="#VulkanInstance"
  605. title="VulkanInstance = VkHandle"><wbr />Vulkan<wbr />Instance<span class="attachedType"></span></a></li>
  606. <li><a class="reference" href="#VulkanSurface"
  607. title="VulkanSurface = VkNonDispatchableHandle"><wbr />Vulkan<wbr />Surface<span class="attachedType"></span></a></li>
  608. <li><a class="reference" href="#SystemCursor"
  609. title="SystemCursor = enum
  610. SDL_SYSTEM_CURSOR_ARROW, ## Arrow
  611. SDL_SYSTEM_CURSOR_IBEAM, ## I-beam
  612. SDL_SYSTEM_CURSOR_WAIT, ## Wait
  613. SDL_SYSTEM_CURSOR_CROSSHAIR, ## Crosshair
  614. SDL_SYSTEM_CURSOR_WAITARROW, ## Small wait cursor (or Wait if not available)
  615. SDL_SYSTEM_CURSOR_SIZENWSE, ## Double arrow pointing northwest and southeast
  616. SDL_SYSTEM_CURSOR_SIZENESW, ## Double arrow pointing northeast and southwest
  617. SDL_SYSTEM_CURSOR_SIZEWE, ## Double arrow pointing west and east
  618. SDL_SYSTEM_CURSOR_SIZENS, ## Double arrow pointing north and south
  619. SDL_SYSTEM_CURSOR_SIZEALL, ## Four pointed arrow pointing north, south, east, and west
  620. SDL_SYSTEM_CURSOR_NO, ## Slashed circle or crossbones
  621. SDL_SYSTEM_CURSOR_HAND ## Hand"><wbr />System<wbr />Cursor<span class="attachedType"></span></a></li>
  622. </ul>
  623. </li>
  624. <li>
  625. <a class="reference reference-toplevel" href="#9" id="59">Lets</a>
  626. <ul class="simple simple-toc-section">
  627. <li><a class="reference" href="#defaultEvent"
  628. title="defaultEvent = Event(kind: QuitEvent)"><wbr />default<wbr />Event<span class="attachedType"></span></a></li>
  629. </ul>
  630. </li>
  631. <li>
  632. <a class="reference reference-toplevel" href="#10" id="60">Consts</a>
  633. <ul class="simple simple-toc-section">
  634. <li><a class="reference" href="#LibName"
  635. title="LibName = &quot;libSDL2.so&quot;"><wbr />Lib<wbr />Name<span class="attachedType"></span></a></li>
  636. <li><a class="reference" href="#K_UNKNOWN"
  637. title="K_UNKNOWN: cint = 0"><wbr />K_<wbr />UNKNOWN<span class="attachedType"></span></a></li>
  638. <li><a class="reference" href="#K_BACKSPACE"
  639. title="K_BACKSPACE: cint = 8&apos;i32"><wbr />K_<wbr />BACKSPACE<span class="attachedType"></span></a></li>
  640. <li><a class="reference" href="#K_TAB"
  641. title="K_TAB: cint = 9&apos;i32"><wbr />K_<wbr />TAB<span class="attachedType"></span></a></li>
  642. <li><a class="reference" href="#K_RETURN"
  643. title="K_RETURN: cint = 13&apos;i32"><wbr />K_<wbr />RETURN<span class="attachedType"></span></a></li>
  644. <li><a class="reference" href="#K_ESCAPE"
  645. title="K_ESCAPE: cint = 27&apos;i32"><wbr />K_<wbr />ESCAPE<span class="attachedType"></span></a></li>
  646. <li><a class="reference" href="#K_SPACE"
  647. title="K_SPACE: cint = 32&apos;i32"><wbr />K_<wbr />SPACE<span class="attachedType"></span></a></li>
  648. <li><a class="reference" href="#K_EXCLAIM"
  649. title="K_EXCLAIM: cint = 33&apos;i32"><wbr />K_<wbr />EXCLAIM<span class="attachedType"></span></a></li>
  650. <li><a class="reference" href="#K_QUOTEDBL"
  651. title="K_QUOTEDBL: cint = 34&apos;i32"><wbr />K_<wbr />QUOTEDBL<span class="attachedType"></span></a></li>
  652. <li><a class="reference" href="#K_HASH"
  653. title="K_HASH: cint = 35&apos;i32"><wbr />K_<wbr />HASH<span class="attachedType"></span></a></li>
  654. <li><a class="reference" href="#K_DOLLAR"
  655. title="K_DOLLAR: cint = 36&apos;i32"><wbr />K_<wbr />DOLLAR<span class="attachedType"></span></a></li>
  656. <li><a class="reference" href="#K_PERCENT"
  657. title="K_PERCENT: cint = 37&apos;i32"><wbr />K_<wbr />PERCENT<span class="attachedType"></span></a></li>
  658. <li><a class="reference" href="#K_AMPERSAND"
  659. title="K_AMPERSAND: cint = 38&apos;i32"><wbr />K_<wbr />AMPERSAND<span class="attachedType"></span></a></li>
  660. <li><a class="reference" href="#K_QUOTE"
  661. title="K_QUOTE: cint = 39&apos;i32"><wbr />K_<wbr />QUOTE<span class="attachedType"></span></a></li>
  662. <li><a class="reference" href="#K_LEFTPAREN"
  663. title="K_LEFTPAREN: cint = 40&apos;i32"><wbr />K_<wbr />LEFTPAREN<span class="attachedType"></span></a></li>
  664. <li><a class="reference" href="#K_RIGHTPAREN"
  665. title="K_RIGHTPAREN: cint = 41&apos;i32"><wbr />K_<wbr />RIGHTPAREN<span class="attachedType"></span></a></li>
  666. <li><a class="reference" href="#K_ASTERISK"
  667. title="K_ASTERISK: cint = 42&apos;i32"><wbr />K_<wbr />ASTERISK<span class="attachedType"></span></a></li>
  668. <li><a class="reference" href="#K_PLUS"
  669. title="K_PLUS: cint = 43&apos;i32"><wbr />K_<wbr />PLUS<span class="attachedType"></span></a></li>
  670. <li><a class="reference" href="#K_COMMA"
  671. title="K_COMMA: cint = 44&apos;i32"><wbr />K_<wbr />COMMA<span class="attachedType"></span></a></li>
  672. <li><a class="reference" href="#K_MINUS"
  673. title="K_MINUS: cint = 45&apos;i32"><wbr />K_<wbr />MINUS<span class="attachedType"></span></a></li>
  674. <li><a class="reference" href="#K_PERIOD"
  675. title="K_PERIOD: cint = 46&apos;i32"><wbr />K_<wbr />PERIOD<span class="attachedType"></span></a></li>
  676. <li><a class="reference" href="#K_SLASH"
  677. title="K_SLASH: cint = 47&apos;i32"><wbr />K_<wbr />SLASH<span class="attachedType"></span></a></li>
  678. <li><a class="reference" href="#K_0"
  679. title="K_0: cint = 48&apos;i32"><wbr />K_<wbr />0<span class="attachedType"></span></a></li>
  680. <li><a class="reference" href="#K_1"
  681. title="K_1: cint = 49&apos;i32"><wbr />K_<wbr />1<span class="attachedType"></span></a></li>
  682. <li><a class="reference" href="#K_2"
  683. title="K_2: cint = 50&apos;i32"><wbr />K_<wbr />2<span class="attachedType"></span></a></li>
  684. <li><a class="reference" href="#K_3"
  685. title="K_3: cint = 51&apos;i32"><wbr />K_<wbr />3<span class="attachedType"></span></a></li>
  686. <li><a class="reference" href="#K_4"
  687. title="K_4: cint = 52&apos;i32"><wbr />K_<wbr />4<span class="attachedType"></span></a></li>
  688. <li><a class="reference" href="#K_5"
  689. title="K_5: cint = 53&apos;i32"><wbr />K_<wbr />5<span class="attachedType"></span></a></li>
  690. <li><a class="reference" href="#K_6"
  691. title="K_6: cint = 54&apos;i32"><wbr />K_<wbr />6<span class="attachedType"></span></a></li>
  692. <li><a class="reference" href="#K_7"
  693. title="K_7: cint = 55&apos;i32"><wbr />K_<wbr />7<span class="attachedType"></span></a></li>
  694. <li><a class="reference" href="#K_8"
  695. title="K_8: cint = 56&apos;i32"><wbr />K_<wbr />8<span class="attachedType"></span></a></li>
  696. <li><a class="reference" href="#K_9"
  697. title="K_9: cint = 57&apos;i32"><wbr />K_<wbr />9<span class="attachedType"></span></a></li>
  698. <li><a class="reference" href="#K_COLON"
  699. title="K_COLON: cint = 58&apos;i32"><wbr />K_<wbr />COLON<span class="attachedType"></span></a></li>
  700. <li><a class="reference" href="#K_SEMICOLON"
  701. title="K_SEMICOLON: cint = 59&apos;i32"><wbr />K_<wbr />SEMICOLON<span class="attachedType"></span></a></li>
  702. <li><a class="reference" href="#K_LESS"
  703. title="K_LESS: cint = 60&apos;i32"><wbr />K_<wbr />LESS<span class="attachedType"></span></a></li>
  704. <li><a class="reference" href="#K_EQUALS"
  705. title="K_EQUALS: cint = 61&apos;i32"><wbr />K_<wbr />EQUALS<span class="attachedType"></span></a></li>
  706. <li><a class="reference" href="#K_GREATER"
  707. title="K_GREATER: cint = 62&apos;i32"><wbr />K_<wbr />GREATER<span class="attachedType"></span></a></li>
  708. <li><a class="reference" href="#K_QUESTION"
  709. title="K_QUESTION: cint = 63&apos;i32"><wbr />K_<wbr />QUESTION<span class="attachedType"></span></a></li>
  710. <li><a class="reference" href="#K_AT"
  711. title="K_AT: cint = 64&apos;i32"><wbr />K_<wbr />AT<span class="attachedType"></span></a></li>
  712. <li><a class="reference" href="#K_LEFTBRACKET"
  713. title="K_LEFTBRACKET: cint = 91&apos;i32"><wbr />K_<wbr />LEFTBRACKET<span class="attachedType"></span></a></li>
  714. <li><a class="reference" href="#K_BACKSLASH"
  715. title="K_BACKSLASH: cint = 92&apos;i32"><wbr />K_<wbr />BACKSLASH<span class="attachedType"></span></a></li>
  716. <li><a class="reference" href="#K_RIGHTBRACKET"
  717. title="K_RIGHTBRACKET: cint = 93&apos;i32"><wbr />K_<wbr />RIGHTBRACKET<span class="attachedType"></span></a></li>
  718. <li><a class="reference" href="#K_CARET"
  719. title="K_CARET: cint = 94&apos;i32"><wbr />K_<wbr />CARET<span class="attachedType"></span></a></li>
  720. <li><a class="reference" href="#K_UNDERSCORE"
  721. title="K_UNDERSCORE: cint = 95&apos;i32"><wbr />K_<wbr />UNDERSCORE<span class="attachedType"></span></a></li>
  722. <li><a class="reference" href="#K_BACKQUOTE"
  723. title="K_BACKQUOTE: cint = 96&apos;i32"><wbr />K_<wbr />BACKQUOTE<span class="attachedType"></span></a></li>
  724. <li><a class="reference" href="#K_a"
  725. title="K_a: cint = 97&apos;i32"><wbr />K_<wbr />a<span class="attachedType"></span></a></li>
  726. <li><a class="reference" href="#K_b"
  727. title="K_b: cint = 98&apos;i32"><wbr />K_<wbr />b<span class="attachedType"></span></a></li>
  728. <li><a class="reference" href="#K_c"
  729. title="K_c: cint = 99&apos;i32"><wbr />K_<wbr />c<span class="attachedType"></span></a></li>
  730. <li><a class="reference" href="#K_d"
  731. title="K_d: cint = 100&apos;i32"><wbr />K_<wbr />d<span class="attachedType"></span></a></li>
  732. <li><a class="reference" href="#K_e"
  733. title="K_e: cint = 101&apos;i32"><wbr />K_<wbr />e<span class="attachedType"></span></a></li>
  734. <li><a class="reference" href="#K_f"
  735. title="K_f: cint = 102&apos;i32"><wbr />K_<wbr />f<span class="attachedType"></span></a></li>
  736. <li><a class="reference" href="#K_g"
  737. title="K_g: cint = 103&apos;i32"><wbr />K_<wbr />g<span class="attachedType"></span></a></li>
  738. <li><a class="reference" href="#K_h"
  739. title="K_h: cint = 104&apos;i32"><wbr />K_<wbr />h<span class="attachedType"></span></a></li>
  740. <li><a class="reference" href="#K_i"
  741. title="K_i: cint = 105&apos;i32"><wbr />K_<wbr />i<span class="attachedType"></span></a></li>
  742. <li><a class="reference" href="#K_j"
  743. title="K_j: cint = 106&apos;i32"><wbr />K_<wbr />j<span class="attachedType"></span></a></li>
  744. <li><a class="reference" href="#K_k"
  745. title="K_k: cint = 107&apos;i32"><wbr />K_<wbr />k<span class="attachedType"></span></a></li>
  746. <li><a class="reference" href="#K_l"
  747. title="K_l: cint = 108&apos;i32"><wbr />K_<wbr />l<span class="attachedType"></span></a></li>
  748. <li><a class="reference" href="#K_m"
  749. title="K_m: cint = 109&apos;i32"><wbr />K_<wbr />m<span class="attachedType"></span></a></li>
  750. <li><a class="reference" href="#K_n"
  751. title="K_n: cint = 110&apos;i32"><wbr />K_<wbr />n<span class="attachedType"></span></a></li>
  752. <li><a class="reference" href="#K_o"
  753. title="K_o: cint = 111&apos;i32"><wbr />K_<wbr />o<span class="attachedType"></span></a></li>
  754. <li><a class="reference" href="#K_p"
  755. title="K_p: cint = 112&apos;i32"><wbr />K_<wbr />p<span class="attachedType"></span></a></li>
  756. <li><a class="reference" href="#K_q"
  757. title="K_q: cint = 113&apos;i32"><wbr />K_<wbr />q<span class="attachedType"></span></a></li>
  758. <li><a class="reference" href="#K_r"
  759. title="K_r: cint = 114&apos;i32"><wbr />K_<wbr />r<span class="attachedType"></span></a></li>
  760. <li><a class="reference" href="#K_s"
  761. title="K_s: cint = 115&apos;i32"><wbr />K_<wbr />s<span class="attachedType"></span></a></li>
  762. <li><a class="reference" href="#K_t"
  763. title="K_t: cint = 116&apos;i32"><wbr />K_<wbr />t<span class="attachedType"></span></a></li>
  764. <li><a class="reference" href="#K_u"
  765. title="K_u: cint = 117&apos;i32"><wbr />K_<wbr />u<span class="attachedType"></span></a></li>
  766. <li><a class="reference" href="#K_v"
  767. title="K_v: cint = 118&apos;i32"><wbr />K_<wbr />v<span class="attachedType"></span></a></li>
  768. <li><a class="reference" href="#K_w"
  769. title="K_w: cint = 119&apos;i32"><wbr />K_<wbr />w<span class="attachedType"></span></a></li>
  770. <li><a class="reference" href="#K_x"
  771. title="K_x: cint = 120&apos;i32"><wbr />K_<wbr />x<span class="attachedType"></span></a></li>
  772. <li><a class="reference" href="#K_y"
  773. title="K_y: cint = 121&apos;i32"><wbr />K_<wbr />y<span class="attachedType"></span></a></li>
  774. <li><a class="reference" href="#K_z"
  775. title="K_z: cint = 122&apos;i32"><wbr />K_<wbr />z<span class="attachedType"></span></a></li>
  776. <li><a class="reference" href="#K_DELETE"
  777. title="K_DELETE: cint = 127&apos;i32"><wbr />K_<wbr />DELETE<span class="attachedType"></span></a></li>
  778. <li><a class="reference" href="#K_CAPSLOCK"
  779. title="K_CAPSLOCK: cint = 1073741881&apos;i32"><wbr />K_<wbr />CAPSLOCK<span class="attachedType"></span></a></li>
  780. <li><a class="reference" href="#K_F1"
  781. title="K_F1: cint = 1073741882&apos;i32"><wbr />K_<wbr />F1<span class="attachedType"></span></a></li>
  782. <li><a class="reference" href="#K_F2"
  783. title="K_F2: cint = 1073741883&apos;i32"><wbr />K_<wbr />F2<span class="attachedType"></span></a></li>
  784. <li><a class="reference" href="#K_F3"
  785. title="K_F3: cint = 1073741884&apos;i32"><wbr />K_<wbr />F3<span class="attachedType"></span></a></li>
  786. <li><a class="reference" href="#K_F4"
  787. title="K_F4: cint = 1073741885&apos;i32"><wbr />K_<wbr />F4<span class="attachedType"></span></a></li>
  788. <li><a class="reference" href="#K_F5"
  789. title="K_F5: cint = 1073741886&apos;i32"><wbr />K_<wbr />F5<span class="attachedType"></span></a></li>
  790. <li><a class="reference" href="#K_F6"
  791. title="K_F6: cint = 1073741887&apos;i32"><wbr />K_<wbr />F6<span class="attachedType"></span></a></li>
  792. <li><a class="reference" href="#K_F7"
  793. title="K_F7: cint = 1073741888&apos;i32"><wbr />K_<wbr />F7<span class="attachedType"></span></a></li>
  794. <li><a class="reference" href="#K_F8"
  795. title="K_F8: cint = 1073741889&apos;i32"><wbr />K_<wbr />F8<span class="attachedType"></span></a></li>
  796. <li><a class="reference" href="#K_F9"
  797. title="K_F9: cint = 1073741890&apos;i32"><wbr />K_<wbr />F9<span class="attachedType"></span></a></li>
  798. <li><a class="reference" href="#K_F10"
  799. title="K_F10: cint = 1073741891&apos;i32"><wbr />K_<wbr />F10<span class="attachedType"></span></a></li>
  800. <li><a class="reference" href="#K_F11"
  801. title="K_F11: cint = 1073741892&apos;i32"><wbr />K_<wbr />F11<span class="attachedType"></span></a></li>
  802. <li><a class="reference" href="#K_F12"
  803. title="K_F12: cint = 1073741893&apos;i32"><wbr />K_<wbr />F12<span class="attachedType"></span></a></li>
  804. <li><a class="reference" href="#K_PRINTSCREEN"
  805. title="K_PRINTSCREEN: cint = 1073741894&apos;i32"><wbr />K_<wbr />PRINTSCREEN<span class="attachedType"></span></a></li>
  806. <li><a class="reference" href="#K_SCROLLLOCK"
  807. title="K_SCROLLLOCK: cint = 1073741895&apos;i32"><wbr />K_<wbr />SCROLLLOCK<span class="attachedType"></span></a></li>
  808. <li><a class="reference" href="#K_PAUSE"
  809. title="K_PAUSE: cint = 1073741896&apos;i32"><wbr />K_<wbr />PAUSE<span class="attachedType"></span></a></li>
  810. <li><a class="reference" href="#K_INSERT"
  811. title="K_INSERT: cint = 1073741897&apos;i32"><wbr />K_<wbr />INSERT<span class="attachedType"></span></a></li>
  812. <li><a class="reference" href="#K_HOME"
  813. title="K_HOME: cint = 1073741898&apos;i32"><wbr />K_<wbr />HOME<span class="attachedType"></span></a></li>
  814. <li><a class="reference" href="#K_PAGEUP"
  815. title="K_PAGEUP: cint = 1073741899&apos;i32"><wbr />K_<wbr />PAGEUP<span class="attachedType"></span></a></li>
  816. <li><a class="reference" href="#K_END"
  817. title="K_END: cint = 1073741901&apos;i32"><wbr />K_<wbr />END<span class="attachedType"></span></a></li>
  818. <li><a class="reference" href="#K_PAGEDOWN"
  819. title="K_PAGEDOWN: cint = 1073741902&apos;i32"><wbr />K_<wbr />PAGEDOWN<span class="attachedType"></span></a></li>
  820. <li><a class="reference" href="#K_RIGHT"
  821. title="K_RIGHT: cint = 1073741903&apos;i32"><wbr />K_<wbr />RIGHT<span class="attachedType"></span></a></li>
  822. <li><a class="reference" href="#K_LEFT"
  823. title="K_LEFT: cint = 1073741904&apos;i32"><wbr />K_<wbr />LEFT<span class="attachedType"></span></a></li>
  824. <li><a class="reference" href="#K_DOWN"
  825. title="K_DOWN: cint = 1073741905&apos;i32"><wbr />K_<wbr />DOWN<span class="attachedType"></span></a></li>
  826. <li><a class="reference" href="#K_UP"
  827. title="K_UP: cint = 1073741906&apos;i32"><wbr />K_<wbr />UP<span class="attachedType"></span></a></li>
  828. <li><a class="reference" href="#K_NUMLOCKCLEAR"
  829. title="K_NUMLOCKCLEAR: cint = 1073741907&apos;i32"><wbr />K_<wbr />NUMLOCKCLEAR<span class="attachedType"></span></a></li>
  830. <li><a class="reference" href="#K_KP_DIVIDE"
  831. title="K_KP_DIVIDE: cint = 1073741908&apos;i32"><wbr />K_<wbr />KP_<wbr />DIVIDE<span class="attachedType"></span></a></li>
  832. <li><a class="reference" href="#K_KP_MULTIPLY"
  833. title="K_KP_MULTIPLY: cint = 1073741909&apos;i32"><wbr />K_<wbr />KP_<wbr />MULTIPLY<span class="attachedType"></span></a></li>
  834. <li><a class="reference" href="#K_KP_MINUS"
  835. title="K_KP_MINUS: cint = 1073741910&apos;i32"><wbr />K_<wbr />KP_<wbr />MINUS<span class="attachedType"></span></a></li>
  836. <li><a class="reference" href="#K_KP_PLUS"
  837. title="K_KP_PLUS: cint = 1073741911&apos;i32"><wbr />K_<wbr />KP_<wbr />PLUS<span class="attachedType"></span></a></li>
  838. <li><a class="reference" href="#K_KP_ENTER"
  839. title="K_KP_ENTER: cint = 1073741912&apos;i32"><wbr />K_<wbr />KP_<wbr />ENTER<span class="attachedType"></span></a></li>
  840. <li><a class="reference" href="#K_KP_1"
  841. title="K_KP_1: cint = 1073741913&apos;i32"><wbr />K_<wbr />KP_<wbr />1<span class="attachedType"></span></a></li>
  842. <li><a class="reference" href="#K_KP_2"
  843. title="K_KP_2: cint = 1073741914&apos;i32"><wbr />K_<wbr />KP_<wbr />2<span class="attachedType"></span></a></li>
  844. <li><a class="reference" href="#K_KP_3"
  845. title="K_KP_3: cint = 1073741915&apos;i32"><wbr />K_<wbr />KP_<wbr />3<span class="attachedType"></span></a></li>
  846. <li><a class="reference" href="#K_KP_4"
  847. title="K_KP_4: cint = 1073741916&apos;i32"><wbr />K_<wbr />KP_<wbr />4<span class="attachedType"></span></a></li>
  848. <li><a class="reference" href="#K_KP_5"
  849. title="K_KP_5: cint = 1073741917&apos;i32"><wbr />K_<wbr />KP_<wbr />5<span class="attachedType"></span></a></li>
  850. <li><a class="reference" href="#K_KP_6"
  851. title="K_KP_6: cint = 1073741918&apos;i32"><wbr />K_<wbr />KP_<wbr />6<span class="attachedType"></span></a></li>
  852. <li><a class="reference" href="#K_KP_7"
  853. title="K_KP_7: cint = 1073741919&apos;i32"><wbr />K_<wbr />KP_<wbr />7<span class="attachedType"></span></a></li>
  854. <li><a class="reference" href="#K_KP_8"
  855. title="K_KP_8: cint = 1073741920&apos;i32"><wbr />K_<wbr />KP_<wbr />8<span class="attachedType"></span></a></li>
  856. <li><a class="reference" href="#K_KP_9"
  857. title="K_KP_9: cint = 1073741921&apos;i32"><wbr />K_<wbr />KP_<wbr />9<span class="attachedType"></span></a></li>
  858. <li><a class="reference" href="#K_KP_0"
  859. title="K_KP_0: cint = 1073741922&apos;i32"><wbr />K_<wbr />KP_<wbr />0<span class="attachedType"></span></a></li>
  860. <li><a class="reference" href="#K_KP_PERIOD"
  861. title="K_KP_PERIOD: cint = 1073741923&apos;i32"><wbr />K_<wbr />KP_<wbr />PERIOD<span class="attachedType"></span></a></li>
  862. <li><a class="reference" href="#K_APPLICATION"
  863. title="K_APPLICATION: cint = 1073741925&apos;i32"><wbr />K_<wbr />APPLICATION<span class="attachedType"></span></a></li>
  864. <li><a class="reference" href="#K_POWER"
  865. title="K_POWER: cint = 1073741926&apos;i32"><wbr />K_<wbr />POWER<span class="attachedType"></span></a></li>
  866. <li><a class="reference" href="#K_KP_EQUALS"
  867. title="K_KP_EQUALS: cint = 1073741927&apos;i32"><wbr />K_<wbr />KP_<wbr />EQUALS<span class="attachedType"></span></a></li>
  868. <li><a class="reference" href="#K_F13"
  869. title="K_F13: cint = 1073741928&apos;i32"><wbr />K_<wbr />F13<span class="attachedType"></span></a></li>
  870. <li><a class="reference" href="#K_F14"
  871. title="K_F14: cint = 1073741929&apos;i32"><wbr />K_<wbr />F14<span class="attachedType"></span></a></li>
  872. <li><a class="reference" href="#K_F15"
  873. title="K_F15: cint = 1073741930&apos;i32"><wbr />K_<wbr />F15<span class="attachedType"></span></a></li>
  874. <li><a class="reference" href="#K_F16"
  875. title="K_F16: cint = 1073741931&apos;i32"><wbr />K_<wbr />F16<span class="attachedType"></span></a></li>
  876. <li><a class="reference" href="#K_F17"
  877. title="K_F17: cint = 1073741932&apos;i32"><wbr />K_<wbr />F17<span class="attachedType"></span></a></li>
  878. <li><a class="reference" href="#K_F18"
  879. title="K_F18: cint = 1073741933&apos;i32"><wbr />K_<wbr />F18<span class="attachedType"></span></a></li>
  880. <li><a class="reference" href="#K_F19"
  881. title="K_F19: cint = 1073741934&apos;i32"><wbr />K_<wbr />F19<span class="attachedType"></span></a></li>
  882. <li><a class="reference" href="#K_F20"
  883. title="K_F20: cint = 1073741935&apos;i32"><wbr />K_<wbr />F20<span class="attachedType"></span></a></li>
  884. <li><a class="reference" href="#K_F21"
  885. title="K_F21: cint = 1073741936&apos;i32"><wbr />K_<wbr />F21<span class="attachedType"></span></a></li>
  886. <li><a class="reference" href="#K_F22"
  887. title="K_F22: cint = 1073741937&apos;i32"><wbr />K_<wbr />F22<span class="attachedType"></span></a></li>
  888. <li><a class="reference" href="#K_F23"
  889. title="K_F23: cint = 1073741938&apos;i32"><wbr />K_<wbr />F23<span class="attachedType"></span></a></li>
  890. <li><a class="reference" href="#K_F24"
  891. title="K_F24: cint = 1073741939&apos;i32"><wbr />K_<wbr />F24<span class="attachedType"></span></a></li>
  892. <li><a class="reference" href="#K_EXECUTE"
  893. title="K_EXECUTE: cint = 1073741940&apos;i32"><wbr />K_<wbr />EXECUTE<span class="attachedType"></span></a></li>
  894. <li><a class="reference" href="#K_HELP"
  895. title="K_HELP: cint = 1073741941&apos;i32"><wbr />K_<wbr />HELP<span class="attachedType"></span></a></li>
  896. <li><a class="reference" href="#K_MENU"
  897. title="K_MENU: cint = 1073741942&apos;i32"><wbr />K_<wbr />MENU<span class="attachedType"></span></a></li>
  898. <li><a class="reference" href="#K_SELECT"
  899. title="K_SELECT: cint = 1073741943&apos;i32"><wbr />K_<wbr />SELECT<span class="attachedType"></span></a></li>
  900. <li><a class="reference" href="#K_STOP"
  901. title="K_STOP: cint = 1073741944&apos;i32"><wbr />K_<wbr />STOP<span class="attachedType"></span></a></li>
  902. <li><a class="reference" href="#K_AGAIN"
  903. title="K_AGAIN: cint = 1073741945&apos;i32"><wbr />K_<wbr />AGAIN<span class="attachedType"></span></a></li>
  904. <li><a class="reference" href="#K_UNDO"
  905. title="K_UNDO: cint = 1073741946&apos;i32"><wbr />K_<wbr />UNDO<span class="attachedType"></span></a></li>
  906. <li><a class="reference" href="#K_CUT"
  907. title="K_CUT: cint = 1073741947&apos;i32"><wbr />K_<wbr />CUT<span class="attachedType"></span></a></li>
  908. <li><a class="reference" href="#K_COPY"
  909. title="K_COPY: cint = 1073741948&apos;i32"><wbr />K_<wbr />COPY<span class="attachedType"></span></a></li>
  910. <li><a class="reference" href="#K_PASTE"
  911. title="K_PASTE: cint = 1073741949&apos;i32"><wbr />K_<wbr />PASTE<span class="attachedType"></span></a></li>
  912. <li><a class="reference" href="#K_FIND"
  913. title="K_FIND: cint = 1073741950&apos;i32"><wbr />K_<wbr />FIND<span class="attachedType"></span></a></li>
  914. <li><a class="reference" href="#K_MUTE"
  915. title="K_MUTE: cint = 1073741951&apos;i32"><wbr />K_<wbr />MUTE<span class="attachedType"></span></a></li>
  916. <li><a class="reference" href="#K_VOLUMEUP"
  917. title="K_VOLUMEUP: cint = 1073741952&apos;i32"><wbr />K_<wbr />VOLUMEUP<span class="attachedType"></span></a></li>
  918. <li><a class="reference" href="#K_VOLUMEDOWN"
  919. title="K_VOLUMEDOWN: cint = 1073741953&apos;i32"><wbr />K_<wbr />VOLUMEDOWN<span class="attachedType"></span></a></li>
  920. <li><a class="reference" href="#K_KP_COMMA"
  921. title="K_KP_COMMA: cint = 1073741957&apos;i32"><wbr />K_<wbr />KP_<wbr />COMMA<span class="attachedType"></span></a></li>
  922. <li><a class="reference" href="#K_KP_EQUALSAS400"
  923. title="K_KP_EQUALSAS400: cint = 1073741958&apos;i32"><wbr />K_<wbr />KP_<wbr />EQUALSAS400<span class="attachedType"></span></a></li>
  924. <li><a class="reference" href="#K_ALTERASE"
  925. title="K_ALTERASE: cint = 1073741977&apos;i32"><wbr />K_<wbr />ALTERASE<span class="attachedType"></span></a></li>
  926. <li><a class="reference" href="#K_SYSREQ"
  927. title="K_SYSREQ: cint = 1073741978&apos;i32"><wbr />K_<wbr />SYSREQ<span class="attachedType"></span></a></li>
  928. <li><a class="reference" href="#K_CANCEL"
  929. title="K_CANCEL: cint = 1073741979&apos;i32"><wbr />K_<wbr />CANCEL<span class="attachedType"></span></a></li>
  930. <li><a class="reference" href="#K_CLEAR"
  931. title="K_CLEAR: cint = 1073741980&apos;i32"><wbr />K_<wbr />CLEAR<span class="attachedType"></span></a></li>
  932. <li><a class="reference" href="#K_PRIOR"
  933. title="K_PRIOR: cint = 1073741981&apos;i32"><wbr />K_<wbr />PRIOR<span class="attachedType"></span></a></li>
  934. <li><a class="reference" href="#K_RETURN2"
  935. title="K_RETURN2: cint = 1073741982&apos;i32"><wbr />K_<wbr />RETURN2<span class="attachedType"></span></a></li>
  936. <li><a class="reference" href="#K_SEPARATOR"
  937. title="K_SEPARATOR: cint = 1073741983&apos;i32"><wbr />K_<wbr />SEPARATOR<span class="attachedType"></span></a></li>
  938. <li><a class="reference" href="#K_OUT"
  939. title="K_OUT: cint = 1073741984&apos;i32"><wbr />K_<wbr />OUT<span class="attachedType"></span></a></li>
  940. <li><a class="reference" href="#K_OPER"
  941. title="K_OPER: cint = 1073741985&apos;i32"><wbr />K_<wbr />OPER<span class="attachedType"></span></a></li>
  942. <li><a class="reference" href="#K_CLEARAGAIN"
  943. title="K_CLEARAGAIN: cint = 1073741986&apos;i32"><wbr />K_<wbr />CLEARAGAIN<span class="attachedType"></span></a></li>
  944. <li><a class="reference" href="#K_CRSEL"
  945. title="K_CRSEL: cint = 1073741987&apos;i32"><wbr />K_<wbr />CRSEL<span class="attachedType"></span></a></li>
  946. <li><a class="reference" href="#K_EXSEL"
  947. title="K_EXSEL: cint = 1073741988&apos;i32"><wbr />K_<wbr />EXSEL<span class="attachedType"></span></a></li>
  948. <li><a class="reference" href="#K_KP_00"
  949. title="K_KP_00: cint = 1073742000&apos;i32"><wbr />K_<wbr />KP_<wbr />00<span class="attachedType"></span></a></li>
  950. <li><a class="reference" href="#K_KP_000"
  951. title="K_KP_000: cint = 1073742001&apos;i32"><wbr />K_<wbr />KP_<wbr />000<span class="attachedType"></span></a></li>
  952. <li><a class="reference" href="#K_THOUSANDSSEPARATOR"
  953. title="K_THOUSANDSSEPARATOR: cint = 1073742002&apos;i32"><wbr />K_<wbr />THOUSANDSSEPARATOR<span class="attachedType"></span></a></li>
  954. <li><a class="reference" href="#K_DECIMALSEPARATOR"
  955. title="K_DECIMALSEPARATOR: cint = 1073742003&apos;i32"><wbr />K_<wbr />DECIMALSEPARATOR<span class="attachedType"></span></a></li>
  956. <li><a class="reference" href="#K_CURRENCYUNIT"
  957. title="K_CURRENCYUNIT: cint = 1073742004&apos;i32"><wbr />K_<wbr />CURRENCYUNIT<span class="attachedType"></span></a></li>
  958. <li><a class="reference" href="#K_CURRENCYSUBUNIT"
  959. title="K_CURRENCYSUBUNIT: cint = 1073742005&apos;i32"><wbr />K_<wbr />CURRENCYSUBUNIT<span class="attachedType"></span></a></li>
  960. <li><a class="reference" href="#K_KP_LEFTPAREN"
  961. title="K_KP_LEFTPAREN: cint = 1073742006&apos;i32"><wbr />K_<wbr />KP_<wbr />LEFTPAREN<span class="attachedType"></span></a></li>
  962. <li><a class="reference" href="#K_KP_RIGHTPAREN"
  963. title="K_KP_RIGHTPAREN: cint = 1073742007&apos;i32"><wbr />K_<wbr />KP_<wbr />RIGHTPAREN<span class="attachedType"></span></a></li>
  964. <li><a class="reference" href="#K_KP_LEFTBRACE"
  965. title="K_KP_LEFTBRACE: cint = 1073742008&apos;i32"><wbr />K_<wbr />KP_<wbr />LEFTBRACE<span class="attachedType"></span></a></li>
  966. <li><a class="reference" href="#K_KP_RIGHTBRACE"
  967. title="K_KP_RIGHTBRACE: cint = 1073742009&apos;i32"><wbr />K_<wbr />KP_<wbr />RIGHTBRACE<span class="attachedType"></span></a></li>
  968. <li><a class="reference" href="#K_KP_TAB"
  969. title="K_KP_TAB: cint = 1073742010&apos;i32"><wbr />K_<wbr />KP_<wbr />TAB<span class="attachedType"></span></a></li>
  970. <li><a class="reference" href="#K_KP_BACKSPACE"
  971. title="K_KP_BACKSPACE: cint = 1073742011&apos;i32"><wbr />K_<wbr />KP_<wbr />BACKSPACE<span class="attachedType"></span></a></li>
  972. <li><a class="reference" href="#K_KP_A"
  973. title="K_KP_A: cint = 1073742012&apos;i32"><wbr />K_<wbr />KP_<wbr />A<span class="attachedType"></span></a></li>
  974. <li><a class="reference" href="#K_KP_B"
  975. title="K_KP_B: cint = 1073742013&apos;i32"><wbr />K_<wbr />KP_<wbr />B<span class="attachedType"></span></a></li>
  976. <li><a class="reference" href="#K_KP_C"
  977. title="K_KP_C: cint = 1073742014&apos;i32"><wbr />K_<wbr />KP_<wbr />C<span class="attachedType"></span></a></li>
  978. <li><a class="reference" href="#K_KP_D"
  979. title="K_KP_D: cint = 1073742015&apos;i32"><wbr />K_<wbr />KP_<wbr />D<span class="attachedType"></span></a></li>
  980. <li><a class="reference" href="#K_KP_E"
  981. title="K_KP_E: cint = 1073742016&apos;i32"><wbr />K_<wbr />KP_<wbr />E<span class="attachedType"></span></a></li>
  982. <li><a class="reference" href="#K_KP_F"
  983. title="K_KP_F: cint = 1073742017&apos;i32"><wbr />K_<wbr />KP_<wbr />F<span class="attachedType"></span></a></li>
  984. <li><a class="reference" href="#K_KP_XOR"
  985. title="K_KP_XOR: cint = 1073742018&apos;i32"><wbr />K_<wbr />KP_<wbr />XOR<span class="attachedType"></span></a></li>
  986. <li><a class="reference" href="#K_KP_POWER"
  987. title="K_KP_POWER: cint = 1073742019&apos;i32"><wbr />K_<wbr />KP_<wbr />POWER<span class="attachedType"></span></a></li>
  988. <li><a class="reference" href="#K_KP_PERCENT"
  989. title="K_KP_PERCENT: cint = 1073742020&apos;i32"><wbr />K_<wbr />KP_<wbr />PERCENT<span class="attachedType"></span></a></li>
  990. <li><a class="reference" href="#K_KP_LESS"
  991. title="K_KP_LESS: cint = 1073742021&apos;i32"><wbr />K_<wbr />KP_<wbr />LESS<span class="attachedType"></span></a></li>
  992. <li><a class="reference" href="#K_KP_GREATER"
  993. title="K_KP_GREATER: cint = 1073742022&apos;i32"><wbr />K_<wbr />KP_<wbr />GREATER<span class="attachedType"></span></a></li>
  994. <li><a class="reference" href="#K_KP_AMPERSAND"
  995. title="K_KP_AMPERSAND: cint = 1073742023&apos;i32"><wbr />K_<wbr />KP_<wbr />AMPERSAND<span class="attachedType"></span></a></li>
  996. <li><a class="reference" href="#K_KP_DBLAMPERSAND"
  997. title="K_KP_DBLAMPERSAND: cint = 1073742024&apos;i32"><wbr />K_<wbr />KP_<wbr />DBLAMPERSAND<span class="attachedType"></span></a></li>
  998. <li><a class="reference" href="#K_KP_VERTICALBAR"
  999. title="K_KP_VERTICALBAR: cint = 1073742025&apos;i32"><wbr />K_<wbr />KP_<wbr />VERTICALBAR<span class="attachedType"></span></a></li>
  1000. <li><a class="reference" href="#K_KP_DBLVERTICALBAR"
  1001. title="K_KP_DBLVERTICALBAR: cint = 1073742026&apos;i32"><wbr />K_<wbr />KP_<wbr />DBLVERTICALBAR<span class="attachedType"></span></a></li>
  1002. <li><a class="reference" href="#K_KP_COLON"
  1003. title="K_KP_COLON: cint = 1073742027&apos;i32"><wbr />K_<wbr />KP_<wbr />COLON<span class="attachedType"></span></a></li>
  1004. <li><a class="reference" href="#K_KP_HASH"
  1005. title="K_KP_HASH: cint = 1073742028&apos;i32"><wbr />K_<wbr />KP_<wbr />HASH<span class="attachedType"></span></a></li>
  1006. <li><a class="reference" href="#K_KP_SPACE"
  1007. title="K_KP_SPACE: cint = 1073742029&apos;i32"><wbr />K_<wbr />KP_<wbr />SPACE<span class="attachedType"></span></a></li>
  1008. <li><a class="reference" href="#K_KP_AT"
  1009. title="K_KP_AT: cint = 1073742030&apos;i32"><wbr />K_<wbr />KP_<wbr />AT<span class="attachedType"></span></a></li>
  1010. <li><a class="reference" href="#K_KP_EXCLAM"
  1011. title="K_KP_EXCLAM: cint = 1073742031&apos;i32"><wbr />K_<wbr />KP_<wbr />EXCLAM<span class="attachedType"></span></a></li>
  1012. <li><a class="reference" href="#K_KP_MEMSTORE"
  1013. title="K_KP_MEMSTORE: cint = 1073742032&apos;i32"><wbr />K_<wbr />KP_<wbr />MEMSTORE<span class="attachedType"></span></a></li>
  1014. <li><a class="reference" href="#K_KP_MEMRECALL"
  1015. title="K_KP_MEMRECALL: cint = 1073742033&apos;i32"><wbr />K_<wbr />KP_<wbr />MEMRECALL<span class="attachedType"></span></a></li>
  1016. <li><a class="reference" href="#K_KP_MEMCLEAR"
  1017. title="K_KP_MEMCLEAR: cint = 1073742034&apos;i32"><wbr />K_<wbr />KP_<wbr />MEMCLEAR<span class="attachedType"></span></a></li>
  1018. <li><a class="reference" href="#K_KP_MEMADD"
  1019. title="K_KP_MEMADD: cint = 1073742035&apos;i32"><wbr />K_<wbr />KP_<wbr />MEMADD<span class="attachedType"></span></a></li>
  1020. <li><a class="reference" href="#K_KP_MEMSUBTRACT"
  1021. title="K_KP_MEMSUBTRACT: cint = 1073742036&apos;i32"><wbr />K_<wbr />KP_<wbr />MEMSUBTRACT<span class="attachedType"></span></a></li>
  1022. <li><a class="reference" href="#K_KP_MEMMULTIPLY"
  1023. title="K_KP_MEMMULTIPLY: cint = 1073742037&apos;i32"><wbr />K_<wbr />KP_<wbr />MEMMULTIPLY<span class="attachedType"></span></a></li>
  1024. <li><a class="reference" href="#K_KP_MEMDIVIDE"
  1025. title="K_KP_MEMDIVIDE: cint = 1073742038&apos;i32"><wbr />K_<wbr />KP_<wbr />MEMDIVIDE<span class="attachedType"></span></a></li>
  1026. <li><a class="reference" href="#K_KP_PLUSMINUS"
  1027. title="K_KP_PLUSMINUS: cint = 1073742039&apos;i32"><wbr />K_<wbr />KP_<wbr />PLUSMINUS<span class="attachedType"></span></a></li>
  1028. <li><a class="reference" href="#K_KP_CLEAR"
  1029. title="K_KP_CLEAR: cint = 1073742040&apos;i32"><wbr />K_<wbr />KP_<wbr />CLEAR<span class="attachedType"></span></a></li>
  1030. <li><a class="reference" href="#K_KP_CLEARENTRY"
  1031. title="K_KP_CLEARENTRY: cint = 1073742041&apos;i32"><wbr />K_<wbr />KP_<wbr />CLEARENTRY<span class="attachedType"></span></a></li>
  1032. <li><a class="reference" href="#K_KP_BINARY"
  1033. title="K_KP_BINARY: cint = 1073742042&apos;i32"><wbr />K_<wbr />KP_<wbr />BINARY<span class="attachedType"></span></a></li>
  1034. <li><a class="reference" href="#K_KP_OCTAL"
  1035. title="K_KP_OCTAL: cint = 1073742043&apos;i32"><wbr />K_<wbr />KP_<wbr />OCTAL<span class="attachedType"></span></a></li>
  1036. <li><a class="reference" href="#K_KP_DECIMAL"
  1037. title="K_KP_DECIMAL: cint = 1073742044&apos;i32"><wbr />K_<wbr />KP_<wbr />DECIMAL<span class="attachedType"></span></a></li>
  1038. <li><a class="reference" href="#K_KP_HEXADECIMAL"
  1039. title="K_KP_HEXADECIMAL: cint = 1073742045&apos;i32"><wbr />K_<wbr />KP_<wbr />HEXADECIMAL<span class="attachedType"></span></a></li>
  1040. <li><a class="reference" href="#K_LCTRL"
  1041. title="K_LCTRL: cint = 1073742048&apos;i32"><wbr />K_<wbr />LCTRL<span class="attachedType"></span></a></li>
  1042. <li><a class="reference" href="#K_LSHIFT"
  1043. title="K_LSHIFT: cint = 1073742049&apos;i32"><wbr />K_<wbr />LSHIFT<span class="attachedType"></span></a></li>
  1044. <li><a class="reference" href="#K_LALT"
  1045. title="K_LALT: cint = 1073742050&apos;i32"><wbr />K_<wbr />LALT<span class="attachedType"></span></a></li>
  1046. <li><a class="reference" href="#K_LGUI"
  1047. title="K_LGUI: cint = 1073742051&apos;i32"><wbr />K_<wbr />LGUI<span class="attachedType"></span></a></li>
  1048. <li><a class="reference" href="#K_RCTRL"
  1049. title="K_RCTRL: cint = 1073742052&apos;i32"><wbr />K_<wbr />RCTRL<span class="attachedType"></span></a></li>
  1050. <li><a class="reference" href="#K_RSHIFT"
  1051. title="K_RSHIFT: cint = 1073742053&apos;i32"><wbr />K_<wbr />RSHIFT<span class="attachedType"></span></a></li>
  1052. <li><a class="reference" href="#K_RALT"
  1053. title="K_RALT: cint = 1073742054&apos;i32"><wbr />K_<wbr />RALT<span class="attachedType"></span></a></li>
  1054. <li><a class="reference" href="#K_RGUI"
  1055. title="K_RGUI: cint = 1073742055&apos;i32"><wbr />K_<wbr />RGUI<span class="attachedType"></span></a></li>
  1056. <li><a class="reference" href="#K_MODE"
  1057. title="K_MODE: cint = 1073742081&apos;i32"><wbr />K_<wbr />MODE<span class="attachedType"></span></a></li>
  1058. <li><a class="reference" href="#K_AUDIONEXT"
  1059. title="K_AUDIONEXT: cint = 1073742082&apos;i32"><wbr />K_<wbr />AUDIONEXT<span class="attachedType"></span></a></li>
  1060. <li><a class="reference" href="#K_AUDIOPREV"
  1061. title="K_AUDIOPREV: cint = 1073742083&apos;i32"><wbr />K_<wbr />AUDIOPREV<span class="attachedType"></span></a></li>
  1062. <li><a class="reference" href="#K_AUDIOSTOP"
  1063. title="K_AUDIOSTOP: cint = 1073742084&apos;i32"><wbr />K_<wbr />AUDIOSTOP<span class="attachedType"></span></a></li>
  1064. <li><a class="reference" href="#K_AUDIOPLAY"
  1065. title="K_AUDIOPLAY: cint = 1073742085&apos;i32"><wbr />K_<wbr />AUDIOPLAY<span class="attachedType"></span></a></li>
  1066. <li><a class="reference" href="#K_AUDIOMUTE"
  1067. title="K_AUDIOMUTE: cint = 1073742086&apos;i32"><wbr />K_<wbr />AUDIOMUTE<span class="attachedType"></span></a></li>
  1068. <li><a class="reference" href="#K_MEDIASELECT"
  1069. title="K_MEDIASELECT: cint = 1073742087&apos;i32"><wbr />K_<wbr />MEDIASELECT<span class="attachedType"></span></a></li>
  1070. <li><a class="reference" href="#K_WWW"
  1071. title="K_WWW: cint = 1073742088&apos;i32"><wbr />K_<wbr />WWW<span class="attachedType"></span></a></li>
  1072. <li><a class="reference" href="#K_MAIL"
  1073. title="K_MAIL: cint = 1073742089&apos;i32"><wbr />K_<wbr />MAIL<span class="attachedType"></span></a></li>
  1074. <li><a class="reference" href="#K_CALCULATOR"
  1075. title="K_CALCULATOR: cint = 1073742090&apos;i32"><wbr />K_<wbr />CALCULATOR<span class="attachedType"></span></a></li>
  1076. <li><a class="reference" href="#K_COMPUTER"
  1077. title="K_COMPUTER: cint = 1073742091&apos;i32"><wbr />K_<wbr />COMPUTER<span class="attachedType"></span></a></li>
  1078. <li><a class="reference" href="#K_AC_SEARCH"
  1079. title="K_AC_SEARCH: cint = 1073742092&apos;i32"><wbr />K_<wbr />AC_<wbr />SEARCH<span class="attachedType"></span></a></li>
  1080. <li><a class="reference" href="#K_AC_HOME"
  1081. title="K_AC_HOME: cint = 1073742093&apos;i32"><wbr />K_<wbr />AC_<wbr />HOME<span class="attachedType"></span></a></li>
  1082. <li><a class="reference" href="#K_AC_BACK"
  1083. title="K_AC_BACK: cint = 1073742094&apos;i32"><wbr />K_<wbr />AC_<wbr />BACK<span class="attachedType"></span></a></li>
  1084. <li><a class="reference" href="#K_AC_FORWARD"
  1085. title="K_AC_FORWARD: cint = 1073742095&apos;i32"><wbr />K_<wbr />AC_<wbr />FORWARD<span class="attachedType"></span></a></li>
  1086. <li><a class="reference" href="#K_AC_STOP"
  1087. title="K_AC_STOP: cint = 1073742096&apos;i32"><wbr />K_<wbr />AC_<wbr />STOP<span class="attachedType"></span></a></li>
  1088. <li><a class="reference" href="#K_AC_REFRESH"
  1089. title="K_AC_REFRESH: cint = 1073742097&apos;i32"><wbr />K_<wbr />AC_<wbr />REFRESH<span class="attachedType"></span></a></li>
  1090. <li><a class="reference" href="#K_AC_BOOKMARKS"
  1091. title="K_AC_BOOKMARKS: cint = 1073742098&apos;i32"><wbr />K_<wbr />AC_<wbr />BOOKMARKS<span class="attachedType"></span></a></li>
  1092. <li><a class="reference" href="#K_BRIGHTNESSDOWN"
  1093. title="K_BRIGHTNESSDOWN: cint = 1073742099&apos;i32"><wbr />K_<wbr />BRIGHTNESSDOWN<span class="attachedType"></span></a></li>
  1094. <li><a class="reference" href="#K_BRIGHTNESSUP"
  1095. title="K_BRIGHTNESSUP: cint = 1073742100&apos;i32"><wbr />K_<wbr />BRIGHTNESSUP<span class="attachedType"></span></a></li>
  1096. <li><a class="reference" href="#K_DISPLAYSWITCH"
  1097. title="K_DISPLAYSWITCH: cint = 1073742101&apos;i32"><wbr />K_<wbr />DISPLAYSWITCH<span class="attachedType"></span></a></li>
  1098. <li><a class="reference" href="#K_KBDILLUMTOGGLE"
  1099. title="K_KBDILLUMTOGGLE: cint = 1073742102&apos;i32"><wbr />K_<wbr />KBDILLUMTOGGLE<span class="attachedType"></span></a></li>
  1100. <li><a class="reference" href="#K_KBDILLUMDOWN"
  1101. title="K_KBDILLUMDOWN: cint = 1073742103&apos;i32"><wbr />K_<wbr />KBDILLUMDOWN<span class="attachedType"></span></a></li>
  1102. <li><a class="reference" href="#K_KBDILLUMUP"
  1103. title="K_KBDILLUMUP: cint = 1073742104&apos;i32"><wbr />K_<wbr />KBDILLUMUP<span class="attachedType"></span></a></li>
  1104. <li><a class="reference" href="#K_EJECT"
  1105. title="K_EJECT: cint = 1073742105&apos;i32"><wbr />K_<wbr />EJECT<span class="attachedType"></span></a></li>
  1106. <li><a class="reference" href="#K_SLEEP"
  1107. title="K_SLEEP: cint = 1073742106&apos;i32"><wbr />K_<wbr />SLEEP<span class="attachedType"></span></a></li>
  1108. <li><a class="reference" href="#SDL_TEXTEDITINGEVENT_TEXT_SIZE"
  1109. title="SDL_TEXTEDITINGEVENT_TEXT_SIZE = 32"><wbr />SDL_<wbr />TEXTEDITINGEVENT_<wbr />TEXT_<wbr />SIZE<span class="attachedType"></span></a></li>
  1110. <li><a class="reference" href="#SDL_TEXTINPUTEVENT_TEXT_SIZE"
  1111. title="SDL_TEXTINPUTEVENT_TEXT_SIZE = 32"><wbr />SDL_<wbr />TEXTINPUTEVENT_<wbr />TEXT_<wbr />SIZE<span class="attachedType"></span></a></li>
  1112. <li><a class="reference" href="#SDL_GL_CONTEXT_PROFILE_CORE"
  1113. title="SDL_GL_CONTEXT_PROFILE_CORE: cint = 0x00000001"><wbr />SDL_<wbr />GL_<wbr />CONTEXT_<wbr />PROFILE_<wbr />CORE<span class="attachedType"></span></a></li>
  1114. <li><a class="reference" href="#SDL_GL_CONTEXT_PROFILE_COMPATIBILITY"
  1115. title="SDL_GL_CONTEXT_PROFILE_COMPATIBILITY: cint = 0x00000002"><wbr />SDL_<wbr />GL_<wbr />CONTEXT_<wbr />PROFILE_<wbr />COMPATIBILITY<span class="attachedType"></span></a></li>
  1116. <li><a class="reference" href="#SDL_GL_CONTEXT_PROFILE_ES"
  1117. title="SDL_GL_CONTEXT_PROFILE_ES: cint = 0x00000004"><wbr />SDL_<wbr />GL_<wbr />CONTEXT_<wbr />PROFILE_<wbr />ES<span class="attachedType"></span></a></li>
  1118. <li><a class="reference" href="#SDL_GL_CONTEXT_DEBUG_FLAG"
  1119. title="SDL_GL_CONTEXT_DEBUG_FLAG: cint = 0x00000001"><wbr />SDL_<wbr />GL_<wbr />CONTEXT_<wbr />DEBUG_<wbr />FLAG<span class="attachedType"></span></a></li>
  1120. <li><a class="reference" href="#SDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG"
  1121. 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>
  1122. <li><a class="reference" href="#SDL_GL_CONTEXT_ROBUST_ACCESS_FLAG"
  1123. 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>
  1124. <li><a class="reference" href="#SDL_GL_CONTEXT_RESET_ISOLATION_FLAG"
  1125. 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>
  1126. <li><a class="reference" href="#SDL_GL_CONTEXT_RELEASE_BEHAVIOR_NONE"
  1127. 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>
  1128. <li><a class="reference" href="#SDL_GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH"
  1129. 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>
  1130. <li><a class="reference" href="#SDL_WINDOW_FULLSCREEN"
  1131. title="SDL_WINDOW_FULLSCREEN: cuint = 0x00000001"><wbr />SDL_<wbr />WINDOW_<wbr />FULLSCREEN<span class="attachedType"></span></a></li>
  1132. <li><a class="reference" href="#SDL_WINDOW_OPENGL"
  1133. title="SDL_WINDOW_OPENGL: cuint = 0x00000002"><wbr />SDL_<wbr />WINDOW_<wbr />OPENGL<span class="attachedType"></span></a></li>
  1134. <li><a class="reference" href="#SDL_WINDOW_SHOWN"
  1135. title="SDL_WINDOW_SHOWN: cuint = 0x00000004"><wbr />SDL_<wbr />WINDOW_<wbr />SHOWN<span class="attachedType"></span></a></li>
  1136. <li><a class="reference" href="#SDL_WINDOW_HIDDEN"
  1137. title="SDL_WINDOW_HIDDEN: cuint = 0x00000008"><wbr />SDL_<wbr />WINDOW_<wbr />HIDDEN<span class="attachedType"></span></a></li>
  1138. <li><a class="reference" href="#SDL_WINDOW_BORDERLESS"
  1139. title="SDL_WINDOW_BORDERLESS: cuint = 0x00000010"><wbr />SDL_<wbr />WINDOW_<wbr />BORDERLESS<span class="attachedType"></span></a></li>
  1140. <li><a class="reference" href="#SDL_WINDOW_RESIZABLE"
  1141. title="SDL_WINDOW_RESIZABLE: cuint = 0x00000020"><wbr />SDL_<wbr />WINDOW_<wbr />RESIZABLE<span class="attachedType"></span></a></li>
  1142. <li><a class="reference" href="#SDL_WINDOW_MINIMIZED"
  1143. title="SDL_WINDOW_MINIMIZED: cuint = 0x00000040"><wbr />SDL_<wbr />WINDOW_<wbr />MINIMIZED<span class="attachedType"></span></a></li>
  1144. <li><a class="reference" href="#SDL_WINDOW_MAXIMIZED"
  1145. title="SDL_WINDOW_MAXIMIZED: cuint = 0x00000080"><wbr />SDL_<wbr />WINDOW_<wbr />MAXIMIZED<span class="attachedType"></span></a></li>
  1146. <li><a class="reference" href="#SDL_WINDOW_INPUT_GRABBED"
  1147. title="SDL_WINDOW_INPUT_GRABBED: cuint = 0x00000100"><wbr />SDL_<wbr />WINDOW_<wbr />INPUT_<wbr />GRABBED<span class="attachedType"></span></a></li>
  1148. <li><a class="reference" href="#SDL_WINDOW_INPUT_FOCUS"
  1149. title="SDL_WINDOW_INPUT_FOCUS: cuint = 0x00000200"><wbr />SDL_<wbr />WINDOW_<wbr />INPUT_<wbr />FOCUS<span class="attachedType"></span></a></li>
  1150. <li><a class="reference" href="#SDL_WINDOW_MOUSE_FOCUS"
  1151. title="SDL_WINDOW_MOUSE_FOCUS: cuint = 0x00000400"><wbr />SDL_<wbr />WINDOW_<wbr />MOUSE_<wbr />FOCUS<span class="attachedType"></span></a></li>
  1152. <li><a class="reference" href="#SDL_WINDOW_FULLSCREEN_DESKTOP"
  1153. title="SDL_WINDOW_FULLSCREEN_DESKTOP: cuint = 4097&apos;u32"><wbr />SDL_<wbr />WINDOW_<wbr />FULLSCREEN_<wbr />DESKTOP<span class="attachedType"></span></a></li>
  1154. <li><a class="reference" href="#SDL_WINDOW_FOREIGN"
  1155. title="SDL_WINDOW_FOREIGN: cuint = 0x00000800"><wbr />SDL_<wbr />WINDOW_<wbr />FOREIGN<span class="attachedType"></span></a></li>
  1156. <li><a class="reference" href="#SDL_WINDOW_ALLOW_HIGHDPI"
  1157. title="SDL_WINDOW_ALLOW_HIGHDPI: cuint = 0x00002000"><wbr />SDL_<wbr />WINDOW_<wbr />ALLOW_<wbr />HIGHDPI<span class="attachedType"></span></a></li>
  1158. <li><a class="reference" href="#SDL_WINDOW_MOUSE_CAPTURE"
  1159. title="SDL_WINDOW_MOUSE_CAPTURE: cuint = 0x00004000"><wbr />SDL_<wbr />WINDOW_<wbr />MOUSE_<wbr />CAPTURE<span class="attachedType"></span></a></li>
  1160. <li><a class="reference" href="#SDL_WINDOW_VULKAN"
  1161. title="SDL_WINDOW_VULKAN: cuint = 0x10000000"><wbr />SDL_<wbr />WINDOW_<wbr />VULKAN<span class="attachedType"></span></a></li>
  1162. <li><a class="reference" href="#SDL_FLIP_NONE"
  1163. title="SDL_FLIP_NONE: cint = 0x00000000"><wbr />SDL_<wbr />FLIP_<wbr />NONE<span class="attachedType"></span></a></li>
  1164. <li><a class="reference" href="#SDL_FLIP_HORIZONTAL"
  1165. title="SDL_FLIP_HORIZONTAL: cint = 0x00000001"><wbr />SDL_<wbr />FLIP_<wbr />HORIZONTAL<span class="attachedType"></span></a></li>
  1166. <li><a class="reference" href="#SDL_FLIP_VERTICAL"
  1167. title="SDL_FLIP_VERTICAL: cint = 0x00000002"><wbr />SDL_<wbr />FLIP_<wbr />VERTICAL<span class="attachedType"></span></a></li>
  1168. <li><a class="reference" href="#SDL_ALPHA_OPAQUE"
  1169. title="SDL_ALPHA_OPAQUE = 255"><wbr />SDL_<wbr />ALPHA_<wbr />OPAQUE<span class="attachedType"></span></a></li>
  1170. <li><a class="reference" href="#SDL_ALPHA_TRANSPARENT"
  1171. title="SDL_ALPHA_TRANSPARENT = 0"><wbr />SDL_<wbr />ALPHA_<wbr />TRANSPARENT<span class="attachedType"></span></a></li>
  1172. <li><a class="reference" href="#SDL_PIXELTYPE_UNKNOWN"
  1173. title="SDL_PIXELTYPE_UNKNOWN = 0"><wbr />SDL_<wbr />PIXELTYPE_<wbr />UNKNOWN<span class="attachedType"></span></a></li>
  1174. <li><a class="reference" href="#SDL_PIXELTYPE_INDEX1"
  1175. title="SDL_PIXELTYPE_INDEX1 = 1"><wbr />SDL_<wbr />PIXELTYPE_<wbr />INDEX1<span class="attachedType"></span></a></li>
  1176. <li><a class="reference" href="#SDL_PIXELTYPE_INDEX4"
  1177. title="SDL_PIXELTYPE_INDEX4 = 2"><wbr />SDL_<wbr />PIXELTYPE_<wbr />INDEX4<span class="attachedType"></span></a></li>
  1178. <li><a class="reference" href="#SDL_PIXELTYPE_INDEX8"
  1179. title="SDL_PIXELTYPE_INDEX8 = 3"><wbr />SDL_<wbr />PIXELTYPE_<wbr />INDEX8<span class="attachedType"></span></a></li>
  1180. <li><a class="reference" href="#SDL_PIXELTYPE_PACKED8"
  1181. title="SDL_PIXELTYPE_PACKED8 = 4"><wbr />SDL_<wbr />PIXELTYPE_<wbr />PACKED8<span class="attachedType"></span></a></li>
  1182. <li><a class="reference" href="#SDL_PIXELTYPE_PACKED16"
  1183. title="SDL_PIXELTYPE_PACKED16 = 5"><wbr />SDL_<wbr />PIXELTYPE_<wbr />PACKED16<span class="attachedType"></span></a></li>
  1184. <li><a class="reference" href="#SDL_PIXELTYPE_PACKED32"
  1185. title="SDL_PIXELTYPE_PACKED32 = 6"><wbr />SDL_<wbr />PIXELTYPE_<wbr />PACKED32<span class="attachedType"></span></a></li>
  1186. <li><a class="reference" href="#SDL_PIXELTYPE_ARRAYU8"
  1187. title="SDL_PIXELTYPE_ARRAYU8 = 7"><wbr />SDL_<wbr />PIXELTYPE_<wbr />ARRAYU8<span class="attachedType"></span></a></li>
  1188. <li><a class="reference" href="#SDL_PIXELTYPE_ARRAYU16"
  1189. title="SDL_PIXELTYPE_ARRAYU16 = 8"><wbr />SDL_<wbr />PIXELTYPE_<wbr />ARRAYU16<span class="attachedType"></span></a></li>
  1190. <li><a class="reference" href="#SDL_PIXELTYPE_ARRAYU32"
  1191. title="SDL_PIXELTYPE_ARRAYU32 = 9"><wbr />SDL_<wbr />PIXELTYPE_<wbr />ARRAYU32<span class="attachedType"></span></a></li>
  1192. <li><a class="reference" href="#SDL_PIXELTYPE_ARRAYF16"
  1193. title="SDL_PIXELTYPE_ARRAYF16 = 10"><wbr />SDL_<wbr />PIXELTYPE_<wbr />ARRAYF16<span class="attachedType"></span></a></li>
  1194. <li><a class="reference" href="#SDL_PIXELTYPE_ARRAYF32"
  1195. title="SDL_PIXELTYPE_ARRAYF32 = 11"><wbr />SDL_<wbr />PIXELTYPE_<wbr />ARRAYF32<span class="attachedType"></span></a></li>
  1196. <li><a class="reference" href="#SDL_BITMAPORDER_NONE"
  1197. title="SDL_BITMAPORDER_NONE = 0"><wbr />SDL_<wbr />BITMAPORDER_<wbr />NONE<span class="attachedType"></span></a></li>
  1198. <li><a class="reference" href="#SDL_BITMAPORDER_4321"
  1199. title="SDL_BITMAPORDER_4321 = 1"><wbr />SDL_<wbr />BITMAPORDER_<wbr />4321<span class="attachedType"></span></a></li>
  1200. <li><a class="reference" href="#SDL_BITMAPORDER_1234"
  1201. title="SDL_BITMAPORDER_1234 = 2"><wbr />SDL_<wbr />BITMAPORDER_<wbr />1234<span class="attachedType"></span></a></li>
  1202. <li><a class="reference" href="#SDL_PACKEDORDER_NONE"
  1203. title="SDL_PACKEDORDER_NONE = 0"><wbr />SDL_<wbr />PACKEDORDER_<wbr />NONE<span class="attachedType"></span></a></li>
  1204. <li><a class="reference" href="#SDL_PACKEDORDER_XRGB"
  1205. title="SDL_PACKEDORDER_XRGB = 1"><wbr />SDL_<wbr />PACKEDORDER_<wbr />XRGB<span class="attachedType"></span></a></li>
  1206. <li><a class="reference" href="#SDL_PACKEDORDER_RGBX"
  1207. title="SDL_PACKEDORDER_RGBX = 2"><wbr />SDL_<wbr />PACKEDORDER_<wbr />RGBX<span class="attachedType"></span></a></li>
  1208. <li><a class="reference" href="#SDL_PACKEDORDER_ARGB"
  1209. title="SDL_PACKEDORDER_ARGB = 3"><wbr />SDL_<wbr />PACKEDORDER_<wbr />ARGB<span class="attachedType"></span></a></li>
  1210. <li><a class="reference" href="#SDL_PACKEDORDER_RGBA"
  1211. title="SDL_PACKEDORDER_RGBA = 4"><wbr />SDL_<wbr />PACKEDORDER_<wbr />RGBA<span class="attachedType"></span></a></li>
  1212. <li><a class="reference" href="#SDL_PACKEDORDER_XBGR"
  1213. title="SDL_PACKEDORDER_XBGR = 5"><wbr />SDL_<wbr />PACKEDORDER_<wbr />XBGR<span class="attachedType"></span></a></li>
  1214. <li><a class="reference" href="#SDL_PACKEDORDER_BGRX"
  1215. title="SDL_PACKEDORDER_BGRX = 6"><wbr />SDL_<wbr />PACKEDORDER_<wbr />BGRX<span class="attachedType"></span></a></li>
  1216. <li><a class="reference" href="#SDL_PACKEDORDER_ABGR"
  1217. title="SDL_PACKEDORDER_ABGR = 7"><wbr />SDL_<wbr />PACKEDORDER_<wbr />ABGR<span class="attachedType"></span></a></li>
  1218. <li><a class="reference" href="#SDL_PACKEDORDER_BGRA"
  1219. title="SDL_PACKEDORDER_BGRA = 8"><wbr />SDL_<wbr />PACKEDORDER_<wbr />BGRA<span class="attachedType"></span></a></li>
  1220. <li><a class="reference" href="#SDL_ARRAYORDER_NONE"
  1221. title="SDL_ARRAYORDER_NONE = 0"><wbr />SDL_<wbr />ARRAYORDER_<wbr />NONE<span class="attachedType"></span></a></li>
  1222. <li><a class="reference" href="#SDL_ARRAYORDER_RGB"
  1223. title="SDL_ARRAYORDER_RGB = 1"><wbr />SDL_<wbr />ARRAYORDER_<wbr />RGB<span class="attachedType"></span></a></li>
  1224. <li><a class="reference" href="#SDL_ARRAYORDER_RGBA"
  1225. title="SDL_ARRAYORDER_RGBA = 2"><wbr />SDL_<wbr />ARRAYORDER_<wbr />RGBA<span class="attachedType"></span></a></li>
  1226. <li><a class="reference" href="#SDL_ARRAYORDER_ARGB"
  1227. title="SDL_ARRAYORDER_ARGB = 3"><wbr />SDL_<wbr />ARRAYORDER_<wbr />ARGB<span class="attachedType"></span></a></li>
  1228. <li><a class="reference" href="#SDL_ARRAYORDER_BGR"
  1229. title="SDL_ARRAYORDER_BGR = 4"><wbr />SDL_<wbr />ARRAYORDER_<wbr />BGR<span class="attachedType"></span></a></li>
  1230. <li><a class="reference" href="#SDL_ARRAYORDER_BGRA"
  1231. title="SDL_ARRAYORDER_BGRA = 5"><wbr />SDL_<wbr />ARRAYORDER_<wbr />BGRA<span class="attachedType"></span></a></li>
  1232. <li><a class="reference" href="#SDL_ARRAYORDER_ABGR"
  1233. title="SDL_ARRAYORDER_ABGR = 6"><wbr />SDL_<wbr />ARRAYORDER_<wbr />ABGR<span class="attachedType"></span></a></li>
  1234. <li><a class="reference" href="#SDL_PACKEDLAYOUT_NONE"
  1235. title="SDL_PACKEDLAYOUT_NONE = 0"><wbr />SDL_<wbr />PACKEDLAYOUT_<wbr />NONE<span class="attachedType"></span></a></li>
  1236. <li><a class="reference" href="#SDL_PACKEDLAYOUT_332"
  1237. title="SDL_PACKEDLAYOUT_332 = 1"><wbr />SDL_<wbr />PACKEDLAYOUT_<wbr />332<span class="attachedType"></span></a></li>
  1238. <li><a class="reference" href="#SDL_PACKEDLAYOUT_4444"
  1239. title="SDL_PACKEDLAYOUT_4444 = 2"><wbr />SDL_<wbr />PACKEDLAYOUT_<wbr />4444<span class="attachedType"></span></a></li>
  1240. <li><a class="reference" href="#SDL_PACKEDLAYOUT_1555"
  1241. title="SDL_PACKEDLAYOUT_1555 = 3"><wbr />SDL_<wbr />PACKEDLAYOUT_<wbr />1555<span class="attachedType"></span></a></li>
  1242. <li><a class="reference" href="#SDL_PACKEDLAYOUT_5551"
  1243. title="SDL_PACKEDLAYOUT_5551 = 4"><wbr />SDL_<wbr />PACKEDLAYOUT_<wbr />5551<span class="attachedType"></span></a></li>
  1244. <li><a class="reference" href="#SDL_PACKEDLAYOUT_565"
  1245. title="SDL_PACKEDLAYOUT_565 = 5"><wbr />SDL_<wbr />PACKEDLAYOUT_<wbr />565<span class="attachedType"></span></a></li>
  1246. <li><a class="reference" href="#SDL_PACKEDLAYOUT_8888"
  1247. title="SDL_PACKEDLAYOUT_8888 = 6"><wbr />SDL_<wbr />PACKEDLAYOUT_<wbr />8888<span class="attachedType"></span></a></li>
  1248. <li><a class="reference" href="#SDL_PACKEDLAYOUT_2101010"
  1249. title="SDL_PACKEDLAYOUT_2101010 = 7"><wbr />SDL_<wbr />PACKEDLAYOUT_<wbr />2101010<span class="attachedType"></span></a></li>
  1250. <li><a class="reference" href="#SDL_PACKEDLAYOUT_1010102"
  1251. title="SDL_PACKEDLAYOUT_1010102 = 8"><wbr />SDL_<wbr />PACKEDLAYOUT_<wbr />1010102<span class="attachedType"></span></a></li>
  1252. <li><a class="reference" href="#SDL_PIXELFORMAT_UNKNOWN"
  1253. title="SDL_PIXELFORMAT_UNKNOWN = 0"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />UNKNOWN<span class="attachedType"></span></a></li>
  1254. <li><a class="reference" href="#SDL_PIXELFORMAT_INDEX1LSB"
  1255. title="SDL_PIXELFORMAT_INDEX1LSB = 286261504&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />INDEX1LSB<span class="attachedType"></span></a></li>
  1256. <li><a class="reference" href="#SDL_PIXELFORMAT_INDEX1MSB"
  1257. title="SDL_PIXELFORMAT_INDEX1MSB = 287310080&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />INDEX1MSB<span class="attachedType"></span></a></li>
  1258. <li><a class="reference" href="#SDL_PIXELFORMAT_INDEX4LSB"
  1259. title="SDL_PIXELFORMAT_INDEX4LSB = 303039488&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />INDEX4LSB<span class="attachedType"></span></a></li>
  1260. <li><a class="reference" href="#SDL_PIXELFORMAT_INDEX4MSB"
  1261. title="SDL_PIXELFORMAT_INDEX4MSB = 304088064&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />INDEX4MSB<span class="attachedType"></span></a></li>
  1262. <li><a class="reference" href="#SDL_PIXELFORMAT_INDEX8"
  1263. title="SDL_PIXELFORMAT_INDEX8 = 318769153&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />INDEX8<span class="attachedType"></span></a></li>
  1264. <li><a class="reference" href="#SDL_PIXELFORMAT_RGB332"
  1265. title="SDL_PIXELFORMAT_RGB332 = 336660481&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />RGB332<span class="attachedType"></span></a></li>
  1266. <li><a class="reference" href="#SDL_PIXELFORMAT_RGB444"
  1267. title="SDL_PIXELFORMAT_RGB444 = 353504258&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />RGB444<span class="attachedType"></span></a></li>
  1268. <li><a class="reference" href="#SDL_PIXELFORMAT_RGB555"
  1269. title="SDL_PIXELFORMAT_RGB555 = 353570562&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />RGB555<span class="attachedType"></span></a></li>
  1270. <li><a class="reference" href="#SDL_PIXELFORMAT_BGR555"
  1271. title="SDL_PIXELFORMAT_BGR555 = 357764866&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />BGR555<span class="attachedType"></span></a></li>
  1272. <li><a class="reference" href="#SDL_PIXELFORMAT_ARGB4444"
  1273. title="SDL_PIXELFORMAT_ARGB4444 = 355602434&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />ARGB4444<span class="attachedType"></span></a></li>
  1274. <li><a class="reference" href="#SDL_PIXELFORMAT_RGBA4444"
  1275. title="SDL_PIXELFORMAT_RGBA4444 = 356651010&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />RGBA4444<span class="attachedType"></span></a></li>
  1276. <li><a class="reference" href="#SDL_PIXELFORMAT_ABGR4444"
  1277. title="SDL_PIXELFORMAT_ABGR4444 = 359796738&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />ABGR4444<span class="attachedType"></span></a></li>
  1278. <li><a class="reference" href="#SDL_PIXELFORMAT_BGRA4444"
  1279. title="SDL_PIXELFORMAT_BGRA4444 = 360845314&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />BGRA4444<span class="attachedType"></span></a></li>
  1280. <li><a class="reference" href="#SDL_PIXELFORMAT_ARGB1555"
  1281. title="SDL_PIXELFORMAT_ARGB1555 = 355667970&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />ARGB1555<span class="attachedType"></span></a></li>
  1282. <li><a class="reference" href="#SDL_PIXELFORMAT_RGBA5551"
  1283. title="SDL_PIXELFORMAT_RGBA5551 = 356782082&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />RGBA5551<span class="attachedType"></span></a></li>
  1284. <li><a class="reference" href="#SDL_PIXELFORMAT_ABGR1555"
  1285. title="SDL_PIXELFORMAT_ABGR1555 = 359862274&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />ABGR1555<span class="attachedType"></span></a></li>
  1286. <li><a class="reference" href="#SDL_PIXELFORMAT_BGRA5551"
  1287. title="SDL_PIXELFORMAT_BGRA5551 = 360976386&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />BGRA5551<span class="attachedType"></span></a></li>
  1288. <li><a class="reference" href="#SDL_PIXELFORMAT_RGB565"
  1289. title="SDL_PIXELFORMAT_RGB565 = 353701890&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />RGB565<span class="attachedType"></span></a></li>
  1290. <li><a class="reference" href="#SDL_PIXELFORMAT_BGR565"
  1291. title="SDL_PIXELFORMAT_BGR565 = 357896194&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />BGR565<span class="attachedType"></span></a></li>
  1292. <li><a class="reference" href="#SDL_PIXELFORMAT_RGB24"
  1293. title="SDL_PIXELFORMAT_RGB24 = 386930691&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />RGB24<span class="attachedType"></span></a></li>
  1294. <li><a class="reference" href="#SDL_PIXELFORMAT_BGR24"
  1295. title="SDL_PIXELFORMAT_BGR24 = 390076419&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />BGR24<span class="attachedType"></span></a></li>
  1296. <li><a class="reference" href="#SDL_PIXELFORMAT_RGB888"
  1297. title="SDL_PIXELFORMAT_RGB888 = 370546692&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />RGB888<span class="attachedType"></span></a></li>
  1298. <li><a class="reference" href="#SDL_PIXELFORMAT_RGBX8888"
  1299. title="SDL_PIXELFORMAT_RGBX8888 = 371595268&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />RGBX8888<span class="attachedType"></span></a></li>
  1300. <li><a class="reference" href="#SDL_PIXELFORMAT_BGR888"
  1301. title="SDL_PIXELFORMAT_BGR888 = 374740996&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />BGR888<span class="attachedType"></span></a></li>
  1302. <li><a class="reference" href="#SDL_PIXELFORMAT_BGRX8888"
  1303. title="SDL_PIXELFORMAT_BGRX8888 = 375789572&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />BGRX8888<span class="attachedType"></span></a></li>
  1304. <li><a class="reference" href="#SDL_PIXELFORMAT_ARGB8888"
  1305. title="SDL_PIXELFORMAT_ARGB8888 = 372645892&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />ARGB8888<span class="attachedType"></span></a></li>
  1306. <li><a class="reference" href="#SDL_PIXELFORMAT_RGBA8888"
  1307. title="SDL_PIXELFORMAT_RGBA8888 = 373694468&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />RGBA8888<span class="attachedType"></span></a></li>
  1308. <li><a class="reference" href="#SDL_PIXELFORMAT_ABGR8888"
  1309. title="SDL_PIXELFORMAT_ABGR8888 = 376840196&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />ABGR8888<span class="attachedType"></span></a></li>
  1310. <li><a class="reference" href="#SDL_PIXELFORMAT_BGRA8888"
  1311. title="SDL_PIXELFORMAT_BGRA8888 = 377888772&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />BGRA8888<span class="attachedType"></span></a></li>
  1312. <li><a class="reference" href="#SDL_PIXELFORMAT_ARGB2101010"
  1313. title="SDL_PIXELFORMAT_ARGB2101010 = 372711428&apos;u"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />ARGB2101010<span class="attachedType"></span></a></li>
  1314. <li><a class="reference" href="#SDL_PIXELFORMAT_YV12"
  1315. title="SDL_PIXELFORMAT_YV12 = 842094169&apos;u32"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />YV12<span class="attachedType"></span></a></li>
  1316. <li><a class="reference" href="#SDL_PIXELFORMAT_IYUV"
  1317. title="SDL_PIXELFORMAT_IYUV = 1448433993&apos;u32"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />IYUV<span class="attachedType"></span></a></li>
  1318. <li><a class="reference" href="#SDL_PIXELFORMAT_YUY2"
  1319. title="SDL_PIXELFORMAT_YUY2 = 844715353&apos;u32"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />YUY2<span class="attachedType"></span></a></li>
  1320. <li><a class="reference" href="#SDL_PIXELFORMAT_UYVY"
  1321. title="SDL_PIXELFORMAT_UYVY = 1498831189&apos;u32"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />UYVY<span class="attachedType"></span></a></li>
  1322. <li><a class="reference" href="#SDL_PIXELFORMAT_YVYU"
  1323. title="SDL_PIXELFORMAT_YVYU = 1431918169&apos;u32"><wbr />SDL_<wbr />PIXELFORMAT_<wbr />YVYU<span class="attachedType"></span></a></li>
  1324. <li><a class="reference" href="#Renderer_Software"
  1325. title="Renderer_Software: cint = 0x00000001"><wbr />Renderer_<wbr />Software<span class="attachedType"></span></a></li>
  1326. <li><a class="reference" href="#Renderer_Accelerated"
  1327. title="Renderer_Accelerated: cint = 0x00000002"><wbr />Renderer_<wbr />Accelerated<span class="attachedType"></span></a></li>
  1328. <li><a class="reference" href="#Renderer_PresentVsync"
  1329. title="Renderer_PresentVsync: cint = 0x00000004"><wbr />Renderer_<wbr />Present<wbr />Vsync<span class="attachedType"></span></a></li>
  1330. <li><a class="reference" href="#Renderer_TargetTexture"
  1331. title="Renderer_TargetTexture: cint = 0x00000008"><wbr />Renderer_<wbr />Target<wbr />Texture<span class="attachedType"></span></a></li>
  1332. <li><a class="reference" href="#SDL_SWSURFACE"
  1333. title="SDL_SWSURFACE = 0"><wbr />SDL_<wbr />SWSURFACE<span class="attachedType"></span></a></li>
  1334. <li><a class="reference" href="#SDL_PREALLOC"
  1335. title="SDL_PREALLOC = 0x00000001"><wbr />SDL_<wbr />PREALLOC<span class="attachedType"></span></a></li>
  1336. <li><a class="reference" href="#SDL_RLEACCEL"
  1337. title="SDL_RLEACCEL = 0x00000002"><wbr />SDL_<wbr />RLEACCEL<span class="attachedType"></span></a></li>
  1338. <li><a class="reference" href="#SDL_DONTFREE"
  1339. title="SDL_DONTFREE = 0x00000004"><wbr />SDL_<wbr />DONTFREE<span class="attachedType"></span></a></li>
  1340. <li><a class="reference" href="#INIT_TIMER"
  1341. title="INIT_TIMER = 0x00000001"><wbr />INIT_<wbr />TIMER<span class="attachedType"></span></a></li>
  1342. <li><a class="reference" href="#INIT_AUDIO"
  1343. title="INIT_AUDIO = 0x00000010"><wbr />INIT_<wbr />AUDIO<span class="attachedType"></span></a></li>
  1344. <li><a class="reference" href="#INIT_VIDEO"
  1345. title="INIT_VIDEO = 0x00000020"><wbr />INIT_<wbr />VIDEO<span class="attachedType"></span></a></li>
  1346. <li><a class="reference" href="#INIT_JOYSTICK"
  1347. title="INIT_JOYSTICK = 0x00000200"><wbr />INIT_<wbr />JOYSTICK<span class="attachedType"></span></a></li>
  1348. <li><a class="reference" href="#INIT_HAPTIC"
  1349. title="INIT_HAPTIC = 0x00001000"><wbr />INIT_<wbr />HAPTIC<span class="attachedType"></span></a></li>
  1350. <li><a class="reference" href="#INIT_GAMECONTROLLER"
  1351. title="INIT_GAMECONTROLLER = 0x00002000"><wbr />INIT_<wbr />GAMECONTROLLER<span class="attachedType"></span></a></li>
  1352. <li><a class="reference" href="#INIT_EVENTS"
  1353. title="INIT_EVENTS = 0x00004000"><wbr />INIT_<wbr />EVENTS<span class="attachedType"></span></a></li>
  1354. <li><a class="reference" href="#INIT_NOPARACHUTE"
  1355. title="INIT_NOPARACHUTE = 0x00100000"><wbr />INIT_<wbr />NOPARACHUTE<span class="attachedType"></span></a></li>
  1356. <li><a class="reference" href="#INIT_EVERYTHING"
  1357. title="INIT_EVERYTHING = 0x0000FFFF"><wbr />INIT_<wbr />EVERYTHING<span class="attachedType"></span></a></li>
  1358. <li><a class="reference" href="#SDL_WINDOWPOS_UNDEFINED_MASK"
  1359. title="SDL_WINDOWPOS_UNDEFINED_MASK = 0x1FFF0000"><wbr />SDL_<wbr />WINDOWPOS_<wbr />UNDEFINED_<wbr />MASK<span class="attachedType"></span></a></li>
  1360. <li><a class="reference" href="#SDL_WINDOWPOS_UNDEFINED"
  1361. title="SDL_WINDOWPOS_UNDEFINED: cint = 536805376&apos;i32"><wbr />SDL_<wbr />WINDOWPOS_<wbr />UNDEFINED<span class="attachedType"></span></a></li>
  1362. <li><a class="reference" href="#SDL_WINDOWPOS_CENTERED_MASK"
  1363. title="SDL_WINDOWPOS_CENTERED_MASK = 0x2FFF0000"><wbr />SDL_<wbr />WINDOWPOS_<wbr />CENTERED_<wbr />MASK<span class="attachedType"></span></a></li>
  1364. <li><a class="reference" href="#SDL_WINDOWPOS_CENTERED"
  1365. title="SDL_WINDOWPOS_CENTERED: cint = 805240832&apos;i32"><wbr />SDL_<wbr />WINDOWPOS_<wbr />CENTERED<span class="attachedType"></span></a></li>
  1366. <li><a class="reference" href="#SDL_MESSAGEBOX_ERROR"
  1367. title="SDL_MESSAGEBOX_ERROR = 0x00000010"><wbr />SDL_<wbr />MESSAGEBOX_<wbr />ERROR<span class="attachedType"></span></a></li>
  1368. <li><a class="reference" href="#SDL_MESSAGEBOX_WARNING"
  1369. title="SDL_MESSAGEBOX_WARNING = 0x00000020"><wbr />SDL_<wbr />MESSAGEBOX_<wbr />WARNING<span class="attachedType"></span></a></li>
  1370. <li><a class="reference" href="#SDL_MESSAGEBOX_INFORMATION"
  1371. title="SDL_MESSAGEBOX_INFORMATION = 0x00000040"><wbr />SDL_<wbr />MESSAGEBOX_<wbr />INFORMATION<span class="attachedType"></span></a></li>
  1372. <li><a class="reference" href="#SDL_MESSAGEBOX_BUTTON_RETURNKEY_DEFAULT"
  1373. title="SDL_MESSAGEBOX_BUTTON_RETURNKEY_DEFAULT = 0x00000001"><wbr />SDL_<wbr />MESSAGEBOX_<wbr />BUTTON_<wbr />RETURNKEY_<wbr />DEFAULT<span class="attachedType"></span></a></li>
  1374. <li><a class="reference" href="#SDL_MESSAGEBOX_BUTTON_ESCAPEKEY_DEFAULT"
  1375. title="SDL_MESSAGEBOX_BUTTON_ESCAPEKEY_DEFAULT = 0x00000002"><wbr />SDL_<wbr />MESSAGEBOX_<wbr />BUTTON_<wbr />ESCAPEKEY_<wbr />DEFAULT<span class="attachedType"></span></a></li>
  1376. <li><a class="reference" href="#SDL_ANDROID_EXTERNAL_STORAGE_READ"
  1377. 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>
  1378. <li><a class="reference" href="#SDL_ANDROID_EXTERNAL_STORAGE_WRITE"
  1379. 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>
  1380. <li><a class="reference" href="#SDL_QUERY"
  1381. title="SDL_QUERY = -1"><wbr />SDL_<wbr />QUERY<span class="attachedType"></span></a></li>
  1382. <li><a class="reference" href="#SDL_IGNORE"
  1383. title="SDL_IGNORE = 0"><wbr />SDL_<wbr />IGNORE<span class="attachedType"></span></a></li>
  1384. <li><a class="reference" href="#SDL_DISABLE"
  1385. title="SDL_DISABLE = 0"><wbr />SDL_<wbr />DISABLE<span class="attachedType"></span></a></li>
  1386. <li><a class="reference" href="#SDL_ENABLE"
  1387. title="SDL_ENABLE = 1"><wbr />SDL_<wbr />ENABLE<span class="attachedType"></span></a></li>
  1388. <li><a class="reference" href="#BUTTON_LEFT"
  1389. title="BUTTON_LEFT = 1&apos;u8"><wbr />BUTTON_<wbr />LEFT<span class="attachedType"></span></a></li>
  1390. <li><a class="reference" href="#BUTTON_MIDDLE"
  1391. title="BUTTON_MIDDLE = 2&apos;u8"><wbr />BUTTON_<wbr />MIDDLE<span class="attachedType"></span></a></li>
  1392. <li><a class="reference" href="#BUTTON_RIGHT"
  1393. title="BUTTON_RIGHT = 3&apos;u8"><wbr />BUTTON_<wbr />RIGHT<span class="attachedType"></span></a></li>
  1394. <li><a class="reference" href="#BUTTON_X1"
  1395. title="BUTTON_X1 = 4&apos;u8"><wbr />BUTTON_<wbr />X1<span class="attachedType"></span></a></li>
  1396. <li><a class="reference" href="#BUTTON_X2"
  1397. title="BUTTON_X2 = 5&apos;u8"><wbr />BUTTON_<wbr />X2<span class="attachedType"></span></a></li>
  1398. <li><a class="reference" href="#BUTTON_LMASK"
  1399. title="BUTTON_LMASK = 1&apos;u8"><wbr />BUTTON_<wbr />LMASK<span class="attachedType"></span></a></li>
  1400. <li><a class="reference" href="#BUTTON_MMASK"
  1401. title="BUTTON_MMASK = 2&apos;u8"><wbr />BUTTON_<wbr />MMASK<span class="attachedType"></span></a></li>
  1402. <li><a class="reference" href="#BUTTON_RMASK"
  1403. title="BUTTON_RMASK = 4&apos;u8"><wbr />BUTTON_<wbr />RMASK<span class="attachedType"></span></a></li>
  1404. <li><a class="reference" href="#BUTTON_X1MASK"
  1405. title="BUTTON_X1MASK = 8&apos;u8"><wbr />BUTTON_<wbr />X1MASK<span class="attachedType"></span></a></li>
  1406. <li><a class="reference" href="#BUTTON_X2MASK"
  1407. title="BUTTON_X2MASK = 16&apos;u8"><wbr />BUTTON_<wbr />X2MASK<span class="attachedType"></span></a></li>
  1408. <li><a class="reference" href="#SDL_TOUCH_MOUSEID"
  1409. title="SDL_TOUCH_MOUSEID = 4294967295&apos;u32"><wbr />SDL_<wbr />TOUCH_<wbr />MOUSEID<span class="attachedType"></span></a></li>
  1410. <li><a class="reference" href="#HINT_RENDER_SCALE_QUALITY"
  1411. 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>
  1412. </ul>
  1413. </li>
  1414. <li>
  1415. <a class="reference reference-toplevel" href="#12" id="62">Procs</a>
  1416. <ul class="simple simple-toc-section">
  1417. <li><a class="reference" href="#evWindow%2CEvent"
  1418. title="evWindow(event`gensym16665034: Event): WindowEventPtr"><wbr />ev<wbr />Window<span class="attachedType">Event</span></a></li>
  1419. <li><a class="reference" href="#window%2CEvent"
  1420. title="window(event`gensym16665035: Event): WindowEventPtr"><wbr />window<span class="attachedType">Event</span></a></li>
  1421. <li><a class="reference" href="#evKeyboard%2CEvent"
  1422. title="evKeyboard(event`gensym16700217: Event): KeyboardEventPtr"><wbr />ev<wbr />Keyboard<span class="attachedType">Event</span></a></li>
  1423. <li><a class="reference" href="#key%2CEvent"
  1424. title="key(event`gensym16700218: Event): KeyboardEventPtr"><wbr />key<span class="attachedType">Event</span></a></li>
  1425. <li><a class="reference" href="#evTextEditing%2CEvent"
  1426. title="evTextEditing(event`gensym16735217: Event): TextEditingEventPtr"><wbr />ev<wbr />Text<wbr />Editing<span class="attachedType">Event</span></a></li>
  1427. <li><a class="reference" href="#edit%2CEvent"
  1428. title="edit(event`gensym16735218: Event): TextEditingEventPtr"><wbr />edit<span class="attachedType">Event</span></a></li>
  1429. <li><a class="reference" href="#evTextInput%2CEvent"
  1430. title="evTextInput(event`gensym16770217: Event): TextInputEventPtr"><wbr />ev<wbr />Text<wbr />Input<span class="attachedType">Event</span></a></li>
  1431. <li><a class="reference" href="#text%2CEvent"
  1432. title="text(event`gensym16770218: Event): TextInputEventPtr"><wbr />text<span class="attachedType">Event</span></a></li>
  1433. <li><a class="reference" href="#evMouseMotion%2CEvent"
  1434. title="evMouseMotion(event`gensym16805217: Event): MouseMotionEventPtr"><wbr />ev<wbr />Mouse<wbr />Motion<span class="attachedType">Event</span></a></li>
  1435. <li><a class="reference" href="#motion%2CEvent"
  1436. title="motion(event`gensym16805218: Event): MouseMotionEventPtr"><wbr />motion<span class="attachedType">Event</span></a></li>
  1437. <li><a class="reference" href="#evMouseButton%2CEvent"
  1438. title="evMouseButton(event`gensym16840217: Event): MouseButtonEventPtr"><wbr />ev<wbr />Mouse<wbr />Button<span class="attachedType">Event</span></a></li>
  1439. <li><a class="reference" href="#button%2CEvent"
  1440. title="button(event`gensym16840218: Event): MouseButtonEventPtr"><wbr />button<span class="attachedType">Event</span></a></li>
  1441. <li><a class="reference" href="#evMouseWheel%2CEvent"
  1442. title="evMouseWheel(event`gensym16875217: Event): MouseWheelEventPtr"><wbr />ev<wbr />Mouse<wbr />Wheel<span class="attachedType">Event</span></a></li>
  1443. <li><a class="reference" href="#wheel%2CEvent"
  1444. title="wheel(event`gensym16875218: Event): MouseWheelEventPtr"><wbr />wheel<span class="attachedType">Event</span></a></li>
  1445. <li><a class="reference" href="#EvJoyAxis%2CEvent"
  1446. title="EvJoyAxis(event`gensym16910217: Event): JoyAxisEventPtr"><wbr />Ev<wbr />Joy<wbr />Axis<span class="attachedType">Event</span></a></li>
  1447. <li><a class="reference" href="#jaxis%2CEvent"
  1448. title="jaxis(event`gensym16910218: Event): JoyAxisEventPtr"><wbr />jaxis<span class="attachedType">Event</span></a></li>
  1449. <li><a class="reference" href="#EvJoyBall%2CEvent"
  1450. title="EvJoyBall(event`gensym16945217: Event): JoyBallEventPtr"><wbr />Ev<wbr />Joy<wbr />Ball<span class="attachedType">Event</span></a></li>
  1451. <li><a class="reference" href="#jball%2CEvent"
  1452. title="jball(event`gensym16945218: Event): JoyBallEventPtr"><wbr />jball<span class="attachedType">Event</span></a></li>
  1453. <li><a class="reference" href="#EvJoyHat%2CEvent"
  1454. title="EvJoyHat(event`gensym16980217: Event): JoyHatEventPtr"><wbr />Ev<wbr />Joy<wbr />Hat<span class="attachedType">Event</span></a></li>
  1455. <li><a class="reference" href="#jhat%2CEvent"
  1456. title="jhat(event`gensym16980218: Event): JoyHatEventPtr"><wbr />jhat<span class="attachedType">Event</span></a></li>
  1457. <li><a class="reference" href="#EvJoyButton%2CEvent"
  1458. title="EvJoyButton(event`gensym17015217: Event): JoyButtonEventPtr"><wbr />Ev<wbr />Joy<wbr />Button<span class="attachedType">Event</span></a></li>
  1459. <li><a class="reference" href="#jbutton%2CEvent"
  1460. title="jbutton(event`gensym17015218: Event): JoyButtonEventPtr"><wbr />jbutton<span class="attachedType">Event</span></a></li>
  1461. <li><a class="reference" href="#EvJoyDevice%2CEvent"
  1462. title="EvJoyDevice(event`gensym17050217: Event): JoyDeviceEventPtr"><wbr />Ev<wbr />Joy<wbr />Device<span class="attachedType">Event</span></a></li>
  1463. <li><a class="reference" href="#jdevice%2CEvent"
  1464. title="jdevice(event`gensym17050218: Event): JoyDeviceEventPtr"><wbr />jdevice<span class="attachedType">Event</span></a></li>
  1465. <li><a class="reference" href="#EvControllerAxis%2CEvent"
  1466. title="EvControllerAxis(event`gensym17085217: Event): ControllerAxisEventPtr"><wbr />Ev<wbr />Controller<wbr />Axis<span class="attachedType">Event</span></a></li>
  1467. <li><a class="reference" href="#caxis%2CEvent"
  1468. title="caxis(event`gensym17085218: Event): ControllerAxisEventPtr"><wbr />caxis<span class="attachedType">Event</span></a></li>
  1469. <li><a class="reference" href="#EvControllerButton%2CEvent"
  1470. title="EvControllerButton(event`gensym17120217: Event): ControllerButtonEventPtr"><wbr />Ev<wbr />Controller<wbr />Button<span class="attachedType">Event</span></a></li>
  1471. <li><a class="reference" href="#cbutton%2CEvent"
  1472. title="cbutton(event`gensym17120218: Event): ControllerButtonEventPtr"><wbr />cbutton<span class="attachedType">Event</span></a></li>
  1473. <li><a class="reference" href="#EvControllerDevice%2CEvent"
  1474. title="EvControllerDevice(event`gensym17155217: Event): ControllerDeviceEventPtr"><wbr />Ev<wbr />Controller<wbr />Device<span class="attachedType">Event</span></a></li>
  1475. <li><a class="reference" href="#cdevice%2CEvent"
  1476. title="cdevice(event`gensym17155218: Event): ControllerDeviceEventPtr"><wbr />cdevice<span class="attachedType">Event</span></a></li>
  1477. <li><a class="reference" href="#EvTouchFinger%2CEvent"
  1478. title="EvTouchFinger(event`gensym17190217: Event): TouchFingerEventPtr"><wbr />Ev<wbr />Touch<wbr />Finger<span class="attachedType">Event</span></a></li>
  1479. <li><a class="reference" href="#tfinger%2CEvent"
  1480. title="tfinger(event`gensym17190218: Event): TouchFingerEventPtr"><wbr />tfinger<span class="attachedType">Event</span></a></li>
  1481. <li><a class="reference" href="#EvMultiGesture%2CEvent"
  1482. title="EvMultiGesture(event`gensym17225217: Event): MultiGestureEventPtr"><wbr />Ev<wbr />Multi<wbr />Gesture<span class="attachedType">Event</span></a></li>
  1483. <li><a class="reference" href="#mgesture%2CEvent"
  1484. title="mgesture(event`gensym17225218: Event): MultiGestureEventPtr"><wbr />mgesture<span class="attachedType">Event</span></a></li>
  1485. <li><a class="reference" href="#EvDollarGesture%2CEvent"
  1486. title="EvDollarGesture(event`gensym17260217: Event): DollarGestureEventPtr"><wbr />Ev<wbr />Dollar<wbr />Gesture<span class="attachedType">Event</span></a></li>
  1487. <li><a class="reference" href="#dgesture%2CEvent"
  1488. title="dgesture(event`gensym17260218: Event): DollarGestureEventPtr"><wbr />dgesture<span class="attachedType">Event</span></a></li>
  1489. <li><a class="reference" href="#evDropFile%2CEvent"
  1490. title="evDropFile(event`gensym17295217: Event): DropEventPtr"><wbr />ev<wbr />Drop<wbr />File<span class="attachedType">Event</span></a></li>
  1491. <li><a class="reference" href="#drop%2CEvent"
  1492. title="drop(event`gensym17295218: Event): DropEventPtr"><wbr />drop<span class="attachedType">Event</span></a></li>
  1493. <li><a class="reference" href="#evQuit%2CEvent"
  1494. title="evQuit(event`gensym17330217: Event): QuitEventPtr"><wbr />ev<wbr />Quit<span class="attachedType">Event</span></a></li>
  1495. <li><a class="reference" href="#quit%2CEvent"
  1496. title="quit(event`gensym17330218: Event): QuitEventPtr"><wbr />quit<span class="attachedType">Event</span></a></li>
  1497. <li><a class="reference" href="#evUser%2CEvent"
  1498. title="evUser(event`gensym17365217: Event): UserEventPtr"><wbr />ev<wbr />User<span class="attachedType">Event</span></a></li>
  1499. <li><a class="reference" href="#user%2CEvent"
  1500. title="user(event`gensym17365218: Event): UserEventPtr"><wbr />user<span class="attachedType">Event</span></a></li>
  1501. <li><a class="reference" href="#getWMInfo%2CWindowPtr%2CWMinfo"
  1502. title="getWMInfo(window: WindowPtr; info: var WMinfo): Bool32"><wbr />get<wbr />WMInfo<span class="attachedType">WindowPtr</span></a></li>
  1503. <li><a class="reference" href="#setLogicalSize%2CRendererPtr%2Ccint%2Ccint"
  1504. title="setLogicalSize(renderer: RendererPtr; w, h: cint): cint"><wbr />set<wbr />Logical<wbr />Size<span class="attachedType">RendererPtr</span></a></li>
  1505. <li><a class="reference" href="#getLogicalSize%2CRendererPtr%2Ccint%2Ccint"
  1506. title="getLogicalSize(renderer: RendererPtr; w, h: var cint)"><wbr />get<wbr />Logical<wbr />Size<span class="attachedType">RendererPtr</span></a></li>
  1507. <li><a class="reference" href="#setDrawColor%2CRendererPtr%2Cuint8%2Cuint8%2Cuint8%2Cuint8"
  1508. 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>
  1509. <li><a class="reference" href="#setDrawColor%2CRendererPtr%2CColor"
  1510. title="setDrawColor(renderer: RendererPtr; c: Color)"><wbr />set<wbr />Draw<wbr />Color<span class="attachedType">RendererPtr</span></a></li>
  1511. <li><a class="reference" href="#getDrawColor%2CRendererPtr%2Cuint8%2Cuint8%2Cuint8%2Cuint8"
  1512. 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>
  1513. <li><a class="reference" href="#setDrawBlendMode%2CRendererPtr%2CBlendMode"
  1514. title="setDrawBlendMode(renderer: RendererPtr; blendMode: BlendMode): SDL_Return"><wbr />set<wbr />Draw<wbr />Blend<wbr />Mode<span class="attachedType">RendererPtr</span></a></li>
  1515. <li><a class="reference" href="#getDrawBlendMode%2CRendererPtr%2CBlendMode"
  1516. title="getDrawBlendMode(renderer: RendererPtr; blendMode: var BlendMode): SDL_Return"><wbr />get<wbr />Draw<wbr />Blend<wbr />Mode<span class="attachedType">RendererPtr</span></a></li>
  1517. <li><a class="reference" href="#destroy%2CTexturePtr"
  1518. title="destroy(texture: TexturePtr)"><wbr />destroy<span class="attachedType">TexturePtr</span></a></li>
  1519. <li><a class="reference" href="#destroy%2CRendererPtr"
  1520. title="destroy(renderer: RendererPtr)"><wbr />destroy<span class="attachedType">RendererPtr</span></a></li>
  1521. <li><a class="reference" href="#getDisplayIndex%2CWindowPtr"
  1522. title="getDisplayIndex(window: WindowPtr): cint"><wbr />get<wbr />Display<wbr />Index<span class="attachedType">WindowPtr</span></a></li>
  1523. <li><a class="reference" href="#setDisplayMode%2CWindowPtr%2Cptr.DisplayMode"
  1524. title="setDisplayMode(window: WindowPtr; mode: ptr DisplayMode): SDL_Return"><wbr />set<wbr />Display<wbr />Mode<span class="attachedType">WindowPtr</span></a></li>
  1525. <li><a class="reference" href="#getDisplayMode%2CWindowPtr%2CDisplayMode"
  1526. title="getDisplayMode(window: WindowPtr; mode: var DisplayMode): cint"><wbr />get<wbr />Display<wbr />Mode<span class="attachedType">WindowPtr</span></a></li>
  1527. <li><a class="reference" href="#getPixelFormat%2CWindowPtr"
  1528. title="getPixelFormat(window: WindowPtr): uint32"><wbr />get<wbr />Pixel<wbr />Format<span class="attachedType">WindowPtr</span></a></li>
  1529. <li><a class="reference" href="#getID%2CWindowPtr"
  1530. title="getID(window: WindowPtr): uint32"><wbr />get<wbr />ID<span class="attachedType">WindowPtr</span></a></li>
  1531. <li><a class="reference" href="#getFlags%2CWindowPtr"
  1532. title="getFlags(window: WindowPtr): uint32"><wbr />get<wbr />Flags<span class="attachedType">WindowPtr</span></a></li>
  1533. <li><a class="reference" href="#setTitle%2CWindowPtr%2Ccstring"
  1534. title="setTitle(window: WindowPtr; title: cstring)"><wbr />set<wbr />Title<span class="attachedType">WindowPtr</span></a></li>
  1535. <li><a class="reference" href="#getTitle%2CWindowPtr"
  1536. title="getTitle(window: WindowPtr): cstring"><wbr />get<wbr />Title<span class="attachedType">WindowPtr</span></a></li>
  1537. <li><a class="reference" href="#setIcon%2CWindowPtr%2CSurfacePtr"
  1538. title="setIcon(window: WindowPtr; icon: SurfacePtr)"><wbr />set<wbr />Icon<span class="attachedType">WindowPtr</span></a></li>
  1539. <li><a class="reference" href="#setData%2CWindowPtr%2Ccstring%2Cpointer"
  1540. title="setData(window: WindowPtr; name: cstring; userdata: pointer): pointer"><wbr />set<wbr />Data<span class="attachedType">WindowPtr</span></a></li>
  1541. <li><a class="reference" href="#getData%2CWindowPtr%2Ccstring"
  1542. title="getData(window: WindowPtr; name: cstring): pointer"><wbr />get<wbr />Data<span class="attachedType">WindowPtr</span></a></li>
  1543. <li><a class="reference" href="#setPosition%2CWindowPtr%2Ccint%2Ccint"
  1544. title="setPosition(window: WindowPtr; x, y: cint)"><wbr />set<wbr />Position<span class="attachedType">WindowPtr</span></a></li>
  1545. <li><a class="reference" href="#getPosition%2CWindowPtr%2Ccint%2Ccint"
  1546. title="getPosition(window: WindowPtr; x, y: var cint)"><wbr />get<wbr />Position<span class="attachedType">WindowPtr</span></a></li>
  1547. <li><a class="reference" href="#setSize%2CWindowPtr%2Ccint%2Ccint"
  1548. title="setSize(window: WindowPtr; w, h: cint)"><wbr />set<wbr />Size<span class="attachedType">WindowPtr</span></a></li>
  1549. <li><a class="reference" href="#getSize%2CWindowPtr%2Ccint%2Ccint"
  1550. title="getSize(window: WindowPtr; w, h: var cint)"><wbr />get<wbr />Size<span class="attachedType">WindowPtr</span></a></li>
  1551. <li><a class="reference" href="#setBordered%2CWindowPtr%2CBool32"
  1552. title="setBordered(window: WindowPtr; bordered: Bool32)"><wbr />set<wbr />Bordered<span class="attachedType">WindowPtr</span></a></li>
  1553. <li><a class="reference" href="#setFullscreen%2CWindowPtr%2Cuint32"
  1554. title="setFullscreen(window: WindowPtr; fullscreen: uint32): SDL_Return"><wbr />set<wbr />Fullscreen<span class="attachedType">WindowPtr</span></a></li>
  1555. <li><a class="reference" href="#getSurface%2CWindowPtr"
  1556. title="getSurface(window: WindowPtr): SurfacePtr"><wbr />get<wbr />Surface<span class="attachedType">WindowPtr</span></a></li>
  1557. <li><a class="reference" href="#updateSurface%2CWindowPtr"
  1558. title="updateSurface(window: WindowPtr): SDL_Return"><wbr />update<wbr />Surface<span class="attachedType">WindowPtr</span></a></li>
  1559. <li><a class="reference" href="#updateSurfaceRects%2CWindowPtr%2Cptr.Rect%2Ccint"
  1560. title="updateSurfaceRects(window: WindowPtr; rects: ptr Rect; numrects: cint): SDL_Return"><wbr />update<wbr />Surface<wbr />Rects<span class="attachedType">WindowPtr</span></a></li>
  1561. <li><a class="reference" href="#setGrab%2CWindowPtr%2CBool32"
  1562. title="setGrab(window: WindowPtr; grabbed: Bool32)"><wbr />set<wbr />Grab<span class="attachedType">WindowPtr</span></a></li>
  1563. <li><a class="reference" href="#getGrab%2CWindowPtr"
  1564. title="getGrab(window: WindowPtr): Bool32"><wbr />get<wbr />Grab<span class="attachedType">WindowPtr</span></a></li>
  1565. <li><a class="reference" href="#setBrightness%2CWindowPtr%2Ccfloat"
  1566. title="setBrightness(window: WindowPtr; brightness: cfloat): SDL_Return"><wbr />set<wbr />Brightness<span class="attachedType">WindowPtr</span></a></li>
  1567. <li><a class="reference" href="#getBrightness%2CWindowPtr"
  1568. title="getBrightness(window: WindowPtr): cfloat"><wbr />get<wbr />Brightness<span class="attachedType">WindowPtr</span></a></li>
  1569. <li><a class="reference" href="#setGammaRamp%2CWindowPtr%2Cptr.uint16%2Cptr.uint16%2Cptr.uint16"
  1570. title="setGammaRamp(window: WindowPtr; red, green, blue: ptr uint16): SDL_Return"><wbr />set<wbr />Gamma<wbr />Ramp<span class="attachedType">WindowPtr</span></a></li>
  1571. <li><a class="reference" href="#getGammaRamp%2CWindowPtr%2Cptr.uint16%2Cptr.uint16%2Cptr.uint16"
  1572. 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>
  1573. <li><a class="reference" href="#init%2Ccint"
  1574. title="init(flags: cint): SDL_Return"><wbr />init<span class="attachedType"></span></a></li>
  1575. <li><a class="reference" href="#initSubSystem%2Cuint32"
  1576. title="initSubSystem(flags: uint32): cint"><wbr />init<wbr />Sub<wbr />System<span class="attachedType"></span></a></li>
  1577. <li><a class="reference" href="#quitSubSystem%2Cuint32"
  1578. title="quitSubSystem(flags: uint32)"><wbr />quit<wbr />Sub<wbr />System<span class="attachedType"></span></a></li>
  1579. <li><a class="reference" href="#wasInit%2Cuint32"
  1580. title="wasInit(flags: uint32): uint32"><wbr />was<wbr />Init<span class="attachedType"></span></a></li>
  1581. <li><a class="reference" href="#quit"
  1582. title="quit()"><wbr />quit<span class="attachedType"></span></a></li>
  1583. <li><a class="reference" href="#getPlatform"
  1584. title="getPlatform(): cstring"><wbr />get<wbr />Platform<span class="attachedType"></span></a></li>
  1585. <li><a class="reference" href="#getVersion%2CSDL_Version"
  1586. title="getVersion(ver: var SDL_Version)"><wbr />get<wbr />Version<span class="attachedType">SDL_Version</span></a></li>
  1587. <li><a class="reference" href="#getRevision"
  1588. title="getRevision(): cstring"><wbr />get<wbr />Revision<span class="attachedType"></span></a></li>
  1589. <li><a class="reference" href="#getRevisionNumber"
  1590. title="getRevisionNumber(): cint"><wbr />get<wbr />Revision<wbr />Number<span class="attachedType"></span></a></li>
  1591. <li><a class="reference" href="#getBasePath"
  1592. title="getBasePath(): cstring"><wbr />get<wbr />Base<wbr />Path<span class="attachedType"></span></a></li>
  1593. <li><a class="reference" href="#getPrefPath%2Ccstring%2Ccstring"
  1594. title="getPrefPath(org, app: cstring): cstring"><wbr />get<wbr />Pref<wbr />Path<span class="attachedType"></span></a></li>
  1595. <li><a class="reference" href="#getNumRenderDrivers"
  1596. title="getNumRenderDrivers(): cint"><wbr />get<wbr />Num<wbr />Render<wbr />Drivers<span class="attachedType"></span></a></li>
  1597. <li><a class="reference" href="#getRenderDriverInfo%2Ccint%2CRendererInfo"
  1598. title="getRenderDriverInfo(index: cint; info: var RendererInfo): SDL_Return"><wbr />get<wbr />Render<wbr />Driver<wbr />Info<span class="attachedType"></span></a></li>
  1599. <li><a class="reference" href="#createWindowAndRenderer%2Ccint%2Ccint%2Cuint32%2CWindowPtr%2CRendererPtr"
  1600. title="createWindowAndRenderer(width, height: cint; window_flags: uint32;
  1601. window: var WindowPtr; renderer: var RendererPtr): SDL_Return"><wbr />create<wbr />Window<wbr />And<wbr />Renderer<span class="attachedType">WindowPtr</span></a></li>
  1602. <li><a class="reference" href="#createRenderer%2CWindowPtr%2Ccint%2Ccint"
  1603. title="createRenderer(window: WindowPtr; index: cint; flags: cint): RendererPtr"><wbr />create<wbr />Renderer<span class="attachedType">WindowPtr</span></a></li>
  1604. <li><a class="reference" href="#createSoftwareRenderer%2CSurfacePtr"
  1605. title="createSoftwareRenderer(surface: SurfacePtr): RendererPtr"><wbr />create<wbr />Software<wbr />Renderer<span class="attachedType">SurfacePtr</span></a></li>
  1606. <li><a class="reference" href="#getRenderer%2CWindowPtr"
  1607. title="getRenderer(window: WindowPtr): RendererPtr"><wbr />get<wbr />Renderer<span class="attachedType">WindowPtr</span></a></li>
  1608. <li><a class="reference" href="#getRendererInfo%2CRendererPtr%2CRendererInfoPtr"
  1609. title="getRendererInfo(renderer: RendererPtr; info: RendererInfoPtr): cint"><wbr />get<wbr />Renderer<wbr />Info<span class="attachedType">RendererPtr</span></a></li>
  1610. <li><a class="reference" href="#getRendererOutputSize%2CRendererPtr%2Cptr.cint%2Cptr.cint"
  1611. 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>
  1612. <li><a class="reference" href="#createTexture%2CRendererPtr%2Cuint32%2Ccint%2Ccint%2Ccint"
  1613. title="createTexture(renderer: RendererPtr; format: uint32; access, w, h: cint): TexturePtr"><wbr />create<wbr />Texture<span class="attachedType">RendererPtr</span></a></li>
  1614. <li><a class="reference" href="#createTextureFromSurface%2CRendererPtr%2CSurfacePtr"
  1615. title="createTextureFromSurface(renderer: RendererPtr; surface: SurfacePtr): TexturePtr"><wbr />create<wbr />Texture<wbr />From<wbr />Surface<span class="attachedType">RendererPtr</span></a></li>
  1616. <li><a class="reference" href="#createTexture%2CRendererPtr%2CSurfacePtr"
  1617. title="createTexture(renderer: RendererPtr; surface: SurfacePtr): TexturePtr"><wbr />create<wbr />Texture<span class="attachedType">RendererPtr</span></a></li>
  1618. <li><a class="reference" href="#queryTexture%2CTexturePtr%2Cptr.uint32%2Cptr.cint%2Cptr.cint%2Cptr.cint"
  1619. 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>
  1620. <li><a class="reference" href="#setTextureColorMod%2CTexturePtr%2Cuint8%2Cuint8%2Cuint8"
  1621. 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>
  1622. <li><a class="reference" href="#getTextureColorMod%2CTexturePtr%2Cuint8%2Cuint8%2Cuint8"
  1623. 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>
  1624. <li><a class="reference" href="#setTextureAlphaMod%2CTexturePtr%2Cuint8"
  1625. title="setTextureAlphaMod(texture: TexturePtr; alpha: uint8): SDL_Return"><wbr />set<wbr />Texture<wbr />Alpha<wbr />Mod<span class="attachedType">TexturePtr</span></a></li>
  1626. <li><a class="reference" href="#getTextureAlphaMod%2CTexturePtr%2Cuint8"
  1627. title="getTextureAlphaMod(texture: TexturePtr; alpha: var uint8): SDL_Return"><wbr />get<wbr />Texture<wbr />Alpha<wbr />Mod<span class="attachedType">TexturePtr</span></a></li>
  1628. <li><a class="reference" href="#setTextureBlendMode%2CTexturePtr%2CBlendMode"
  1629. title="setTextureBlendMode(texture: TexturePtr; blendMode: BlendMode): SDL_Return"><wbr />set<wbr />Texture<wbr />Blend<wbr />Mode<span class="attachedType">TexturePtr</span></a></li>
  1630. <li><a class="reference" href="#getTextureBlendMode%2CTexturePtr%2CBlendMode"
  1631. title="getTextureBlendMode(texture: TexturePtr; blendMode: var BlendMode): SDL_Return"><wbr />get<wbr />Texture<wbr />Blend<wbr />Mode<span class="attachedType">TexturePtr</span></a></li>
  1632. <li><a class="reference" href="#updateTexture%2CTexturePtr%2Cptr.Rect%2Cpointer%2Ccint"
  1633. title="updateTexture(texture: TexturePtr; rect: ptr Rect; pixels: pointer; pitch: cint): SDL_Return"><wbr />update<wbr />Texture<span class="attachedType">TexturePtr</span></a></li>
  1634. <li><a class="reference" href="#lockTexture%2CTexturePtr%2Cptr.Rect%2Cptr.pointer%2Cptr.cint"
  1635. 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>
  1636. <li><a class="reference" href="#unlockTexture%2CTexturePtr"
  1637. title="unlockTexture(texture: TexturePtr)"><wbr />unlock<wbr />Texture<span class="attachedType">TexturePtr</span></a></li>
  1638. <li><a class="reference" href="#renderTargetSupported%2CRendererPtr"
  1639. title="renderTargetSupported(renderer: RendererPtr): Bool32"><wbr />render<wbr />Target<wbr />Supported<span class="attachedType">RendererPtr</span></a></li>
  1640. <li><a class="reference" href="#setRenderTarget%2CRendererPtr%2CTexturePtr"
  1641. title="setRenderTarget(renderer: RendererPtr; texture: TexturePtr): SDL_Return"><wbr />set<wbr />Render<wbr />Target<span class="attachedType">RendererPtr</span></a></li>
  1642. <li><a class="reference" href="#getRenderTarget%2CRendererPtr"
  1643. title="getRenderTarget(renderer: RendererPtr): TexturePtr"><wbr />get<wbr />Render<wbr />Target<span class="attachedType">RendererPtr</span></a></li>
  1644. <li><a class="reference" href="#setViewport%2CRendererPtr%2Cptr.Rect"
  1645. title="setViewport(renderer: RendererPtr; rect: ptr Rect): SDL_Return"><wbr />set<wbr />Viewport<span class="attachedType">RendererPtr</span></a></li>
  1646. <li><a class="reference" href="#getViewport%2CRendererPtr%2CRect"
  1647. title="getViewport(renderer: RendererPtr; rect: var Rect)"><wbr />get<wbr />Viewport<span class="attachedType">RendererPtr</span></a></li>
  1648. <li><a class="reference" href="#setScale%2CRendererPtr%2Ccfloat%2Ccfloat"
  1649. title="setScale(renderer: RendererPtr; scaleX, scaleY: cfloat): SDL_Return"><wbr />set<wbr />Scale<span class="attachedType">RendererPtr</span></a></li>
  1650. <li><a class="reference" href="#getScale%2CRendererPtr%2Ccfloat%2Ccfloat"
  1651. title="getScale(renderer: RendererPtr; scaleX, scaleY: var cfloat)"><wbr />get<wbr />Scale<span class="attachedType">RendererPtr</span></a></li>
  1652. <li><a class="reference" href="#drawPoint%2CRendererPtr%2Ccint%2Ccint"
  1653. title="drawPoint(renderer: RendererPtr; x, y: cint): SDL_Return"><wbr />draw<wbr />Point<span class="attachedType">RendererPtr</span></a></li>
  1654. <li><a class="reference" href="#drawPoints%2CRendererPtr%2Cptr.Point%2Ccint"
  1655. title="drawPoints(renderer: RendererPtr; points: ptr Point; count: cint): SDL_Return"><wbr />draw<wbr />Points<span class="attachedType">RendererPtr</span></a></li>
  1656. <li><a class="reference" href="#drawLine%2CRendererPtr%2Ccint%2Ccint%2Ccint%2Ccint"
  1657. title="drawLine(renderer: RendererPtr; x1, y1, x2, y2: cint): SDL_Return"><wbr />draw<wbr />Line<span class="attachedType">RendererPtr</span></a></li>
  1658. <li><a class="reference" href="#drawLines%2CRendererPtr%2Cptr.Point%2Ccint"
  1659. title="drawLines(renderer: RendererPtr; points: ptr Point; count: cint): SDL_Return"><wbr />draw<wbr />Lines<span class="attachedType">RendererPtr</span></a></li>
  1660. <li><a class="reference" href="#drawRect%2CRendererPtr%2CRect"
  1661. title="drawRect(renderer: RendererPtr; rect: var Rect): SDL_Return"><wbr />draw<wbr />Rect<span class="attachedType">RendererPtr</span></a></li>
  1662. <li><a class="reference" href="#drawRect%2CRendererPtr%2Cptr.Rect"
  1663. title="drawRect(renderer: RendererPtr; rect: ptr Rect = nil): SDL_Return"><wbr />draw<wbr />Rect<span class="attachedType">RendererPtr</span></a></li>
  1664. <li><a class="reference" href="#drawRects%2CRendererPtr%2Cptr.Rect%2Ccint"
  1665. title="drawRects(renderer: RendererPtr; rects: ptr Rect; count: cint): SDL_Return"><wbr />draw<wbr />Rects<span class="attachedType">RendererPtr</span></a></li>
  1666. <li><a class="reference" href="#fillRect%2CRendererPtr%2CRect"
  1667. title="fillRect(renderer: RendererPtr; rect: var Rect): SDL_Return"><wbr />fill<wbr />Rect<span class="attachedType">RendererPtr</span></a></li>
  1668. <li><a class="reference" href="#fillRect%2CRendererPtr%2Cptr.Rect"
  1669. title="fillRect(renderer: RendererPtr; rect: ptr Rect = nil): SDL_Return"><wbr />fill<wbr />Rect<span class="attachedType">RendererPtr</span></a></li>
  1670. <li><a class="reference" href="#fillRects%2CRendererPtr%2Cptr.Rect%2Ccint"
  1671. title="fillRects(renderer: RendererPtr; rects: ptr Rect; count: cint): SDL_Return"><wbr />fill<wbr />Rects<span class="attachedType">RendererPtr</span></a></li>
  1672. <li><a class="reference" href="#copy%2CRendererPtr%2CTexturePtr%2Cptr.Rect%2Cptr.Rect"
  1673. title="copy(renderer: RendererPtr; texture: TexturePtr; srcrect, dstrect: ptr Rect): SDL_Return"><wbr />copy<span class="attachedType">RendererPtr</span></a></li>
  1674. <li><a class="reference" href="#copyEx%2CRendererPtr%2CTexturePtr%2CRect%2CRect%2Ccdouble%2Cptr.Point%2CRendererFlip"
  1675. title="copyEx(renderer: RendererPtr; texture: TexturePtr; srcrect, dstrect: var Rect;
  1676. angle: cdouble; center: ptr Point; flip: RendererFlip = SDL_FLIP_NONE): SDL_Return"><wbr />copy<wbr />Ex<span class="attachedType">RendererPtr</span></a></li>
  1677. <li><a class="reference" href="#copyEx%2CRendererPtr%2CTexturePtr%2Cptr.Rect%2Cptr.Rect%2Ccdouble%2Cptr.Point%2CRendererFlip"
  1678. title="copyEx(renderer: RendererPtr; texture: TexturePtr; srcrect, dstrect: ptr 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="#clear%2CRendererPtr"
  1681. title="clear(renderer: RendererPtr): cint"><wbr />clear<span class="attachedType">RendererPtr</span></a></li>
  1682. <li><a class="reference" href="#readPixels%2CRendererPtr%2CRect%2Ccint%2Cpointer%2Ccint"
  1683. title="readPixels(renderer: RendererPtr; rect: var Rect; format: cint; pixels: pointer;
  1684. pitch: cint): cint"><wbr />read<wbr />Pixels<span class="attachedType">RendererPtr</span></a></li>
  1685. <li><a class="reference" href="#readPixels%2CRendererPtr%2Cptr.Rect%2Ccint%2Cpointer%2Ccint"
  1686. title="readPixels(renderer: RendererPtr; rect: ptr 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="#present%2CRendererPtr"
  1689. title="present(renderer: RendererPtr)"><wbr />present<span class="attachedType">RendererPtr</span></a></li>
  1690. <li><a class="reference" href="#glBindTexture%2CTexturePtr%2Ccfloat%2Ccfloat"
  1691. title="glBindTexture(texture: TexturePtr; texw, texh: var cfloat): cint"><wbr />gl<wbr />Bind<wbr />Texture<span class="attachedType">TexturePtr</span></a></li>
  1692. <li><a class="reference" href="#glUnbindTexture%2CTexturePtr"
  1693. title="glUnbindTexture(texture: TexturePtr)"><wbr />gl<wbr />Unbind<wbr />Texture<span class="attachedType">TexturePtr</span></a></li>
  1694. <li><a class="reference" href="#createRGBSurface%2Ccint%2Ccint%2Ccint%2Ccint%2Cuint32%2Cuint32%2Cuint32%2Cuint32"
  1695. title="createRGBSurface(flags: cint; width, height, depth: cint;
  1696. Rmask, Gmask, BMask, Amask: uint32): SurfacePtr"><wbr />create<wbr />RGBSurface<span class="attachedType">SurfacePtr</span></a></li>
  1697. <li><a class="reference" href="#createRGBSurfaceFrom%2Cpointer%2Ccint%2Ccint%2Ccint%2Ccint%2Cuint32%2Cuint32%2Cuint32%2Cuint32"
  1698. title="createRGBSurfaceFrom(pixels: pointer; width, height, depth, pitch: cint;
  1699. Rmask, Gmask, Bmask, Amask: uint32): SurfacePtr"><wbr />create<wbr />RGBSurface<wbr />From<span class="attachedType">SurfacePtr</span></a></li>
  1700. <li><a class="reference" href="#freeSurface%2CSurfacePtr"
  1701. title="freeSurface(surface: SurfacePtr)"><wbr />free<wbr />Surface<span class="attachedType">SurfacePtr</span></a></li>
  1702. <li><a class="reference" href="#setSurfacePalette%2CSurfacePtr%2Cptr.Palette"
  1703. title="setSurfacePalette(surface: SurfacePtr; palette: ptr Palette): cint"><wbr />set<wbr />Surface<wbr />Palette<span class="attachedType">SurfacePtr</span></a></li>
  1704. <li><a class="reference" href="#lockSurface%2CSurfacePtr"
  1705. title="lockSurface(surface: SurfacePtr): cint"><wbr />lock<wbr />Surface<span class="attachedType">SurfacePtr</span></a></li>
  1706. <li><a class="reference" href="#unlockSurface%2CSurfacePtr"
  1707. title="unlockSurface(surface: SurfacePtr)"><wbr />unlock<wbr />Surface<span class="attachedType">SurfacePtr</span></a></li>
  1708. <li><a class="reference" href="#loadBMP_RW%2CRWopsPtr%2Ccint"
  1709. title="loadBMP_RW(src: RWopsPtr; freesrc: cint): SurfacePtr"><wbr />load<wbr />BMP_<wbr />RW<span class="attachedType">RWopsPtr</span></a></li>
  1710. <li><a class="reference" href="#rwFromFile%2Ccstring%2Ccstring"
  1711. title="rwFromFile(file: cstring; mode: cstring): RWopsPtr"><wbr />rw<wbr />From<wbr />File<span class="attachedType">RWopsPtr</span></a></li>
  1712. <li><a class="reference" href="#rwFromFP%2CFile%2CBool32"
  1713. title="rwFromFP(fp: File; autoclose: Bool32): RWopsPtr"><wbr />rw<wbr />From<wbr />FP<span class="attachedType">RWopsPtr</span></a></li>
  1714. <li><a class="reference" href="#rwFromMem%2Cpointer%2Ccint"
  1715. title="rwFromMem(mem: pointer; size: cint): RWopsPtr"><wbr />rw<wbr />From<wbr />Mem<span class="attachedType">RWopsPtr</span></a></li>
  1716. <li><a class="reference" href="#rwFromConstMem%2Cpointer%2Ccint"
  1717. title="rwFromConstMem(mem: pointer; size: cint): RWopsPtr"><wbr />rw<wbr />From<wbr />Const<wbr />Mem<span class="attachedType">RWopsPtr</span></a></li>
  1718. <li><a class="reference" href="#allocRW"
  1719. title="allocRW(): RWopsPtr"><wbr />alloc<wbr />RW<span class="attachedType">RWopsPtr</span></a></li>
  1720. <li><a class="reference" href="#freeRW%2CRWopsPtr"
  1721. title="freeRW(area: RWopsPtr)"><wbr />free<wbr />RW<span class="attachedType">RWopsPtr</span></a></li>
  1722. <li><a class="reference" href="#saveBMP_RW%2CSurfacePtr%2CRWopsPtr%2Ccint"
  1723. title="saveBMP_RW(surface: SurfacePtr; dst: RWopsPtr; freedst: cint): SDL_Return"><wbr />save<wbr />BMP_<wbr />RW<span class="attachedType">SurfacePtr</span></a></li>
  1724. <li><a class="reference" href="#setSurfaceRLE%2CSurfacePtr%2Ccint"
  1725. title="setSurfaceRLE(surface: SurfacePtr; flag: cint): cint"><wbr />set<wbr />Surface<wbr />RLE<span class="attachedType">SurfacePtr</span></a></li>
  1726. <li><a class="reference" href="#setColorKey%2CSurfacePtr%2Ccint%2Cuint32"
  1727. title="setColorKey(surface: SurfacePtr; flag: cint; key: uint32): cint"><wbr />set<wbr />Color<wbr />Key<span class="attachedType">SurfacePtr</span></a></li>
  1728. <li><a class="reference" href="#getColorKey%2CSurfacePtr%2Cuint32"
  1729. title="getColorKey(surface: SurfacePtr; key: var uint32): cint"><wbr />get<wbr />Color<wbr />Key<span class="attachedType">SurfacePtr</span></a></li>
  1730. <li><a class="reference" href="#setSurfaceColorMod%2CSurfacePtr%2Cuint8%2Cuint8%2Cuint8"
  1731. title="setSurfaceColorMod(surface: SurfacePtr; r, g, b: uint8): cint"><wbr />set<wbr />Surface<wbr />Color<wbr />Mod<span class="attachedType">SurfacePtr</span></a></li>
  1732. <li><a class="reference" href="#getSurfaceColorMod%2CSurfacePtr%2Cuint8%2Cuint8%2Cuint8"
  1733. 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>
  1734. <li><a class="reference" href="#setSurfaceAlphaMod%2CSurfacePtr%2Cuint8"
  1735. title="setSurfaceAlphaMod(surface: SurfacePtr; alpha: uint8): cint"><wbr />set<wbr />Surface<wbr />Alpha<wbr />Mod<span class="attachedType">SurfacePtr</span></a></li>
  1736. <li><a class="reference" href="#getSurfaceAlphaMod%2CSurfacePtr%2Cuint8"
  1737. title="getSurfaceAlphaMod(surface: SurfacePtr; alpha: var uint8): cint"><wbr />get<wbr />Surface<wbr />Alpha<wbr />Mod<span class="attachedType">SurfacePtr</span></a></li>
  1738. <li><a class="reference" href="#setSurfaceBlendMode%2CSurfacePtr%2CBlendMode"
  1739. title="setSurfaceBlendMode(surface: SurfacePtr; blendMode: BlendMode): cint"><wbr />set<wbr />Surface<wbr />Blend<wbr />Mode<span class="attachedType">SurfacePtr</span></a></li>
  1740. <li><a class="reference" href="#getSurfaceBlendMode%2CSurfacePtr%2Cptr.BlendMode"
  1741. title="getSurfaceBlendMode(surface: SurfacePtr; blendMode: ptr BlendMode): cint"><wbr />get<wbr />Surface<wbr />Blend<wbr />Mode<span class="attachedType">SurfacePtr</span></a></li>
  1742. <li><a class="reference" href="#setClipRect%2CSurfacePtr%2Cptr.Rect"
  1743. title="setClipRect(surface: SurfacePtr; rect: ptr Rect): Bool32"><wbr />set<wbr />Clip<wbr />Rect<span class="attachedType">SurfacePtr</span></a></li>
  1744. <li><a class="reference" href="#getClipRect%2CSurfacePtr%2Cptr.Rect"
  1745. title="getClipRect(surface: SurfacePtr; rect: ptr Rect)"><wbr />get<wbr />Clip<wbr />Rect<span class="attachedType">SurfacePtr</span></a></li>
  1746. <li><a class="reference" href="#setClipRect%2CRendererPtr%2Cptr.Rect"
  1747. title="setClipRect(renderer: RendererPtr; rect: ptr Rect): cint"><wbr />set<wbr />Clip<wbr />Rect<span class="attachedType">RendererPtr</span></a></li>
  1748. <li><a class="reference" href="#getClipRect%2CRendererPtr%2Cptr.Rect"
  1749. title="getClipRect(renderer: RendererPtr; rect: ptr Rect): cint"><wbr />get<wbr />Clip<wbr />Rect<span class="attachedType">RendererPtr</span></a></li>
  1750. <li><a class="reference" href="#isClipEnabled%2CRendererPtr"
  1751. title="isClipEnabled(renderer: RendererPtr): cint"><wbr />is<wbr />Clip<wbr />Enabled<span class="attachedType">RendererPtr</span></a></li>
  1752. <li><a class="reference" href="#convertSurface%2CSurfacePtr%2Cptr.PixelFormat%2Ccint"
  1753. title="convertSurface(src: SurfacePtr; fmt: ptr PixelFormat; flags: cint): SurfacePtr"><wbr />convert<wbr />Surface<span class="attachedType">SurfacePtr</span></a></li>
  1754. <li><a class="reference" href="#convertSurfaceFormat%2CSurfacePtr%2Cuint32%2Cuint32"
  1755. title="convertSurfaceFormat(src: SurfacePtr; pixel_format, flags: uint32): SurfacePtr"><wbr />convert<wbr />Surface<wbr />Format<span class="attachedType">SurfacePtr</span></a></li>
  1756. <li><a class="reference" href="#convertPixels%2Ccint%2Ccint%2Cuint32%2Cpointer%2Ccint%2Cuint32%2Cpointer%2Ccint"
  1757. title="convertPixels(width, height: cint; src_format: uint32; src: pointer; src_pitch: cint;
  1758. dst_format: uint32; dst: pointer; dst_pitch: cint): cint"><wbr />convert<wbr />Pixels<span class="attachedType"></span></a></li>
  1759. <li><a class="reference" href="#fillRect%2CSurfacePtr%2Cptr.Rect%2Cuint32"
  1760. title="fillRect(dst: SurfacePtr; rect: ptr Rect; color: uint32): SDL_Return"><wbr />fill<wbr />Rect<span class="attachedType">SurfacePtr</span></a></li>
  1761. <li><a class="reference" href="#fillRects%2CSurfacePtr%2Cptr.Rect%2Ccint%2Cuint32"
  1762. title="fillRects(dst: SurfacePtr; rects: ptr Rect; count: cint; color: uint32): cint"><wbr />fill<wbr />Rects<span class="attachedType">SurfacePtr</span></a></li>
  1763. <li><a class="reference" href="#upperBlit%2CSurfacePtr%2Cptr.Rect%2CSurfacePtr%2Cptr.Rect"
  1764. 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>
  1765. <li><a class="reference" href="#lowerBlit%2CSurfacePtr%2Cptr.Rect%2CSurfacePtr%2Cptr.Rect"
  1766. 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>
  1767. <li><a class="reference" href="#softStretch%2CSurfacePtr%2Cptr.Rect%2CSurfacePtr%2Cptr.Rect"
  1768. 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>
  1769. <li><a class="reference" href="#upperBlitScaled%2CSurfacePtr%2Cptr.Rect%2CSurfacePtr%2Cptr.Rect"
  1770. 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>
  1771. <li><a class="reference" href="#lowerBlitScaled%2CSurfacePtr%2Cptr.Rect%2CSurfacePtr%2Cptr.Rect"
  1772. 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>
  1773. <li><a class="reference" href="#readU8%2CRWopsPtr"
  1774. title="readU8(src: RWopsPtr): uint8"><wbr />read<wbr />U8<span class="attachedType">RWopsPtr</span></a></li>
  1775. <li><a class="reference" href="#readLE16%2CRWopsPtr"
  1776. title="readLE16(src: RWopsPtr): uint16"><wbr />read<wbr />LE16<span class="attachedType">RWopsPtr</span></a></li>
  1777. <li><a class="reference" href="#readBE16%2CRWopsPtr"
  1778. title="readBE16(src: RWopsPtr): uint16"><wbr />read<wbr />BE16<span class="attachedType">RWopsPtr</span></a></li>
  1779. <li><a class="reference" href="#readLE32%2CRWopsPtr"
  1780. title="readLE32(src: RWopsPtr): uint32"><wbr />read<wbr />LE32<span class="attachedType">RWopsPtr</span></a></li>
  1781. <li><a class="reference" href="#readBE32%2CRWopsPtr"
  1782. title="readBE32(src: RWopsPtr): uint32"><wbr />read<wbr />BE32<span class="attachedType">RWopsPtr</span></a></li>
  1783. <li><a class="reference" href="#readLE64%2CRWopsPtr"
  1784. title="readLE64(src: RWopsPtr): uint64"><wbr />read<wbr />LE64<span class="attachedType">RWopsPtr</span></a></li>
  1785. <li><a class="reference" href="#readBE64%2CRWopsPtr"
  1786. title="readBE64(src: RWopsPtr): uint64"><wbr />read<wbr />BE64<span class="attachedType">RWopsPtr</span></a></li>
  1787. <li><a class="reference" href="#writeU8%2CRWopsPtr%2Cuint8"
  1788. title="writeU8(dst: RWopsPtr; value: uint8): csize_t"><wbr />write<wbr />U8<span class="attachedType">RWopsPtr</span></a></li>
  1789. <li><a class="reference" href="#writeLE16%2CRWopsPtr%2Cuint16"
  1790. title="writeLE16(dst: RWopsPtr; value: uint16): csize_t"><wbr />write<wbr />LE16<span class="attachedType">RWopsPtr</span></a></li>
  1791. <li><a class="reference" href="#writeBE16%2CRWopsPtr%2Cuint16"
  1792. title="writeBE16(dst: RWopsPtr; value: uint16): csize_t"><wbr />write<wbr />BE16<span class="attachedType">RWopsPtr</span></a></li>
  1793. <li><a class="reference" href="#writeLE32%2CRWopsPtr%2Cuint32"
  1794. title="writeLE32(dst: RWopsPtr; value: uint32): csize_t"><wbr />write<wbr />LE32<span class="attachedType">RWopsPtr</span></a></li>
  1795. <li><a class="reference" href="#writeBE32%2CRWopsPtr%2Cuint32"
  1796. title="writeBE32(dst: RWopsPtr; value: uint32): csize_t"><wbr />write<wbr />BE32<span class="attachedType">RWopsPtr</span></a></li>
  1797. <li><a class="reference" href="#writeLE64%2CRWopsPtr%2Cuint64"
  1798. title="writeLE64(dst: RWopsPtr; value: uint64): csize_t"><wbr />write<wbr />LE64<span class="attachedType">RWopsPtr</span></a></li>
  1799. <li><a class="reference" href="#writeBE64%2CRWopsPtr%2Cuint64"
  1800. title="writeBE64(dst: RWopsPtr; value: uint64): csize_t"><wbr />write<wbr />BE64<span class="attachedType">RWopsPtr</span></a></li>
  1801. <li><a class="reference" href="#showMessageBox%2Cptr.MessageBoxData%2Ccint"
  1802. title="showMessageBox(messageboxdata: ptr MessageBoxData; buttonid: var cint): cint"><wbr />show<wbr />Message<wbr />Box<span class="attachedType"></span></a></li>
  1803. <li><a class="reference" href="#showSimpleMessageBox%2Cuint32%2Ccstring%2Ccstring%2CWindowPtr"
  1804. 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>
  1805. <li><a class="reference" href="#getNumVideoDrivers"
  1806. title="getNumVideoDrivers(): cint"><wbr />get<wbr />Num<wbr />Video<wbr />Drivers<span class="attachedType"></span></a></li>
  1807. <li><a class="reference" href="#getVideoDriver%2Ccint"
  1808. title="getVideoDriver(index: cint): cstring"><wbr />get<wbr />Video<wbr />Driver<span class="attachedType"></span></a></li>
  1809. <li><a class="reference" href="#videoInit%2Ccstring"
  1810. title="videoInit(driver_name: cstring): SDL_Return"><wbr />video<wbr />Init<span class="attachedType"></span></a></li>
  1811. <li><a class="reference" href="#videoQuit"
  1812. title="videoQuit()"><wbr />video<wbr />Quit<span class="attachedType"></span></a></li>
  1813. <li><a class="reference" href="#getCurrentVideoDriver"
  1814. title="getCurrentVideoDriver(): cstring"><wbr />get<wbr />Current<wbr />Video<wbr />Driver<span class="attachedType"></span></a></li>
  1815. <li><a class="reference" href="#getNumVideoDisplays"
  1816. title="getNumVideoDisplays(): cint"><wbr />get<wbr />Num<wbr />Video<wbr />Displays<span class="attachedType"></span></a></li>
  1817. <li><a class="reference" href="#getDisplayBounds%2Ccint%2CRect"
  1818. title="getDisplayBounds(displayIndex: cint; rect: var Rect): SDL_Return"><wbr />get<wbr />Display<wbr />Bounds<span class="attachedType">Rect</span></a></li>
  1819. <li><a class="reference" href="#getNumDisplayModes%2Ccint"
  1820. title="getNumDisplayModes(displayIndex: cint): cint"><wbr />get<wbr />Num<wbr />Display<wbr />Modes<span class="attachedType"></span></a></li>
  1821. <li><a class="reference" href="#getDisplayMode%2Ccint%2Ccint%2CDisplayMode"
  1822. title="getDisplayMode(displayIndex: cint; modeIndex: cint; mode: var DisplayMode): SDL_Return"><wbr />get<wbr />Display<wbr />Mode<span class="attachedType">DisplayMode</span></a></li>
  1823. <li><a class="reference" href="#getDesktopDisplayMode%2Ccint%2CDisplayMode"
  1824. title="getDesktopDisplayMode(displayIndex: cint; mode: var DisplayMode): SDL_Return"><wbr />get<wbr />Desktop<wbr />Display<wbr />Mode<span class="attachedType">DisplayMode</span></a></li>
  1825. <li><a class="reference" href="#getCurrentDisplayMode%2Ccint%2CDisplayMode"
  1826. title="getCurrentDisplayMode(displayIndex: cint; mode: var DisplayMode): SDL_Return"><wbr />get<wbr />Current<wbr />Display<wbr />Mode<span class="attachedType">DisplayMode</span></a></li>
  1827. <li><a class="reference" href="#getClosestDisplayMode%2Ccint%2Cptr.DisplayMode%2Cptr.DisplayMode"
  1828. title="getClosestDisplayMode(displayIndex: cint; mode: ptr DisplayMode;
  1829. closest: ptr DisplayMode): ptr DisplayMode"><wbr />get<wbr />Closest<wbr />Display<wbr />Mode<span class="attachedType">DisplayMode</span></a></li>
  1830. <li><a class="reference" href="#getDisplayDPI%2Ccint%2Cptr.cfloat%2Cptr.cfloat%2Cptr.cfloat"
  1831. title="getDisplayDPI(displayIndex: cint; ddpi, hdpi, vdpi: ptr cfloat): SDL_Return"><wbr />get<wbr />Display<wbr />DPI<span class="attachedType"></span></a></li>
  1832. <li><a class="reference" href="#createWindow%2Ccstring%2Ccint%2Ccint%2Ccint%2Ccint%2Cuint32"
  1833. title="createWindow(title: cstring; x, y, w, h: cint; flags: uint32): WindowPtr"><wbr />create<wbr />Window<span class="attachedType">WindowPtr</span></a></li>
  1834. <li><a class="reference" href="#createWindowFrom%2Cpointer"
  1835. title="createWindowFrom(data: pointer): WindowPtr"><wbr />create<wbr />Window<wbr />From<span class="attachedType">WindowPtr</span></a></li>
  1836. <li><a class="reference" href="#getWindowFromID%2Cuint32"
  1837. title="getWindowFromID(id: uint32): WindowPtr"><wbr />get<wbr />Window<wbr />From<wbr />ID<span class="attachedType">WindowPtr</span></a></li>
  1838. <li><a class="reference" href="#showWindow%2CWindowPtr"
  1839. title="showWindow(window: WindowPtr)"><wbr />show<wbr />Window<span class="attachedType">WindowPtr</span></a></li>
  1840. <li><a class="reference" href="#hideWindow%2CWindowPtr"
  1841. title="hideWindow(window: WindowPtr)"><wbr />hide<wbr />Window<span class="attachedType">WindowPtr</span></a></li>
  1842. <li><a class="reference" href="#raiseWindow%2CWindowPtr"
  1843. title="raiseWindow(window: WindowPtr)"><wbr />raise<wbr />Window<span class="attachedType">WindowPtr</span></a></li>
  1844. <li><a class="reference" href="#maximizeWindow%2CWindowPtr"
  1845. title="maximizeWindow(window: WindowPtr)"><wbr />maximize<wbr />Window<span class="attachedType">WindowPtr</span></a></li>
  1846. <li><a class="reference" href="#minimizeWindow%2CWindowPtr"
  1847. title="minimizeWindow(window: WindowPtr)"><wbr />minimize<wbr />Window<span class="attachedType">WindowPtr</span></a></li>
  1848. <li><a class="reference" href="#restoreWindow%2CWindowPtr"
  1849. title="restoreWindow(window: WindowPtr)"><wbr />restore<wbr />Window<span class="attachedType">WindowPtr</span></a></li>
  1850. <li><a class="reference" href="#destroyWindow%2CWindowPtr"
  1851. title="destroyWindow(window: WindowPtr)"><wbr />destroy<wbr />Window<span class="attachedType">WindowPtr</span></a></li>
  1852. <li><a class="reference" href="#isScreenSaverEnabled"
  1853. title="isScreenSaverEnabled(): Bool32"><wbr />is<wbr />Screen<wbr />Saver<wbr />Enabled<span class="attachedType"></span></a></li>
  1854. <li><a class="reference" href="#enableScreenSaver"
  1855. title="enableScreenSaver()"><wbr />enable<wbr />Screen<wbr />Saver<span class="attachedType"></span></a></li>
  1856. <li><a class="reference" href="#disableScreenSaver"
  1857. title="disableScreenSaver()"><wbr />disable<wbr />Screen<wbr />Saver<span class="attachedType"></span></a></li>
  1858. <li><a class="reference" href="#getTicks"
  1859. title="getTicks(): uint32"><wbr />get<wbr />Ticks<span class="attachedType"></span></a></li>
  1860. <li><a class="reference" href="#getPerformanceCounter"
  1861. title="getPerformanceCounter(): uint64"><wbr />get<wbr />Performance<wbr />Counter<span class="attachedType"></span></a></li>
  1862. <li><a class="reference" href="#getPerformanceFrequency"
  1863. title="getPerformanceFrequency(): uint64"><wbr />get<wbr />Performance<wbr />Frequency<span class="attachedType"></span></a></li>
  1864. <li><a class="reference" href="#delay%2Cuint32"
  1865. title="delay(ms: uint32)"><wbr />delay<span class="attachedType"></span></a></li>
  1866. <li><a class="reference" href="#addTimer%2Cuint32%2CTimerCallback%2Cpointer"
  1867. title="addTimer(interval: uint32; callback: TimerCallback; param: pointer): TimerID"><wbr />add<wbr />Timer<span class="attachedType">TimerID</span></a></li>
  1868. <li><a class="reference" href="#removeTimer%2CTimerID"
  1869. title="removeTimer(id: TimerID): Bool32"><wbr />remove<wbr />Timer<span class="attachedType">TimerID</span></a></li>
  1870. <li><a class="reference" href="#glLoadLibrary%2Ccstring"
  1871. title="glLoadLibrary(path: cstring): SDL_Return"><wbr />gl<wbr />Load<wbr />Library<span class="attachedType"></span></a></li>
  1872. <li><a class="reference" href="#glGetProcAddress%2Ccstring"
  1873. title="glGetProcAddress(procedure: cstring): pointer"><wbr />gl<wbr />Get<wbr />Proc<wbr />Address<span class="attachedType"></span></a></li>
  1874. <li><a class="reference" href="#glUnloadLibrary"
  1875. title="glUnloadLibrary()"><wbr />gl<wbr />Unload<wbr />Library<span class="attachedType"></span></a></li>
  1876. <li><a class="reference" href="#glExtensionSupported%2Ccstring"
  1877. title="glExtensionSupported(extension: cstring): bool"><wbr />gl<wbr />Extension<wbr />Supported<span class="attachedType"></span></a></li>
  1878. <li><a class="reference" href="#glSetAttribute%2CGLattr%2Ccint"
  1879. title="glSetAttribute(attr: GLattr; value: cint): cint"><wbr />gl<wbr />Set<wbr />Attribute<span class="attachedType"></span></a></li>
  1880. <li><a class="reference" href="#glGetAttribute%2CGLattr%2Ccint"
  1881. title="glGetAttribute(attr: GLattr; value: var cint): cint"><wbr />gl<wbr />Get<wbr />Attribute<span class="attachedType"></span></a></li>
  1882. <li><a class="reference" href="#glCreateContext%2CWindowPtr"
  1883. title="glCreateContext(window: WindowPtr): GlContextPtr"><wbr />gl<wbr />Create<wbr />Context<span class="attachedType">WindowPtr</span></a></li>
  1884. <li><a class="reference" href="#glMakeCurrent%2CWindowPtr%2CGlContextPtr"
  1885. title="glMakeCurrent(window: WindowPtr; context: GlContextPtr): cint"><wbr />gl<wbr />Make<wbr />Current<span class="attachedType">WindowPtr</span></a></li>
  1886. <li><a class="reference" href="#glGetCurrentWindow"
  1887. title="glGetCurrentWindow(): WindowPtr"><wbr />gl<wbr />Get<wbr />Current<wbr />Window<span class="attachedType">WindowPtr</span></a></li>
  1888. <li><a class="reference" href="#glGetCurrentContext"
  1889. title="glGetCurrentContext(): GlContextPtr"><wbr />gl<wbr />Get<wbr />Current<wbr />Context<span class="attachedType">GlContextPtr</span></a></li>
  1890. <li><a class="reference" href="#glGetDrawableSize%2CWindowPtr%2Ccint%2Ccint"
  1891. title="glGetDrawableSize(window: WindowPtr; w, h: var cint)"><wbr />gl<wbr />Get<wbr />Drawable<wbr />Size<span class="attachedType">WindowPtr</span></a></li>
  1892. <li><a class="reference" href="#glSetSwapInterval%2Ccint"
  1893. title="glSetSwapInterval(interval: cint): cint"><wbr />gl<wbr />Set<wbr />Swap<wbr />Interval<span class="attachedType"></span></a></li>
  1894. <li><a class="reference" href="#glGetSwapInterval"
  1895. title="glGetSwapInterval(): cint"><wbr />gl<wbr />Get<wbr />Swap<wbr />Interval<span class="attachedType"></span></a></li>
  1896. <li><a class="reference" href="#glSwapWindow%2CWindowPtr"
  1897. title="glSwapWindow(window: WindowPtr)"><wbr />gl<wbr />Swap<wbr />Window<span class="attachedType">WindowPtr</span></a></li>
  1898. <li><a class="reference" href="#glDeleteContext%2CGlContextPtr"
  1899. title="glDeleteContext(context: GlContextPtr)"><wbr />gl<wbr />Delete<wbr />Context<span class="attachedType">GlContextPtr</span></a></li>
  1900. <li><a class="reference" href="#vulkanLoadLibrary%2Ccstring"
  1901. title="vulkanLoadLibrary(path: cstring): cint"><wbr />vulkan<wbr />Load<wbr />Library<span class="attachedType"></span></a></li>
  1902. <li><a class="reference" href="#vulkanGetVkGetInstanceProcAddr"
  1903. title="vulkanGetVkGetInstanceProcAddr(): pointer"><wbr />vulkan<wbr />Get<wbr />Vk<wbr />Get<wbr />Instance<wbr />Proc<wbr />Addr<span class="attachedType"></span></a></li>
  1904. <li><a class="reference" href="#vulkanUnloadLibrary"
  1905. title="vulkanUnloadLibrary()"><wbr />vulkan<wbr />Unload<wbr />Library<span class="attachedType"></span></a></li>
  1906. <li><a class="reference" href="#vulkanGetInstanceExtensions%2CWindowPtr%2Cptr.cuint%2CcstringArray"
  1907. title="vulkanGetInstanceExtensions(window: WindowPtr; pCount: ptr cuint;
  1908. pNames: cstringArray): Bool32"><wbr />vulkan<wbr />Get<wbr />Instance<wbr />Extensions<span class="attachedType">WindowPtr</span></a></li>
  1909. <li><a class="reference" href="#vulkanCreateSurface%2CWindowPtr%2CVulkanInstance%2Cptr.VulkanSurface"
  1910. title="vulkanCreateSurface(window: WindowPtr; instance: VulkanInstance;
  1911. surface: ptr VulkanSurface): Bool32"><wbr />vulkan<wbr />Create<wbr />Surface<span class="attachedType">WindowPtr</span></a></li>
  1912. <li><a class="reference" href="#vulkanGetDrawableSize%2CWindowPtr%2Cptr.cint%2Cptr.cint"
  1913. title="vulkanGetDrawableSize(window: WindowPtr; w, h: ptr cint)"><wbr />vulkan<wbr />Get<wbr />Drawable<wbr />Size<span class="attachedType">WindowPtr</span></a></li>
  1914. <li><a class="reference" href="#getKeyboardFocus"
  1915. title="getKeyboardFocus(): WindowPtr"><wbr />get<wbr />Keyboard<wbr />Focus<span class="attachedType">WindowPtr</span></a></li>
  1916. <li><a class="reference" href="#getKeyboardState%2Cptr.int"
  1917. 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>
  1918. <li><a class="reference" href="#getModState"
  1919. title="getModState(): Keymod"><wbr />get<wbr />Mod<wbr />State<span class="attachedType"></span></a></li>
  1920. <li><a class="reference" href="#setModState%2CKeymod"
  1921. title="setModState(state: Keymod)"><wbr />set<wbr />Mod<wbr />State<span class="attachedType"></span></a></li>
  1922. <li><a class="reference" href="#getKeyFromScancode%2CScancode"
  1923. title="getKeyFromScancode(scancode: Scancode): cint"><wbr />get<wbr />Key<wbr />From<wbr />Scancode<span class="attachedType"></span></a></li>
  1924. <li><a class="reference" href="#getScancodeFromKey%2Ccint"
  1925. title="getScancodeFromKey(key: cint): Scancode"><wbr />get<wbr />Scancode<wbr />From<wbr />Key<span class="attachedType"></span></a></li>
  1926. <li><a class="reference" href="#getScancodeName%2CScancode"
  1927. title="getScancodeName(scancode: Scancode): cstring"><wbr />get<wbr />Scancode<wbr />Name<span class="attachedType"></span></a></li>
  1928. <li><a class="reference" href="#getScancodeFromName%2Ccstring"
  1929. title="getScancodeFromName(name: cstring): Scancode"><wbr />get<wbr />Scancode<wbr />From<wbr />Name<span class="attachedType"></span></a></li>
  1930. <li><a class="reference" href="#getKeyName%2Ccint"
  1931. title="getKeyName(key: cint): cstring"><wbr />get<wbr />Key<wbr />Name<span class="attachedType"></span></a></li>
  1932. <li><a class="reference" href="#getKeyFromName%2Ccstring"
  1933. title="getKeyFromName(name: cstring): cint"><wbr />get<wbr />Key<wbr />From<wbr />Name<span class="attachedType"></span></a></li>
  1934. <li><a class="reference" href="#startTextInput"
  1935. title="startTextInput()"><wbr />start<wbr />Text<wbr />Input<span class="attachedType"></span></a></li>
  1936. <li><a class="reference" href="#isTextInputActive"
  1937. title="isTextInputActive(): bool"><wbr />is<wbr />Text<wbr />Input<wbr />Active<span class="attachedType"></span></a></li>
  1938. <li><a class="reference" href="#stopTextInput"
  1939. title="stopTextInput()"><wbr />stop<wbr />Text<wbr />Input<span class="attachedType"></span></a></li>
  1940. <li><a class="reference" href="#setTextInputRect%2Cptr.Rect"
  1941. title="setTextInputRect(rect: ptr Rect)"><wbr />set<wbr />Text<wbr />Input<wbr />Rect<span class="attachedType">Rect</span></a></li>
  1942. <li><a class="reference" href="#hasScreenKeyboardSupport"
  1943. title="hasScreenKeyboardSupport(): bool"><wbr />has<wbr />Screen<wbr />Keyboard<wbr />Support<span class="attachedType"></span></a></li>
  1944. <li><a class="reference" href="#isScreenKeyboardShown%2CWindowPtr"
  1945. title="isScreenKeyboardShown(window: WindowPtr): bool"><wbr />is<wbr />Screen<wbr />Keyboard<wbr />Shown<span class="attachedType">WindowPtr</span></a></li>
  1946. <li><a class="reference" href="#getMouseFocus"
  1947. title="getMouseFocus(): WindowPtr"><wbr />get<wbr />Mouse<wbr />Focus<span class="attachedType">WindowPtr</span></a></li>
  1948. <li><a class="reference" href="#getMouseState%2Ccint%2Ccint"
  1949. title="getMouseState(x, y: var cint): uint8"><wbr />get<wbr />Mouse<wbr />State<span class="attachedType"></span></a></li>
  1950. <li><a class="reference" href="#getMouseState%2Cptr.cint%2Cptr.cint"
  1951. title="getMouseState(x, y: ptr cint): uint8"><wbr />get<wbr />Mouse<wbr />State<span class="attachedType"></span></a></li>
  1952. <li><a class="reference" href="#getRelativeMouseState%2Ccint%2Ccint"
  1953. title="getRelativeMouseState(x, y: var cint): uint8"><wbr />get<wbr />Relative<wbr />Mouse<wbr />State<span class="attachedType"></span></a></li>
  1954. <li><a class="reference" href="#warpMouseInWindow%2CWindowPtr%2Ccint%2Ccint"
  1955. title="warpMouseInWindow(window: WindowPtr; x, y: cint)"><wbr />warp<wbr />Mouse<wbr />In<wbr />Window<span class="attachedType">WindowPtr</span></a></li>
  1956. <li><a class="reference" href="#setRelativeMouseMode%2CBool32"
  1957. title="setRelativeMouseMode(enabled: Bool32): SDL_Return"><wbr />set<wbr />Relative<wbr />Mouse<wbr />Mode<span class="attachedType"></span></a></li>
  1958. <li><a class="reference" href="#captureMouse%2CBool32"
  1959. title="captureMouse(enabled: Bool32): SDL_Return"><wbr />capture<wbr />Mouse<span class="attachedType"></span></a></li>
  1960. <li><a class="reference" href="#getRelativeMouseMode"
  1961. title="getRelativeMouseMode(): Bool32"><wbr />get<wbr />Relative<wbr />Mouse<wbr />Mode<span class="attachedType"></span></a></li>
  1962. <li><a class="reference" href="#createCursor%2Cptr.uint8%2Cptr.uint8%2Ccint%2Ccint%2Ccint%2Ccint"
  1963. 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>
  1964. <li><a class="reference" href="#createColorCursor%2CSurfacePtr%2Ccint%2Ccint"
  1965. title="createColorCursor(surface: SurfacePtr; hot_x, hot_y: cint): CursorPtr"><wbr />create<wbr />Color<wbr />Cursor<span class="attachedType">SurfacePtr</span></a></li>
  1966. <li><a class="reference" href="#createSystemCursor%2CSystemCursor"
  1967. title="createSystemCursor(c: SystemCursor): CursorPtr"><wbr />create<wbr />System<wbr />Cursor<span class="attachedType">SystemCursor</span></a></li>
  1968. <li><a class="reference" href="#setCursor%2CCursorPtr"
  1969. title="setCursor(cursor: CursorPtr)"><wbr />set<wbr />Cursor<span class="attachedType">CursorPtr</span></a></li>
  1970. <li><a class="reference" href="#getCursor"
  1971. title="getCursor(): CursorPtr"><wbr />get<wbr />Cursor<span class="attachedType">CursorPtr</span></a></li>
  1972. <li><a class="reference" href="#freeCursor%2CCursorPtr"
  1973. title="freeCursor(cursor: CursorPtr)"><wbr />free<wbr />Cursor<span class="attachedType">CursorPtr</span></a></li>
  1974. <li><a class="reference" href="#showCursor%2Cbool"
  1975. title="showCursor(toggle: bool): Bool32"><wbr />show<wbr />Cursor<span class="attachedType"></span></a></li>
  1976. <li><a class="reference" href="#pumpEvents"
  1977. title="pumpEvents()"><wbr />pump<wbr />Events<span class="attachedType"></span></a></li>
  1978. <li><a class="reference" href="#peepEvents%2Cptr.Event%2Ccint%2CEventaction%2Cuint32%2Cuint32"
  1979. title="peepEvents(events: ptr Event; numevents: cint; action: Eventaction; minType: uint32;
  1980. maxType: uint32): cint"><wbr />peep<wbr />Events<span class="attachedType">Event</span></a></li>
  1981. <li><a class="reference" href="#hasEvent%2Cuint32"
  1982. title="hasEvent(kind: uint32): Bool32"><wbr />has<wbr />Event<span class="attachedType"></span></a></li>
  1983. <li><a class="reference" href="#hasEvents%2Cuint32%2Cuint32"
  1984. title="hasEvents(minType: uint32; maxType: uint32): Bool32"><wbr />has<wbr />Events<span class="attachedType"></span></a></li>
  1985. <li><a class="reference" href="#flushEvent%2Cuint32"
  1986. title="flushEvent(kind: uint32)"><wbr />flush<wbr />Event<span class="attachedType"></span></a></li>
  1987. <li><a class="reference" href="#flushEvents%2Cuint32%2Cuint32"
  1988. title="flushEvents(minType: uint32; maxType: uint32)"><wbr />flush<wbr />Events<span class="attachedType"></span></a></li>
  1989. <li><a class="reference" href="#pollEvent%2CEvent"
  1990. title="pollEvent(event: var Event): Bool32"><wbr />poll<wbr />Event<span class="attachedType">Event</span></a></li>
  1991. <li><a class="reference" href="#waitEvent%2CEvent"
  1992. title="waitEvent(event: var Event): Bool32"><wbr />wait<wbr />Event<span class="attachedType">Event</span></a></li>
  1993. <li><a class="reference" href="#waitEventTimeout%2CEvent%2Ccint"
  1994. title="waitEventTimeout(event: var Event; timeout: cint): Bool32"><wbr />wait<wbr />Event<wbr />Timeout<span class="attachedType">Event</span></a></li>
  1995. <li><a class="reference" href="#pushEvent%2Cptr.Event"
  1996. title="pushEvent(event: ptr Event): cint"><wbr />push<wbr />Event<span class="attachedType">Event</span></a></li>
  1997. <li><a class="reference" href="#setEventFilter%2CEventFilter%2Cpointer"
  1998. title="setEventFilter(filter: EventFilter; userdata: pointer)"><wbr />set<wbr />Event<wbr />Filter<span class="attachedType">EventFilter</span></a></li>
  1999. <li><a class="reference" href="#getEventFilter%2CEventFilter%2Cpointer"
  2000. title="getEventFilter(filter: var EventFilter; userdata: var pointer): Bool32"><wbr />get<wbr />Event<wbr />Filter<span class="attachedType">EventFilter</span></a></li>
  2001. <li><a class="reference" href="#addEventWatch%2CEventFilter%2Cpointer"
  2002. title="addEventWatch(filter: EventFilter; userdata: pointer)"><wbr />add<wbr />Event<wbr />Watch<span class="attachedType">EventFilter</span></a></li>
  2003. <li><a class="reference" href="#delEventWatch%2CEventFilter%2Cpointer"
  2004. title="delEventWatch(filter: EventFilter; userdata: pointer)"><wbr />del<wbr />Event<wbr />Watch<span class="attachedType">EventFilter</span></a></li>
  2005. <li><a class="reference" href="#filterEvents%2CEventFilter%2Cpointer"
  2006. title="filterEvents(filter: EventFilter; userdata: pointer)"><wbr />filter<wbr />Events<span class="attachedType">EventFilter</span></a></li>
  2007. <li><a class="reference" href="#eventState%2CEventType%2Ccint"
  2008. title="eventState(kind: EventType; state: cint): uint8"><wbr />event<wbr />State<span class="attachedType"></span></a></li>
  2009. <li><a class="reference" href="#registerEvents%2Ccint"
  2010. title="registerEvents(numevents: cint): uint32"><wbr />register<wbr />Events<span class="attachedType"></span></a></li>
  2011. <li><a class="reference" href="#setError%2Ccstring"
  2012. title="setError(fmt: cstring)"><wbr />set<wbr />Error<span class="attachedType"></span></a></li>
  2013. <li><a class="reference" href="#getError"
  2014. title="getError(): cstring"><wbr />get<wbr />Error<span class="attachedType"></span></a></li>
  2015. <li><a class="reference" href="#clearError"
  2016. title="clearError()"><wbr />clear<wbr />Error<span class="attachedType"></span></a></li>
  2017. <li><a class="reference" href="#getPixelFormatName%2Cuint32"
  2018. title="getPixelFormatName(format: uint32): cstring"><wbr />get<wbr />Pixel<wbr />Format<wbr />Name<span class="attachedType"></span></a></li>
  2019. <li><a class="reference" href="#pixelFormatEnumToMasks%2Cuint32%2Ccint%2Cuint32%2Cuint32%2Cuint32%2Cuint32"
  2020. title="pixelFormatEnumToMasks(format: uint32; bpp: var cint;
  2021. Rmask, Gmask, Bmask, Amask: var uint32): bool"><wbr />pixel<wbr />Format<wbr />Enum<wbr />To<wbr />Masks<span class="attachedType"></span></a></li>
  2022. <li><a class="reference" href="#masksToPixelFormatEnum%2Ccint%2Cuint32%2Cuint32%2Cuint32%2Cuint32"
  2023. 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>
  2024. <li><a class="reference" href="#allocFormat%2Cuint32"
  2025. title="allocFormat(pixelFormat: uint32): ptr PixelFormat"><wbr />alloc<wbr />Format<span class="attachedType"></span></a></li>
  2026. <li><a class="reference" href="#freeFormat%2Cptr.PixelFormat"
  2027. title="freeFormat(format: ptr PixelFormat)"><wbr />free<wbr />Format<span class="attachedType"></span></a></li>
  2028. <li><a class="reference" href="#allocPalette%2Ccint"
  2029. title="allocPalette(numColors: cint): ptr Palette"><wbr />alloc<wbr />Palette<span class="attachedType"></span></a></li>
  2030. <li><a class="reference" href="#setPixelFormatPalette%2Cptr.PixelFormat%2Cptr.Palette"
  2031. title="setPixelFormatPalette(format: ptr PixelFormat; palette: ptr Palette): cint"><wbr />set<wbr />Pixel<wbr />Format<wbr />Palette<span class="attachedType"></span></a></li>
  2032. <li><a class="reference" href="#setPaletteColors%2Cptr.Palette%2Cptr.Color%2Ccint%2Ccint"
  2033. 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>
  2034. <li><a class="reference" href="#freePalette%2Cptr.Palette"
  2035. title="freePalette(palette: ptr Palette)"><wbr />free<wbr />Palette<span class="attachedType"></span></a></li>
  2036. <li><a class="reference" href="#mapRGB%2Cptr.PixelFormat%2Cuint8%2Cuint8%2Cuint8"
  2037. title="mapRGB(format: ptr PixelFormat; r, g, b: uint8): uint32"><wbr />map<wbr />RGB<span class="attachedType"></span></a></li>
  2038. <li><a class="reference" href="#mapRGBA%2Cptr.PixelFormat%2Cuint8%2Cuint8%2Cuint8%2Cuint8"
  2039. title="mapRGBA(format: ptr PixelFormat; r, g, b, a: uint8): uint32"><wbr />map<wbr />RGBA<span class="attachedType"></span></a></li>
  2040. <li><a class="reference" href="#getRGB%2Cuint32%2Cptr.PixelFormat%2Cuint8%2Cuint8%2Cuint8"
  2041. title="getRGB(pixel: uint32; format: ptr PixelFormat; r, g, b: var uint8)"><wbr />get<wbr />RGB<span class="attachedType"></span></a></li>
  2042. <li><a class="reference" href="#getRGBA%2Cuint32%2Cptr.PixelFormat%2Cuint8%2Cuint8%2Cuint8%2Cuint8"
  2043. title="getRGBA(pixel: uint32; format: ptr PixelFormat; r, g, b, a: var uint8)"><wbr />get<wbr />RGBA<span class="attachedType"></span></a></li>
  2044. <li><a class="reference" href="#calculateGammaRamp%2Ccfloat%2Cptr.uint16"
  2045. title="calculateGammaRamp(gamma: cfloat; ramp: ptr uint16)"><wbr />calculate<wbr />Gamma<wbr />Ramp<span class="attachedType"></span></a></li>
  2046. <li><a class="reference" href="#setClipboardText%2Ccstring"
  2047. title="setClipboardText(text: cstring): cint"><wbr />set<wbr />Clipboard<wbr />Text<span class="attachedType"></span></a></li>
  2048. <li><a class="reference" href="#getClipboardText"
  2049. title="getClipboardText(): cstring"><wbr />get<wbr />Clipboard<wbr />Text<span class="attachedType"></span></a></li>
  2050. <li><a class="reference" href="#hasClipboardText"
  2051. title="hasClipboardText(): Bool32"><wbr />has<wbr />Clipboard<wbr />Text<span class="attachedType"></span></a></li>
  2052. <li><a class="reference" href="#freeClipboardText%2Ccstring"
  2053. title="freeClipboardText(text: cstring)"><wbr />free<wbr />Clipboard<wbr />Text<span class="attachedType"></span></a></li>
  2054. <li><a class="reference" href="#getNumTouchFingers%2CTouchID"
  2055. title="getNumTouchFingers(id: TouchID): cint"><wbr />get<wbr />Num<wbr />Touch<wbr />Fingers<span class="attachedType">TouchID</span></a></li>
  2056. <li><a class="reference" href="#getTouchFinger%2CTouchID%2Ccint"
  2057. title="getTouchFinger(id: TouchID; index: cint): ptr Finger"><wbr />get<wbr />Touch<wbr />Finger<span class="attachedType">TouchID</span></a></li>
  2058. <li><a class="reference" href="#getEventState%2CEventType"
  2059. title="getEventState(kind: EventType): uint8"><wbr />get<wbr />Event<wbr />State<span class="attachedType"></span></a></li>
  2060. <li><a class="reference" href="#createRGBSurface%2Cint32%2Cint32%2Cint32"
  2061. title="createRGBSurface(width, height, depth: int32): SurfacePtr"><wbr />create<wbr />RGBSurface<span class="attachedType">SurfacePtr</span></a></li>
  2062. <li><a class="reference" href="#getSize%2CWindowPtr"
  2063. title="getSize(window: WindowPtr): Point"><wbr />get<wbr />Size<span class="attachedType">WindowPtr</span></a></li>
  2064. <li><a class="reference" href="#destroyTexture%2CTexturePtr"
  2065. title="destroyTexture(texture: TexturePtr)"><wbr />destroy<wbr />Texture<span class="attachedType">TexturePtr</span></a></li>
  2066. <li><a class="reference" href="#destroyRenderer%2CRendererPtr"
  2067. title="destroyRenderer(renderer: RendererPtr)"><wbr />destroy<wbr />Renderer<span class="attachedType">RendererPtr</span></a></li>
  2068. <li><a class="reference" href="#destroy%2CWindowPtr"
  2069. title="destroy(window: WindowPtr)"><wbr />destroy<span class="attachedType">WindowPtr</span></a></li>
  2070. <li><a class="reference" href="#destroy%2CCursorPtr"
  2071. title="destroy(cursor: CursorPtr)"><wbr />destroy<span class="attachedType">CursorPtr</span></a></li>
  2072. <li><a class="reference" href="#destroy%2CSurfacePtr"
  2073. title="destroy(surface: SurfacePtr)"><wbr />destroy<span class="attachedType">SurfacePtr</span></a></li>
  2074. <li><a class="reference" href="#destroy%2Cptr.PixelFormat"
  2075. title="destroy(format: ptr PixelFormat)"><wbr />destroy<span class="attachedType"></span></a></li>
  2076. <li><a class="reference" href="#destroy%2Cptr.Palette"
  2077. title="destroy(palette: ptr Palette)"><wbr />destroy<span class="attachedType"></span></a></li>
  2078. <li><a class="reference" href="#blitSurface%2CSurfacePtr%2Cptr.Rect%2CSurfacePtr%2Cptr.Rect"
  2079. 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>
  2080. <li><a class="reference" href="#blitScaled%2CSurfacePtr%2Cptr.Rect%2CSurfacePtr%2Cptr.Rect"
  2081. 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>
  2082. <li><a class="reference" href="#loadBMP%2Cstring"
  2083. title="loadBMP(file: string): SurfacePtr"><wbr />load<wbr />BMP<span class="attachedType">SurfacePtr</span></a></li>
  2084. <li><a class="reference" href="#saveBMP%2CSurfacePtr%2Cstring"
  2085. title="saveBMP(surface: SurfacePtr; file: string): SDL_Return"><wbr />save<wbr />BMP<span class="attachedType">SurfacePtr</span></a></li>
  2086. <li><a class="reference" href="#color%2Crange%5B%5D%2Crange%5B%5D%2Crange%5B%5D%2Crange%5B%5D"
  2087. title="color(r, g, b, a: range[0 .. 255]): Color"><wbr />color<span class="attachedType"></span></a></li>
  2088. <li><a class="reference" href="#rect%2Ccint%2Ccint"
  2089. title="rect(x, y: cint; w = cint(0); h = cint(0)): Rect"><wbr />rect<span class="attachedType">Rect</span></a></li>
  2090. <li><a class="reference" href="#point%2CT%2CT"
  2091. title="point[T: SomeNumber](x, y: T): Point"><wbr />point<span class="attachedType">Point</span></a></li>
  2092. <li><a class="reference" href="#contains%2CRect%2CPoint"
  2093. title="contains(some: Rect; point: Point): bool"><wbr />contains<span class="attachedType">Rect</span></a></li>
  2094. <li><a class="reference" href="#setHint%2Ccstring%2Ccstring"
  2095. title="setHint(name: cstring; value: cstring): bool"><wbr />set<wbr />Hint<span class="attachedType"></span></a></li>
  2096. <li><a class="reference" href="#setHintWithPriority%2Ccstring%2Ccstring%2Ccint"
  2097. title="setHintWithPriority(name: cstring; value: cstring; priority: cint): bool"><wbr />set<wbr />Hint<wbr />With<wbr />Priority<span class="attachedType"></span></a></li>
  2098. <li><a class="reference" href="#getHint%2Ccstring"
  2099. title="getHint(name: cstring): cstring"><wbr />get<wbr />Hint<span class="attachedType"></span></a></li>
  2100. <li><a class="reference" href="#size%2CRWopsPtr"
  2101. title="size(ctx: RWopsPtr): int64"><wbr />size<span class="attachedType">RWopsPtr</span></a></li>
  2102. <li><a class="reference" href="#seek%2CRWopsPtr%2Cint64%2Ccint"
  2103. title="seek(ctx: RWopsPtr; offset: int64; whence: cint): int64"><wbr />seek<span class="attachedType">RWopsPtr</span></a></li>
  2104. <li><a class="reference" href="#read%2CRWopsPtr%2Cpointer%2Ccsize_t%2Ccsize_t"
  2105. title="read(ctx: RWopsPtr; `ptr`: pointer; size, maxnum: csize_t): csize_t"><wbr />read<span class="attachedType">RWopsPtr</span></a></li>
  2106. <li><a class="reference" href="#write%2CRWopsPtr%2Cpointer%2Ccsize_t%2Ccsize_t"
  2107. title="write(ctx: RWopsPtr; `ptr`: pointer; size, num: csize_t): csize_t"><wbr />write<span class="attachedType">RWopsPtr</span></a></li>
  2108. <li><a class="reference" href="#close%2CRWopsPtr"
  2109. title="close(ctx: RWopsPtr): cint"><wbr />close<span class="attachedType">RWopsPtr</span></a></li>
  2110. </ul>
  2111. </li>
  2112. <li>
  2113. <a class="reference reference-toplevel" href="#16" id="66">Converters</a>
  2114. <ul class="simple simple-toc-section">
  2115. <li><a class="reference" href="#toInt.c%2CKeymod"
  2116. title="toInt(some: Keymod): cint"><wbr />to<wbr />Int<span class="attachedType"></span></a></li>
  2117. <li><a class="reference" href="#toBool.c%2CBool32"
  2118. title="toBool(some: Bool32): bool"><wbr />to<wbr />Bool<span class="attachedType"></span></a></li>
  2119. <li><a class="reference" href="#toBool.c%2CSDL_Return"
  2120. title="toBool(some: SDL_Return): bool"><wbr />to<wbr />Bool<span class="attachedType"></span></a></li>
  2121. <li><a class="reference" href="#toCint.c%2CTextureAccess"
  2122. title="toCint(some: TextureAccess): cint"><wbr />to<wbr />Cint<span class="attachedType"></span></a></li>
  2123. </ul>
  2124. </li>
  2125. <li>
  2126. <a class="reference reference-toplevel" href="#18" id="68">Templates</a>
  2127. <ul class="simple simple-toc-section">
  2128. <li><a class="reference" href="#KMOD_CTRL.t"
  2129. title="KMOD_CTRL(): untyped"><wbr />KMOD_<wbr />CTRL<span class="attachedType"></span></a></li>
  2130. <li><a class="reference" href="#KMOD_SHIFT.t"
  2131. title="KMOD_SHIFT(): untyped"><wbr />KMOD_<wbr />SHIFT<span class="attachedType"></span></a></li>
  2132. <li><a class="reference" href="#KMOD_ALT.t"
  2133. title="KMOD_ALT(): untyped"><wbr />KMOD_<wbr />ALT<span class="attachedType"></span></a></li>
  2134. <li><a class="reference" href="#KMOD_GUI.t"
  2135. title="KMOD_GUI(): untyped"><wbr />KMOD_<wbr />GUI<span class="attachedType"></span></a></li>
  2136. <li><a class="reference" href="#SDL_DEFINE_PIXELFOURCC.t%2Cchar%2Cchar%2Cchar%2Cchar"
  2137. title="SDL_DEFINE_PIXELFOURCC(A, B, C, D: char): uint32"><wbr />SDL_<wbr />DEFINE_<wbr />PIXELFOURCC<span class="attachedType"></span></a></li>
  2138. <li><a class="reference" href="#SDL_DEFINE_PIXELFORMAT.t%2Cint%2Cint%2Cint%2Cint%2Cint"
  2139. title="SDL_DEFINE_PIXELFORMAT(`type`, order, layout, bits, bytes: int): uint32"><wbr />SDL_<wbr />DEFINE_<wbr />PIXELFORMAT<span class="attachedType"></span></a></li>
  2140. <li><a class="reference" href="#SDL_PIXELFLAG.t%2Cuint32"
  2141. title="SDL_PIXELFLAG(X: uint32): int"><wbr />SDL_<wbr />PIXELFLAG<span class="attachedType"></span></a></li>
  2142. <li><a class="reference" href="#SDL_PIXELTYPE.t%2Cuint32"
  2143. title="SDL_PIXELTYPE(X: uint32): int"><wbr />SDL_<wbr />PIXELTYPE<span class="attachedType"></span></a></li>
  2144. <li><a class="reference" href="#SDL_PIXELORDER.t%2Cuint32"
  2145. title="SDL_PIXELORDER(X: uint32): int"><wbr />SDL_<wbr />PIXELORDER<span class="attachedType"></span></a></li>
  2146. <li><a class="reference" href="#SDL_PIXELLAYOUT.t%2Cuint32"
  2147. title="SDL_PIXELLAYOUT(X: uint32): int"><wbr />SDL_<wbr />PIXELLAYOUT<span class="attachedType"></span></a></li>
  2148. <li><a class="reference" href="#SDL_BITSPERPIXEL.t%2Cuint32"
  2149. title="SDL_BITSPERPIXEL(X: uint32): int"><wbr />SDL_<wbr />BITSPERPIXEL<span class="attachedType"></span></a></li>
  2150. <li><a class="reference" href="#SDL_BYTESPERPIXEL.t%2Cuint32"
  2151. title="SDL_BYTESPERPIXEL(X: uint32): int"><wbr />SDL_<wbr />BYTESPERPIXEL<span class="attachedType"></span></a></li>
  2152. <li><a class="reference" href="#SDL_ISPIXELFORMAT_INDEXED.t%2Cuint32"
  2153. title="SDL_ISPIXELFORMAT_INDEXED(format: uint32): bool"><wbr />SDL_<wbr />ISPIXELFORMAT_<wbr />INDEXED<span class="attachedType"></span></a></li>
  2154. <li><a class="reference" href="#SDL_ISPIXELFORMAT_ALPHA.t%2Cuint32"
  2155. title="SDL_ISPIXELFORMAT_ALPHA(format: uint32): bool"><wbr />SDL_<wbr />ISPIXELFORMAT_<wbr />ALPHA<span class="attachedType"></span></a></li>
  2156. <li><a class="reference" href="#SDL_ISPIXELFORMAT_FOURCC.t%2Cuint32"
  2157. title="SDL_ISPIXELFORMAT_FOURCC(format: uint32): bool"><wbr />SDL_<wbr />ISPIXELFORMAT_<wbr />FOURCC<span class="attachedType"></span></a></li>
  2158. <li><a class="reference" href="#SDL_MUSTLOCK.t%2CSurfacePtr"
  2159. title="SDL_MUSTLOCK(some: SurfacePtr): bool"><wbr />SDL_<wbr />MUSTLOCK<span class="attachedType">SurfacePtr</span></a></li>
  2160. <li><a class="reference" href="#SDL_WINDOWPOS_UNDEFINED_DISPLAY.t%2Ccint"
  2161. title="SDL_WINDOWPOS_UNDEFINED_DISPLAY(X: cint): untyped"><wbr />SDL_<wbr />WINDOWPOS_<wbr />UNDEFINED_<wbr />DISPLAY<span class="attachedType"></span></a></li>
  2162. <li><a class="reference" href="#SDL_WINDOWPOS_ISUNDEFINED.t%2Ccint"
  2163. title="SDL_WINDOWPOS_ISUNDEFINED(X: cint): bool"><wbr />SDL_<wbr />WINDOWPOS_<wbr />ISUNDEFINED<span class="attachedType"></span></a></li>
  2164. <li><a class="reference" href="#SDL_WINDOWPOS_CENTERED_DISPLAY.t%2Ccint"
  2165. title="SDL_WINDOWPOS_CENTERED_DISPLAY(X: cint): cint"><wbr />SDL_<wbr />WINDOWPOS_<wbr />CENTERED_<wbr />DISPLAY<span class="attachedType"></span></a></li>
  2166. <li><a class="reference" href="#SDL_WINDOWPOS_ISCENTERED.t%2Ccint"
  2167. title="SDL_WINDOWPOS_ISCENTERED(X: cint): bool"><wbr />SDL_<wbr />WINDOWPOS_<wbr />ISCENTERED<span class="attachedType"></span></a></li>
  2168. <li><a class="reference" href="#SDL_BUTTON.t%2Cuint8"
  2169. title="SDL_BUTTON(x: uint8): uint8"><wbr />SDL_<wbr />BUTTON<span class="attachedType"></span></a></li>
  2170. </ul>
  2171. </li>
  2172. </ul>
  2173. </div>
  2174. <div class="nine columns" id="content">
  2175. <div id="tocRoot"></div>
  2176. <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>
  2177. <div class="section" id="7">
  2178. <h1><a class="toc-backref" href="#7">Types</a></h1>
  2179. <dl class="item">
  2180. <a id="Scancode"></a>
  2181. <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>
  2182. <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>
  2183. <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>
  2184. <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>
  2185. <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>
  2186. <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>
  2187. <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>
  2188. <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>
  2189. <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>
  2190. <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>
  2191. <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>
  2192. <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>
  2193. <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>
  2194. <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>
  2195. <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>
  2196. <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>
  2197. <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>
  2198. <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>
  2199. <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>
  2200. <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>
  2201. <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>
  2202. <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>
  2203. <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>
  2204. <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>
  2205. <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>
  2206. <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>
  2207. <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>
  2208. <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>
  2209. <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>
  2210. <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>
  2211. <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>
  2212. <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>
  2213. <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>
  2214. <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>
  2215. <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>
  2216. <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>
  2217. <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>
  2218. <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>
  2219. <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>
  2220. <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>
  2221. <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>
  2222. <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>
  2223. <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>
  2224. <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>
  2225. <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>
  2226. <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>
  2227. <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>
  2228. <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>
  2229. <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>
  2230. <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>
  2231. <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>
  2232. <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>
  2233. <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>
  2234. <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>
  2235. <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>
  2236. <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>
  2237. <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>
  2238. <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>
  2239. <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>
  2240. <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>
  2241. <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>
  2242. <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>
  2243. <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>
  2244. <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>
  2245. <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>
  2246. <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>
  2247. <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>
  2248. <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>
  2249. <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>
  2250. <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>
  2251. <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>
  2252. <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>
  2253. <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>
  2254. <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>
  2255. <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>
  2256. <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>
  2257. <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>
  2258. <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>
  2259. <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>
  2260. <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>
  2261. <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>
  2262. <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>
  2263. <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>
  2264. <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>
  2265. <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>
  2266. <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>
  2267. <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>
  2268. <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>
  2269. <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>
  2270. <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>
  2271. <dd>
  2272. </dd>
  2273. <a id="Keymod"></a>
  2274. <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>
  2275. <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>
  2276. <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>
  2277. <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>
  2278. <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>
  2279. <span class="Identifier">KMOD_RESERVED</span> <span class="Other">=</span> <span class="DecNumber">0x00008000</span></pre></dt>
  2280. <dd>
  2281. </dd>
  2282. <a id="WindowEventID"></a>
  2283. <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>
  2284. <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>
  2285. <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>
  2286. <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>
  2287. <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>
  2288. <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>
  2289. <span class="Identifier">WindowEvent_HitTest</span></pre></dt>
  2290. <dd>
  2291. </dd>
  2292. <a id="EventType"></a>
  2293. <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>
  2294. <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>
  2295. <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>
  2296. <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>
  2297. <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>
  2298. <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>
  2299. <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>
  2300. <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>
  2301. <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>
  2302. <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>
  2303. <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>
  2304. <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>
  2305. <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>
  2306. <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>
  2307. <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>
  2308. <span class="Identifier">LastEvent</span> <span class="Other">=</span> <span class="DecNumber">0x0000FFFF</span></pre></dt>
  2309. <dd>
  2310. </dd>
  2311. <a id="Event"></a>
  2312. <dt><pre><a href="sdl2.html#Event"><span class="Identifier">Event</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2313. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a>
  2314. <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>
  2315. </pre></dt>
  2316. <dd>
  2317. </dd>
  2318. <a id="QuitEventPtr"></a>
  2319. <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>
  2320. <dd>
  2321. </dd>
  2322. <a id="QuitEventObj"></a>
  2323. <dt><pre><a href="sdl2.html#QuitEventObj"><span class="Identifier">QuitEventObj</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2324. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a>
  2325. <span class="Identifier">timestamp</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2326. </pre></dt>
  2327. <dd>
  2328. </dd>
  2329. <a id="WindowEventPtr"></a>
  2330. <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>
  2331. <dd>
  2332. </dd>
  2333. <a id="WindowEventObj"></a>
  2334. <dt><pre><a href="sdl2.html#WindowEventObj"><span class="Identifier">WindowEventObj</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2335. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a>
  2336. <span class="Identifier">timestamp</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2337. <span class="Identifier">windowID</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2338. <span class="Identifier">event</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#WindowEventID"><span class="Identifier">WindowEventID</span></a>
  2339. <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>
  2340. </pre></dt>
  2341. <dd>
  2342. </dd>
  2343. <a id="KeyboardEventPtr"></a>
  2344. <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>
  2345. <dd>
  2346. </dd>
  2347. <a id="KeyboardEventObj"></a>
  2348. <dt><pre><a href="sdl2.html#KeyboardEventObj"><span class="Identifier">KeyboardEventObj</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2349. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a>
  2350. <span class="Identifier">timestamp</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2351. <span class="Identifier">windowID</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2352. <span class="Identifier">state</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint8</span>
  2353. <span class="Identifier">repeat</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">bool</span>
  2354. <span class="Identifier">keysym</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#KeySym"><span class="Identifier">KeySym</span></a>
  2355. <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>
  2356. </pre></dt>
  2357. <dd>
  2358. </dd>
  2359. <a id="TextEditingEventPtr"></a>
  2360. <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>
  2361. <dd>
  2362. </dd>
  2363. <a id="TextEditingEventObj"></a>
  2364. <dt><pre><a href="sdl2.html#TextEditingEventObj"><span class="Identifier">TextEditingEventObj</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2365. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a>
  2366. <span class="Identifier">timestamp</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2367. <span class="Identifier">windowID</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2368. <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>
  2369. <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>
  2370. <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>
  2371. </pre></dt>
  2372. <dd>
  2373. </dd>
  2374. <a id="TextInputEventPtr"></a>
  2375. <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>
  2376. <dd>
  2377. </dd>
  2378. <a id="TextInputEventObj"></a>
  2379. <dt><pre><a href="sdl2.html#TextInputEventObj"><span class="Identifier">TextInputEventObj</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2380. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a>
  2381. <span class="Identifier">timestamp</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2382. <span class="Identifier">windowID</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2383. <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>
  2384. <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>
  2385. </pre></dt>
  2386. <dd>
  2387. </dd>
  2388. <a id="MouseMotionEventPtr"></a>
  2389. <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>
  2390. <dd>
  2391. </dd>
  2392. <a id="MouseMotionEventObj"></a>
  2393. <dt><pre><a href="sdl2.html#MouseMotionEventObj"><span class="Identifier">MouseMotionEventObj</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2394. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a>
  2395. <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>
  2396. <span class="Identifier">which</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2397. <span class="Identifier">state</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2398. <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>
  2399. <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>
  2400. </pre></dt>
  2401. <dd>
  2402. </dd>
  2403. <a id="MouseButtonEventPtr"></a>
  2404. <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>
  2405. <dd>
  2406. </dd>
  2407. <a id="MouseButtonEventObj"></a>
  2408. <dt><pre><a href="sdl2.html#MouseButtonEventObj"><span class="Identifier">MouseButtonEventObj</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2409. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a>
  2410. <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>
  2411. <span class="Identifier">which</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2412. <span class="Identifier">button</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint8</span>
  2413. <span class="Identifier">state</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint8</span>
  2414. <span class="Identifier">clicks</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint8</span>
  2415. <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>
  2416. <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>
  2417. </pre></dt>
  2418. <dd>
  2419. </dd>
  2420. <a id="MouseWheelEventPtr"></a>
  2421. <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>
  2422. <dd>
  2423. </dd>
  2424. <a id="MouseWheelEventObj"></a>
  2425. <dt><pre><a href="sdl2.html#MouseWheelEventObj"><span class="Identifier">MouseWheelEventObj</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2426. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a>
  2427. <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>
  2428. <span class="Identifier">which</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2429. <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>
  2430. <span class="Identifier">direction</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#MouseWheelDirection"><span class="Identifier">MouseWheelDirection</span></a>
  2431. </pre></dt>
  2432. <dd>
  2433. </dd>
  2434. <a id="JoyAxisEventPtr"></a>
  2435. <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>
  2436. <dd>
  2437. </dd>
  2438. <a id="JoyAxisEventObj"></a>
  2439. <dt><pre><a href="sdl2.html#JoyAxisEventObj"><span class="Identifier">JoyAxisEventObj</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2440. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a>
  2441. <span class="Identifier">timestamp</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2442. <span class="Identifier">which</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">int32</span>
  2443. <span class="Identifier">axis</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint8</span>
  2444. <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>
  2445. <span class="Identifier">value</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">int16</span>
  2446. </pre></dt>
  2447. <dd>
  2448. </dd>
  2449. <a id="JoyBallEventPtr"></a>
  2450. <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>
  2451. <dd>
  2452. </dd>
  2453. <a id="JoyBallEventObj"></a>
  2454. <dt><pre><a href="sdl2.html#JoyBallEventObj"><span class="Identifier">JoyBallEventObj</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2455. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a>
  2456. <span class="Identifier">timestamp</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2457. <span class="Identifier">which</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">int32</span>
  2458. <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>
  2459. <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>
  2460. </pre></dt>
  2461. <dd>
  2462. </dd>
  2463. <a id="JoyHatEventPtr"></a>
  2464. <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>
  2465. <dd>
  2466. </dd>
  2467. <a id="JoyHatEventObj"></a>
  2468. <dt><pre><a href="sdl2.html#JoyHatEventObj"><span class="Identifier">JoyHatEventObj</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2469. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a>
  2470. <span class="Identifier">timestamp</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2471. <span class="Identifier">which</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">int32</span>
  2472. <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>
  2473. </pre></dt>
  2474. <dd>
  2475. </dd>
  2476. <a id="JoyButtonEventPtr"></a>
  2477. <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>
  2478. <dd>
  2479. </dd>
  2480. <a id="JoyButtonEventObj"></a>
  2481. <dt><pre><a href="sdl2.html#JoyButtonEventObj"><span class="Identifier">JoyButtonEventObj</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2482. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a>
  2483. <span class="Identifier">timestamp</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2484. <span class="Identifier">which</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">int32</span>
  2485. <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>
  2486. </pre></dt>
  2487. <dd>
  2488. </dd>
  2489. <a id="JoyDeviceEventPtr"></a>
  2490. <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>
  2491. <dd>
  2492. </dd>
  2493. <a id="JoyDeviceEventObj"></a>
  2494. <dt><pre><a href="sdl2.html#JoyDeviceEventObj"><span class="Identifier">JoyDeviceEventObj</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2495. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a>
  2496. <span class="Identifier">timestamp</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2497. <span class="Identifier">which</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">int32</span>
  2498. </pre></dt>
  2499. <dd>
  2500. </dd>
  2501. <a id="ControllerAxisEventPtr"></a>
  2502. <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>
  2503. <dd>
  2504. </dd>
  2505. <a id="ControllerAxisEventObj"></a>
  2506. <dt><pre><a href="sdl2.html#ControllerAxisEventObj"><span class="Identifier">ControllerAxisEventObj</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2507. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a>
  2508. <span class="Identifier">timestamp</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2509. <span class="Identifier">which</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">int32</span>
  2510. <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>
  2511. <span class="Identifier">value</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">int16</span>
  2512. </pre></dt>
  2513. <dd>
  2514. </dd>
  2515. <a id="ControllerButtonEventPtr"></a>
  2516. <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>
  2517. <dd>
  2518. </dd>
  2519. <a id="ControllerButtonEventObj"></a>
  2520. <dt><pre><a href="sdl2.html#ControllerButtonEventObj"><span class="Identifier">ControllerButtonEventObj</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2521. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a>
  2522. <span class="Identifier">timestamp</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2523. <span class="Identifier">which</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">int32</span>
  2524. <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>
  2525. </pre></dt>
  2526. <dd>
  2527. </dd>
  2528. <a id="ControllerDeviceEventPtr"></a>
  2529. <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>
  2530. <dd>
  2531. </dd>
  2532. <a id="ControllerDeviceEventObj"></a>
  2533. <dt><pre><a href="sdl2.html#ControllerDeviceEventObj"><span class="Identifier">ControllerDeviceEventObj</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2534. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a>
  2535. <span class="Identifier">timestamp</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2536. <span class="Identifier">which</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">int32</span>
  2537. </pre></dt>
  2538. <dd>
  2539. </dd>
  2540. <a id="TouchID"></a>
  2541. <dt><pre><a href="sdl2.html#TouchID"><span class="Identifier">TouchID</span></a> <span class="Other">=</span> <span class="Identifier">int64</span></pre></dt>
  2542. <dd>
  2543. </dd>
  2544. <a id="FingerID"></a>
  2545. <dt><pre><a href="sdl2.html#FingerID"><span class="Identifier">FingerID</span></a> <span class="Other">=</span> <span class="Identifier">int64</span></pre></dt>
  2546. <dd>
  2547. </dd>
  2548. <a id="TouchFingerEventPtr"></a>
  2549. <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>
  2550. <dd>
  2551. </dd>
  2552. <a id="TouchFingerEventObj"></a>
  2553. <dt><pre><a href="sdl2.html#TouchFingerEventObj"><span class="Identifier">TouchFingerEventObj</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2554. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a>
  2555. <span class="Identifier">timestamp</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2556. <span class="Identifier">touchID</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#TouchID"><span class="Identifier">TouchID</span></a>
  2557. <span class="Identifier">fingerID</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#FingerID"><span class="Identifier">FingerID</span></a>
  2558. <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>
  2559. <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>
  2560. </pre></dt>
  2561. <dd>
  2562. </dd>
  2563. <a id="MultiGestureEventPtr"></a>
  2564. <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>
  2565. <dd>
  2566. </dd>
  2567. <a id="MultiGestureEventObj"></a>
  2568. <dt><pre><a href="sdl2.html#MultiGestureEventObj"><span class="Identifier">MultiGestureEventObj</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2569. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a>
  2570. <span class="Identifier">timestamp</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2571. <span class="Identifier">touchID</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#TouchID"><span class="Identifier">TouchID</span></a>
  2572. <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>
  2573. <span class="Identifier">numFingers</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint16</span>
  2574. </pre></dt>
  2575. <dd>
  2576. </dd>
  2577. <a id="Finger"></a>
  2578. <dt><pre><a href="sdl2.html#Finger"><span class="Identifier">Finger</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2579. <span class="Identifier">id</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#FingerID"><span class="Identifier">FingerID</span></a>
  2580. <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>
  2581. <span class="Identifier">pressure</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">cfloat</span>
  2582. </pre></dt>
  2583. <dd>
  2584. </dd>
  2585. <a id="DollarGestureEventPtr"></a>
  2586. <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>
  2587. <dd>
  2588. </dd>
  2589. <a id="DollarGestureEventObj"></a>
  2590. <dt><pre><a href="sdl2.html#DollarGestureEventObj"><span class="Identifier">DollarGestureEventObj</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2591. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a>
  2592. <span class="Identifier">timestamp</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2593. <span class="Identifier">touchID</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#TouchID"><span class="Identifier">TouchID</span></a>
  2594. <span class="Identifier">gestureID</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">GestureID</span>
  2595. <span class="Identifier">numFingers</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2596. <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>
  2597. </pre></dt>
  2598. <dd>
  2599. </dd>
  2600. <a id="DropEventPtr"></a>
  2601. <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>
  2602. <dd>
  2603. </dd>
  2604. <a id="DropEventObj"></a>
  2605. <dt><pre><a href="sdl2.html#DropEventObj"><span class="Identifier">DropEventObj</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2606. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a>
  2607. <span class="Identifier">timestamp</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2608. <span class="Identifier">file</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">cstring</span>
  2609. </pre></dt>
  2610. <dd>
  2611. </dd>
  2612. <a id="UserEventPtr"></a>
  2613. <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>
  2614. <dd>
  2615. </dd>
  2616. <a id="UserEventObj"></a>
  2617. <dt><pre><a href="sdl2.html#UserEventObj"><span class="Identifier">UserEventObj</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2618. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#EventType"><span class="Identifier">EventType</span></a>
  2619. <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>
  2620. <span class="Identifier">code</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">int32</span>
  2621. <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>
  2622. </pre></dt>
  2623. <dd>
  2624. </dd>
  2625. <a id="Eventaction"></a>
  2626. <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>
  2627. <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>
  2628. <dd>
  2629. </dd>
  2630. <a id="EventFilter"></a>
  2631. <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>
  2632. <dd>
  2633. </dd>
  2634. <a id="SDL_Return"></a>
  2635. <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>
  2636. <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>
  2637. <span class="Comment">## Return value for many SDL functions. Any function that returns like this \</span>
  2638. <span class="Comment">## should also be discardable</span></pre></dt>
  2639. <dd>
  2640. </dd>
  2641. <a id="Bool32"></a>
  2642. <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>
  2643. <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>
  2644. <span class="Comment">## SDL_bool</span></pre></dt>
  2645. <dd>
  2646. </dd>
  2647. <a id="KeyState"></a>
  2648. <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>
  2649. <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>
  2650. <dd>
  2651. </dd>
  2652. <a id="KeySym"></a>
  2653. <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>
  2654. <span class="Identifier">scancode</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#Scancode"><span class="Identifier">Scancode</span></a>
  2655. <span class="Identifier">sym</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">cint</span> <span class="Comment">## Keycode</span>
  2656. <span class="Identifier">modstate</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">int16</span>
  2657. <span class="Identifier">unicode</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">cint</span>
  2658. </pre></dt>
  2659. <dd>
  2660. </dd>
  2661. <a id="Point"></a>
  2662. <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>
  2663. <dd>
  2664. </dd>
  2665. <a id="Rect"></a>
  2666. <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>
  2667. <dd>
  2668. </dd>
  2669. <a id="GLattr"></a>
  2670. <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>
  2671. <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>
  2672. <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>
  2673. <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>
  2674. <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>
  2675. <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>
  2676. <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>
  2677. <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>
  2678. <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>
  2679. <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>
  2680. <span class="Identifier">SDL_GL_CONTEXT_NO_ERROR</span></pre></dt>
  2681. <dd>
  2682. </dd>
  2683. <a id="MouseWheelDirection"></a>
  2684. <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>
  2685. <span class="Identifier">SDL_MOUSEWHEEL_NORMAL</span><span class="Other">,</span> <span class="Identifier">SDL_MOUSEWHEEL_FLIPPED</span></pre></dt>
  2686. <dd>
  2687. </dd>
  2688. <a id="DisplayMode"></a>
  2689. <dt><pre><a href="sdl2.html#DisplayMode"><span class="Identifier">DisplayMode</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2690. <span class="Identifier">format</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">cuint</span>
  2691. <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>
  2692. <span class="Identifier">driverData</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">pointer</span>
  2693. </pre></dt>
  2694. <dd>
  2695. </dd>
  2696. <a id="WindowPtr"></a>
  2697. <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>
  2698. <dd>
  2699. </dd>
  2700. <a id="RendererPtr"></a>
  2701. <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>
  2702. <dd>
  2703. </dd>
  2704. <a id="TexturePtr"></a>
  2705. <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>
  2706. <dd>
  2707. </dd>
  2708. <a id="CursorPtr"></a>
  2709. <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>
  2710. <dd>
  2711. </dd>
  2712. <a id="GlContextPtr"></a>
  2713. <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>
  2714. <dd>
  2715. </dd>
  2716. <a id="SDL_Version"></a>
  2717. <dt><pre><a href="sdl2.html#SDL_Version"><span class="Identifier">SDL_Version</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2718. <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>
  2719. </pre></dt>
  2720. <dd>
  2721. </dd>
  2722. <a id="RendererInfoPtr"></a>
  2723. <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>
  2724. <dd>
  2725. </dd>
  2726. <a id="RendererInfo"></a>
  2727. <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>
  2728. <span class="Identifier">name</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">cstring</span>
  2729. <span class="Identifier">flags</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2730. <span class="Identifier">num_texture_formats</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2731. <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>
  2732. <span class="Identifier">max_texture_width</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">cint</span>
  2733. <span class="Identifier">max_texture_height</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">cint</span>
  2734. </pre></dt>
  2735. <dd>
  2736. </dd>
  2737. <a id="TextureAccess"></a>
  2738. <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>
  2739. <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>
  2740. <dd>
  2741. </dd>
  2742. <a id="TextureModulate"></a>
  2743. <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>
  2744. <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>
  2745. <dd>
  2746. </dd>
  2747. <a id="RendererFlip"></a>
  2748. <dt><pre><a href="sdl2.html#RendererFlip"><span class="Identifier">RendererFlip</span></a> <span class="Other">=</span> <span class="Identifier">cint</span></pre></dt>
  2749. <dd>
  2750. </dd>
  2751. <a id="SysWMType"></a>
  2752. <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>
  2753. <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>
  2754. <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>
  2755. <dd>
  2756. </dd>
  2757. <a id="WMinfo"></a>
  2758. <dt><pre><a href="sdl2.html#WMinfo"><span class="Identifier">WMinfo</span></a> <span class="Other">=</span> <span class="Keyword">object</span>
  2759. <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>
  2760. <span class="Identifier">subsystem</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#SysWMType"><span class="Identifier">SysWMType</span></a>
  2761. <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>
  2762. <span class="Comment">## SDL_syswm.h and cast padding to the right type</span>
  2763. </pre></dt>
  2764. <dd>
  2765. </dd>
  2766. <a id="Color"></a>
  2767. <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>
  2768. <dd>
  2769. </dd>
  2770. <a id="Palette"></a>
  2771. <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>
  2772. <span class="Identifier">ncolors</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">cint</span>
  2773. <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>
  2774. <span class="Identifier">version</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2775. <span class="Identifier">refcount</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">cint</span>
  2776. </pre></dt>
  2777. <dd>
  2778. </dd>
  2779. <a id="PixelFormat"></a>
  2780. <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>
  2781. <span class="Identifier">format</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2782. <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>
  2783. <span class="Identifier">BitsPerPixel</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint8</span>
  2784. <span class="Identifier">BytesPerPixel</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint8</span>
  2785. <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>
  2786. <span class="Identifier">Rmask</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2787. <span class="Identifier">Gmask</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2788. <span class="Identifier">Bmask</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2789. <span class="Identifier">Amask</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2790. <span class="Identifier">Rloss</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint8</span>
  2791. <span class="Identifier">Gloss</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint8</span>
  2792. <span class="Identifier">Bloss</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint8</span>
  2793. <span class="Identifier">Aloss</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint8</span>
  2794. <span class="Identifier">Rshift</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint8</span>
  2795. <span class="Identifier">Gshift</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint8</span>
  2796. <span class="Identifier">Bshift</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint8</span>
  2797. <span class="Identifier">Ashift</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint8</span>
  2798. <span class="Identifier">refcount</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">cint</span>
  2799. <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>
  2800. </pre></dt>
  2801. <dd>
  2802. </dd>
  2803. <a id="BlitMapPtr"></a>
  2804. <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>
  2805. <dd>
  2806. couldnt find SDL_BlitMap ?
  2807. </dd>
  2808. <a id="SurfacePtr"></a>
  2809. <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>
  2810. <dd>
  2811. </dd>
  2812. <a id="Surface"></a>
  2813. <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>
  2814. <span class="Identifier">flags</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint32</span>
  2815. <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>
  2816. <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>
  2817. <span class="Identifier">pixels</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">pointer</span>
  2818. <span class="Identifier">userdata</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">pointer</span>
  2819. <span class="Identifier">locked</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">int32</span>
  2820. <span class="Identifier">lock_data</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">pointer</span>
  2821. <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>
  2822. <span class="Identifier">map</span><span class="Other">:</span> <a href="sdl2.html#BlitMapPtr"><span class="Identifier">BlitMapPtr</span></a>
  2823. <span class="Identifier">refcount</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">cint</span>
  2824. </pre></dt>
  2825. <dd>
  2826. </dd>
  2827. <a id="BlendMode"></a>
  2828. <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>
  2829. <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>
  2830. <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>
  2831. <dd>
  2832. </dd>
  2833. <a id="BlitFunction"></a>
  2834. <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>
  2835. <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>
  2836. <dd>
  2837. </dd>
  2838. <a id="TimerCallback"></a>
  2839. <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>
  2840. <dd>
  2841. </dd>
  2842. <a id="TimerID"></a>
  2843. <dt><pre><a href="sdl2.html#TimerID"><span class="Identifier">TimerID</span></a> <span class="Other">=</span> <span class="Identifier">cint</span></pre></dt>
  2844. <dd>
  2845. </dd>
  2846. <a id="MessageBoxColor"></a>
  2847. <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>
  2848. <span class="Identifier">r</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint8</span>
  2849. <span class="Identifier">g</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint8</span>
  2850. <span class="Identifier">b</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">uint8</span>
  2851. </pre></dt>
  2852. <dd>
  2853. </dd>
  2854. <a id="MessageBoxColorType"></a>
  2855. <dt><pre><a href="sdl2.html#MessageBoxColorType"><span class="Identifier">MessageBoxColorType</span></a> <span class="Other">=</span> <span class="Keyword">enum</span>
  2856. <span class="Identifier">SDL_MESSAGEBOX_COLOR_BACKGROUND</span><span class="Other">,</span> <span class="Identifier">SDL_MESSAGEBOX_COLOR_TEXT</span><span class="Other">,</span>
  2857. <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>
  2858. <span class="Identifier">SDL_MESSAGEBOX_COLOR_BUTTON_SELECTED</span><span class="Other">,</span> <span class="Identifier">SDL_MESSAGEBOX_COLOR_MAX</span></pre></dt>
  2859. <dd>
  2860. </dd>
  2861. <a id="MessageBoxColorScheme"></a>
  2862. <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>
  2863. <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>
  2864. </pre></dt>
  2865. <dd>
  2866. </dd>
  2867. <a id="MessageBoxButtonData"></a>
  2868. <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>
  2869. <span class="Identifier">flags</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">cint</span>
  2870. <span class="Identifier">buttonid</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">cint</span>
  2871. <span class="Identifier">text</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">cstring</span>
  2872. </pre></dt>
  2873. <dd>
  2874. </dd>
  2875. <a id="MessageBoxData"></a>
  2876. <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>
  2877. <span class="Identifier">flags</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">cint</span>
  2878. <span class="Identifier">window</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#WindowPtr"><span class="Identifier">WindowPtr</span></a>
  2879. <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>
  2880. <span class="Identifier">numbuttons</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">cint</span>
  2881. <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>
  2882. <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>
  2883. </pre></dt>
  2884. <dd>
  2885. </dd>
  2886. <a id="RWopsPtr"></a>
  2887. <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>
  2888. <dd>
  2889. </dd>
  2890. <a id="RWops"></a>
  2891. <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>
  2892. <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>
  2893. <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>
  2894. <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span>
  2895. <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> <span class="Identifier">csize_t</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">csize_t</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">
  2896. <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>
  2897. <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> <span class="Identifier">csize_t</span><span class="Other">;</span> <span class="Identifier">num</span><span class="Other">:</span> <span class="Identifier">csize_t</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">csize_t</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">
  2898. <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> <span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span><span class="Other">.}</span></span>
  2899. <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>
  2900. <span class="Identifier">kind</span><span class="Operator">*</span><span class="Other">:</span> <span class="Identifier">cint</span>
  2901. <span class="Identifier">mem</span><span class="Operator">*</span><span class="Other">:</span> <a href="sdl2.html#Mem"><span class="Identifier">Mem</span></a>
  2902. </pre></dt>
  2903. <dd>
  2904. </dd>
  2905. <a id="Mem"></a>
  2906. <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>
  2907. <span class="Identifier">base</span><span class="Operator">*</span><span class="Other">:</span> <span class="Keyword">ptr</span> <span class="Identifier">byte</span>
  2908. <span class="Identifier">here</span><span class="Operator">*</span><span class="Other">:</span> <span class="Keyword">ptr</span> <span class="Identifier">byte</span>
  2909. <span class="Identifier">stop</span><span class="Operator">*</span><span class="Other">:</span> <span class="Keyword">ptr</span> <span class="Identifier">byte</span>
  2910. </pre></dt>
  2911. <dd>
  2912. </dd>
  2913. <a id="VoidCallback"></a>
  2914. <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>
  2915. <dd>
  2916. </dd>
  2917. <a id="VulkanInstance"></a>
  2918. <dt><pre><a href="sdl2.html#VulkanInstance"><span class="Identifier">VulkanInstance</span></a> <span class="Other">=</span> <span class="Identifier">VkHandle</span></pre></dt>
  2919. <dd>
  2920. </dd>
  2921. <a id="VulkanSurface"></a>
  2922. <dt><pre><a href="sdl2.html#VulkanSurface"><span class="Identifier">VulkanSurface</span></a> <span class="Other">=</span> <span class="Identifier">VkNonDispatchableHandle</span></pre></dt>
  2923. <dd>
  2924. </dd>
  2925. <a id="SystemCursor"></a>
  2926. <dt><pre><a href="sdl2.html#SystemCursor"><span class="Identifier">SystemCursor</span></a> <span class="Other">=</span> <span class="Keyword">enum</span>
  2927. <span class="Identifier">SDL_SYSTEM_CURSOR_ARROW</span><span class="Other">,</span> <span class="Comment">## Arrow</span>
  2928. <span class="Identifier">SDL_SYSTEM_CURSOR_IBEAM</span><span class="Other">,</span> <span class="Comment">## I-beam</span>
  2929. <span class="Identifier">SDL_SYSTEM_CURSOR_WAIT</span><span class="Other">,</span> <span class="Comment">## Wait</span>
  2930. <span class="Identifier">SDL_SYSTEM_CURSOR_CROSSHAIR</span><span class="Other">,</span> <span class="Comment">## Crosshair</span>
  2931. <span class="Identifier">SDL_SYSTEM_CURSOR_WAITARROW</span><span class="Other">,</span> <span class="Comment">## Small wait cursor (or Wait if not available)</span>
  2932. <span class="Identifier">SDL_SYSTEM_CURSOR_SIZENWSE</span><span class="Other">,</span> <span class="Comment">## Double arrow pointing northwest and southeast</span>
  2933. <span class="Identifier">SDL_SYSTEM_CURSOR_SIZENESW</span><span class="Other">,</span> <span class="Comment">## Double arrow pointing northeast and southwest</span>
  2934. <span class="Identifier">SDL_SYSTEM_CURSOR_SIZEWE</span><span class="Other">,</span> <span class="Comment">## Double arrow pointing west and east</span>
  2935. <span class="Identifier">SDL_SYSTEM_CURSOR_SIZENS</span><span class="Other">,</span> <span class="Comment">## Double arrow pointing north and south</span>
  2936. <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>
  2937. <span class="Identifier">SDL_SYSTEM_CURSOR_NO</span><span class="Other">,</span> <span class="Comment">## Slashed circle or crossbones</span>
  2938. <span class="Identifier">SDL_SYSTEM_CURSOR_HAND</span> <span class="Comment">## Hand</span></pre></dt>
  2939. <dd>
  2940. </dd>
  2941. </dl></div>
  2942. <div class="section" id="9">
  2943. <h1><a class="toc-backref" href="#9">Lets</a></h1>
  2944. <dl class="item">
  2945. <a id="defaultEvent"></a>
  2946. <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>
  2947. <dd>
  2948. a default &quot;initialized&quot; Event
  2949. </dd>
  2950. </dl></div>
  2951. <div class="section" id="10">
  2952. <h1><a class="toc-backref" href="#10">Consts</a></h1>
  2953. <dl class="item">
  2954. <a id="LibName"></a>
  2955. <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>
  2956. <dd>
  2957. </dd>
  2958. <a id="K_UNKNOWN"></a>
  2959. <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>
  2960. <dd>
  2961. </dd>
  2962. <a id="K_BACKSPACE"></a>
  2963. <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>
  2964. <dd>
  2965. </dd>
  2966. <a id="K_TAB"></a>
  2967. <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>
  2968. <dd>
  2969. </dd>
  2970. <a id="K_RETURN"></a>
  2971. <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>
  2972. <dd>
  2973. </dd>
  2974. <a id="K_ESCAPE"></a>
  2975. <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>
  2976. <dd>
  2977. </dd>
  2978. <a id="K_SPACE"></a>
  2979. <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>
  2980. <dd>
  2981. </dd>
  2982. <a id="K_EXCLAIM"></a>
  2983. <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>
  2984. <dd>
  2985. </dd>
  2986. <a id="K_QUOTEDBL"></a>
  2987. <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>
  2988. <dd>
  2989. </dd>
  2990. <a id="K_HASH"></a>
  2991. <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>
  2992. <dd>
  2993. </dd>
  2994. <a id="K_DOLLAR"></a>
  2995. <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>
  2996. <dd>
  2997. </dd>
  2998. <a id="K_PERCENT"></a>
  2999. <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>
  3000. <dd>
  3001. </dd>
  3002. <a id="K_AMPERSAND"></a>
  3003. <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>
  3004. <dd>
  3005. </dd>
  3006. <a id="K_QUOTE"></a>
  3007. <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>
  3008. <dd>
  3009. </dd>
  3010. <a id="K_LEFTPAREN"></a>
  3011. <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>
  3012. <dd>
  3013. </dd>
  3014. <a id="K_RIGHTPAREN"></a>
  3015. <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>
  3016. <dd>
  3017. </dd>
  3018. <a id="K_ASTERISK"></a>
  3019. <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>
  3020. <dd>
  3021. </dd>
  3022. <a id="K_PLUS"></a>
  3023. <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>
  3024. <dd>
  3025. </dd>
  3026. <a id="K_COMMA"></a>
  3027. <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>
  3028. <dd>
  3029. </dd>
  3030. <a id="K_MINUS"></a>
  3031. <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>
  3032. <dd>
  3033. </dd>
  3034. <a id="K_PERIOD"></a>
  3035. <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>
  3036. <dd>
  3037. </dd>
  3038. <a id="K_SLASH"></a>
  3039. <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>
  3040. <dd>
  3041. </dd>
  3042. <a id="K_0"></a>
  3043. <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>
  3044. <dd>
  3045. </dd>
  3046. <a id="K_1"></a>
  3047. <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>
  3048. <dd>
  3049. </dd>
  3050. <a id="K_2"></a>
  3051. <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>
  3052. <dd>
  3053. </dd>
  3054. <a id="K_3"></a>
  3055. <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>
  3056. <dd>
  3057. </dd>
  3058. <a id="K_4"></a>
  3059. <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>
  3060. <dd>
  3061. </dd>
  3062. <a id="K_5"></a>
  3063. <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>
  3064. <dd>
  3065. </dd>
  3066. <a id="K_6"></a>
  3067. <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>
  3068. <dd>
  3069. </dd>
  3070. <a id="K_7"></a>
  3071. <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>
  3072. <dd>
  3073. </dd>
  3074. <a id="K_8"></a>
  3075. <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>
  3076. <dd>
  3077. </dd>
  3078. <a id="K_9"></a>
  3079. <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>
  3080. <dd>
  3081. </dd>
  3082. <a id="K_COLON"></a>
  3083. <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>
  3084. <dd>
  3085. </dd>
  3086. <a id="K_SEMICOLON"></a>
  3087. <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>
  3088. <dd>
  3089. </dd>
  3090. <a id="K_LESS"></a>
  3091. <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>
  3092. <dd>
  3093. </dd>
  3094. <a id="K_EQUALS"></a>
  3095. <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>
  3096. <dd>
  3097. </dd>
  3098. <a id="K_GREATER"></a>
  3099. <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>
  3100. <dd>
  3101. </dd>
  3102. <a id="K_QUESTION"></a>
  3103. <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>
  3104. <dd>
  3105. </dd>
  3106. <a id="K_AT"></a>
  3107. <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>
  3108. <dd>
  3109. </dd>
  3110. <a id="K_LEFTBRACKET"></a>
  3111. <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>
  3112. <dd>
  3113. </dd>
  3114. <a id="K_BACKSLASH"></a>
  3115. <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>
  3116. <dd>
  3117. </dd>
  3118. <a id="K_RIGHTBRACKET"></a>
  3119. <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>
  3120. <dd>
  3121. </dd>
  3122. <a id="K_CARET"></a>
  3123. <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>
  3124. <dd>
  3125. </dd>
  3126. <a id="K_UNDERSCORE"></a>
  3127. <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>
  3128. <dd>
  3129. </dd>
  3130. <a id="K_BACKQUOTE"></a>
  3131. <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>
  3132. <dd>
  3133. </dd>
  3134. <a id="K_a"></a>
  3135. <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>
  3136. <dd>
  3137. </dd>
  3138. <a id="K_b"></a>
  3139. <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>
  3140. <dd>
  3141. </dd>
  3142. <a id="K_c"></a>
  3143. <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>
  3144. <dd>
  3145. </dd>
  3146. <a id="K_d"></a>
  3147. <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>
  3148. <dd>
  3149. </dd>
  3150. <a id="K_e"></a>
  3151. <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>
  3152. <dd>
  3153. </dd>
  3154. <a id="K_f"></a>
  3155. <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>
  3156. <dd>
  3157. </dd>
  3158. <a id="K_g"></a>
  3159. <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>
  3160. <dd>
  3161. </dd>
  3162. <a id="K_h"></a>
  3163. <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>
  3164. <dd>
  3165. </dd>
  3166. <a id="K_i"></a>
  3167. <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>
  3168. <dd>
  3169. </dd>
  3170. <a id="K_j"></a>
  3171. <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>
  3172. <dd>
  3173. </dd>
  3174. <a id="K_k"></a>
  3175. <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>
  3176. <dd>
  3177. </dd>
  3178. <a id="K_l"></a>
  3179. <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>
  3180. <dd>
  3181. </dd>
  3182. <a id="K_m"></a>
  3183. <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>
  3184. <dd>
  3185. </dd>
  3186. <a id="K_n"></a>
  3187. <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>
  3188. <dd>
  3189. </dd>
  3190. <a id="K_o"></a>
  3191. <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>
  3192. <dd>
  3193. </dd>
  3194. <a id="K_p"></a>
  3195. <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>
  3196. <dd>
  3197. </dd>
  3198. <a id="K_q"></a>
  3199. <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>
  3200. <dd>
  3201. </dd>
  3202. <a id="K_r"></a>
  3203. <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>
  3204. <dd>
  3205. </dd>
  3206. <a id="K_s"></a>
  3207. <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>
  3208. <dd>
  3209. </dd>
  3210. <a id="K_t"></a>
  3211. <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>
  3212. <dd>
  3213. </dd>
  3214. <a id="K_u"></a>
  3215. <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>
  3216. <dd>
  3217. </dd>
  3218. <a id="K_v"></a>
  3219. <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>
  3220. <dd>
  3221. </dd>
  3222. <a id="K_w"></a>
  3223. <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>
  3224. <dd>
  3225. </dd>
  3226. <a id="K_x"></a>
  3227. <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>
  3228. <dd>
  3229. </dd>
  3230. <a id="K_y"></a>
  3231. <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>
  3232. <dd>
  3233. </dd>
  3234. <a id="K_z"></a>
  3235. <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>
  3236. <dd>
  3237. </dd>
  3238. <a id="K_DELETE"></a>
  3239. <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>
  3240. <dd>
  3241. </dd>
  3242. <a id="K_CAPSLOCK"></a>
  3243. <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>
  3244. <dd>
  3245. </dd>
  3246. <a id="K_F1"></a>
  3247. <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>
  3248. <dd>
  3249. </dd>
  3250. <a id="K_F2"></a>
  3251. <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>
  3252. <dd>
  3253. </dd>
  3254. <a id="K_F3"></a>
  3255. <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>
  3256. <dd>
  3257. </dd>
  3258. <a id="K_F4"></a>
  3259. <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>
  3260. <dd>
  3261. </dd>
  3262. <a id="K_F5"></a>
  3263. <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>
  3264. <dd>
  3265. </dd>
  3266. <a id="K_F6"></a>
  3267. <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>
  3268. <dd>
  3269. </dd>
  3270. <a id="K_F7"></a>
  3271. <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>
  3272. <dd>
  3273. </dd>
  3274. <a id="K_F8"></a>
  3275. <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>
  3276. <dd>
  3277. </dd>
  3278. <a id="K_F9"></a>
  3279. <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>
  3280. <dd>
  3281. </dd>
  3282. <a id="K_F10"></a>
  3283. <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>
  3284. <dd>
  3285. </dd>
  3286. <a id="K_F11"></a>
  3287. <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>
  3288. <dd>
  3289. </dd>
  3290. <a id="K_F12"></a>
  3291. <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>
  3292. <dd>
  3293. </dd>
  3294. <a id="K_PRINTSCREEN"></a>
  3295. <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>
  3296. <dd>
  3297. </dd>
  3298. <a id="K_SCROLLLOCK"></a>
  3299. <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>
  3300. <dd>
  3301. </dd>
  3302. <a id="K_PAUSE"></a>
  3303. <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>
  3304. <dd>
  3305. </dd>
  3306. <a id="K_INSERT"></a>
  3307. <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>
  3308. <dd>
  3309. </dd>
  3310. <a id="K_HOME"></a>
  3311. <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>
  3312. <dd>
  3313. </dd>
  3314. <a id="K_PAGEUP"></a>
  3315. <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>
  3316. <dd>
  3317. </dd>
  3318. <a id="K_END"></a>
  3319. <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>
  3320. <dd>
  3321. </dd>
  3322. <a id="K_PAGEDOWN"></a>
  3323. <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>
  3324. <dd>
  3325. </dd>
  3326. <a id="K_RIGHT"></a>
  3327. <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>
  3328. <dd>
  3329. </dd>
  3330. <a id="K_LEFT"></a>
  3331. <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>
  3332. <dd>
  3333. </dd>
  3334. <a id="K_DOWN"></a>
  3335. <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>
  3336. <dd>
  3337. </dd>
  3338. <a id="K_UP"></a>
  3339. <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>
  3340. <dd>
  3341. </dd>
  3342. <a id="K_NUMLOCKCLEAR"></a>
  3343. <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>
  3344. <dd>
  3345. </dd>
  3346. <a id="K_KP_DIVIDE"></a>
  3347. <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>
  3348. <dd>
  3349. </dd>
  3350. <a id="K_KP_MULTIPLY"></a>
  3351. <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>
  3352. <dd>
  3353. </dd>
  3354. <a id="K_KP_MINUS"></a>
  3355. <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>
  3356. <dd>
  3357. </dd>
  3358. <a id="K_KP_PLUS"></a>
  3359. <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>
  3360. <dd>
  3361. </dd>
  3362. <a id="K_KP_ENTER"></a>
  3363. <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>
  3364. <dd>
  3365. </dd>
  3366. <a id="K_KP_1"></a>
  3367. <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>
  3368. <dd>
  3369. </dd>
  3370. <a id="K_KP_2"></a>
  3371. <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>
  3372. <dd>
  3373. </dd>
  3374. <a id="K_KP_3"></a>
  3375. <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>
  3376. <dd>
  3377. </dd>
  3378. <a id="K_KP_4"></a>
  3379. <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>
  3380. <dd>
  3381. </dd>
  3382. <a id="K_KP_5"></a>
  3383. <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>
  3384. <dd>
  3385. </dd>
  3386. <a id="K_KP_6"></a>
  3387. <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>
  3388. <dd>
  3389. </dd>
  3390. <a id="K_KP_7"></a>
  3391. <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>
  3392. <dd>
  3393. </dd>
  3394. <a id="K_KP_8"></a>
  3395. <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>
  3396. <dd>
  3397. </dd>
  3398. <a id="K_KP_9"></a>
  3399. <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>
  3400. <dd>
  3401. </dd>
  3402. <a id="K_KP_0"></a>
  3403. <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>
  3404. <dd>
  3405. </dd>
  3406. <a id="K_KP_PERIOD"></a>
  3407. <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>
  3408. <dd>
  3409. </dd>
  3410. <a id="K_APPLICATION"></a>
  3411. <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>
  3412. <dd>
  3413. </dd>
  3414. <a id="K_POWER"></a>
  3415. <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>
  3416. <dd>
  3417. </dd>
  3418. <a id="K_KP_EQUALS"></a>
  3419. <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>
  3420. <dd>
  3421. </dd>
  3422. <a id="K_F13"></a>
  3423. <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>
  3424. <dd>
  3425. </dd>
  3426. <a id="K_F14"></a>
  3427. <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>
  3428. <dd>
  3429. </dd>
  3430. <a id="K_F15"></a>
  3431. <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>
  3432. <dd>
  3433. </dd>
  3434. <a id="K_F16"></a>
  3435. <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>
  3436. <dd>
  3437. </dd>
  3438. <a id="K_F17"></a>
  3439. <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>
  3440. <dd>
  3441. </dd>
  3442. <a id="K_F18"></a>
  3443. <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>
  3444. <dd>
  3445. </dd>
  3446. <a id="K_F19"></a>
  3447. <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>
  3448. <dd>
  3449. </dd>
  3450. <a id="K_F20"></a>
  3451. <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>
  3452. <dd>
  3453. </dd>
  3454. <a id="K_F21"></a>
  3455. <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>
  3456. <dd>
  3457. </dd>
  3458. <a id="K_F22"></a>
  3459. <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>
  3460. <dd>
  3461. </dd>
  3462. <a id="K_F23"></a>
  3463. <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>
  3464. <dd>
  3465. </dd>
  3466. <a id="K_F24"></a>
  3467. <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>
  3468. <dd>
  3469. </dd>
  3470. <a id="K_EXECUTE"></a>
  3471. <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>
  3472. <dd>
  3473. </dd>
  3474. <a id="K_HELP"></a>
  3475. <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>
  3476. <dd>
  3477. </dd>
  3478. <a id="K_MENU"></a>
  3479. <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>
  3480. <dd>
  3481. </dd>
  3482. <a id="K_SELECT"></a>
  3483. <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>
  3484. <dd>
  3485. </dd>
  3486. <a id="K_STOP"></a>
  3487. <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>
  3488. <dd>
  3489. </dd>
  3490. <a id="K_AGAIN"></a>
  3491. <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>
  3492. <dd>
  3493. </dd>
  3494. <a id="K_UNDO"></a>
  3495. <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>
  3496. <dd>
  3497. </dd>
  3498. <a id="K_CUT"></a>
  3499. <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>
  3500. <dd>
  3501. </dd>
  3502. <a id="K_COPY"></a>
  3503. <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>
  3504. <dd>
  3505. </dd>
  3506. <a id="K_PASTE"></a>
  3507. <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>
  3508. <dd>
  3509. </dd>
  3510. <a id="K_FIND"></a>
  3511. <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>
  3512. <dd>
  3513. </dd>
  3514. <a id="K_MUTE"></a>
  3515. <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>
  3516. <dd>
  3517. </dd>
  3518. <a id="K_VOLUMEUP"></a>
  3519. <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>
  3520. <dd>
  3521. </dd>
  3522. <a id="K_VOLUMEDOWN"></a>
  3523. <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>
  3524. <dd>
  3525. </dd>
  3526. <a id="K_KP_COMMA"></a>
  3527. <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>
  3528. <dd>
  3529. </dd>
  3530. <a id="K_KP_EQUALSAS400"></a>
  3531. <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>
  3532. <dd>
  3533. </dd>
  3534. <a id="K_ALTERASE"></a>
  3535. <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>
  3536. <dd>
  3537. </dd>
  3538. <a id="K_SYSREQ"></a>
  3539. <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>
  3540. <dd>
  3541. </dd>
  3542. <a id="K_CANCEL"></a>
  3543. <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>
  3544. <dd>
  3545. </dd>
  3546. <a id="K_CLEAR"></a>
  3547. <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>
  3548. <dd>
  3549. </dd>
  3550. <a id="K_PRIOR"></a>
  3551. <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>
  3552. <dd>
  3553. </dd>
  3554. <a id="K_RETURN2"></a>
  3555. <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>
  3556. <dd>
  3557. </dd>
  3558. <a id="K_SEPARATOR"></a>
  3559. <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>
  3560. <dd>
  3561. </dd>
  3562. <a id="K_OUT"></a>
  3563. <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>
  3564. <dd>
  3565. </dd>
  3566. <a id="K_OPER"></a>
  3567. <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>
  3568. <dd>
  3569. </dd>
  3570. <a id="K_CLEARAGAIN"></a>
  3571. <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>
  3572. <dd>
  3573. </dd>
  3574. <a id="K_CRSEL"></a>
  3575. <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>
  3576. <dd>
  3577. </dd>
  3578. <a id="K_EXSEL"></a>
  3579. <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>
  3580. <dd>
  3581. </dd>
  3582. <a id="K_KP_00"></a>
  3583. <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>
  3584. <dd>
  3585. </dd>
  3586. <a id="K_KP_000"></a>
  3587. <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>
  3588. <dd>
  3589. </dd>
  3590. <a id="K_THOUSANDSSEPARATOR"></a>
  3591. <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>
  3592. <dd>
  3593. </dd>
  3594. <a id="K_DECIMALSEPARATOR"></a>
  3595. <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>
  3596. <dd>
  3597. </dd>
  3598. <a id="K_CURRENCYUNIT"></a>
  3599. <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>
  3600. <dd>
  3601. </dd>
  3602. <a id="K_CURRENCYSUBUNIT"></a>
  3603. <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>
  3604. <dd>
  3605. </dd>
  3606. <a id="K_KP_LEFTPAREN"></a>
  3607. <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>
  3608. <dd>
  3609. </dd>
  3610. <a id="K_KP_RIGHTPAREN"></a>
  3611. <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>
  3612. <dd>
  3613. </dd>
  3614. <a id="K_KP_LEFTBRACE"></a>
  3615. <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>
  3616. <dd>
  3617. </dd>
  3618. <a id="K_KP_RIGHTBRACE"></a>
  3619. <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>
  3620. <dd>
  3621. </dd>
  3622. <a id="K_KP_TAB"></a>
  3623. <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>
  3624. <dd>
  3625. </dd>
  3626. <a id="K_KP_BACKSPACE"></a>
  3627. <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>
  3628. <dd>
  3629. </dd>
  3630. <a id="K_KP_A"></a>
  3631. <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>
  3632. <dd>
  3633. </dd>
  3634. <a id="K_KP_B"></a>
  3635. <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>
  3636. <dd>
  3637. </dd>
  3638. <a id="K_KP_C"></a>
  3639. <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>
  3640. <dd>
  3641. </dd>
  3642. <a id="K_KP_D"></a>
  3643. <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>
  3644. <dd>
  3645. </dd>
  3646. <a id="K_KP_E"></a>
  3647. <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>
  3648. <dd>
  3649. </dd>
  3650. <a id="K_KP_F"></a>
  3651. <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>
  3652. <dd>
  3653. </dd>
  3654. <a id="K_KP_XOR"></a>
  3655. <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>
  3656. <dd>
  3657. </dd>
  3658. <a id="K_KP_POWER"></a>
  3659. <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>
  3660. <dd>
  3661. </dd>
  3662. <a id="K_KP_PERCENT"></a>
  3663. <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>
  3664. <dd>
  3665. </dd>
  3666. <a id="K_KP_LESS"></a>
  3667. <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>
  3668. <dd>
  3669. </dd>
  3670. <a id="K_KP_GREATER"></a>
  3671. <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>
  3672. <dd>
  3673. </dd>
  3674. <a id="K_KP_AMPERSAND"></a>
  3675. <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>
  3676. <dd>
  3677. </dd>
  3678. <a id="K_KP_DBLAMPERSAND"></a>
  3679. <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>
  3680. <dd>
  3681. </dd>
  3682. <a id="K_KP_VERTICALBAR"></a>
  3683. <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>
  3684. <dd>
  3685. </dd>
  3686. <a id="K_KP_DBLVERTICALBAR"></a>
  3687. <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>
  3688. <dd>
  3689. </dd>
  3690. <a id="K_KP_COLON"></a>
  3691. <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>
  3692. <dd>
  3693. </dd>
  3694. <a id="K_KP_HASH"></a>
  3695. <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>
  3696. <dd>
  3697. </dd>
  3698. <a id="K_KP_SPACE"></a>
  3699. <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>
  3700. <dd>
  3701. </dd>
  3702. <a id="K_KP_AT"></a>
  3703. <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>
  3704. <dd>
  3705. </dd>
  3706. <a id="K_KP_EXCLAM"></a>
  3707. <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>
  3708. <dd>
  3709. </dd>
  3710. <a id="K_KP_MEMSTORE"></a>
  3711. <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>
  3712. <dd>
  3713. </dd>
  3714. <a id="K_KP_MEMRECALL"></a>
  3715. <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>
  3716. <dd>
  3717. </dd>
  3718. <a id="K_KP_MEMCLEAR"></a>
  3719. <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>
  3720. <dd>
  3721. </dd>
  3722. <a id="K_KP_MEMADD"></a>
  3723. <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>
  3724. <dd>
  3725. </dd>
  3726. <a id="K_KP_MEMSUBTRACT"></a>
  3727. <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>
  3728. <dd>
  3729. </dd>
  3730. <a id="K_KP_MEMMULTIPLY"></a>
  3731. <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>
  3732. <dd>
  3733. </dd>
  3734. <a id="K_KP_MEMDIVIDE"></a>
  3735. <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>
  3736. <dd>
  3737. </dd>
  3738. <a id="K_KP_PLUSMINUS"></a>
  3739. <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>
  3740. <dd>
  3741. </dd>
  3742. <a id="K_KP_CLEAR"></a>
  3743. <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>
  3744. <dd>
  3745. </dd>
  3746. <a id="K_KP_CLEARENTRY"></a>
  3747. <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>
  3748. <dd>
  3749. </dd>
  3750. <a id="K_KP_BINARY"></a>
  3751. <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>
  3752. <dd>
  3753. </dd>
  3754. <a id="K_KP_OCTAL"></a>
  3755. <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>
  3756. <dd>
  3757. </dd>
  3758. <a id="K_KP_DECIMAL"></a>
  3759. <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>
  3760. <dd>
  3761. </dd>
  3762. <a id="K_KP_HEXADECIMAL"></a>
  3763. <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>
  3764. <dd>
  3765. </dd>
  3766. <a id="K_LCTRL"></a>
  3767. <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>
  3768. <dd>
  3769. </dd>
  3770. <a id="K_LSHIFT"></a>
  3771. <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>
  3772. <dd>
  3773. </dd>
  3774. <a id="K_LALT"></a>
  3775. <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>
  3776. <dd>
  3777. </dd>
  3778. <a id="K_LGUI"></a>
  3779. <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>
  3780. <dd>
  3781. </dd>
  3782. <a id="K_RCTRL"></a>
  3783. <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>
  3784. <dd>
  3785. </dd>
  3786. <a id="K_RSHIFT"></a>
  3787. <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>
  3788. <dd>
  3789. </dd>
  3790. <a id="K_RALT"></a>
  3791. <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>
  3792. <dd>
  3793. </dd>
  3794. <a id="K_RGUI"></a>
  3795. <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>
  3796. <dd>
  3797. </dd>
  3798. <a id="K_MODE"></a>
  3799. <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>
  3800. <dd>
  3801. </dd>
  3802. <a id="K_AUDIONEXT"></a>
  3803. <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>
  3804. <dd>
  3805. </dd>
  3806. <a id="K_AUDIOPREV"></a>
  3807. <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>
  3808. <dd>
  3809. </dd>
  3810. <a id="K_AUDIOSTOP"></a>
  3811. <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>
  3812. <dd>
  3813. </dd>
  3814. <a id="K_AUDIOPLAY"></a>
  3815. <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>
  3816. <dd>
  3817. </dd>
  3818. <a id="K_AUDIOMUTE"></a>
  3819. <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>
  3820. <dd>
  3821. </dd>
  3822. <a id="K_MEDIASELECT"></a>
  3823. <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>
  3824. <dd>
  3825. </dd>
  3826. <a id="K_WWW"></a>
  3827. <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>
  3828. <dd>
  3829. </dd>
  3830. <a id="K_MAIL"></a>
  3831. <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>
  3832. <dd>
  3833. </dd>
  3834. <a id="K_CALCULATOR"></a>
  3835. <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>
  3836. <dd>
  3837. </dd>
  3838. <a id="K_COMPUTER"></a>
  3839. <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>
  3840. <dd>
  3841. </dd>
  3842. <a id="K_AC_SEARCH"></a>
  3843. <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>
  3844. <dd>
  3845. </dd>
  3846. <a id="K_AC_HOME"></a>
  3847. <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>
  3848. <dd>
  3849. </dd>
  3850. <a id="K_AC_BACK"></a>
  3851. <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>
  3852. <dd>
  3853. </dd>
  3854. <a id="K_AC_FORWARD"></a>
  3855. <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>
  3856. <dd>
  3857. </dd>
  3858. <a id="K_AC_STOP"></a>
  3859. <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>
  3860. <dd>
  3861. </dd>
  3862. <a id="K_AC_REFRESH"></a>
  3863. <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>
  3864. <dd>
  3865. </dd>
  3866. <a id="K_AC_BOOKMARKS"></a>
  3867. <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>
  3868. <dd>
  3869. </dd>
  3870. <a id="K_BRIGHTNESSDOWN"></a>
  3871. <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>
  3872. <dd>
  3873. </dd>
  3874. <a id="K_BRIGHTNESSUP"></a>
  3875. <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>
  3876. <dd>
  3877. </dd>
  3878. <a id="K_DISPLAYSWITCH"></a>
  3879. <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>
  3880. <dd>
  3881. </dd>
  3882. <a id="K_KBDILLUMTOGGLE"></a>
  3883. <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>
  3884. <dd>
  3885. </dd>
  3886. <a id="K_KBDILLUMDOWN"></a>
  3887. <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>
  3888. <dd>
  3889. </dd>
  3890. <a id="K_KBDILLUMUP"></a>
  3891. <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>
  3892. <dd>
  3893. </dd>
  3894. <a id="K_EJECT"></a>
  3895. <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>
  3896. <dd>
  3897. </dd>
  3898. <a id="K_SLEEP"></a>
  3899. <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>
  3900. <dd>
  3901. </dd>
  3902. <a id="SDL_TEXTEDITINGEVENT_TEXT_SIZE"></a>
  3903. <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>
  3904. <dd>
  3905. </dd>
  3906. <a id="SDL_TEXTINPUTEVENT_TEXT_SIZE"></a>
  3907. <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>
  3908. <dd>
  3909. </dd>
  3910. <a id="SDL_GL_CONTEXT_PROFILE_CORE"></a>
  3911. <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>
  3912. <dd>
  3913. </dd>
  3914. <a id="SDL_GL_CONTEXT_PROFILE_COMPATIBILITY"></a>
  3915. <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>
  3916. <dd>
  3917. </dd>
  3918. <a id="SDL_GL_CONTEXT_PROFILE_ES"></a>
  3919. <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>
  3920. <dd>
  3921. </dd>
  3922. <a id="SDL_GL_CONTEXT_DEBUG_FLAG"></a>
  3923. <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>
  3924. <dd>
  3925. </dd>
  3926. <a id="SDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG"></a>
  3927. <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>
  3928. <dd>
  3929. </dd>
  3930. <a id="SDL_GL_CONTEXT_ROBUST_ACCESS_FLAG"></a>
  3931. <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>
  3932. <dd>
  3933. </dd>
  3934. <a id="SDL_GL_CONTEXT_RESET_ISOLATION_FLAG"></a>
  3935. <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>
  3936. <dd>
  3937. </dd>
  3938. <a id="SDL_GL_CONTEXT_RELEASE_BEHAVIOR_NONE"></a>
  3939. <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>
  3940. <dd>
  3941. </dd>
  3942. <a id="SDL_GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH"></a>
  3943. <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>
  3944. <dd>
  3945. </dd>
  3946. <a id="SDL_WINDOW_FULLSCREEN"></a>
  3947. <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>
  3948. <dd>
  3949. </dd>
  3950. <a id="SDL_WINDOW_OPENGL"></a>
  3951. <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>
  3952. <dd>
  3953. </dd>
  3954. <a id="SDL_WINDOW_SHOWN"></a>
  3955. <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>
  3956. <dd>
  3957. </dd>
  3958. <a id="SDL_WINDOW_HIDDEN"></a>
  3959. <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>
  3960. <dd>
  3961. </dd>
  3962. <a id="SDL_WINDOW_BORDERLESS"></a>
  3963. <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>
  3964. <dd>
  3965. </dd>
  3966. <a id="SDL_WINDOW_RESIZABLE"></a>
  3967. <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>
  3968. <dd>
  3969. </dd>
  3970. <a id="SDL_WINDOW_MINIMIZED"></a>
  3971. <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>
  3972. <dd>
  3973. </dd>
  3974. <a id="SDL_WINDOW_MAXIMIZED"></a>
  3975. <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>
  3976. <dd>
  3977. </dd>
  3978. <a id="SDL_WINDOW_INPUT_GRABBED"></a>
  3979. <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>
  3980. <dd>
  3981. </dd>
  3982. <a id="SDL_WINDOW_INPUT_FOCUS"></a>
  3983. <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>
  3984. <dd>
  3985. </dd>
  3986. <a id="SDL_WINDOW_MOUSE_FOCUS"></a>
  3987. <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>
  3988. <dd>
  3989. </dd>
  3990. <a id="SDL_WINDOW_FULLSCREEN_DESKTOP"></a>
  3991. <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>
  3992. <dd>
  3993. </dd>
  3994. <a id="SDL_WINDOW_FOREIGN"></a>
  3995. <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>
  3996. <dd>
  3997. </dd>
  3998. <a id="SDL_WINDOW_ALLOW_HIGHDPI"></a>
  3999. <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>
  4000. <dd>
  4001. </dd>
  4002. <a id="SDL_WINDOW_MOUSE_CAPTURE"></a>
  4003. <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>
  4004. <dd>
  4005. </dd>
  4006. <a id="SDL_WINDOW_VULKAN"></a>
  4007. <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>
  4008. <dd>
  4009. </dd>
  4010. <a id="SDL_FLIP_NONE"></a>
  4011. <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>
  4012. <dd>
  4013. </dd>
  4014. <a id="SDL_FLIP_HORIZONTAL"></a>
  4015. <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>
  4016. <dd>
  4017. </dd>
  4018. <a id="SDL_FLIP_VERTICAL"></a>
  4019. <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>
  4020. <dd>
  4021. </dd>
  4022. <a id="SDL_ALPHA_OPAQUE"></a>
  4023. <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>
  4024. <dd>
  4025. </dd>
  4026. <a id="SDL_ALPHA_TRANSPARENT"></a>
  4027. <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>
  4028. <dd>
  4029. </dd>
  4030. <a id="SDL_PIXELTYPE_UNKNOWN"></a>
  4031. <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>
  4032. <dd>
  4033. </dd>
  4034. <a id="SDL_PIXELTYPE_INDEX1"></a>
  4035. <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>
  4036. <dd>
  4037. </dd>
  4038. <a id="SDL_PIXELTYPE_INDEX4"></a>
  4039. <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>
  4040. <dd>
  4041. </dd>
  4042. <a id="SDL_PIXELTYPE_INDEX8"></a>
  4043. <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>
  4044. <dd>
  4045. </dd>
  4046. <a id="SDL_PIXELTYPE_PACKED8"></a>
  4047. <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>
  4048. <dd>
  4049. </dd>
  4050. <a id="SDL_PIXELTYPE_PACKED16"></a>
  4051. <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>
  4052. <dd>
  4053. </dd>
  4054. <a id="SDL_PIXELTYPE_PACKED32"></a>
  4055. <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>
  4056. <dd>
  4057. </dd>
  4058. <a id="SDL_PIXELTYPE_ARRAYU8"></a>
  4059. <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>
  4060. <dd>
  4061. </dd>
  4062. <a id="SDL_PIXELTYPE_ARRAYU16"></a>
  4063. <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>
  4064. <dd>
  4065. </dd>
  4066. <a id="SDL_PIXELTYPE_ARRAYU32"></a>
  4067. <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>
  4068. <dd>
  4069. </dd>
  4070. <a id="SDL_PIXELTYPE_ARRAYF16"></a>
  4071. <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>
  4072. <dd>
  4073. </dd>
  4074. <a id="SDL_PIXELTYPE_ARRAYF32"></a>
  4075. <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>
  4076. <dd>
  4077. </dd>
  4078. <a id="SDL_BITMAPORDER_NONE"></a>
  4079. <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>
  4080. <dd>
  4081. </dd>
  4082. <a id="SDL_BITMAPORDER_4321"></a>
  4083. <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>
  4084. <dd>
  4085. </dd>
  4086. <a id="SDL_BITMAPORDER_1234"></a>
  4087. <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>
  4088. <dd>
  4089. </dd>
  4090. <a id="SDL_PACKEDORDER_NONE"></a>
  4091. <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>
  4092. <dd>
  4093. </dd>
  4094. <a id="SDL_PACKEDORDER_XRGB"></a>
  4095. <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>
  4096. <dd>
  4097. </dd>
  4098. <a id="SDL_PACKEDORDER_RGBX"></a>
  4099. <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>
  4100. <dd>
  4101. </dd>
  4102. <a id="SDL_PACKEDORDER_ARGB"></a>
  4103. <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>
  4104. <dd>
  4105. </dd>
  4106. <a id="SDL_PACKEDORDER_RGBA"></a>
  4107. <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>
  4108. <dd>
  4109. </dd>
  4110. <a id="SDL_PACKEDORDER_XBGR"></a>
  4111. <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>
  4112. <dd>
  4113. </dd>
  4114. <a id="SDL_PACKEDORDER_BGRX"></a>
  4115. <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>
  4116. <dd>
  4117. </dd>
  4118. <a id="SDL_PACKEDORDER_ABGR"></a>
  4119. <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>
  4120. <dd>
  4121. </dd>
  4122. <a id="SDL_PACKEDORDER_BGRA"></a>
  4123. <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>
  4124. <dd>
  4125. </dd>
  4126. <a id="SDL_ARRAYORDER_NONE"></a>
  4127. <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>
  4128. <dd>
  4129. </dd>
  4130. <a id="SDL_ARRAYORDER_RGB"></a>
  4131. <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>
  4132. <dd>
  4133. </dd>
  4134. <a id="SDL_ARRAYORDER_RGBA"></a>
  4135. <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>
  4136. <dd>
  4137. </dd>
  4138. <a id="SDL_ARRAYORDER_ARGB"></a>
  4139. <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>
  4140. <dd>
  4141. </dd>
  4142. <a id="SDL_ARRAYORDER_BGR"></a>
  4143. <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>
  4144. <dd>
  4145. </dd>
  4146. <a id="SDL_ARRAYORDER_BGRA"></a>
  4147. <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>
  4148. <dd>
  4149. </dd>
  4150. <a id="SDL_ARRAYORDER_ABGR"></a>
  4151. <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>
  4152. <dd>
  4153. </dd>
  4154. <a id="SDL_PACKEDLAYOUT_NONE"></a>
  4155. <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>
  4156. <dd>
  4157. </dd>
  4158. <a id="SDL_PACKEDLAYOUT_332"></a>
  4159. <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>
  4160. <dd>
  4161. </dd>
  4162. <a id="SDL_PACKEDLAYOUT_4444"></a>
  4163. <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>
  4164. <dd>
  4165. </dd>
  4166. <a id="SDL_PACKEDLAYOUT_1555"></a>
  4167. <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>
  4168. <dd>
  4169. </dd>
  4170. <a id="SDL_PACKEDLAYOUT_5551"></a>
  4171. <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>
  4172. <dd>
  4173. </dd>
  4174. <a id="SDL_PACKEDLAYOUT_565"></a>
  4175. <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>
  4176. <dd>
  4177. </dd>
  4178. <a id="SDL_PACKEDLAYOUT_8888"></a>
  4179. <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>
  4180. <dd>
  4181. </dd>
  4182. <a id="SDL_PACKEDLAYOUT_2101010"></a>
  4183. <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>
  4184. <dd>
  4185. </dd>
  4186. <a id="SDL_PACKEDLAYOUT_1010102"></a>
  4187. <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>
  4188. <dd>
  4189. </dd>
  4190. <a id="SDL_PIXELFORMAT_UNKNOWN"></a>
  4191. <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>
  4192. <dd>
  4193. </dd>
  4194. <a id="SDL_PIXELFORMAT_INDEX1LSB"></a>
  4195. <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>
  4196. <dd>
  4197. </dd>
  4198. <a id="SDL_PIXELFORMAT_INDEX1MSB"></a>
  4199. <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>
  4200. <dd>
  4201. </dd>
  4202. <a id="SDL_PIXELFORMAT_INDEX4LSB"></a>
  4203. <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>
  4204. <dd>
  4205. </dd>
  4206. <a id="SDL_PIXELFORMAT_INDEX4MSB"></a>
  4207. <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>
  4208. <dd>
  4209. </dd>
  4210. <a id="SDL_PIXELFORMAT_INDEX8"></a>
  4211. <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>
  4212. <dd>
  4213. </dd>
  4214. <a id="SDL_PIXELFORMAT_RGB332"></a>
  4215. <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>
  4216. <dd>
  4217. </dd>
  4218. <a id="SDL_PIXELFORMAT_RGB444"></a>
  4219. <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>
  4220. <dd>
  4221. </dd>
  4222. <a id="SDL_PIXELFORMAT_RGB555"></a>
  4223. <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>
  4224. <dd>
  4225. </dd>
  4226. <a id="SDL_PIXELFORMAT_BGR555"></a>
  4227. <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>
  4228. <dd>
  4229. </dd>
  4230. <a id="SDL_PIXELFORMAT_ARGB4444"></a>
  4231. <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>
  4232. <dd>
  4233. </dd>
  4234. <a id="SDL_PIXELFORMAT_RGBA4444"></a>
  4235. <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>
  4236. <dd>
  4237. </dd>
  4238. <a id="SDL_PIXELFORMAT_ABGR4444"></a>
  4239. <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>
  4240. <dd>
  4241. </dd>
  4242. <a id="SDL_PIXELFORMAT_BGRA4444"></a>
  4243. <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>
  4244. <dd>
  4245. </dd>
  4246. <a id="SDL_PIXELFORMAT_ARGB1555"></a>
  4247. <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>
  4248. <dd>
  4249. </dd>
  4250. <a id="SDL_PIXELFORMAT_RGBA5551"></a>
  4251. <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>
  4252. <dd>
  4253. </dd>
  4254. <a id="SDL_PIXELFORMAT_ABGR1555"></a>
  4255. <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>
  4256. <dd>
  4257. </dd>
  4258. <a id="SDL_PIXELFORMAT_BGRA5551"></a>
  4259. <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>
  4260. <dd>
  4261. </dd>
  4262. <a id="SDL_PIXELFORMAT_RGB565"></a>
  4263. <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>
  4264. <dd>
  4265. </dd>
  4266. <a id="SDL_PIXELFORMAT_BGR565"></a>
  4267. <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>
  4268. <dd>
  4269. </dd>
  4270. <a id="SDL_PIXELFORMAT_RGB24"></a>
  4271. <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>
  4272. <dd>
  4273. </dd>
  4274. <a id="SDL_PIXELFORMAT_BGR24"></a>
  4275. <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>
  4276. <dd>
  4277. </dd>
  4278. <a id="SDL_PIXELFORMAT_RGB888"></a>
  4279. <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>
  4280. <dd>
  4281. </dd>
  4282. <a id="SDL_PIXELFORMAT_RGBX8888"></a>
  4283. <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>
  4284. <dd>
  4285. </dd>
  4286. <a id="SDL_PIXELFORMAT_BGR888"></a>
  4287. <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>
  4288. <dd>
  4289. </dd>
  4290. <a id="SDL_PIXELFORMAT_BGRX8888"></a>
  4291. <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>
  4292. <dd>
  4293. </dd>
  4294. <a id="SDL_PIXELFORMAT_ARGB8888"></a>
  4295. <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>
  4296. <dd>
  4297. </dd>
  4298. <a id="SDL_PIXELFORMAT_RGBA8888"></a>
  4299. <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>
  4300. <dd>
  4301. </dd>
  4302. <a id="SDL_PIXELFORMAT_ABGR8888"></a>
  4303. <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>
  4304. <dd>
  4305. </dd>
  4306. <a id="SDL_PIXELFORMAT_BGRA8888"></a>
  4307. <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>
  4308. <dd>
  4309. </dd>
  4310. <a id="SDL_PIXELFORMAT_ARGB2101010"></a>
  4311. <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>
  4312. <dd>
  4313. </dd>
  4314. <a id="SDL_PIXELFORMAT_YV12"></a>
  4315. <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>
  4316. <dd>
  4317. </dd>
  4318. <a id="SDL_PIXELFORMAT_IYUV"></a>
  4319. <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>
  4320. <dd>
  4321. </dd>
  4322. <a id="SDL_PIXELFORMAT_YUY2"></a>
  4323. <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>
  4324. <dd>
  4325. </dd>
  4326. <a id="SDL_PIXELFORMAT_UYVY"></a>
  4327. <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>
  4328. <dd>
  4329. </dd>
  4330. <a id="SDL_PIXELFORMAT_YVYU"></a>
  4331. <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>
  4332. <dd>
  4333. </dd>
  4334. <a id="Renderer_Software"></a>
  4335. <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>
  4336. <dd>
  4337. </dd>
  4338. <a id="Renderer_Accelerated"></a>
  4339. <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>
  4340. <dd>
  4341. </dd>
  4342. <a id="Renderer_PresentVsync"></a>
  4343. <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>
  4344. <dd>
  4345. </dd>
  4346. <a id="Renderer_TargetTexture"></a>
  4347. <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>
  4348. <dd>
  4349. </dd>
  4350. <a id="SDL_SWSURFACE"></a>
  4351. <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>
  4352. <dd>
  4353. </dd>
  4354. <a id="SDL_PREALLOC"></a>
  4355. <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>
  4356. <dd>
  4357. </dd>
  4358. <a id="SDL_RLEACCEL"></a>
  4359. <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>
  4360. <dd>
  4361. </dd>
  4362. <a id="SDL_DONTFREE"></a>
  4363. <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>
  4364. <dd>
  4365. </dd>
  4366. <a id="INIT_TIMER"></a>
  4367. <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>
  4368. <dd>
  4369. </dd>
  4370. <a id="INIT_AUDIO"></a>
  4371. <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>
  4372. <dd>
  4373. </dd>
  4374. <a id="INIT_VIDEO"></a>
  4375. <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>
  4376. <dd>
  4377. </dd>
  4378. <a id="INIT_JOYSTICK"></a>
  4379. <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>
  4380. <dd>
  4381. </dd>
  4382. <a id="INIT_HAPTIC"></a>
  4383. <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>
  4384. <dd>
  4385. </dd>
  4386. <a id="INIT_GAMECONTROLLER"></a>
  4387. <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>
  4388. <dd>
  4389. </dd>
  4390. <a id="INIT_EVENTS"></a>
  4391. <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>
  4392. <dd>
  4393. </dd>
  4394. <a id="INIT_NOPARACHUTE"></a>
  4395. <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>
  4396. <dd>
  4397. </dd>
  4398. <a id="INIT_EVERYTHING"></a>
  4399. <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>
  4400. <dd>
  4401. </dd>
  4402. <a id="SDL_WINDOWPOS_UNDEFINED_MASK"></a>
  4403. <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>
  4404. <dd>
  4405. </dd>
  4406. <a id="SDL_WINDOWPOS_UNDEFINED"></a>
  4407. <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>
  4408. <dd>
  4409. </dd>
  4410. <a id="SDL_WINDOWPOS_CENTERED_MASK"></a>
  4411. <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>
  4412. <dd>
  4413. </dd>
  4414. <a id="SDL_WINDOWPOS_CENTERED"></a>
  4415. <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>
  4416. <dd>
  4417. </dd>
  4418. <a id="SDL_MESSAGEBOX_ERROR"></a>
  4419. <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>
  4420. <dd>
  4421. </dd>
  4422. <a id="SDL_MESSAGEBOX_WARNING"></a>
  4423. <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>
  4424. <dd>
  4425. </dd>
  4426. <a id="SDL_MESSAGEBOX_INFORMATION"></a>
  4427. <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>
  4428. <dd>
  4429. </dd>
  4430. <a id="SDL_MESSAGEBOX_BUTTON_RETURNKEY_DEFAULT"></a>
  4431. <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>
  4432. <dd>
  4433. </dd>
  4434. <a id="SDL_MESSAGEBOX_BUTTON_ESCAPEKEY_DEFAULT"></a>
  4435. <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>
  4436. <dd>
  4437. </dd>
  4438. <a id="SDL_ANDROID_EXTERNAL_STORAGE_READ"></a>
  4439. <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>
  4440. <dd>
  4441. </dd>
  4442. <a id="SDL_ANDROID_EXTERNAL_STORAGE_WRITE"></a>
  4443. <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>
  4444. <dd>
  4445. </dd>
  4446. <a id="SDL_QUERY"></a>
  4447. <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>
  4448. <dd>
  4449. </dd>
  4450. <a id="SDL_IGNORE"></a>
  4451. <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>
  4452. <dd>
  4453. </dd>
  4454. <a id="SDL_DISABLE"></a>
  4455. <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>
  4456. <dd>
  4457. </dd>
  4458. <a id="SDL_ENABLE"></a>
  4459. <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>
  4460. <dd>
  4461. </dd>
  4462. <a id="BUTTON_LEFT"></a>
  4463. <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>
  4464. <dd>
  4465. </dd>
  4466. <a id="BUTTON_MIDDLE"></a>
  4467. <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>
  4468. <dd>
  4469. </dd>
  4470. <a id="BUTTON_RIGHT"></a>
  4471. <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>
  4472. <dd>
  4473. </dd>
  4474. <a id="BUTTON_X1"></a>
  4475. <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>
  4476. <dd>
  4477. </dd>
  4478. <a id="BUTTON_X2"></a>
  4479. <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>
  4480. <dd>
  4481. </dd>
  4482. <a id="BUTTON_LMASK"></a>
  4483. <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>
  4484. <dd>
  4485. </dd>
  4486. <a id="BUTTON_MMASK"></a>
  4487. <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>
  4488. <dd>
  4489. </dd>
  4490. <a id="BUTTON_RMASK"></a>
  4491. <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>
  4492. <dd>
  4493. </dd>
  4494. <a id="BUTTON_X1MASK"></a>
  4495. <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>
  4496. <dd>
  4497. </dd>
  4498. <a id="BUTTON_X2MASK"></a>
  4499. <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>
  4500. <dd>
  4501. </dd>
  4502. <a id="SDL_TOUCH_MOUSEID"></a>
  4503. <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>
  4504. <dd>
  4505. </dd>
  4506. <a id="HINT_RENDER_SCALE_QUALITY"></a>
  4507. <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>
  4508. <dd>
  4509. </dd>
  4510. </dl></div>
  4511. <div class="section" id="12">
  4512. <h1><a class="toc-backref" href="#12">Procs</a></h1>
  4513. <dl class="item">
  4514. <a id="evWindow,Event"></a>
  4515. <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`gensym16665034</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>
  4516. <dd>
  4517. </dd>
  4518. <a id="window,Event"></a>
  4519. <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`gensym16665035</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>
  4520. <dd>
  4521. </dd>
  4522. <a id="evKeyboard,Event"></a>
  4523. <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`gensym16700217</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>
  4524. <dd>
  4525. </dd>
  4526. <a id="key,Event"></a>
  4527. <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`gensym16700218</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>
  4528. <dd>
  4529. </dd>
  4530. <a id="evTextEditing,Event"></a>
  4531. <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`gensym16735217</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>
  4532. <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>
  4533. <dd>
  4534. </dd>
  4535. <a id="edit,Event"></a>
  4536. <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`gensym16735218</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>
  4537. <dd>
  4538. </dd>
  4539. <a id="evTextInput,Event"></a>
  4540. <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`gensym16770217</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>
  4541. <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>
  4542. <dd>
  4543. </dd>
  4544. <a id="text,Event"></a>
  4545. <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`gensym16770218</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>
  4546. <dd>
  4547. </dd>
  4548. <a id="evMouseMotion,Event"></a>
  4549. <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`gensym16805217</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>
  4550. <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>
  4551. <dd>
  4552. </dd>
  4553. <a id="motion,Event"></a>
  4554. <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`gensym16805218</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>
  4555. <dd>
  4556. </dd>
  4557. <a id="evMouseButton,Event"></a>
  4558. <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`gensym16840217</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>
  4559. <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>
  4560. <dd>
  4561. </dd>
  4562. <a id="button,Event"></a>
  4563. <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`gensym16840218</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>
  4564. <dd>
  4565. </dd>
  4566. <a id="evMouseWheel,Event"></a>
  4567. <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`gensym16875217</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>
  4568. <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>
  4569. <dd>
  4570. </dd>
  4571. <a id="wheel,Event"></a>
  4572. <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`gensym16875218</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>
  4573. <dd>
  4574. </dd>
  4575. <a id="EvJoyAxis,Event"></a>
  4576. <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`gensym16910217</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>
  4577. <dd>
  4578. </dd>
  4579. <a id="jaxis,Event"></a>
  4580. <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`gensym16910218</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>
  4581. <dd>
  4582. </dd>
  4583. <a id="EvJoyBall,Event"></a>
  4584. <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`gensym16945217</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>
  4585. <dd>
  4586. </dd>
  4587. <a id="jball,Event"></a>
  4588. <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`gensym16945218</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>
  4589. <dd>
  4590. </dd>
  4591. <a id="EvJoyHat,Event"></a>
  4592. <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`gensym16980217</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>
  4593. <dd>
  4594. </dd>
  4595. <a id="jhat,Event"></a>
  4596. <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`gensym16980218</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>
  4597. <dd>
  4598. </dd>
  4599. <a id="EvJoyButton,Event"></a>
  4600. <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`gensym17015217</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>
  4601. <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>
  4602. <dd>
  4603. </dd>
  4604. <a id="jbutton,Event"></a>
  4605. <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`gensym17015218</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>
  4606. <dd>
  4607. </dd>
  4608. <a id="EvJoyDevice,Event"></a>
  4609. <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`gensym17050217</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>
  4610. <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>
  4611. <dd>
  4612. </dd>
  4613. <a id="jdevice,Event"></a>
  4614. <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`gensym17050218</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>
  4615. <dd>
  4616. </dd>
  4617. <a id="EvControllerAxis,Event"></a>
  4618. <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`gensym17085217</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">
  4619. <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>
  4620. <dd>
  4621. </dd>
  4622. <a id="caxis,Event"></a>
  4623. <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`gensym17085218</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>
  4624. <dd>
  4625. </dd>
  4626. <a id="EvControllerButton,Event"></a>
  4627. <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`gensym17120217</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">
  4628. <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>
  4629. <dd>
  4630. </dd>
  4631. <a id="cbutton,Event"></a>
  4632. <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`gensym17120218</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>
  4633. <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>
  4634. <dd>
  4635. </dd>
  4636. <a id="EvControllerDevice,Event"></a>
  4637. <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`gensym17155217</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">
  4638. <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>
  4639. <dd>
  4640. </dd>
  4641. <a id="cdevice,Event"></a>
  4642. <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`gensym17155218</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>
  4643. <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>
  4644. <dd>
  4645. </dd>
  4646. <a id="EvTouchFinger,Event"></a>
  4647. <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`gensym17190217</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>
  4648. <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>
  4649. <dd>
  4650. </dd>
  4651. <a id="tfinger,Event"></a>
  4652. <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`gensym17190218</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>
  4653. <dd>
  4654. </dd>
  4655. <a id="EvMultiGesture,Event"></a>
  4656. <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`gensym17225217</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>
  4657. <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>
  4658. <dd>
  4659. </dd>
  4660. <a id="mgesture,Event"></a>
  4661. <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`gensym17225218</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>
  4662. <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>
  4663. <dd>
  4664. </dd>
  4665. <a id="EvDollarGesture,Event"></a>
  4666. <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`gensym17260217</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">
  4667. <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>
  4668. <dd>
  4669. </dd>
  4670. <a id="dgesture,Event"></a>
  4671. <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`gensym17260218</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>
  4672. <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>
  4673. <dd>
  4674. </dd>
  4675. <a id="evDropFile,Event"></a>
  4676. <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`gensym17295217</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>
  4677. <dd>
  4678. </dd>
  4679. <a id="drop,Event"></a>
  4680. <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`gensym17295218</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>
  4681. <dd>
  4682. </dd>
  4683. <a id="evQuit,Event"></a>
  4684. <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`gensym17330217</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>
  4685. <dd>
  4686. </dd>
  4687. <a id="quit,Event"></a>
  4688. <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`gensym17330218</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>
  4689. <dd>
  4690. </dd>
  4691. <a id="evUser,Event"></a>
  4692. <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`gensym17365217</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>
  4693. <dd>
  4694. </dd>
  4695. <a id="user,Event"></a>
  4696. <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`gensym17365218</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>
  4697. <dd>
  4698. </dd>
  4699. <a id="getWMInfo,WindowPtr,WMinfo"></a>
  4700. <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">
  4701. <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>
  4702. <dd>
  4703. </dd>
  4704. <a id="setLogicalSize,RendererPtr,cint,cint"></a>
  4705. <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">
  4706. <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>
  4707. <dd>
  4708. </dd>
  4709. <a id="getLogicalSize,RendererPtr,cint,cint"></a>
  4710. <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">
  4711. <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>
  4712. <dd>
  4713. </dd>
  4714. <a id="setDrawColor,RendererPtr,uint8,uint8,uint8,uint8"></a>
  4715. <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">
  4716. <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>
  4717. <dd>
  4718. </dd>
  4719. <a id="setDrawColor,RendererPtr,Color"></a>
  4720. <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>
  4721. <dd>
  4722. </dd>
  4723. <a id="getDrawColor,RendererPtr,uint8,uint8,uint8,uint8"></a>
  4724. <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">
  4725. <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>
  4726. <dd>
  4727. </dd>
  4728. <a id="setDrawBlendMode,RendererPtr,BlendMode"></a>
  4729. <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">
  4730. <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>
  4731. <dd>
  4732. </dd>
  4733. <a id="getDrawBlendMode,RendererPtr,BlendMode"></a>
  4734. <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">
  4735. <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>
  4736. <dd>
  4737. </dd>
  4738. <a id="destroy,TexturePtr"></a>
  4739. <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>
  4740. <dd>
  4741. </dd>
  4742. <a id="destroy,RendererPtr"></a>
  4743. <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>
  4744. <dd>
  4745. </dd>
  4746. <a id="getDisplayIndex,WindowPtr"></a>
  4747. <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>
  4748. <dd>
  4749. </dd>
  4750. <a id="setDisplayMode,WindowPtr,ptr.DisplayMode"></a>
  4751. <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">
  4752. <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>
  4753. <dd>
  4754. </dd>
  4755. <a id="getDisplayMode,WindowPtr,DisplayMode"></a>
  4756. <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">
  4757. <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>
  4758. <dd>
  4759. </dd>
  4760. <a id="getPixelFormat,WindowPtr"></a>
  4761. <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>
  4762. <dd>
  4763. </dd>
  4764. <a id="getID,WindowPtr"></a>
  4765. <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>
  4766. <dd>
  4767. </dd>
  4768. <a id="getFlags,WindowPtr"></a>
  4769. <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>
  4770. <dd>
  4771. </dd>
  4772. <a id="setTitle,WindowPtr,cstring"></a>
  4773. <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>
  4774. <dd>
  4775. </dd>
  4776. <a id="getTitle,WindowPtr"></a>
  4777. <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>
  4778. <dd>
  4779. </dd>
  4780. <a id="setIcon,WindowPtr,SurfacePtr"></a>
  4781. <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>
  4782. <dd>
  4783. </dd>
  4784. <a id="setData,WindowPtr,cstring,pointer"></a>
  4785. <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">
  4786. <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>
  4787. <dd>
  4788. </dd>
  4789. <a id="getData,WindowPtr,cstring"></a>
  4790. <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>
  4791. <dd>
  4792. </dd>
  4793. <a id="setPosition,WindowPtr,cint,cint"></a>
  4794. <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>
  4795. <dd>
  4796. </dd>
  4797. <a id="getPosition,WindowPtr,cint,cint"></a>
  4798. <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>
  4799. <dd>
  4800. </dd>
  4801. <a id="setSize,WindowPtr,cint,cint"></a>
  4802. <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>
  4803. <dd>
  4804. </dd>
  4805. <a id="getSize,WindowPtr,cint,cint"></a>
  4806. <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>
  4807. <dd>
  4808. </dd>
  4809. <a id="setBordered,WindowPtr,Bool32"></a>
  4810. <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">
  4811. <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>
  4812. <dd>
  4813. </dd>
  4814. <a id="setFullscreen,WindowPtr,uint32"></a>
  4815. <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">
  4816. <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>
  4817. <dd>
  4818. </dd>
  4819. <a id="getSurface,WindowPtr"></a>
  4820. <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>
  4821. <dd>
  4822. </dd>
  4823. <a id="updateSurface,WindowPtr"></a>
  4824. <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">
  4825. <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>
  4826. <dd>
  4827. </dd>
  4828. <a id="updateSurfaceRects,WindowPtr,ptr.Rect,cint"></a>
  4829. <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">
  4830. <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>
  4831. <dd>
  4832. </dd>
  4833. <a id="setGrab,WindowPtr,Bool32"></a>
  4834. <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>
  4835. <dd>
  4836. </dd>
  4837. <a id="getGrab,WindowPtr"></a>
  4838. <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>
  4839. <dd>
  4840. </dd>
  4841. <a id="setBrightness,WindowPtr,cfloat"></a>
  4842. <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">
  4843. <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>
  4844. <dd>
  4845. </dd>
  4846. <a id="getBrightness,WindowPtr"></a>
  4847. <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>
  4848. <dd>
  4849. </dd>
  4850. <a id="setGammaRamp,WindowPtr,ptr.uint16,ptr.uint16,ptr.uint16"></a>
  4851. <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">
  4852. <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>
  4853. <dd>
  4854. </dd>
  4855. <a id="getGammaRamp,WindowPtr,ptr.uint16,ptr.uint16,ptr.uint16"></a>
  4856. <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">
  4857. <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>
  4858. <dd>
  4859. </dd>
  4860. <a id="init,cint"></a>
  4861. <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>
  4862. <dd>
  4863. </dd>
  4864. <a id="initSubSystem,uint32"></a>
  4865. <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>
  4866. <dd>
  4867. </dd>
  4868. <a id="quitSubSystem,uint32"></a>
  4869. <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>
  4870. <dd>
  4871. </dd>
  4872. <a id="wasInit,uint32"></a>
  4873. <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>
  4874. <dd>
  4875. </dd>
  4876. <a id="quit"></a>
  4877. <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>
  4878. <dd>
  4879. </dd>
  4880. <a id="getPlatform"></a>
  4881. <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>
  4882. <dd>
  4883. </dd>
  4884. <a id="getVersion,SDL_Version"></a>
  4885. <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>
  4886. <dd>
  4887. </dd>
  4888. <a id="getRevision"></a>
  4889. <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>
  4890. <dd>
  4891. </dd>
  4892. <a id="getRevisionNumber"></a>
  4893. <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>
  4894. <dd>
  4895. </dd>
  4896. <a id="getBasePath"></a>
  4897. <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>
  4898. <dd>
  4899. </dd>
  4900. <a id="getPrefPath,cstring,cstring"></a>
  4901. <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>
  4902. <dd>
  4903. </dd>
  4904. <a id="getNumRenderDrivers"></a>
  4905. <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>
  4906. <dd>
  4907. </dd>
  4908. <a id="getRenderDriverInfo,cint,RendererInfo"></a>
  4909. <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">
  4910. <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>
  4911. <dd>
  4912. </dd>
  4913. <a id="createWindowAndRenderer,cint,cint,uint32,WindowPtr,RendererPtr"></a>
  4914. <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>
  4915. <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">
  4916. <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>
  4917. <dd>
  4918. </dd>
  4919. <a id="createRenderer,WindowPtr,cint,cint"></a>
  4920. <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">
  4921. <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>
  4922. <dd>
  4923. </dd>
  4924. <a id="createSoftwareRenderer,SurfacePtr"></a>
  4925. <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">
  4926. <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>
  4927. <dd>
  4928. </dd>
  4929. <a id="getRenderer,WindowPtr"></a>
  4930. <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>
  4931. <dd>
  4932. </dd>
  4933. <a id="getRendererInfo,RendererPtr,RendererInfoPtr"></a>
  4934. <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">
  4935. <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>
  4936. <dd>
  4937. </dd>
  4938. <a id="getRendererOutputSize,RendererPtr,ptr.cint,ptr.cint"></a>
  4939. <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">
  4940. <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>
  4941. <dd>
  4942. </dd>
  4943. <a id="createTexture,RendererPtr,uint32,cint,cint,cint"></a>
  4944. <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">
  4945. <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>
  4946. <dd>
  4947. </dd>
  4948. <a id="createTextureFromSurface,RendererPtr,SurfacePtr"></a>
  4949. <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">
  4950. <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>
  4951. <dd>
  4952. </dd>
  4953. <a id="createTexture,RendererPtr,SurfacePtr"></a>
  4954. <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>
  4955. <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>
  4956. <dd>
  4957. </dd>
  4958. <a id="queryTexture,TexturePtr,ptr.uint32,ptr.cint,ptr.cint,ptr.cint"></a>
  4959. <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">
  4960. <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>
  4961. <dd>
  4962. </dd>
  4963. <a id="setTextureColorMod,TexturePtr,uint8,uint8,uint8"></a>
  4964. <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">
  4965. <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>
  4966. <dd>
  4967. </dd>
  4968. <a id="getTextureColorMod,TexturePtr,uint8,uint8,uint8"></a>
  4969. <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">
  4970. <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>
  4971. <dd>
  4972. </dd>
  4973. <a id="setTextureAlphaMod,TexturePtr,uint8"></a>
  4974. <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">
  4975. <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>
  4976. <dd>
  4977. </dd>
  4978. <a id="getTextureAlphaMod,TexturePtr,uint8"></a>
  4979. <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">
  4980. <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>
  4981. <dd>
  4982. </dd>
  4983. <a id="setTextureBlendMode,TexturePtr,BlendMode"></a>
  4984. <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">
  4985. <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>
  4986. <dd>
  4987. </dd>
  4988. <a id="getTextureBlendMode,TexturePtr,BlendMode"></a>
  4989. <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">
  4990. <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>
  4991. <dd>
  4992. </dd>
  4993. <a id="updateTexture,TexturePtr,ptr.Rect,pointer,cint"></a>
  4994. <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">
  4995. <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>
  4996. <dd>
  4997. </dd>
  4998. <a id="lockTexture,TexturePtr,ptr.Rect,ptr.pointer,ptr.cint"></a>
  4999. <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>
  5000. <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>
  5001. <dd>
  5002. </dd>
  5003. <a id="unlockTexture,TexturePtr"></a>
  5004. <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>
  5005. <dd>
  5006. </dd>
  5007. <a id="renderTargetSupported,RendererPtr"></a>
  5008. <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">
  5009. <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>
  5010. <dd>
  5011. </dd>
  5012. <a id="setRenderTarget,RendererPtr,TexturePtr"></a>
  5013. <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">
  5014. <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>
  5015. <dd>
  5016. </dd>
  5017. <a id="getRenderTarget,RendererPtr"></a>
  5018. <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">
  5019. <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>
  5020. <dd>
  5021. </dd>
  5022. <a id="setViewport,RendererPtr,ptr.Rect"></a>
  5023. <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">
  5024. <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>
  5025. <dd>
  5026. </dd>
  5027. <a id="getViewport,RendererPtr,Rect"></a>
  5028. <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">
  5029. <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>
  5030. <dd>
  5031. </dd>
  5032. <a id="setScale,RendererPtr,cfloat,cfloat"></a>
  5033. <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">
  5034. <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>
  5035. <dd>
  5036. </dd>
  5037. <a id="getScale,RendererPtr,cfloat,cfloat"></a>
  5038. <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">
  5039. <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>
  5040. <dd>
  5041. </dd>
  5042. <a id="drawPoint,RendererPtr,cint,cint"></a>
  5043. <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">
  5044. <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>
  5045. <dd>
  5046. </dd>
  5047. <a id="drawPoints,RendererPtr,ptr.Point,cint"></a>
  5048. <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">
  5049. <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>
  5050. <dd>
  5051. </dd>
  5052. <a id="drawLine,RendererPtr,cint,cint,cint,cint"></a>
  5053. <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">
  5054. <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>
  5055. <dd>
  5056. </dd>
  5057. <a id="drawLines,RendererPtr,ptr.Point,cint"></a>
  5058. <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">
  5059. <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>
  5060. <dd>
  5061. </dd>
  5062. <a id="drawRect,RendererPtr,Rect"></a>
  5063. <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">
  5064. <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>
  5065. <dd>
  5066. </dd>
  5067. <a id="drawRect,RendererPtr,ptr.Rect"></a>
  5068. <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">
  5069. <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>
  5070. <dd>
  5071. </dd>
  5072. <a id="drawRects,RendererPtr,ptr.Rect,cint"></a>
  5073. <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">
  5074. <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>
  5075. <dd>
  5076. </dd>
  5077. <a id="fillRect,RendererPtr,Rect"></a>
  5078. <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">
  5079. <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>
  5080. <dd>
  5081. </dd>
  5082. <a id="fillRect,RendererPtr,ptr.Rect"></a>
  5083. <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">
  5084. <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>
  5085. <dd>
  5086. </dd>
  5087. <a id="fillRects,RendererPtr,ptr.Rect,cint"></a>
  5088. <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">
  5089. <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>
  5090. <dd>
  5091. </dd>
  5092. <a id="copy,RendererPtr,TexturePtr,ptr.Rect,ptr.Rect"></a>
  5093. <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">
  5094. <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>
  5095. <dd>
  5096. </dd>
  5097. <a id="copyEx,RendererPtr,TexturePtr,Rect,Rect,cdouble,ptr.Point,RendererFlip"></a>
  5098. <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>
  5099. <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">
  5100. <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>
  5101. <dd>
  5102. </dd>
  5103. <a id="copyEx,RendererPtr,TexturePtr,ptr.Rect,ptr.Rect,cdouble,ptr.Point,RendererFlip"></a>
  5104. <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>
  5105. <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">
  5106. <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>
  5107. <dd>
  5108. </dd>
  5109. <a id="clear,RendererPtr"></a>
  5110. <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>
  5111. <dd>
  5112. </dd>
  5113. <a id="readPixels,RendererPtr,Rect,cint,pointer,cint"></a>
  5114. <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>
  5115. <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>
  5116. <dd>
  5117. </dd>
  5118. <a id="readPixels,RendererPtr,ptr.Rect,cint,pointer,cint"></a>
  5119. <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>
  5120. <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>
  5121. <dd>
  5122. </dd>
  5123. <a id="present,RendererPtr"></a>
  5124. <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>
  5125. <dd>
  5126. </dd>
  5127. <a id="glBindTexture,TexturePtr,cfloat,cfloat"></a>
  5128. <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">
  5129. <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>
  5130. <dd>
  5131. </dd>
  5132. <a id="glUnbindTexture,TexturePtr"></a>
  5133. <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>
  5134. <dd>
  5135. </dd>
  5136. <a id="createRGBSurface,cint,cint,cint,cint,uint32,uint32,uint32,uint32"></a>
  5137. <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>
  5138. <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">
  5139. <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>
  5140. <dd>
  5141. </dd>
  5142. <a id="createRGBSurfaceFrom,pointer,cint,cint,cint,cint,uint32,uint32,uint32,uint32"></a>
  5143. <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>
  5144. <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">
  5145. <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>
  5146. <dd>
  5147. </dd>
  5148. <a id="freeSurface,SurfacePtr"></a>
  5149. <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>
  5150. <dd>
  5151. </dd>
  5152. <a id="setSurfacePalette,SurfacePtr,ptr.Palette"></a>
  5153. <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">
  5154. <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>
  5155. <dd>
  5156. </dd>
  5157. <a id="lockSurface,SurfacePtr"></a>
  5158. <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>
  5159. <dd>
  5160. </dd>
  5161. <a id="unlockSurface,SurfacePtr"></a>
  5162. <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>
  5163. <dd>
  5164. </dd>
  5165. <a id="loadBMP_RW,RWopsPtr,cint"></a>
  5166. <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>
  5167. <dd>
  5168. </dd>
  5169. <a id="rwFromFile,cstring,cstring"></a>
  5170. <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>
  5171. <dd>
  5172. </dd>
  5173. <a id="rwFromFP,File,Bool32"></a>
  5174. <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>
  5175. <dd>
  5176. </dd>
  5177. <a id="rwFromMem,pointer,cint"></a>
  5178. <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>
  5179. <dd>
  5180. </dd>
  5181. <a id="rwFromConstMem,pointer,cint"></a>
  5182. <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">
  5183. <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>
  5184. <dd>
  5185. </dd>
  5186. <a id="allocRW"></a>
  5187. <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>
  5188. <dd>
  5189. </dd>
  5190. <a id="freeRW,RWopsPtr"></a>
  5191. <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>
  5192. <dd>
  5193. </dd>
  5194. <a id="saveBMP_RW,SurfacePtr,RWopsPtr,cint"></a>
  5195. <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">
  5196. <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>
  5197. <dd>
  5198. </dd>
  5199. <a id="setSurfaceRLE,SurfacePtr,cint"></a>
  5200. <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">
  5201. <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>
  5202. <dd>
  5203. </dd>
  5204. <a id="setColorKey,SurfacePtr,cint,uint32"></a>
  5205. <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">
  5206. <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>
  5207. <dd>
  5208. </dd>
  5209. <a id="getColorKey,SurfacePtr,uint32"></a>
  5210. <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">
  5211. <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>
  5212. <dd>
  5213. </dd>
  5214. <a id="setSurfaceColorMod,SurfacePtr,uint8,uint8,uint8"></a>
  5215. <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">
  5216. <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>
  5217. <dd>
  5218. </dd>
  5219. <a id="getSurfaceColorMod,SurfacePtr,uint8,uint8,uint8"></a>
  5220. <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">
  5221. <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>
  5222. <dd>
  5223. </dd>
  5224. <a id="setSurfaceAlphaMod,SurfacePtr,uint8"></a>
  5225. <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">
  5226. <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>
  5227. <dd>
  5228. </dd>
  5229. <a id="getSurfaceAlphaMod,SurfacePtr,uint8"></a>
  5230. <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">
  5231. <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>
  5232. <dd>
  5233. </dd>
  5234. <a id="setSurfaceBlendMode,SurfacePtr,BlendMode"></a>
  5235. <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">
  5236. <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>
  5237. <dd>
  5238. </dd>
  5239. <a id="getSurfaceBlendMode,SurfacePtr,ptr.BlendMode"></a>
  5240. <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">
  5241. <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>
  5242. <dd>
  5243. </dd>
  5244. <a id="setClipRect,SurfacePtr,ptr.Rect"></a>
  5245. <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">
  5246. <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>
  5247. <dd>
  5248. </dd>
  5249. <a id="getClipRect,SurfacePtr,ptr.Rect"></a>
  5250. <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>
  5251. <dd>
  5252. </dd>
  5253. <a id="setClipRect,RendererPtr,ptr.Rect"></a>
  5254. <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">
  5255. <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>
  5256. <dd>
  5257. </dd>
  5258. <a id="getClipRect,RendererPtr,ptr.Rect"></a>
  5259. <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">
  5260. <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>
  5261. <dd>
  5262. </dd>
  5263. <a id="isClipEnabled,RendererPtr"></a>
  5264. <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>
  5265. <dd>
  5266. </dd>
  5267. <a id="convertSurface,SurfacePtr,ptr.PixelFormat,cint"></a>
  5268. <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">
  5269. <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>
  5270. <dd>
  5271. </dd>
  5272. <a id="convertSurfaceFormat,SurfacePtr,uint32,uint32"></a>
  5273. <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">
  5274. <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>
  5275. <dd>
  5276. </dd>
  5277. <a id="convertPixels,cint,cint,uint32,pointer,cint,uint32,pointer,cint"></a>
  5278. <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>
  5279. <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">
  5280. <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>
  5281. <dd>
  5282. </dd>
  5283. <a id="fillRect,SurfacePtr,ptr.Rect,uint32"></a>
  5284. <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">
  5285. <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>
  5286. <dd>
  5287. </dd>
  5288. <a id="fillRects,SurfacePtr,ptr.Rect,cint,uint32"></a>
  5289. <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">
  5290. <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>
  5291. <dd>
  5292. </dd>
  5293. <a id="upperBlit,SurfacePtr,ptr.Rect,SurfacePtr,ptr.Rect"></a>
  5294. <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">
  5295. <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>
  5296. <dd>
  5297. </dd>
  5298. <a id="lowerBlit,SurfacePtr,ptr.Rect,SurfacePtr,ptr.Rect"></a>
  5299. <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">
  5300. <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>
  5301. <dd>
  5302. </dd>
  5303. <a id="softStretch,SurfacePtr,ptr.Rect,SurfacePtr,ptr.Rect"></a>
  5304. <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">
  5305. <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>
  5306. <dd>
  5307. </dd>
  5308. <a id="upperBlitScaled,SurfacePtr,ptr.Rect,SurfacePtr,ptr.Rect"></a>
  5309. <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>
  5310. <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>
  5311. <dd>
  5312. </dd>
  5313. <a id="lowerBlitScaled,SurfacePtr,ptr.Rect,SurfacePtr,ptr.Rect"></a>
  5314. <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>
  5315. <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>
  5316. <dd>
  5317. </dd>
  5318. <a id="readU8,RWopsPtr"></a>
  5319. <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>
  5320. <dd>
  5321. </dd>
  5322. <a id="readLE16,RWopsPtr"></a>
  5323. <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>
  5324. <dd>
  5325. </dd>
  5326. <a id="readBE16,RWopsPtr"></a>
  5327. <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>
  5328. <dd>
  5329. </dd>
  5330. <a id="readLE32,RWopsPtr"></a>
  5331. <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>
  5332. <dd>
  5333. </dd>
  5334. <a id="readBE32,RWopsPtr"></a>
  5335. <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>
  5336. <dd>
  5337. </dd>
  5338. <a id="readLE64,RWopsPtr"></a>
  5339. <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>
  5340. <dd>
  5341. </dd>
  5342. <a id="readBE64,RWopsPtr"></a>
  5343. <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>
  5344. <dd>
  5345. </dd>
  5346. <a id="writeU8,RWopsPtr,uint8"></a>
  5347. <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> <span class="Identifier">csize_t</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_WriteU8&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5348. <dd>
  5349. </dd>
  5350. <a id="writeLE16,RWopsPtr,uint16"></a>
  5351. <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> <span class="Identifier">csize_t</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_WriteLE16&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5352. <dd>
  5353. </dd>
  5354. <a id="writeBE16,RWopsPtr,uint16"></a>
  5355. <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> <span class="Identifier">csize_t</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_WriteBE16&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5356. <dd>
  5357. </dd>
  5358. <a id="writeLE32,RWopsPtr,uint32"></a>
  5359. <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> <span class="Identifier">csize_t</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_WriteLE32&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5360. <dd>
  5361. </dd>
  5362. <a id="writeBE32,RWopsPtr,uint32"></a>
  5363. <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> <span class="Identifier">csize_t</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_WriteBE32&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5364. <dd>
  5365. </dd>
  5366. <a id="writeLE64,RWopsPtr,uint64"></a>
  5367. <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> <span class="Identifier">csize_t</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_WriteLE64&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5368. <dd>
  5369. </dd>
  5370. <a id="writeBE64,RWopsPtr,uint64"></a>
  5371. <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> <span class="Identifier">csize_t</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_WriteBE64&quot;</span></span><span class="Other">.}</span></span></pre></dt>
  5372. <dd>
  5373. </dd>
  5374. <a id="showMessageBox,ptr.MessageBoxData,cint"></a>
  5375. <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">
  5376. <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>
  5377. <dd>
  5378. </dd>
  5379. <a id="showSimpleMessageBox,uint32,cstring,cstring,WindowPtr"></a>
  5380. <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">
  5381. <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>
  5382. <dd>
  5383. </dd>
  5384. <a id="getNumVideoDrivers"></a>
  5385. <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>
  5386. <dd>
  5387. </dd>
  5388. <a id="getVideoDriver,cint"></a>
  5389. <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>
  5390. <dd>
  5391. </dd>
  5392. <a id="videoInit,cstring"></a>
  5393. <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>
  5394. <dd>
  5395. </dd>
  5396. <a id="videoQuit"></a>
  5397. <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>
  5398. <dd>
  5399. </dd>
  5400. <a id="getCurrentVideoDriver"></a>
  5401. <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>
  5402. <dd>
  5403. </dd>
  5404. <a id="getNumVideoDisplays"></a>
  5405. <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>
  5406. <dd>
  5407. </dd>
  5408. <a id="getDisplayBounds,cint,Rect"></a>
  5409. <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">
  5410. <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>
  5411. <dd>
  5412. </dd>
  5413. <a id="getNumDisplayModes,cint"></a>
  5414. <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">
  5415. <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>
  5416. <dd>
  5417. </dd>
  5418. <a id="getDisplayMode,cint,cint,DisplayMode"></a>
  5419. <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">
  5420. <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>
  5421. <dd>
  5422. </dd>
  5423. <a id="getDesktopDisplayMode,cint,DisplayMode"></a>
  5424. <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">
  5425. <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>
  5426. <dd>
  5427. </dd>
  5428. <a id="getCurrentDisplayMode,cint,DisplayMode"></a>
  5429. <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">
  5430. <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>
  5431. <dd>
  5432. </dd>
  5433. <a id="getClosestDisplayMode,cint,ptr.DisplayMode,ptr.DisplayMode"></a>
  5434. <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>
  5435. <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">
  5436. <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>
  5437. <dd>
  5438. </dd>
  5439. <a id="getDisplayDPI,cint,ptr.cfloat,ptr.cfloat,ptr.cfloat"></a>
  5440. <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">
  5441. <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>
  5442. <dd>
  5443. </dd>
  5444. <a id="createWindow,cstring,cint,cint,cint,cint,uint32"></a>
  5445. <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">
  5446. <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>
  5447. <dd>
  5448. </dd>
  5449. <a id="createWindowFrom,pointer"></a>
  5450. <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>
  5451. <dd>
  5452. </dd>
  5453. <a id="getWindowFromID,uint32"></a>
  5454. <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>
  5455. <dd>
  5456. </dd>
  5457. <a id="showWindow,WindowPtr"></a>
  5458. <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>
  5459. <dd>
  5460. </dd>
  5461. <a id="hideWindow,WindowPtr"></a>
  5462. <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>
  5463. <dd>
  5464. </dd>
  5465. <a id="raiseWindow,WindowPtr"></a>
  5466. <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>
  5467. <dd>
  5468. </dd>
  5469. <a id="maximizeWindow,WindowPtr"></a>
  5470. <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>
  5471. <dd>
  5472. </dd>
  5473. <a id="minimizeWindow,WindowPtr"></a>
  5474. <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>
  5475. <dd>
  5476. </dd>
  5477. <a id="restoreWindow,WindowPtr"></a>
  5478. <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>
  5479. <dd>
  5480. </dd>
  5481. <a id="destroyWindow,WindowPtr"></a>
  5482. <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>
  5483. <dd>
  5484. </dd>
  5485. <a id="isScreenSaverEnabled"></a>
  5486. <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>
  5487. <dd>
  5488. </dd>
  5489. <a id="enableScreenSaver"></a>
  5490. <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>
  5491. <dd>
  5492. </dd>
  5493. <a id="disableScreenSaver"></a>
  5494. <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>
  5495. <dd>
  5496. </dd>
  5497. <a id="getTicks"></a>
  5498. <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>
  5499. <dd>
  5500. </dd>
  5501. <a id="getPerformanceCounter"></a>
  5502. <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>
  5503. <dd>
  5504. </dd>
  5505. <a id="getPerformanceFrequency"></a>
  5506. <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>
  5507. <dd>
  5508. </dd>
  5509. <a id="delay,uint32"></a>
  5510. <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>
  5511. <dd>
  5512. </dd>
  5513. <a id="addTimer,uint32,TimerCallback,pointer"></a>
  5514. <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">
  5515. <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>
  5516. <dd>
  5517. </dd>
  5518. <a id="removeTimer,TimerID"></a>
  5519. <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>
  5520. <dd>
  5521. </dd>
  5522. <a id="glLoadLibrary,cstring"></a>
  5523. <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>
  5524. <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>
  5525. <dd>
  5526. </dd>
  5527. <a id="glGetProcAddress,cstring"></a>
  5528. <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">
  5529. <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>
  5530. <dd>
  5531. </dd>
  5532. <a id="glUnloadLibrary"></a>
  5533. <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>
  5534. <dd>
  5535. </dd>
  5536. <a id="glExtensionSupported,cstring"></a>
  5537. <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">
  5538. <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>
  5539. <dd>
  5540. </dd>
  5541. <a id="glSetAttribute,GLattr,cint"></a>
  5542. <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>
  5543. <dd>
  5544. </dd>
  5545. <a id="glGetAttribute,GLattr,cint"></a>
  5546. <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">
  5547. <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>
  5548. <dd>
  5549. </dd>
  5550. <a id="glCreateContext,WindowPtr"></a>
  5551. <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">
  5552. <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>
  5553. <dd>
  5554. Create an OpenGL context for use with an OpenGL window, and make it current.
  5555. </dd>
  5556. <a id="glMakeCurrent,WindowPtr,GlContextPtr"></a>
  5557. <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">
  5558. <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>
  5559. <dd>
  5560. </dd>
  5561. <a id="glGetCurrentWindow"></a>
  5562. <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>
  5563. <dd>
  5564. </dd>
  5565. <a id="glGetCurrentContext"></a>
  5566. <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>
  5567. <dd>
  5568. </dd>
  5569. <a id="glGetDrawableSize,WindowPtr,cint,cint"></a>
  5570. <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">
  5571. <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>
  5572. <dd>
  5573. </dd>
  5574. <a id="glSetSwapInterval,cint"></a>
  5575. <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>
  5576. <dd>
  5577. </dd>
  5578. <a id="glGetSwapInterval"></a>
  5579. <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>
  5580. <dd>
  5581. </dd>
  5582. <a id="glSwapWindow,WindowPtr"></a>
  5583. <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>
  5584. <dd>
  5585. Swap the OpenGL buffers for a window, if double-buffering is supported.
  5586. </dd>
  5587. <a id="glDeleteContext,GlContextPtr"></a>
  5588. <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>
  5589. <dd>
  5590. </dd>
  5591. <a id="vulkanLoadLibrary,cstring"></a>
  5592. <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>
  5593. <dd>
  5594. </dd>
  5595. <a id="vulkanGetVkGetInstanceProcAddr"></a>
  5596. <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">
  5597. <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>
  5598. <dd>
  5599. </dd>
  5600. <a id="vulkanUnloadLibrary"></a>
  5601. <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>
  5602. <dd>
  5603. </dd>
  5604. <a id="vulkanGetInstanceExtensions,WindowPtr,ptr.cuint,cstringArray"></a>
  5605. <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>
  5606. <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">
  5607. <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>
  5608. <dd>
  5609. </dd>
  5610. <a id="vulkanCreateSurface,WindowPtr,VulkanInstance,ptr.VulkanSurface"></a>
  5611. <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>
  5612. <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">
  5613. <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>
  5614. <dd>
  5615. </dd>
  5616. <a id="vulkanGetDrawableSize,WindowPtr,ptr.cint,ptr.cint"></a>
  5617. <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">
  5618. <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>
  5619. <dd>
  5620. </dd>
  5621. <a id="getKeyboardFocus"></a>
  5622. <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>
  5623. <dd>
  5624. </dd>
  5625. <a id="getKeyboardState,ptr.int"></a>
  5626. <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">
  5627. <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>
  5628. <dd>
  5629. </dd>
  5630. <a id="getModState"></a>
  5631. <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>
  5632. <dd>
  5633. </dd>
  5634. <a id="setModState,Keymod"></a>
  5635. <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>
  5636. <dd>
  5637. </dd>
  5638. <a id="getKeyFromScancode,Scancode"></a>
  5639. <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">
  5640. <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>
  5641. <dd>
  5642. </dd>
  5643. <a id="getScancodeFromKey,cint"></a>
  5644. <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>
  5645. <dd>
  5646. </dd>
  5647. <a id="getScancodeName,Scancode"></a>
  5648. <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>
  5649. <dd>
  5650. </dd>
  5651. <a id="getScancodeFromName,cstring"></a>
  5652. <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">
  5653. <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>
  5654. <dd>
  5655. </dd>
  5656. <a id="getKeyName,cint"></a>
  5657. <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>
  5658. <dd>
  5659. </dd>
  5660. <a id="getKeyFromName,cstring"></a>
  5661. <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>
  5662. <dd>
  5663. </dd>
  5664. <a id="startTextInput"></a>
  5665. <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>
  5666. <dd>
  5667. </dd>
  5668. <a id="isTextInputActive"></a>
  5669. <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>
  5670. <dd>
  5671. </dd>
  5672. <a id="stopTextInput"></a>
  5673. <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>
  5674. <dd>
  5675. </dd>
  5676. <a id="setTextInputRect,ptr.Rect"></a>
  5677. <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>
  5678. <dd>
  5679. </dd>
  5680. <a id="hasScreenKeyboardSupport"></a>
  5681. <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>
  5682. <dd>
  5683. </dd>
  5684. <a id="isScreenKeyboardShown,WindowPtr"></a>
  5685. <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">
  5686. <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>
  5687. <dd>
  5688. </dd>
  5689. <a id="getMouseFocus"></a>
  5690. <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>
  5691. <dd>
  5692. </dd>
  5693. <a id="getMouseState,cint,cint"></a>
  5694. <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>
  5695. <dd>
  5696. </dd>
  5697. <a id="getMouseState,ptr.cint,ptr.cint"></a>
  5698. <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>
  5699. <dd>
  5700. </dd>
  5701. <a id="getRelativeMouseState,cint,cint"></a>
  5702. <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">
  5703. <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>
  5704. <dd>
  5705. </dd>
  5706. <a id="warpMouseInWindow,WindowPtr,cint,cint"></a>
  5707. <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">
  5708. <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>
  5709. <dd>
  5710. </dd>
  5711. <a id="setRelativeMouseMode,Bool32"></a>
  5712. <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">
  5713. <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>
  5714. <dd>
  5715. </dd>
  5716. <a id="captureMouse,Bool32"></a>
  5717. <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>
  5718. <dd>
  5719. </dd>
  5720. <a id="getRelativeMouseMode"></a>
  5721. <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>
  5722. <dd>
  5723. </dd>
  5724. <a id="createCursor,ptr.uint8,ptr.uint8,cint,cint,cint,cint"></a>
  5725. <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">
  5726. <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>
  5727. <dd>
  5728. </dd>
  5729. <a id="createColorCursor,SurfacePtr,cint,cint"></a>
  5730. <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">
  5731. <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>
  5732. <dd>
  5733. </dd>
  5734. <a id="createSystemCursor,SystemCursor"></a>
  5735. <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">
  5736. <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>
  5737. <dd>
  5738. </dd>
  5739. <a id="setCursor,CursorPtr"></a>
  5740. <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>
  5741. <dd>
  5742. </dd>
  5743. <a id="getCursor"></a>
  5744. <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>
  5745. <dd>
  5746. </dd>
  5747. <a id="freeCursor,CursorPtr"></a>
  5748. <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>
  5749. <dd>
  5750. </dd>
  5751. <a id="showCursor,bool"></a>
  5752. <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>
  5753. <dd>
  5754. </dd>
  5755. <a id="pumpEvents"></a>
  5756. <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>
  5757. <dd>
  5758. </dd>
  5759. <a id="peepEvents,ptr.Event,cint,Eventaction,uint32,uint32"></a>
  5760. <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>
  5761. <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>
  5762. <dd>
  5763. </dd>
  5764. <a id="hasEvent,uint32"></a>
  5765. <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>
  5766. <dd>
  5767. </dd>
  5768. <a id="hasEvents,uint32,uint32"></a>
  5769. <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>
  5770. <dd>
  5771. </dd>
  5772. <a id="flushEvent,uint32"></a>
  5773. <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>
  5774. <dd>
  5775. </dd>
  5776. <a id="flushEvents,uint32,uint32"></a>
  5777. <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>
  5778. <dd>
  5779. </dd>
  5780. <a id="pollEvent,Event"></a>
  5781. <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>
  5782. <dd>
  5783. </dd>
  5784. <a id="waitEvent,Event"></a>
  5785. <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>
  5786. <dd>
  5787. </dd>
  5788. <a id="waitEventTimeout,Event,cint"></a>
  5789. <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">
  5790. <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>
  5791. <dd>
  5792. </dd>
  5793. <a id="pushEvent,ptr.Event"></a>
  5794. <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>
  5795. <dd>
  5796. </dd>
  5797. <a id="setEventFilter,EventFilter,pointer"></a>
  5798. <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">
  5799. <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>
  5800. <dd>
  5801. </dd>
  5802. <a id="getEventFilter,EventFilter,pointer"></a>
  5803. <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">
  5804. <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>
  5805. <dd>
  5806. </dd>
  5807. <a id="addEventWatch,EventFilter,pointer"></a>
  5808. <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">
  5809. <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>
  5810. <dd>
  5811. </dd>
  5812. <a id="delEventWatch,EventFilter,pointer"></a>
  5813. <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">
  5814. <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>
  5815. <dd>
  5816. </dd>
  5817. <a id="filterEvents,EventFilter,pointer"></a>
  5818. <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">
  5819. <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>
  5820. <dd>
  5821. </dd>
  5822. <a id="eventState,EventType,cint"></a>
  5823. <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>
  5824. <dd>
  5825. </dd>
  5826. <a id="registerEvents,cint"></a>
  5827. <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>
  5828. <dd>
  5829. </dd>
  5830. <a id="setError,cstring"></a>
  5831. <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>
  5832. <dd>
  5833. </dd>
  5834. <a id="getError"></a>
  5835. <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>
  5836. <dd>
  5837. </dd>
  5838. <a id="clearError"></a>
  5839. <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>
  5840. <dd>
  5841. </dd>
  5842. <a id="getPixelFormatName,uint32"></a>
  5843. <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>
  5844. <dd>
  5845. Get the human readable name of a pixel format
  5846. </dd>
  5847. <a id="pixelFormatEnumToMasks,uint32,cint,uint32,uint32,uint32,uint32"></a>
  5848. <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>
  5849. <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">
  5850. <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>
  5851. <dd>
  5852. Convert one of the enumerated pixel formats to a bpp and RGBA masks. Returns TRUE or FALSE if the conversion wasn't possible.
  5853. </dd>
  5854. <a id="masksToPixelFormatEnum,cint,uint32,uint32,uint32,uint32"></a>
  5855. <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">
  5856. <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>
  5857. <dd>
  5858. Convert a bpp and RGBA masks to an enumerated pixel format. The pixel format, or ::SDL_PIXELFORMAT_UNKNOWN if the conversion wasn't possible.
  5859. </dd>
  5860. <a id="allocFormat,uint32"></a>
  5861. <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>
  5862. <dd>
  5863. </dd>
  5864. <a id="freeFormat,ptr.PixelFormat"></a>
  5865. <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>
  5866. <dd>
  5867. Free an SDL_PixelFormat structure.
  5868. </dd>
  5869. <a id="allocPalette,cint"></a>
  5870. <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>
  5871. <dd>
  5872. 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.
  5873. </dd>
  5874. <a id="setPixelFormatPalette,ptr.PixelFormat,ptr.Palette"></a>
  5875. <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">
  5876. <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>
  5877. <dd>
  5878. Set the palette for a pixel format structure.
  5879. </dd>
  5880. <a id="setPaletteColors,ptr.Palette,ptr.Color,cint,cint"></a>
  5881. <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">
  5882. <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>
  5883. <dd>
  5884. Set a range of colors in a palette.
  5885. </dd>
  5886. <a id="freePalette,ptr.Palette"></a>
  5887. <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>
  5888. <dd>
  5889. Free a palette created with SDL_AllocPalette().
  5890. </dd>
  5891. <a id="mapRGB,ptr.PixelFormat,uint8,uint8,uint8"></a>
  5892. <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>
  5893. <dd>
  5894. Maps an RGB triple to an opaque pixel value for a given pixel format.
  5895. </dd>
  5896. <a id="mapRGBA,ptr.PixelFormat,uint8,uint8,uint8,uint8"></a>
  5897. <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>
  5898. <dd>
  5899. Maps an RGBA quadruple to a pixel value for a given pixel format.
  5900. </dd>
  5901. <a id="getRGB,uint32,ptr.PixelFormat,uint8,uint8,uint8"></a>
  5902. <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">
  5903. <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>
  5904. <dd>
  5905. Get the RGB components from a pixel of the specified format.
  5906. </dd>
  5907. <a id="getRGBA,uint32,ptr.PixelFormat,uint8,uint8,uint8,uint8"></a>
  5908. <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">
  5909. <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>
  5910. <dd>
  5911. Get the RGBA components from a pixel of the specified format.
  5912. </dd>
  5913. <a id="calculateGammaRamp,cfloat,ptr.uint16"></a>
  5914. <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">
  5915. <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>
  5916. <dd>
  5917. Calculate a 256 entry gamma ramp for a gamma value.
  5918. </dd>
  5919. <a id="setClipboardText,cstring"></a>
  5920. <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>
  5921. <dd>
  5922. </dd>
  5923. <a id="getClipboardText"></a>
  5924. <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>
  5925. <dd>
  5926. </dd>
  5927. <a id="hasClipboardText"></a>
  5928. <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>
  5929. <dd>
  5930. </dd>
  5931. <a id="freeClipboardText,cstring"></a>
  5932. <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>
  5933. <dd>
  5934. </dd>
  5935. <a id="getNumTouchFingers,TouchID"></a>
  5936. <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>
  5937. <dd>
  5938. </dd>
  5939. <a id="getTouchFinger,TouchID,cint"></a>
  5940. <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">
  5941. <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>
  5942. <dd>
  5943. </dd>
  5944. <a id="getEventState,EventType"></a>
  5945. <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>
  5946. <dd>
  5947. </dd>
  5948. <a id="createRGBSurface,int32,int32,int32"></a>
  5949. <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>
  5950. <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>
  5951. <dd>
  5952. </dd>
  5953. <a id="getSize,WindowPtr"></a>
  5954. <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>
  5955. <dd>
  5956. </dd>
  5957. <a id="destroyTexture,TexturePtr"></a>
  5958. <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>
  5959. <dd>
  5960. </dd>
  5961. <a id="destroyRenderer,RendererPtr"></a>
  5962. <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>
  5963. <dd>
  5964. </dd>
  5965. <a id="destroy,WindowPtr"></a>
  5966. <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>
  5967. <dd>
  5968. </dd>
  5969. <a id="destroy,CursorPtr"></a>
  5970. <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>
  5971. <dd>
  5972. </dd>
  5973. <a id="destroy,SurfacePtr"></a>
  5974. <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>
  5975. <dd>
  5976. </dd>
  5977. <a id="destroy,ptr.PixelFormat"></a>
  5978. <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>
  5979. <dd>
  5980. </dd>
  5981. <a id="destroy,ptr.Palette"></a>
  5982. <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>
  5983. <dd>
  5984. </dd>
  5985. <a id="blitSurface,SurfacePtr,ptr.Rect,SurfacePtr,ptr.Rect"></a>
  5986. <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">
  5987. <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>
  5988. <dd>
  5989. </dd>
  5990. <a id="blitScaled,SurfacePtr,ptr.Rect,SurfacePtr,ptr.Rect"></a>
  5991. <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">
  5992. <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>
  5993. <dd>
  5994. </dd>
  5995. <a id="loadBMP,string"></a>
  5996. <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>
  5997. <dd>
  5998. </dd>
  5999. <a id="saveBMP,SurfacePtr,string"></a>
  6000. <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>
  6001. <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>
  6002. <dd>
  6003. </dd>
  6004. <a id="color,range[],range[],range[],range[]"></a>
  6005. <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>
  6006. <dd>
  6007. </dd>
  6008. <a id="rect,cint,cint"></a>
  6009. <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>
  6010. <dd>
  6011. </dd>
  6012. <a id="point,T,T"></a>
  6013. <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>
  6014. <dd>
  6015. </dd>
  6016. <a id="contains,Rect,Point"></a>
  6017. <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>
  6018. <dd>
  6019. </dd>
  6020. <a id="setHint,cstring,cstring"></a>
  6021. <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>
  6022. <dd>
  6023. </dd>
  6024. <a id="setHintWithPriority,cstring,cstring,cint"></a>
  6025. <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">
  6026. <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>
  6027. <dd>
  6028. </dd>
  6029. <a id="getHint,cstring"></a>
  6030. <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>
  6031. <dd>
  6032. </dd>
  6033. <a id="size,RWopsPtr"></a>
  6034. <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>
  6035. <dd>
  6036. </dd>
  6037. <a id="seek,RWopsPtr,int64,cint"></a>
  6038. <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>
  6039. <dd>
  6040. </dd>
  6041. <a id="read,RWopsPtr,pointer,csize_t,csize_t"></a>
  6042. <dt><pre><span class="Keyword">proc</span> <a href="#read%2CRWopsPtr%2Cpointer%2Ccsize_t%2Ccsize_t"><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> <span class="Identifier">csize_t</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">csize_t</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>
  6043. <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>
  6044. <dd>
  6045. </dd>
  6046. <a id="write,RWopsPtr,pointer,csize_t,csize_t"></a>
  6047. <dt><pre><span class="Keyword">proc</span> <a href="#write%2CRWopsPtr%2Cpointer%2Ccsize_t%2Ccsize_t"><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> <span class="Identifier">csize_t</span><span class="Other">)</span><span class="Other">:</span> <span class="Identifier">csize_t</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>
  6048. <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>
  6049. <dd>
  6050. </dd>
  6051. <a id="close,RWopsPtr"></a>
  6052. <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>
  6053. <dd>
  6054. </dd>
  6055. </dl></div>
  6056. <div class="section" id="16">
  6057. <h1><a class="toc-backref" href="#16">Converters</a></h1>
  6058. <dl class="item">
  6059. <a id="toInt.c,Keymod"></a>
  6060. <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>
  6061. <dd>
  6062. </dd>
  6063. <a id="toBool.c,Bool32"></a>
  6064. <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>
  6065. <dd>
  6066. </dd>
  6067. <a id="toBool.c,SDL_Return"></a>
  6068. <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>
  6069. <dd>
  6070. </dd>
  6071. <a id="toCint.c,TextureAccess"></a>
  6072. <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>
  6073. <dd>
  6074. </dd>
  6075. </dl></div>
  6076. <div class="section" id="18">
  6077. <h1><a class="toc-backref" href="#18">Templates</a></h1>
  6078. <dl class="item">
  6079. <a id="KMOD_CTRL.t"></a>
  6080. <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>
  6081. <dd>
  6082. </dd>
  6083. <a id="KMOD_SHIFT.t"></a>
  6084. <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>
  6085. <dd>
  6086. </dd>
  6087. <a id="KMOD_ALT.t"></a>
  6088. <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>
  6089. <dd>
  6090. </dd>
  6091. <a id="KMOD_GUI.t"></a>
  6092. <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>
  6093. <dd>
  6094. </dd>
  6095. <a id="SDL_DEFINE_PIXELFOURCC.t,char,char,char,char"></a>
  6096. <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>
  6097. <dd>
  6098. </dd>
  6099. <a id="SDL_DEFINE_PIXELFORMAT.t,int,int,int,int,int"></a>
  6100. <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>
  6101. <dd>
  6102. </dd>
  6103. <a id="SDL_PIXELFLAG.t,uint32"></a>
  6104. <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>
  6105. <dd>
  6106. </dd>
  6107. <a id="SDL_PIXELTYPE.t,uint32"></a>
  6108. <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>
  6109. <dd>
  6110. </dd>
  6111. <a id="SDL_PIXELORDER.t,uint32"></a>
  6112. <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>
  6113. <dd>
  6114. </dd>
  6115. <a id="SDL_PIXELLAYOUT.t,uint32"></a>
  6116. <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>
  6117. <dd>
  6118. </dd>
  6119. <a id="SDL_BITSPERPIXEL.t,uint32"></a>
  6120. <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>
  6121. <dd>
  6122. </dd>
  6123. <a id="SDL_BYTESPERPIXEL.t,uint32"></a>
  6124. <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>
  6125. <dd>
  6126. </dd>
  6127. <a id="SDL_ISPIXELFORMAT_INDEXED.t,uint32"></a>
  6128. <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>
  6129. <dd>
  6130. </dd>
  6131. <a id="SDL_ISPIXELFORMAT_ALPHA.t,uint32"></a>
  6132. <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>
  6133. <dd>
  6134. </dd>
  6135. <a id="SDL_ISPIXELFORMAT_FOURCC.t,uint32"></a>
  6136. <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>
  6137. <dd>
  6138. </dd>
  6139. <a id="SDL_MUSTLOCK.t,SurfacePtr"></a>
  6140. <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>
  6141. <dd>
  6142. </dd>
  6143. <a id="SDL_WINDOWPOS_UNDEFINED_DISPLAY.t,cint"></a>
  6144. <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>
  6145. <dd>
  6146. </dd>
  6147. <a id="SDL_WINDOWPOS_ISUNDEFINED.t,cint"></a>
  6148. <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>
  6149. <dd>
  6150. </dd>
  6151. <a id="SDL_WINDOWPOS_CENTERED_DISPLAY.t,cint"></a>
  6152. <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>
  6153. <dd>
  6154. </dd>
  6155. <a id="SDL_WINDOWPOS_ISCENTERED.t,cint"></a>
  6156. <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>
  6157. <dd>
  6158. </dd>
  6159. <a id="SDL_BUTTON.t,uint8"></a>
  6160. <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>
  6161. <dd>
  6162. </dd>
  6163. </dl></div>
  6164. </div>
  6165. </div>
  6166. <div class="row">
  6167. <div class="twelve-columns footer">
  6168. <span class="nim-sprite"></span>
  6169. <br/>
  6170. <small style="color: var(--hint);">Made with Nim. Generated: 2020-06-04 08:52:06 UTC</small>
  6171. </div>
  6172. </div>
  6173. </div>
  6174. </div>
  6175. </body>
  6176. </html>