mirror of
https://github.com/Drezil/imgui.git
synced 2024-12-24 00:26:36 +00:00
67b604412b
Squashed commits: [34cc3b7] Adds osx example. (+6 squashed commits) Squashed commits: [20330f2] Uses glfw by brew install. [0427861] Renames imguiex folder name to imguiex-ios [f9e27e5] Renames ios_example to apple_example. [44f8fe3] Updates the glfw header/library path. [919f279] Renames target from imguiex to imguiex-ios since there is already a imguiex-osx target now. [24395f5] Adds osx example.
23 lines
706 B
Objective-C
23 lines
706 B
Objective-C
// 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)
|
|
|
|
#pragma once
|
|
|
|
#include <Foundation/Foundation.h>
|
|
#include <UIKit/UIKit.h>
|
|
|
|
@interface ImGuiHelper : NSObject
|
|
|
|
- (id) initWithView: (UIView *)view;
|
|
|
|
- (void)connectServer: (NSString*)serverName;
|
|
|
|
- (void)render;
|
|
- (void)newFrame;
|
|
|
|
@end
|