f0d9806b3f
# Restructured GUI implementation
...
CGUI now represents a single 'page'. CGUIManager maintains multiple
pages and switches between them.
Split the XML files into pregame, loading, session and messagebox pages.
Added hotloading of GUI pages.
Minor GUI cleanups.
(Merge from hg 81862d33780c)
This was SVN commit r7214.
2009-12-03 20:17:22 +00:00
8a52113e60
huge cleanup and conversion of most string handling (especially paths) to unicode
...
please note: format strings must be %hs for char* arguments and %ls for
wchar_t*
This was SVN commit r7161.
2009-11-03 21:46:35 +00:00
92637c1041
refactoring all PS_RESULT in GUI to PSRETURN/PSERROR
...
closes #128
This was SVN commit r7147.
2009-09-27 15:04:46 +00:00
c9fa7f13d9
Add GPL header
...
This was SVN commit r6830.
2009-04-18 17:00:33 +00:00
4027a8f11b
dehydra-inspired fix: get rid of all using namespace std (potentially confusing / pollutes namespace).
...
Long iterator type names are better expressed via typedefs, anyway :)
(or 'auto' keyword of upcoming C++09)
This was SVN commit r6226.
2008-07-13 21:22:03 +00:00
b755ddefda
remove all author/modified by tags.
...
make include guards consistent.
This was SVN commit r5040.
2007-05-07 16:33:24 +00:00
8d0a7170f6
# Slightly tidied up string code.
...
CStr: Indented comments more consistently. Made some parameters
pass-by-reference, made some others not. Removed some useless methods -
Length (use length or empty), GetSubstring (use substr), LCase/UCase
(use LowerCase/UpperCase). Removed operator[] bounds-checking because
VS2005 does that anyway.
Maybe fixed noncopyable warnings on VS2003.
This was SVN commit r4828.
2007-02-01 14:46:14 +00:00
5f7855f7f0
Simplification of #Include paths: relative names are used only for included files in the same directory as the including file; everything else uses the full path relative to source/.
...
This was SVN commit r3930.
2006-06-02 02:10:27 +00:00
3d26549032
Fixed file properties - removed svn:executable and svn:keywords (left over from CVS conversion?) from all files; set svn:eol-style=native for *.cpp, *.h (and fixed files with inconsistent line endings)
...
This was SVN commit r3802.
2006-04-23 23:14:18 +00:00
68d4d6cd77
# Removed some ancient unused code
...
This was SVN commit r3758.
2006-04-13 21:50:44 +00:00
32cfc6d807
minimap: now use GUI event system instead of polling. fixes broken click feature.
...
textureentry: add performance note
list, text: fix mousewheel direction
input: was going to add a deque to allow registering handlers in back
and front. obviated by minimap fix, though. cleaned up a bit and renamed
stuff (again, sigh).
loaderthunks: fixed weird alignment/padding warning
This was SVN commit r2979.
2005-10-20 15:27:39 +00:00
Gee
b5f6d19332
Lots of minor updates. Touched up the check-box quite a lot.
...
This was SVN commit r2532.
2005-07-24 08:29:02 +00:00
ec6b78b252
rename assert2 debug_assert; use instead of all plain assert(), since there are no longer any issues (e.g. can't use while handling an exception)
...
This was SVN commit r2447.
2005-06-28 04:06:25 +00:00
Gee
1e8d354404
This was SVN commit r2115.
2005-04-07 09:13:10 +00:00
Gee
4113aa0a36
GUI Update. Mostly with Input Control Beta :)
...
This was SVN commit r1904.
2005-02-05 07:25:16 +00:00
f9c51d8ec7
Replaced - with _ in GUI
...
This was SVN commit r1604.
2005-01-01 12:06:17 +00:00
156ff7cf56
Minimal text-alignment ability in Text GUI objects
...
This was SVN commit r1584.
2004-12-28 12:17:04 +00:00
659a9ea57a
Initial (incomplete) tooltip code
...
This was SVN commit r1540.
2004-12-21 13:37:24 +00:00
ba0ebd6644
Renamed icon-size/icon-id to cell-size/cell-id, and allowed cell-id to be used in <icon>s.
...
Added <effect>s to sprites/images - currently multiply-color and
add-color, though they're far from perfect.
This was SVN commit r1525.
2004-12-18 13:32:00 +00:00
6526301cfe
GUI icon-sheets
...
This was SVN commit r1519.
2004-12-17 16:20:08 +00:00
8f4f8e240f
Fixed things that use a colour rather than a texture (e.g. the progress bars). Also fixed the completely broken 'caching' system that recalculated everything every single frame. Also made it give linker errors if I ever make that mistake again.
...
This was SVN commit r1518.
2004-12-17 00:05:37 +00:00
c19f3608a5
Initial changes to GUI sprite code. (There shouldn't be any visible effects - if there are, they're bugs)
...
This was SVN commit r1507.
2004-12-15 21:24:46 +00:00
Gee
f4b410ff82
A bunch of updates:
...
- Added *unfinished* control input.
- The GUI captures the events now, so that you can't press anything in
the game if the GUI is infront of it. The GUI needs some cleaning up
though.
- Made the type 'empty' unpressable, because all those "0 0 100% 100%"
empties were just like pieces of glass making the user unable to select
anything in the game.
- A bunch of other updates I made like weeks ago and never committed.
This was SVN commit r1234.
2004-10-14 10:09:26 +00:00
c164d9b32c
Made buffer-zone consistently a float
...
This was SVN commit r1114.
2004-09-03 21:37:39 +00:00
Gee
d42de50280
Updated everything that's related to screen position to use floats
...
This was SVN commit r1107.
2004-09-03 05:48:47 +00:00
Gee
ab63c17678
no message
...
This was SVN commit r1106.
2004-09-02 19:35:07 +00:00
Gee
f2a615f0a3
Updates, mostly about centering text.
...
This was SVN commit r1099.
2004-09-02 03:02:32 +00:00
Gee
e2a8eb4def
Removed some debug output in log only I need to see.
...
This was SVN commit r1091.
2004-08-31 03:25:36 +00:00
Gee
924b0bf1b4
Major fixes and updates. Let me know if I screwed up resolving conflicts.
...
This was SVN commit r1085.
2004-08-31 02:09:58 +00:00
70d84beab2
Altered font handling -- now uses CFont in preference to unifont_* (yay, pointless OO) and allows font mapping ("default"=>"palatino12", etc) using .cfg files
...
This was SVN commit r1074.
2004-08-27 22:08:30 +00:00
1bbb35b204
Variable fonts in the GUI
...
This was SVN commit r871.
2004-07-31 19:52:15 +00:00
bbb57ac6db
Removed references to font.h
...
This was SVN commit r856.
2004-07-31 12:44:13 +00:00
977693c7db
GUI text renderer
...
This was SVN commit r745.
2004-07-13 22:48:53 +00:00
c7a84e84be
added precompiled.h everywhere
...
This was SVN commit r392.
2004-06-03 18:38:14 +00:00
Gee
e326ebae46
major update
...
This was SVN commit r290.
2004-05-29 04:06:50 +00:00
af216d3afb
minor changes for lib overhaul (some include files from renamed)
...
This was SVN commit r159.
2004-03-02 23:57:49 +00:00
Gee
e21ebb37f5
Major updates
...
This was SVN commit r141.
2003-12-27 06:26:03 +00:00