Commit Graph

59 Commits

Author SHA1 Message Date
frosch
838388dcd5 (svn r24739) -Codechange: Simplify some code by using Textbuf::Assign. 2012-11-14 22:50:21 +00:00
frosch
0ab8e7939b (svn r24738) -Codechange: Remove Textbuf::Initialize in favour of a constructor. 2012-11-14 22:50:17 +00:00
frosch
9b196d0fb4 (svn r24324) -Codechange: Turn functions dealing with Textbufs into member functions. 2012-06-04 15:30:29 +00:00
frosch
755b52dcc0 (svn r24323) -Codechange: Split Textbuf and associated functions to separate files. 2012-06-04 15:29:37 +00:00
truebrain
000ff60e25 (svn r23531) -Codechange: document and rename widgets to be consistent and understandable 2011-12-16 16:27:45 +00:00
truebrain
49e88dcbf0 (svn r23528) -Codechange: move widget enums to widgets/NNN_type.h 2011-12-15 22:22:55 +00:00
yexo
00355b2e68 (svn r23489) -Change: don't wrap around the console history and give an empty line if you click the down-key enough 2011-12-11 11:37:03 +00:00
frosch
7b251297c9 (svn r22429) -Add: some constants for specific palette colours used in the GUI. 2011-05-06 21:13:29 +00:00
frosch
7cc3d3e143 (svn r22421) -Fix: Replace various references to Windows palette greyscale indices with the DOS palette indices. 2011-05-04 17:45:16 +00:00
frosch
29a36abe32 (svn r21982) -Add: Wheel scrolling to console. 2011-02-05 17:54:36 +00:00
frosch
04b68f5c81 (svn r21981) -Codechange: Deduplicate the code and unify the bounds of console scrolling. 2011-02-05 17:53:29 +00:00
frosch
5d4042bb85 (svn r21980) -Codechange: Draw one line more at the top of the console, i.e. clip the top-most line if there is not enough room instead of not drawing it at all. 2011-02-05 17:44:44 +00:00
frosch
7e7ec9602a (svn r21979) -Fix: Scrolling of the console in pages used wrong line height and scrolled too much. 2011-02-05 17:41:05 +00:00
frosch
2ea018ddc0 (svn r21978) -Codechange/Fix: Remove usage of Window::top and left from IConsoleWindow::OnPaint(). Drawing is done relative to the window position. But as the position is (0,0) anyway, it was not noticeable. 2011-02-05 17:34:13 +00:00
rubidium
86ba528906 (svn r21897) -Fix (21707): Kenobi visited IsValidConsoleColour shortly 2011-01-23 00:11:15 +00:00
rubidium
830f334410 (svn r21707) -Fix [FS#4371]: bit too strict assertion on validness of console colours 2011-01-03 20:54:20 +00:00
rubidium
692e61d1dc (svn r21701) -Codechange: ConsoleColour = TextColour, so make it that way and remove some unneeded casts 2011-01-03 12:01:41 +00:00
rubidium
5c2674ec77 (svn r21407) -Codechange: prepare the text buffer code for limiting on number of characters besides the number of bytes 2010-12-05 22:22:54 +00:00
rubidium
28da832781 (svn r21406) -Codechange: rename some textbuf related names to make them a bit more descriptive 2010-12-05 22:21:37 +00:00
rubidium
5f4a1fa39d (svn r21004) -Fix [FS#3746]: chat/console messages got sometimes messed up due to LTR names in RTL translations and vice-versa 2010-10-21 20:12:48 +00:00
alberth
cf33572ef8 (svn r20290) -Codechange: Add missing 'break' statements. 2010-08-01 20:58:35 +00:00
rubidium
8c85b4ce3d (svn r20281) -Codechange: unify case scope closure + break coding style 2010-08-01 18:53:30 +00:00
alberth
7898a9ffff (svn r20046) -Feature [FS#3816]: Wrap console lines when they are too long. 2010-07-02 13:59:27 +00:00
alberth
a5f9816fe2 (svn r20022) -Doc: Add some doxygen comments. 2010-06-26 15:22:10 +00:00
alberth
a25db128cc (svn r20019) -Codechange: Apply function code style to a few small functions. 2010-06-26 14:51:27 +00:00
rubidium
a70fd540fc (svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int 2010-05-13 10:14:29 +00:00
rubidium
9467b7c6d6 (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 2010-01-15 16:41:15 +00:00
rubidium
c4973433dd (svn r18631) -Fix [FS#3419]: when making a screenshot from the console the currently executed command would be shown twice 2009-12-25 19:17:36 +00:00
rubidium
45eb0be570 (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. 2009-11-28 14:42:35 +00:00
rubidium
fedb593293 (svn r18318) -Codechange: add an enum value for manual window placement 2009-11-28 13:54:28 +00:00
rubidium
8e11cd3a42 (svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets 2009-11-17 19:16:48 +00:00
rubidium
b01251092e (svn r18086) -Codechange: remove 'widget' from WindowDesc 2009-11-15 10:26:01 +00:00
rubidium
224f4e0197 (svn r18028) -Codechange: unglobalise some functions 2009-11-09 10:40:33 +00:00
michi_cc
d6da4f24ad (svn r17708) -Feature [FS#2053]: [OSX] Implement clipboard support for OS X. 2009-10-04 21:08:38 +00:00
rubidium
982b8ee5fc (svn r17693) -Cleanup: remove some unneeded includes 2009-10-04 17:16:41 +00:00
rubidium
310465da07 (svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos 2009-09-19 09:51:14 +00:00
frosch
0e36260337 (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability. 2009-09-13 19:15:59 +00:00
frosch
263952f557 (svn r17525) -Cleanup: Remove SetWindowDirty(), it is completely covered by other functions already. 2009-09-13 17:37:47 +00:00
rubidium
99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
alberth
98a47ba440 (svn r17022) -Codechange: Use nested widgets for the console window. 2009-08-01 12:42:58 +00:00
rubidium
65d2a381d9 (svn r16409) -Change: don't add empty lines/duplicates of the previous command to the console's history 2009-05-23 22:40:14 +00:00
peter1138
edb46a0289 (svn r16021) -Codechange: Offset current console output by (width of "] ")+5 pixels instead of 5+5 pixels. 2009-04-10 18:55:38 +00:00
peter1138
fb46ddf655 (svn r16020) -Codechange: Use actual font height for console output instead of fixed value. 2009-04-10 18:21:40 +00:00
glx
7cfaf4259d (svn r15894) -Codechange: remove console widget array (it was empty anyway) and window desc 2009-03-30 01:15:51 +00:00
rubidium
e1ca9bbeed (svn r15844) -Codechange: allow text alignment to be forced so the console and ai debug output don't get swapped (those are untranslateable anyways) 2009-03-25 01:10:24 +00:00
rubidium
a1088869f5 (svn r15794) -Codechange: remove the DoDrawString part of the old text drawing API 2009-03-21 22:46:17 +00:00
rubidium
7f468dc142 (svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth) 2009-03-15 15:12:06 +00:00
rubidium
f3e0fd7416 (svn r15711) -Codechange: lots of whitespace cleanup/fixes 2009-03-14 18:16:29 +00:00
rubidium
89e1afdaa0 (svn r15428) -Codechange: consistently use colour instead of having both color and colour. 2009-02-09 02:57:15 +00:00
rubidium
a7693c6059 (svn r15425) -Codechange: some color->colour changes and type safety. 2009-02-09 02:09:47 +00:00