var searchIndex = {}; searchIndex["minifb"] = {"doc":"","items":[[3,"Window","minifb","",null,null],[4,"Scale","","Scale will scale the frame buffer and the window that is being sent in when calling the update\nfunction. This is useful if you for example want to display a 320 x 256 window on a screen with\nmuch higher resolution which would result in that the window is very small.",null,null],[13,"FitScreen","","This mode checks your current screen resolution and will caluclate the largest window size\nthat can be used within that limit and resize it. Useful if you have a small buffer to\ndisplay on a high resolution screen.",0,null],[13,"X1","","1X scale (which means leave the corrdinates sent into Window::new untouched)",0,null],[13,"X2","","2X window scale (Example: 320 x 200 -> 640 x 400)",0,null],[13,"X4","","4X window scale (Example: 320 x 200 -> 1280 x 800)",0,null],[13,"X8","","8X window scale (Example: 320 x 200 -> 2560 x 1600)",0,null],[13,"X16","","16X window scale (Example: 320 x 200 -> 5120 x 3200)",0,null],[13,"X32","","32 window scale (Example: 320 x 200 -> 10240 x 6400)",0,null],[4,"KeyRepeat","","Used for is_key_pressed and get_keys_pressed() to indicated if repeat of presses is wanted",null,null],[13,"Yes","","Use repeat",1,null],[13,"No","","Don't use repeat",1,null],[4,"MouseButton","","The various mouse buttons that are availible",null,null],[13,"Left","","Left mouse button",2,null],[13,"Middle","","Middle mouse button",2,null],[13,"Right","","Right mouse button",2,null],[4,"Key","","Key is used by the get key functions to check if some keys on the keyboard has been pressed",null,null],[13,"Key0","","",3,null],[13,"Key1","","",3,null],[13,"Key2","","",3,null],[13,"Key3","","",3,null],[13,"Key4","","",3,null],[13,"Key5","","",3,null],[13,"Key6","","",3,null],[13,"Key7","","",3,null],[13,"Key8","","",3,null],[13,"Key9","","",3,null],[13,"A","","",3,null],[13,"B","","",3,null],[13,"C","","",3,null],[13,"D","","",3,null],[13,"E","","",3,null],[13,"F","","",3,null],[13,"G","","",3,null],[13,"H","","",3,null],[13,"I","","",3,null],[13,"J","","",3,null],[13,"K","","",3,null],[13,"L","","",3,null],[13,"M","","",3,null],[13,"N","","",3,null],[13,"O","","",3,null],[13,"P","","",3,null],[13,"Q","","",3,null],[13,"R","","",3,null],[13,"S","","",3,null],[13,"T","","",3,null],[13,"U","","",3,null],[13,"V","","",3,null],[13,"W","","",3,null],[13,"X","","",3,null],[13,"Y","","",3,null],[13,"Z","","",3,null],[13,"F1","","",3,null],[13,"F2","","",3,null],[13,"F3","","",3,null],[13,"F4","","",3,null],[13,"F5","","",3,null],[13,"F6","","",3,null],[13,"F7","","",3,null],[13,"F8","","",3,null],[13,"F9","","",3,null],[13,"F10","","",3,null],[13,"F11","","",3,null],[13,"F12","","",3,null],[13,"F13","","",3,null],[13,"F14","","",3,null],[13,"F15","","",3,null],[13,"Down","","",3,null],[13,"Left","","",3,null],[13,"Right","","",3,null],[13,"Up","","",3,null],[13,"Apostrophe","","",3,null],[13,"Backquote","","",3,null],[13,"Backslash","","",3,null],[13,"Comma","","",3,null],[13,"Equal","","",3,null],[13,"LeftBracket","","",3,null],[13,"Minus","","",3,null],[13,"Period","","",3,null],[13,"RightBracket","","",3,null],[13,"Semicolon","","",3,null],[13,"Slash","","",3,null],[13,"Backspace","","",3,null],[13,"Delete","","",3,null],[13,"End","","",3,null],[13,"Enter","","",3,null],[13,"Escape","","",3,null],[13,"Home","","",3,null],[13,"Insert","","",3,null],[13,"Menu","","",3,null],[13,"PageDown","","",3,null],[13,"PageUp","","",3,null],[13,"Pause","","",3,null],[13,"Space","","",3,null],[13,"Tab","","",3,null],[13,"NumLock","","",3,null],[13,"CapsLock","","",3,null],[13,"ScrollLock","","",3,null],[13,"LeftShift","","",3,null],[13,"RightShift","","",3,null],[13,"LeftCtrl","","",3,null],[13,"RightCtrl","","",3,null],[13,"NumPad0","","",3,null],[13,"NumPad1","","",3,null],[13,"NumPad2","","",3,null],[13,"NumPad3","","",3,null],[13,"NumPad4","","",3,null],[13,"NumPad5","","",3,null],[13,"NumPad6","","",3,null],[13,"NumPad7","","",3,null],[13,"NumPad8","","",3,null],[13,"NumPad9","","",3,null],[13,"NumPadDot","","",3,null],[13,"NumPadSlash","","",3,null],[13,"NumPadAsterisk","","",3,null],[13,"NumPadMinus","","",3,null],[13,"NumPadPlus","","",3,null],[13,"NumPadEnter","","",3,null],[13,"LeftAlt","","",3,null],[13,"RightAlt","","",3,null],[13,"LeftSuper","","",3,null],[13,"RightSuper","","",3,null],[13,"Unknown","","Used when an Unknown key has been pressed",3,null],[13,"Count","","",3,null],[4,"MouseMode","","Key is used by the get key functions to check if some keys on the keyboard has been pressed",null,null],[13,"Pass","","Return mouse coords from outside of the window (may be negative)",4,null],[13,"Clamp","","Clamp the mouse coordinates within the window",4,null],[13,"Discard","","Discared if the mouse is outside the window",4,null],[11,"clone","","",0,null],[11,"clone","","",1,null],[11,"eq","","",1,null],[11,"clone","","",2,null],[11,"eq","","",2,null],[11,"clone","","",3,null],[11,"eq","","",3,null],[11,"clone","","",4,null],[11,"eq","","",4,null],[11,"new","","",5,{"inputs":[{"name":"str"},{"name":"usize"},{"name":"usize"},{"name":"scale"}],"output":{"name":"result"}}],[11,"update","","",5,null],[11,"is_open","","",5,null],[11,"set_position","","",5,null],[11,"get_mouse_pos","","",5,null],[11,"get_mouse_down","","",5,null],[11,"get_scroll_wheel","","",5,null],[11,"get_keys","","",5,null],[11,"get_keys_pressed","","",5,null],[11,"is_key_down","","",5,null],[11,"is_key_pressed","","",5,null],[11,"set_key_repeat_delay","","",5,null],[11,"set_key_repeat_rate","","",5,null]],"paths":[[4,"Scale"],[4,"KeyRepeat"],[4,"MouseButton"],[4,"Key"],[4,"MouseMode"],[3,"Window"]]}; initSearch(searchIndex);