2016-03-24 10:00:47 +00:00
|
|
|
// ImGui iOS+OpenGL+Synergy binding
|
|
|
|
// In this binding, ImTextureID is used to store an OpenGL 'GLuint' texture identifier. Read the FAQ about ImTextureID in imgui.cpp.
|
|
|
|
// Providing a standalone iOS application with Synergy integration makes this sample more verbose than others. It also hasn't been tested as much.
|
|
|
|
// Refer to other examples to get an easier understanding of how to integrate ImGui into your existing application.
|
|
|
|
|
|
|
|
// by Joel Davis (joeld42@gmail.com)
|
2015-06-15 16:23:57 +00:00
|
|
|
|
2015-07-08 03:35:09 +00:00
|
|
|
#pragma once
|
2015-06-15 16:23:57 +00:00
|
|
|
|
|
|
|
#include <Foundation/Foundation.h>
|
|
|
|
#include <UIKit/UIKit.h>
|
|
|
|
|
|
|
|
@interface ImGuiHelper : NSObject
|
|
|
|
|
|
|
|
- (id) initWithView: (UIView *)view;
|
|
|
|
|
|
|
|
- (void)connectServer: (NSString*)serverName;
|
|
|
|
|
|
|
|
- (void)render;
|
|
|
|
- (void)newFrame;
|
|
|
|
|
|
|
|
@end
|