IMGUI_APIboolIsWindowFocused();// is current window focused (differentiate child windows from each others)
IMGUI_APIboolIsRootWindowFocused();// is current root window focused
IMGUI_APIboolIsRootWindowOrAnyChildFocused();// is current root window or any of its child (including current window) focused
IMGUI_APIboolIsClipped(constImVec2&item_size);// to perform coarse clipping on user's side (as an optimization)
IMGUI_APIboolIsRectClipped(constImVec2& size);// test if rectangle of given size starting from cursor pos is out of clipping region. to perform coarse clipping on user's side (as an optimization)
IMGUI_APIboolIsKeyPressed(intkey_index,boolrepeat=true);// key_index into the keys_down[512] array, imgui doesn't know the semantic of each entry