| 1789 | //----------------------------------------------------------------------------- |
| 1790 | |
| 1791 | void DemoHelp() { |
| 1792 | IMGUI_DEMO_MARKER("Help"); |
| 1793 | ImGui::SeparatorText("ABOUT THIS DEMO:"); |
| 1794 | ImGui::BulletText("The other tabs are demonstrating many aspects of the library."); |
| 1795 | |
| 1796 | ImGui::SeparatorText("PROGRAMMER GUIDE:"); |
| 1797 | ImGui::BulletText("See the ShowDemoWindow() code in implot3d_demo.cpp. <- you are here!"); |
| 1798 | ImGui::BulletText("See comments in implot3d_demo.cpp."); |
| 1799 | ImGui::BulletText("See example application in example/ folder."); |
| 1800 | |
| 1801 | ImGui::SeparatorText("USER GUIDE:"); |
| 1802 | ImGui::BulletText("Translation"); |
| 1803 | { |
| 1804 | ImGui::Indent(); |
| 1805 | ImGui::BulletText("Left-click drag to translate."); |
| 1806 | ImGui::BulletText("If over axis, only that axis will translate."); |
| 1807 | ImGui::BulletText("If over plane, only that plane will translate."); |
| 1808 | ImGui::BulletText("If outside plot area, translate in the view plane."); |
| 1809 | ImGui::Unindent(); |
| 1810 | } |
| 1811 | |
| 1812 | ImGui::BulletText("Zoom"); |
| 1813 | { |
| 1814 | ImGui::Indent(); |
| 1815 | ImGui::BulletText("Scroll or middle-click drag to zoom."); |
| 1816 | ImGui::BulletText("If over axis, only that axis will zoom."); |
| 1817 | ImGui::BulletText("If over plane, only that plane will zoom."); |
| 1818 | ImGui::BulletText("If outside plot area, zoom the entire plot."); |
| 1819 | ImGui::Unindent(); |
| 1820 | } |
| 1821 | |
| 1822 | ImGui::BulletText("Rotation"); |
| 1823 | { |
| 1824 | ImGui::Indent(); |
| 1825 | ImGui::BulletText("Right-click drag to rotate."); |
| 1826 | ImGui::BulletText("To reset rotation, double right-click outside plot area."); |
| 1827 | ImGui::BulletText("To rotate to plane, double right-click when over the plane."); |
| 1828 | ImGui::Unindent(); |
| 1829 | } |
| 1830 | |
| 1831 | ImGui::BulletText("Fit data"); |
| 1832 | { |
| 1833 | ImGui::Indent(); |
| 1834 | ImGui::BulletText("Double left-click to fit."); |
| 1835 | ImGui::BulletText("If over axis, fit data to axis."); |
| 1836 | ImGui::BulletText("If over plane, fit data to plane."); |
| 1837 | ImGui::BulletText("If outside plot area, fit data to plot."); |
| 1838 | ImGui::Unindent(); |
| 1839 | } |
| 1840 | |
| 1841 | ImGui::BulletText("Context Menus"); |
| 1842 | { |
| 1843 | ImGui::Indent(); |
| 1844 | ImGui::BulletText("Right-click outside plot area to show full context menu."); |
| 1845 | ImGui::BulletText("Right-click over legend to show legend context menu."); |
| 1846 | ImGui::BulletText("Right-click over axis to show axis context menu."); |
| 1847 | ImGui::BulletText("Right-click over plane to show plane context menu."); |
| 1848 | ImGui::Unindent(); |