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

Topics - Ruckamongus

#1
Hey Texus,

I was wondering about your thoughts on the best approach to adding a button to the child window. In a project I'm porting to C++ I had a nice little GUI effect I liked. Some child windows could be closed or mildly hidden. For example:



The image on the right is what happens when the leftmost button is pressed. I'd like to add that button conditionally to some TGUI child windows. Would I be better off modifying the child window class directly or inheriting from it and adding it in? I don't foresee having more buttons than the two (so 0, 1, or 2 at most). Thoughts?
#2
Hey Texus,

Great GUI! I'd like to make two requests (one of which I made quite a while ago, I'm hoping to hear your more recent thoughts).

First, would you allow child windows to be resized like this:

I realize there is a setSize() function, but it feels limited not being able to drag the borders dynamically.


Second, can we have a right-click menu for the mouse? Even if it's super simple (doesn't even have to have sub-menus, icons, or dividers) for now?


Also, an unrelated bug report, it seems that the TextBox widget doesn't obey setOpacity() (0.7dev).

Thanks for your time!!
#3
Hello, all. I've ran into some issues when compiling the latest 0.7 source. I've been using 0.7 for a while now (5 months or more I believe, and this was on GCC 4.8; I haven't updated since that time). Unfortunately, when calling make after configuring with cmake, I'm getting some static assert errors about invalid point-to-member function stuff. Here's a pastebin: https://pastebin.com/VxJXXfKJ

Part of the error:
Code (cpp) Select

In instantiation of 'struct std::_Bind_check_arity<void (tgui::ComboBox::*)(), tgui::ComboBox*&, int>':
(SNIP template redundancy stuff)
required from 'unsigned int tgui::SignalWidgetBase::connect(const string&, Func, Args ...) [with Func = void (tgui::ComboBox::*)(); Args = {tgui::ComboBox*}; std::__cxx11::string = std::__cxx11::basic_string<char>]'
C:\Users\Cody\Downloads\TGUI-0.7-dev\TGUI-0.7-dev\src\TGUI\ComboBox.cpp:505:92:   required from here
c:\mingw\mingw\include\c++\5.1.0\functional:1426:7: error: static assertion failed: Wrong number of arguments for pointer-to-member
       static_assert(_Varargs::value


I've used a great deal of 0.7 stuff in my project so I'd rather not go back to 0.6 if it can be avoided. Any help you can provide would be much appreciated!
#4
Feature requests / PopupMenu
01 October 2014, 22:24:46
Hey is the PopupMenu widget (right-clicking menu) in the works yet? Just curious if there has been any progress? I assume it'll be a version 0.7 thing.
#5
General Discussion / Textbox Pasting Error
18 September 2014, 19:57:40
Hey Texus,

It seems that the first linebreak (\n) being pasted into a textbox is ignored. All subsequent occurrences work as expected. I'm using the most recent master version (6, not 7) on GitHub.
#6
Feature requests / Treeview Element
05 August 2013, 23:15:56
Hey Texus, I love TGUI! I really appreciate the work you put into it! I was wondering if you've considered implementing a tree view element in the future. Something like this:



Thanks!