Jeffery Myers 1 an în urmă
părinte
comite
6136b05be5
2 a modificat fișierele cu 6 adăugiri și 3 ștergeri
  1. 6 1
      README.md
  2. 0 2
      rlImGui.h

+ 6 - 1
README.md

@@ -57,9 +57,14 @@ If you wish to disable font awesome support you can #define NO_FONT_AWESOME
 Raylib textures can be drawn in ImGui using the following functions
 Raylib textures can be drawn in ImGui using the following functions
 ```
 ```
 void rlImGuiImage(const Texture *image);
 void rlImGuiImage(const Texture *image);
-bool rlImGuiImageButton(const Texture *image);
 void rlImGuiImageSize(const Texture *image, int width, int height);
 void rlImGuiImageSize(const Texture *image, int width, int height);
+void rlImGuiImageSizeV(const Texture* image, Vector2 size);
 void rlImGuiImageRect(const Texture* image, int destWidth, int destHeight, Rectangle sourceRect);
 void rlImGuiImageRect(const Texture* image, int destWidth, int destHeight, Rectangle sourceRect);
+void rlImGuiImageRenderTexture(const RenderTexture* image);
+void rlImGuiImageRenderTextureFit(const RenderTexture* image, bool center);
+
+bool rlImGuiImageButton(const Texture *image);
+bool rlImGuiImageButtonSize(const char* name, const Texture* image, struct ImVec2 size);
 ```
 ```
 
 
 # C vs C++
 # C vs C++

+ 0 - 2
rlImGui.h

@@ -119,7 +119,6 @@ void rlImGuiImageSize(const Texture *image, int width, int height);
 /// <param name="size">The size of drawn image</param>
 /// <param name="size">The size of drawn image</param>
 void rlImGuiImageSizeV(const Texture* image, Vector2 size);
 void rlImGuiImageSizeV(const Texture* image, Vector2 size);
 
 
-
 /// <summary>
 /// <summary>
 /// Draw a portion texture as an image in an ImGui Context at a defined size
 /// Draw a portion texture as an image in an ImGui Context at a defined size
 /// Uses the current ImGui Cursor position and the specified size
 /// Uses the current ImGui Cursor position and the specified size
@@ -145,7 +144,6 @@ void rlImGuiImageRenderTexture(const RenderTexture* image);
 /// <param name="center">When true the image will be centered in the content area</param>
 /// <param name="center">When true the image will be centered in the content area</param>
 void rlImGuiImageRenderTextureFit(const RenderTexture* image, bool center);
 void rlImGuiImageRenderTextureFit(const RenderTexture* image, bool center);
 
 
-
 /// <summary>
 /// <summary>
 /// Draws a texture as an image button in an ImGui context. Uses the current ImGui cursor position and the full size of the texture
 /// Draws a texture as an image button in an ImGui context. Uses the current ImGui cursor position and the full size of the texture
 /// </summary>
 /// </summary>