Commit Graph

198 Commits

Author SHA1 Message Date
Jason Felds 2b7744c937 Tab cleanup. 2006-08-18 03:32:00 +00:00
Glenn Maynard d0bcf2052d RageTexture is a wrapper around RageDisplay's textures; RageDisplay
itself doesn't use it.  Don't pass in RageTexture to SetTexture;
use RageDisplay's native texture handles.
2006-07-23 03:19:49 +00:00
Glenn Maynard db86dbb519 fix if iPadding < 0 2006-06-25 04:00:34 +00:00
Glenn Maynard 15ede4e845 fix m_iVertSpacing in copy 2006-01-25 09:32:24 +00:00
Glenn Maynard a40813dec0 add vertspacing 2006-01-24 01:12:54 +00:00
Glenn Maynard 4dfd0d1d7c simplify 2006-01-24 01:04:53 +00:00
Glenn Maynard 39bf48696a cleanup 2006-01-24 01:02:21 +00:00
Glenn Maynard 63368f99da cleanup 2006-01-24 01:00:49 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Chris Danford d698a5f1ec CString -> RString in RageUtil
ThemeMetric<CString> -> LocalizedString to eliminate dependencies
2005-12-20 08:35:47 +00:00
Chris Danford 37f82b43f7 remove CStringArray #define 2005-12-09 21:36:22 +00:00
Glenn Maynard 4c874a943b include cleanup 2005-11-06 18:03:47 +00:00
Chris Danford 3f6e95b7d8 fix D3D texture coord generation 2005-11-05 03:08:09 +00:00
Steve Checkoway 3c0deebeba Actor::DrawPrimitives() does nothing. 2005-10-29 11:38:23 +00:00
Glenn Maynard 71931135a3 implement BitmapText::operator= 2005-09-27 05:38:14 +00:00
Chris Danford 682f9aa379 fix Reverse for RTL can be applied multiple times to the same string 2005-09-24 20:23:15 +00:00
Glenn Maynard 8b9f7c2889 sLine is a string, not a vector 2005-09-23 02:27:23 +00:00
Chris Danford a19f0b492a RTL cleanup 2005-09-22 16:49:51 +00:00
Chris Danford 1a7899e270 add support for Right to Left fonts 2005-09-22 09:08:11 +00:00
Chris Danford 65d71a4f23 expermienting with DEFINE_METHOD macro for Lua methods 2005-09-10 02:47:04 +00:00
Glenn Maynard faf1ee5808 ReplaceMarkers, :: (no RunAtExpressionS). 2005-09-06 04:36:20 +00:00
Glenn Maynard 0022bc3338 cleanup 2005-09-03 02:08:27 +00:00
Glenn Maynard f67bf25560 remove comment 2005-09-01 06:13:56 +00:00
Glenn Maynard 28f937d412 RunAtExpressionS 2005-08-30 01:59:49 +00:00
Glenn Maynard fe25ff3595 cleanup 2005-08-25 01:26:59 +00:00
Glenn Maynard b58c5c072a cleanup, remove old comment 2005-08-25 01:17:26 +00:00
Glenn Maynard 1c81bcc5fc EarlyAbortDraw() const 2005-08-25 00:57:53 +00:00
Glenn Maynard a774629f4e cleanup. (hate this fade logic ...) 2005-08-25 00:47:10 +00:00
Glenn Maynard 402b93f3d8 remove old brainstorming: I'm not sure that using a real font renderer
would be a good idea (too slow), and if I do implement it I probably won't
use this ancient design.  (BitmapText needs to be faster and use less memory;
currently it uses about 256 bytes per character--too much--and it should use
compiled geometry if possible.)
2005-08-24 23:20:32 +00:00
Glenn Maynard ee791b9c9c fix copying when unloaded 2005-07-16 03:10:59 +00:00
Glenn Maynard ff2c101d82 BitmapText copy ctor to fix refcount desync 2005-07-15 03:50:56 +00:00
Glenn Maynard 9d7f835609 no need to template Luna specializations 2005-06-20 05:02:03 +00:00
Glenn Maynard 0b80f541ac update registration for BitmapText types 2005-06-20 04:06:26 +00:00
Glenn Maynard e87ef650b1 fix incorrect newline behavior when wrapping is on 2005-05-21 08:28:35 +00:00
Glenn Maynard 221e369b7b long-needed style update. no non-cosmetic changes. 2005-05-19 06:55:31 +00:00
Glenn Maynard 01490f8f68 revert weird wrapping hack. I can't make sense of it, and it's causing
infinite loops.  Implement overdraw handling correctly.
2005-05-19 06:11:46 +00:00
Charles Lohr e4941be52d Oops... Forgot about if the color changes as the first character. 2005-05-05 21:09:09 +00:00
Charles Lohr 4970c0ce60 Modifications for ColorBitmapText: Actually make it possible to accurately limit lines.
This should conclude my heavy modifications, please feel free to edit it now.
2005-05-05 20:09:21 +00:00
Charles Lohr 11f9384528 Change: Move Colored Text into it's own class.
Note: At a later time, it may make sense to put my text parsing system over the old one.
2005-05-05 19:47:04 +00:00
Charles Lohr 6f9b5a6e9c Revert. I will probally revert further/manually undo some changes. 2005-05-05 04:57:16 +00:00
Charles Lohr 7f69da7a00 Add: allow limiting of restricting # of lines to display. Also, fix colors for restricted lines. 2005-05-04 22:26:21 +00:00
Glenn Maynard 9f84239b3c cleanup 2005-05-04 19:31:58 +00:00
Chris Danford b09a31855c fix warning 2005-05-04 10:11:12 +00:00
Charles Lohr 9a92b7222f Cleanup, we should not have two text boxes and be moving stuff around between them in order to limit the number of lines 2005-05-04 05:34:28 +00:00
Chris Danford 8e987d18b6 fix warnings 2005-05-04 04:00:00 +00:00
Glenn Maynard 19e1819946 fix m_bColored uninitialized when BitmapText::LoadFromTextureAndChars
is used
2005-05-04 01:52:23 +00:00
Charles Lohr 348c6f6f5a FEATURE: Allow BitmapTexts to on-the-fly change color mid-text depending on the text
This feature can be used by enabling the coloration by using the .SetDynamicColor( true )
function.  Once this is done, the syntax for color changing is: |c0RRGGBB where RR = red
in hex, GG = green in hex and BB = blue in hex.  |c0 is the token to note the
beginning of a text change.  This was discussed on the StepMania development
list.
2005-05-03 03:37:52 +00:00
Chris Danford 2a8f30fcd1 fix uninitialized variable 2005-04-24 11:10:55 +00:00
Charles Lohr 3b84c9024b Fix: Don't let BitmapText spill outside it's wrap area. Is this a good way to do it? anyone have a better idea? 2005-04-19 02:14:43 +00:00
Chris Danford 7578fed39a add SetMaxHeight 2005-04-15 12:25:59 +00:00