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