format documents
This commit is contained in:
@@ -23,9 +23,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
*/
|
||||
|
||||
#include <functional>
|
||||
#include <pd/ui7/container/container.hpp>
|
||||
#include <pd/ui7/io.hpp>
|
||||
#include <functional>
|
||||
|
||||
namespace PD {
|
||||
namespace UI7 {
|
||||
|
||||
@@ -82,7 +82,7 @@ class PD_API Menu {
|
||||
Container* r = pLayout.FindObject(id);
|
||||
if (!r) {
|
||||
r = new UI7::DragData<T>(label, data, num_elms, pIO, min, max, step,
|
||||
precision);
|
||||
precision);
|
||||
// Isnt This exactly the same line???
|
||||
// r = UI7::DragData<T>::New(label, data, num_elms, pIO, min, max, step,
|
||||
// precision);
|
||||
|
||||
@@ -56,8 +56,7 @@ class PD_API Context {
|
||||
void AddViewPort(const ID& id, const ivec4& vp);
|
||||
void UseViewPort(const ID& id);
|
||||
void Update();
|
||||
Menu* BeginMenu(const ID& id, UI7MenuFlags flags = 0,
|
||||
bool* pShow = nullptr);
|
||||
Menu* BeginMenu(const ID& id, UI7MenuFlags flags = 0, bool* pShow = nullptr);
|
||||
Menu* CurrentMenu() { return pCurrent; }
|
||||
void EndMenu();
|
||||
void AboutMenu(bool* show = nullptr);
|
||||
|
||||
Reference in New Issue
Block a user