Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - slimmeke

#1
Ok tnx Texus.

You are right. Resources are Windows only :).
#2
hey

Is it possible to use VS Resource with TGui. So I can load all images and config files from the Resource file instead of the hard disk (direct)? If it is possible, must we do something special for this to work or not?
#3
Texus tnx for your quick respons now it compiles in VS2013 :).

Have a nice day in Belgium :). It's hot here in Mechelen :).
#4
hey

I have found the problem and a sollution for that problem :).
U use a custom made pointer SharedWidgetPtr and you check it with a default C++ pointer. And the compiler can't compare it with each other. Now the sollution is to add a getPointer method that returns the m_Widgetptr

template <class T>
    class TGUI_API SharedWidgetPtr
{

public:
      Widget* getPointer()
      {
         return m_WidgetPtr;
      }
}

In Grid.cpp you must change line 127:
From: if (m_GridWidgets[row][col] == widget)
To:     if (m_GridWidgets[row][col].getPointer() == widget)

And in Container line 2273.
From: if (m_EventManager.m_Widgets == widget)
To: if (m_EventManager.m_Widgets.getPointer() == widget)

And if you change this than you have a working version in VS2013 (with boost) :).

I can mail you the source if you want :).
#5
General Discussion / Tgui without Boost
06 July 2013, 14:40:59
Hey

I have create a TGui without Boost. All boost source is changed to C++11 (VS2012 does not support this functions).
You can find the source at: https://docs.google.com/file/d/0B7tTtE3e6xrTX3BSY1NMRHp3ejA/edit?usp=sharing

If you have downloaded this can U send a tnx or something so I can remove it from my GDrive.
I coudn't push it to the git.

Hope you can use this.
#6
When I compile Tgui with Visual Studio 2013 I got following errors:
error C1001: An internal error has occurred in the compiler.   \TGUI\Container.cpp   line 2273

He stop compiling at if (m_EventManager.m_Widgets == widget).

I use newest boost for it to work with VS2013.

Hope someone can help me with this compile error.