Commit Graph

53 Commits

Author SHA1 Message Date
Steve Checkoway 6a665f43fb Generic tween on/off. 2007-05-13 03:42:31 +00:00
Glenn Maynard 617e8b5335 FOREACH_ENUM2 -> FOREACH_ENUM 2006-10-07 08:56:58 +00:00
Glenn Maynard 2eca7b670c use FOREACH_ENUM2 2006-09-27 05:18:47 +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
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
Chris Danford 9787348bb0 make End virtual 2006-05-17 03:47:29 +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 9157bff3aa remove m_sprAnswerBox 2006-03-19 04:20:58 +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 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 8d6dda13b6 cleanup 2006-01-28 23:47:21 +00:00
Glenn Maynard 35ce203137 themable 2006-01-27 23:38:19 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Glenn Maynard ced8fd4561 Transition away from Screen(sName). 2006-01-15 19:04:34 +00:00
Thad Ward 7a2e51e7ea include cleanups. 2005-10-30 21:39:49 +00:00
Chris Danford bb10c7c21f pass around InputEventPlus in Screen::Input instead of multiple input structures 2005-09-05 02:26:50 +00:00
Chris Danford 2bfa9b23dd add blinking caret 2005-09-02 21:38:00 +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 537491e1ed cleanup 2005-08-12 23:35:18 +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 09e64b25b6 cleanup 2005-07-20 09:57:42 +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 28133ca105 cleanup 2005-07-07 10:29:04 +00:00
Chris Danford 7c6dbc102b working on ScreenOptionsProfiles 2005-07-05 23:13:49 +00:00
Glenn Maynard ea97ec6095 ScreenTextEntry::TextEntry 2005-07-03 04:42:47 +00:00
Chris Danford 659def4479 fix Pop message doesn't get sent if more than 1 prompt screen on the stack 2005-03-23 06:46:24 +00:00
Chris Danford 6adaa3f1a2 Add cancel transition for STextEntry
Validate new edit name is unique
2005-03-23 05:12:31 +00:00
Chris Danford ee4be22260 add input length cap
fix bogus s_bCancelled flag
2005-03-23 04:08:27 +00:00
Chris Danford ae57faa18d add change sound 2005-03-23 03:41:40 +00:00
Chris Danford 73506c413b virtual keyboard cleanup 2005-03-22 23:58:16 +00:00
Chris Danford 0515e7949a add text entry sounds 2005-03-22 20:26:06 +00:00
Chris Danford 96852c234c Add a virtual keyboard to ScreenTextEntry 2005-03-22 20:15:24 +00:00
Glenn Maynard b51b0cfb4c Use Init() for all screens, so we can set state before the base class
members are loaded--they'll see resets, score finalization, etc.  It
also results in smaller code, due to a g++ bug that causes constructors
to be emitted several times.
2005-02-23 06:29:05 +00:00
Glenn Maynard 55c67ef857 shorten (the extra stuff in this was out of date, anyway; best to keep the brief description simple enough that it doesn't easily become outdated) 2005-02-13 02:57:11 +00:00
Adam Lowman 914b8233ee New Pasword Input Screen and SMOnline Login 2005-01-26 08:50:09 +00:00
Glenn Maynard b1227b4372 headers 2005-01-15 21:00:50 +00:00
Glenn Maynard e4d124dd91 license update 2004-06-08 05:22:33 +00:00
Glenn Maynard 6e13a833d2 simplify
fix "zero first update" logic
2004-01-30 05:07:26 +00:00
Chris Danford a5972a083d fix deleting, renaming profiles 2003-11-01 19:36:52 +00:00
Glenn Maynard c15e0cec49 Allow screen aliasing. 2003-09-27 22:30:51 +00:00
Chris Danford 5e4ec48c3f TransitionBGAnimation -> Transition 2003-04-13 01:09:19 +00:00
Chris Danford 5e0f9956f2 replace uses of TransitionFade with TransitionBGAnimation 2003-04-12 18:34:05 +00:00
Glenn Maynard ff830fad55 only use longchar within fonts 2003-01-28 00:45:01 +00:00
Glenn Maynard 49ffa7b45f replacing markers in BMT::SetText is too expensive; do it
manually
2003-01-18 09:18:30 +00:00
Glenn Maynard e5cd3a0800 text entry: replace placeholders on save, so they don't end up in
SMs.
2003-01-06 07:43:14 +00:00
Chris Danford 1c90b8236f added MAX-style options navigation and moved more constants into theme metrics 2002-09-04 03:49:08 +00:00