I just remembered that since v0.8.4 you can also just use the "Changed" signal instead of connecting to both checked and unchecked.
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 MenuQuoteIn gui.txt just add "OpacityDisabled = 0.3" in ChildWindow section and the code will hung in "mGuiTheme.load("resources/gui.txt");"I can't reproduce hanging, but last time you said "gave me an exception" so I'm assuming that is still what you mean. The reason is probably because you forgot a semi-colon behind the line (if you catch the tgui::Exception that gets thrown it will likely tell you that parsing failed on that line, maybe even mentioning which character it read). You forgot this for all widgets, but the parser is more forgiving when it is the very last line in the section.
QuoteHowever there is a problem with menubar and opacity of texts color when they get enabled.It definitely looks like that with the White theme, but if the issue you were seeing is the one that I just fixed then the problem was actually just the text color, not the opacity.
QuoteAlso a setopacitydisable value in gui.txt for messagebox gave me an exception.Did you make a typo when making the forum post or are you actually using "setopacitydisable"? Because it should be "opacitydisabled" (without "set" in front and with a "d" at the end).
QuoteNow we have something, i think.Yep, you did a great job.
QuoteI added "gnu-freefont_freeserif.zip" because it contains credit file for author and maybe it should added in resources.I agree that the credits should be included, but that zip contains several different fonts of which only one is needed, so it is wasted space. Maybe the font should be moved to a new subfolder which would contain the README, FreeSerifBold.otf, CREDITS, COPYING and AUTHORS files. I don't think we need to keep the INSTALL, CHANGELOG and other font files. I would keep the README just because it contains the exception that allows the font to be used without requiring the program to be licensed under GPL.
QuoteI really can not figure out why the label with scroll bar do not show the beginning of the text.I can't reproduce this. If I don't call setScrollbarPolicy then it only shows the start of the text as expected, but I don't know in what situation it would only show the end of the text.
QuoteAlso, i can't set min max form size on a message box.Message box wasn't supposed to be resized and it's size would depend on the contents. A maximum size would be useful as it would allow word-wrapping on the text. For the label the behavior is simple, but I'm not sure what to do if the buttons exceed the size. The whole widget probably needs an overhaul, maybe also making the sizes of the buttons and the spaces between them configurable. So this probably isn't something that I would implement on short-term.

QuoteThe above code kills the selected tab. When a tab bar goes disabled must not lose his selected index.Fixed.
QuoteThe above code (setting new font) sets all text data in scrollpanel to lowercase.I can't reproduce it. I also don't see how the font could affect the string data. If the font you are setting has capital letters then you should create a minimal program and post it together with the font.
QuoteI have some hard times with "ScrollablePanel"Theme files just don't work like that, you can't reference to another section (it would be nice if it was possible though, then you wouldn't have to repeat the information). It should look like this:
ScrollablePanel {
BackgroundColor = rgba(100, 100, 100, 255);
BorderColor = rgba(0, 0, 0 , 255);
Borders = (1, 1, 1, 1);
OpacityDisabled = 0.3;
}QuoteI think knobs need some improvements.Yeah, that widget didn't get much attention, it only has minimal functionality.
QuoteWhen i pressed down left mouse the indicator must no be moved to the direction of mouse point but only if i start moving the mouse while it still down.I guess this also means that you want the knob to move based on how much you move the mouse as opposed to jumping straight to the mouse position?
QuoteAlso when i double click on them they should reset.Is this some kind of standard behavior somewhere? This could be done in user code if a DoubleClick event existed.
QuoteAlso they must stop on min or max and not moving around.That doesn't sound so easy to implement. It means the thumb must not jump to your mouse position but follow the movements you make. In such scenario I'm not sure how the thumb should respond if you move the mouse through the center of the knob to the other side.
QuoteAlmost finished.Looking even better.

QuoteYesterday is saw default argument in "ignoreMouseEvents" (picture). Ok, why setEnabled or setVisible on the other hand don't have.Because setEnabled and setVisible are equally likely to be called with true or false while you would only call ignoreMouseEvents with true (as false is the default and you typically don't toggle that property). That being said, I know that some function have default arguments while others don't where I can't make such a clear distinction. The problem is that I don't really like the default arguments as I feel like people might incorrectly see them as an indication of what the default is when the function isn't called and the default parameter value is usually the exact opposite of the default value used by the widget. So in more recent additions I didn't add a default argument at all.
QuoteInstead of rewriting the whole project why don't you add the missing widgets.Because widgets and extra functions can always be contributed by others, nobody other than me is going to change the architecture of the entire gui.
QuoteThere are a lot of tiny improvements that can be done. Like having all those "signalNames" for all widgets in one place!This is hard to do with the inheritance. I'm also planning on a system like using the onSignal objects directly instead of using the signal names so it might get even more difficult to get things in one place.