Commit Graph

1268 Commits

Author SHA1 Message Date
Max Horn
e34571dca9 Countless changes to the New GUI; some hightligths: new ScrollBarWidget class; ListWidget is usable (demo shows it off); added custom String/StringList classes
svn-id: r4521
2002-07-12 16:24:11 +00:00
Max Horn
0128dd0aa6 seems there is a conflict with our operator new and certain versions of the Std C++ lib. Till this is resolved: here's a workaround (disabling the code which is not used anyway right now)
svn-id: r4517
2002-07-11 23:09:07 +00:00
Max Horn
c60670d561 added prototype ListWidget (doesn't do anything yet, only serves to demo how it might look); renamed various NewGui methods and added frameRect method; made NewGui use our 'own' GUI colors (no worries if you don't like them, this is just an experiment); StaticTextWidget now clones its label (preventing problems when a game was loaded, thus invalidating string locations in memory)
svn-id: r4513
2002-07-10 22:49:41 +00:00
Max Horn
d32e3ad11f improved the alpha blending code, now works properly for nesting/redraw (changed meaning of WIDGET_CLEARBG a little bit for this)
svn-id: r4509
2002-07-10 16:49:45 +00:00
Max Horn
0a9baabbdc replaced clearArea with the more general fillArea; added get/setValue methods to SliderWidget; changed look of SliderWidget a little bit; optimized drawing of SliderWidget
svn-id: r4500
2002-07-08 22:11:47 +00:00
James Brown
42be969348 Fix small indentation
svn-id: r4498
2002-07-08 13:58:13 +00:00
James Brown
06d85ff2cb Fix mouseout
svn-id: r4497
2002-07-08 13:54:11 +00:00
James Brown
7be66a5f05 Add slider widget
svn-id: r4496
2002-07-08 13:52:50 +00:00
Max Horn
32ea67dfed got rid of RTTI again (i.e. dynamic_cast)
svn-id: r4492
2002-07-08 11:55:55 +00:00
Max Horn
28852f1497 implemented hotkey support in new GUI code
svn-id: r4488
2002-07-08 00:29:47 +00:00
Max Horn
c9b1d393b8 delay creation of dialogs till they are used; fixed new pause dialog & use it instead of the old one; dirty area handling in new gui code is more logical/useful now
svn-id: r4487
2002-07-08 00:10:11 +00:00
Max Horn
c3b606cd9b added CheckboxWidget; added NewGui::drawBitmap
svn-id: r4486
2002-07-07 23:37:47 +00:00
Max Horn
10d86be564 added options dialog; added NewGui TODO list;
svn-id: r4485
2002-07-07 22:44:30 +00:00
Max Horn
2b50e2a7c0 added dialog nesting code (for now using std::stack, I will provide my own stack class later
svn-id: r4483
2002-07-07 21:46:53 +00:00
Max Horn
2d72eb552c once more indent, after adding -TDialog and -TWidget
svn-id: r4474
2002-07-07 17:49:25 +00:00
Max Horn
2d73a779cb applied indent to a couple of source files; added .indent.pro file with default indent settings as per readme.txt
svn-id: r4469
2002-07-07 13:14:34 +00:00
Max Horn
671678a6c5 added mouse over effect
svn-id: r4466
2002-07-06 12:57:51 +00:00
Max Horn
84cafcc64a new experimental GUI code
svn-id: r4463
2002-07-05 16:56:53 +00:00