Commit Graph

131 Commits

Author SHA1 Message Date
Steve Checkoway c532646ac1 Casting an rvalue to nonconst reference is illegal. I'm not positive why these are considered to be rvalues when they are cast. 2006-10-11 09:33:09 +00:00
Glenn Maynard 527cd01034 NUM_KeyboardRow 2006-09-27 04:35:27 +00:00
Glenn Maynard c8e909f317 We have two sets of nearly identical overloads: MenuUp(iep) and
MenuUp(pn).  pn doesn't receive all of the iep data, and is only called
on IEP_FIRST_PRESS.  It creates more complicated overloading
than is needed: if a base class happens to overload these inputs,
you have to overload the correct set.  This was more useful when
these overloads had five parameters (cumbersome), but it's not so
useful now.
2006-09-14 05:26:58 +00:00
Glenn Maynard c71d8f7425 IET_SLOW_REPEAT -> IET_REPEAT 2006-09-13 02:59:05 +00:00
Glenn Maynard d03db0c4f9 remove IET_FAST_REPEAT 2006-09-13 02:55:19 +00:00
Steve Checkoway dd71daeee4 Validation function for floating point values.
1
2.3
-4.5
-8.2e-10
are all valid.
2006-09-02 23:27:27 +00:00
Glenn Maynard 0a5256bb03 use DeviceInputToChar 2006-06-15 03:35:54 +00:00
Chris Danford 8c4cedf63f let OS handle key modifers (fixes number buttons w/ French keyboard) 2006-06-10 20:33:56 +00:00
Chris Danford dce168b0c2 international keyboard support 2006-06-10 06:50:50 +00:00
Chris Danford 7540f787dd fix blinking cursor w/ formatted answer 2006-05-30 05:09:39 +00:00
Chris Danford a9ee0360fa don't backspace on IET_LEVEL_CHANGED 2006-05-06 04:40:36 +00:00
Chris Danford c6fa5e9854 allow repeating backspace input 2006-05-04 09:29:11 +00:00
Chris Danford 5656de263f add ValidateAppend and FormatAnswerForDisplay callbacks 2006-05-01 06:14:07 +00:00
Chris Danford 78b8cad05d allow STextEntry to be used as a regular screen and not a pushed screen 2006-04-28 01:35:03 +00:00
Glenn Maynard efe1c3b57f simplify 2006-03-19 04:27:03 +00:00
Glenn Maynard 9157bff3aa remove m_sprAnswerBox 2006-03-19 04:20:58 +00:00
Glenn Maynard e2437933a1 cleanup 2006-01-30 02:45:01 +00:00
Glenn Maynard 0eaf05e8da fix caps 2006-01-30 02:29:50 +00:00
Glenn Maynard bdbd8eac51 Split out visual keyboard text entry, to allow direct input only. 2006-01-29 00:49:23 +00:00
Glenn Maynard 4e544cf6d7 just init the keyboard text once 2006-01-29 00:24:38 +00:00
Glenn Maynard eae358e67d Entering text changes the answer text, but not the text on the keys. 2006-01-29 00:20:18 +00:00
Glenn Maynard 142a3863d6 Make ScreenTextEntry's transitioning more standard: call
StartTransitioningScreen, which runs TweenOffScreen and
then sends the message.

This is still a little unique, because it calls TweenOffScreen
on cancel.  The general cancel paths are still rough, and need
refactoring.  Piecemeal ...
2006-01-28 23:51:07 +00:00
Glenn Maynard 150c4cb150 simplify 2006-01-28 23:29:15 +00:00
Glenn Maynard 0fe14c6940 cleanup 2006-01-28 23:19:26 +00:00
Glenn Maynard 013a756d0e remove AllowOldKeyboardInput. If you're typing on a keyboard, why
would you want to enter text with arrow keys?
2006-01-28 06:42:27 +00:00
Glenn Maynard 35ce203137 themable 2006-01-27 23:38:19 +00:00
Glenn Maynard 258b476eb0 add note (for the day we drop VC6 and can make Copy covar) 2006-01-27 23:24:42 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Glenn Maynard a87993bcb1 finish ctor transition 2006-01-15 20:46:15 +00:00
Glenn Maynard ced8fd4561 Transition away from Screen(sName). 2006-01-15 19:04:34 +00:00
Chris Danford fc18dbd342 make more strings localizable 2006-01-08 18:40:20 +00:00
Glenn Maynard 71c7380f44 device-neutral 2005-12-28 20:56:49 +00:00
Glenn Maynard 5e2806c5f7 simplify 2005-12-21 07:42:52 +00:00
Chris Danford d698a5f1ec CString -> RString in RageUtil
ThemeMetric<CString> -> LocalizedString to eliminate dependencies
2005-12-20 08:35:47 +00:00
Glenn Maynard b3d5f2390e cleanup 2005-10-17 06:37:59 +00:00
Chris Danford bb10c7c21f pass around InputEventPlus in Screen::Input instead of multiple input structures 2005-09-05 02:26:50 +00:00
Glenn Maynard 5dd7b77246 fix warning 2005-09-04 05:27:11 +00:00
Chris Danford d120a36089 Backsp -> Backspace 2005-09-02 21:36:56 +00:00
Glenn Maynard f03a983886 refactor to support preloading; load this (almost) like any other screen 2005-08-14 00:47:04 +00:00
Glenn Maynard 3a464572b4 cleanup 2005-08-13 00:03:56 +00:00
Glenn Maynard 16e2681225 simplify 2005-08-12 23:39:26 +00:00
Glenn Maynard 37fc8656a1 static 2005-08-12 23:37:16 +00:00
Glenn Maynard 450cbfa66b make STextEntry work more like other screens: single parameter ctor, move
the special load stuff into a separate function (called any time before
BeginScreen)
2005-08-12 22:46:32 +00:00
Glenn Maynard 019000a40e remove m_bIsTransparent 2005-07-19 21:01:50 +00:00
Glenn Maynard 5161a06e08 simplify 2005-07-18 02:31:51 +00:00
Chris Danford 93ae621c58 derive from SMWE 2005-07-15 01:51:32 +00:00
Glenn Maynard fcbe7b1bd7 rename SetFromNewScreen -> PushScreen (it doesn't touch existing screens)
allow pushing screens without having them deleted on pop
2005-07-14 21:42:52 +00:00
Glenn Maynard 561de04706 cleanup 2005-07-14 03:50:19 +00:00
Glenn Maynard 2a479eb568 cleanup 2005-07-14 03:36:07 +00:00
Glenn Maynard 28133ca105 cleanup 2005-07-07 10:29:04 +00:00