Search found 26 matches
- Mon Mar 07, 2011 15:34
- Forum: Bug Reports, Suggestions, Feature Requests
- Topic: [CELayoutEditorII] Potential crash upon startup
- Replies: 0
- Views: 2947
[CELayoutEditorII] Potential crash upon startup
Hi all, When loading CELayoutEditorII with a non-existing BG image saved when last quitting the app (like, after renaming mybg.png to mybackground.png), CELayoutEditorII will crash upon startup due to this check in CEGUIOutputWidget.setBackgroundImage (qtwidgets.py): if image.isNull(): raise IOError...
- Fri Mar 04, 2011 16:39
- Forum: Help
- Topic: CEGUI SDK 0.7.5 vc9 LNK1104 freeglut_static.lib
- Replies: 3
- Views: 2846
Re: CEGUI SDK 0.7.5 vc9 LNK1104 freeglut_static.lib
Hi,
Have you installed the pre-built SDK or are you trying to compile from source?
What are you trying to compile: CEGUI itself or your project?
Have you installed CEGUI's dependencies?
Have you installed the pre-built SDK or are you trying to compile from source?
What are you trying to compile: CEGUI itself or your project?
Have you installed CEGUI's dependencies?
- Fri Mar 04, 2011 06:02
- Forum: Help
- Topic: [Solved] Editbox's validation string
- Replies: 15
- Views: 7827
Re: [Solved] Editbox's validation string
Since it's not yet the week-end, new update! (and I think last one :D) I've added an event ( EventValidEntry ) which fires as soon as the text becomes a possible match. It allows for quicker feedback, like enabling/disabling a button without the user having to press Enter. Sample scenario: for an IP...
- Tue Mar 01, 2011 11:49
- Forum: Help
- Topic: [Solved] Editbox's validation string
- Replies: 15
- Views: 7827
Re: [Solved] Editbox's validation string
New shelve file, with hard validation done when editing has ended or editbox lost focus: diff --git a/cegui/include/CEGUIPCRERegexMatcher.h b/cegui/include/CEGUIPCRERegexMatcher.h --- a/cegui/include/CEGUIPCRERegexMatcher.h +++ b/cegui/include/CEGUIPCRERegexMatcher.h @@ -45,10 +45,11 @@ ~PCRERegexMa...
- Tue Mar 01, 2011 10:55
- Forum: Help
- Topic: [Solved] Editbox's validation string
- Replies: 15
- Views: 7827
Re: [Solved] Editbox's validation string
Ahem, sorry for this update, but I've made a false assumption that the text would go through an hard validation process when the user validate his input or the control loses focus. I'll post an updated shelve soon.
- Tue Mar 01, 2011 10:08
- Forum: Help
- Topic: [Solved] Editbox's validation string
- Replies: 15
- Views: 7827
Re: Editbox's validation string
You're welcome, I'm glad (should I admit proud too? ) I've been able to help!
And thanks a bunch for this framework, it's such a time-saver, I'm really impressed so far; got my (admittedly simple) menu in no time
And thanks a bunch for this framework, it's such a time-saver, I'm really impressed so far; got my (admittedly simple) menu in no time
- Mon Feb 28, 2011 22:05
- Forum: Help
- Topic: [Solved] Editbox's validation string
- Replies: 15
- Views: 7827
Re: Editbox's validation string
Here's what I got to work; I can't be sure that it covers every use of the regex matcher as I've only checked Editbox so far... Changes to RegexMatcher: * added a MatchState to RegexMatcher (3 states, as in Qt), * added another match method ( virtual MatchState matchRegexSoft(const String& str) ...
- Mon Feb 28, 2011 12:21
- Forum: Help
- Topic: Help using CEGUI with Visual C++ Express 2010
- Replies: 7
- Views: 5751
Re: Help using CEGUI with Visual C++ Express 2010
Hi, About setting up VC++ 2010, here's a simple way to do that, using property sheets (they'll allow you to add CEGUI paths faster to your projects mainly): 1. After opening your solution, go to the Property Manger tab (the tab is available at the bottom of the Solution Explorer 's dock space) 2. Ri...
- Mon Feb 28, 2011 11:35
- Forum: Help
- Topic: [Solved] Editbox's validation string
- Replies: 15
- Views: 7827
Re: Editbox's validation string
Basically, I think you're asking for what I will call 'soft validation' - where the app is informed that the string does not match against the regex, but input is allowed to continue anyway, as opposed to what I will call the 'hard validation' that we have right now that actively prevents the strin...
- Sat Feb 26, 2011 20:10
- Forum: Help
- Topic: [Solved] Editbox's validation string
- Replies: 15
- Views: 7827
Re: Editbox's validation string
Ok, too much Qt I guess :D I was looking to get the same behavior as their validator model, which allows partial match during input. What I want to do is an IP validator, so the user shouldn't be able to type "900" because the last "0" would never be accepted while he's typing; I...
- Sat Feb 26, 2011 08:18
- Forum: Help
- Topic: [Solved] Editbox's validation string
- Replies: 15
- Views: 7827
[Solved] Editbox's validation string
Hello all, I've met a problem regarding user input validation while he's still typing in some text. If the regex used to validate the input doesn't get a complete match, the input seems to be refused. As a test case, we can use the Demo 6 sample, and modify the line 208 (with the "<<<<" as...