GwenTextureWindow.h 572 B

1234567891011121314151617181920212223242526272829303132
  1. #ifndef GWEN_TEXTURE_WINDOW_H
  2. #define GWEN_TEXTURE_WINDOW_H
  3. struct MyGraphInput
  4. {
  5. struct GwenInternalData* m_data;
  6. int m_xPos;
  7. int m_yPos;
  8. int m_width;
  9. int m_height;
  10. int m_borderWidth;
  11. const char* m_name;
  12. const char* m_texName;
  13. MyGraphInput(struct GwenInternalData* data)
  14. :m_data(data),
  15. m_xPos(0),
  16. m_yPos(0),
  17. m_width(400),
  18. m_height(400),
  19. m_borderWidth(0),
  20. m_name("GraphWindow"),
  21. m_texName(0)
  22. {
  23. }
  24. };
  25. class MyGraphWindow* setupTextureWindow(const MyGraphInput& input);
  26. void destroyTextureWindow(MyGraphWindow* window);
  27. #endif //GWEN_TEXTURE_WINDOW_H