Commit Graph

57 Commits

Author SHA1 Message Date
frosch d58eee1e79 (svn r24324) -Codechange: Turn functions dealing with Textbufs into member functions. 2012-06-04 15:30:29 +00:00
frosch 31eb896143 (svn r24323) -Codechange: Split Textbuf and associated functions to separate files. 2012-06-04 15:29:37 +00:00
truebrain e9f584ac21 (svn r23531) -Codechange: document and rename widgets to be consistent and understandable 2011-12-16 16:27:45 +00:00
truebrain 2aa774e831 (svn r23528) -Codechange: move widget enums to widgets/NNN_type.h 2011-12-15 22:22:55 +00:00
yexo 0143f00d6f (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 5e449b8fae (svn r22429) -Add: some constants for specific palette colours used in the GUI. 2011-05-06 21:13:29 +00:00
frosch 22286bd7b6 (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 e9e6444138 (svn r21982) -Add: Wheel scrolling to console. 2011-02-05 17:54:36 +00:00
frosch 82f260e15f (svn r21981) -Codechange: Deduplicate the code and unify the bounds of console scrolling. 2011-02-05 17:53:29 +00:00
frosch 582d30c979 (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 c000f6b939 (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 e06c412a05 (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 0de8332366 (svn r21897) -Fix (21707): Kenobi visited IsValidConsoleColour shortly 2011-01-23 00:11:15 +00:00
rubidium 80591d73c1 (svn r21707) -Fix [FS#4371]: bit too strict assertion on validness of console colours 2011-01-03 20:54:20 +00:00
rubidium b25cf57542 (svn r21701) -Codechange: ConsoleColour = TextColour, so make it that way and remove some unneeded casts 2011-01-03 12:01:41 +00:00
rubidium 66c7f00b60 (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 bbaa262b0d (svn r21406) -Codechange: rename some textbuf related names to make them a bit more descriptive 2010-12-05 22:21:37 +00:00
rubidium 87edf2524d (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 c32e35c30d (svn r20290) -Codechange: Add missing 'break' statements. 2010-08-01 20:58:35 +00:00
rubidium e356cb9405 (svn r20281) -Codechange: unify case scope closure + break coding style 2010-08-01 18:53:30 +00:00
alberth 4eb7b862a3 (svn r20046) -Feature [FS#3816]: Wrap console lines when they are too long. 2010-07-02 13:59:27 +00:00
alberth 212dbbf4d8 (svn r20022) -Doc: Add some doxygen comments. 2010-06-26 15:22:10 +00:00
alberth 87129fb9f5 (svn r20019) -Codechange: Apply function code style to a few small functions. 2010-06-26 14:51:27 +00:00
rubidium 062dd0e24c (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 82fc28f77f (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 7ed2e65b77 (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 293dfd7c3e (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. 2009-11-28 14:42:35 +00:00
rubidium 458c73aecb (svn r18318) -Codechange: add an enum value for manual window placement 2009-11-28 13:54:28 +00:00
rubidium 5f2ddfbc5a (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 3d2d7af88f (svn r18086) -Codechange: remove 'widget' from WindowDesc 2009-11-15 10:26:01 +00:00
rubidium 860b9b1cea (svn r18028) -Codechange: unglobalise some functions 2009-11-09 10:40:33 +00:00
michi_cc 049d62b35c (svn r17708) -Feature [FS#2053]: [OSX] Implement clipboard support for OS X. 2009-10-04 21:08:38 +00:00
rubidium d6cded5380 (svn r17693) -Cleanup: remove some unneeded includes 2009-10-04 17:16:41 +00:00
rubidium e8ddf001c8 (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 ebd916be3d (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability. 2009-09-13 19:15:59 +00:00
frosch 734edc178d (svn r17525) -Cleanup: Remove SetWindowDirty(), it is completely covered by other functions already. 2009-09-13 17:37:47 +00:00
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
alberth 9e682bb2f7 (svn r17022) -Codechange: Use nested widgets for the console window. 2009-08-01 12:42:58 +00:00
rubidium de1a9b95c7 (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 238742ee03 (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 3bb5b00e48 (svn r16020) -Codechange: Use actual font height for console output instead of fixed value. 2009-04-10 18:21:40 +00:00
glx 66cd5dbc7c (svn r15894) -Codechange: remove console widget array (it was empty anyway) and window desc 2009-03-30 01:15:51 +00:00
rubidium 3e93f8adda (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 f11300d1f9 (svn r15794) -Codechange: remove the DoDrawString part of the old text drawing API 2009-03-21 22:46:17 +00:00
rubidium f9def73be6 (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 9d018723b7 (svn r15711) -Codechange: lots of whitespace cleanup/fixes 2009-03-14 18:16:29 +00:00
rubidium c0a8d09ca7 (svn r15428) -Codechange: consistently use colour instead of having both color and colour. 2009-02-09 02:57:15 +00:00
rubidium 8dae160d0f (svn r15425) -Codechange: some color->colour changes and type safety. 2009-02-09 02:09:47 +00:00
rubidium 861e9cefb3 (svn r15424) -Codechange: make it possible to have multiple windows with edit box open simultaniously (Zuu). 2009-02-09 01:22:29 +00:00
smatz 0d3f5e6e74 (svn r15299) -Cleanup: remove many redundant includes 2009-01-31 20:16:06 +00:00