Mark de Wever
b229c4f240
Removed some not needed #include "wassert.hpp".
2007-12-02 14:51:23 +00:00
Ali El Gariani
fd3384bab2
remove unused DARK_COLOUR (which also had a bad name for dark blue)
2007-11-10 16:53:56 +00:00
Mark de Wever
e305aca25e
C-style cast cleanup.
2007-09-05 17:00:32 +00:00
Gunter Labes
ae9e10f260
codeclean run
...
set svn:eol-style to native where missing
2007-08-31 19:09:40 +00:00
Mark de Wever
080eb69f60
Updated the headers to state GPL 2+ and a few changelog cleanups.
2007-08-15 13:41:56 +00:00
Ali El Gariani
cbb32c8be1
tiny useless cleaning about the recently modified del_tags
2007-07-21 20:34:35 +00:00
Mark de Wever
bb01934b85
A rather large update which updates the copyright info
...
* Wesnoth is distributed under the terms of the GPL version 2, made
that more explicit
* updated the copyright range to 2007
* updated Dave's email adress
2007-07-21 07:28:04 +00:00
Ali El Gariani
92bc473d63
Fix bad color buttons in multiplayer lobby.
...
when calculating if ellipsis are needed, we don't need to count
special format characters.
However since we release tomorow, i play it safe and activate this
perfectly valid operation only for buttons (maybe some strings
somewhere use badly these special characters, with this i must just
check buttons)
2007-07-19 22:03:35 +00:00
Ali El Gariani
122394586c
use my hackish version of the new blur code for floating labels
...
Changed the depth of the blur from 4 to 2, because the new algorithm
seems more effective
This normally mimics the previous look
2007-06-22 13:17:29 +00:00
Ali El Gariani
5ea108e468
optimization for drawing of floating labels with transparent background
...
(like tooltips) fix the alpha channel when filling the rectangle,
instead of adjusting each pixels after creation
2007-06-15 19:10:01 +00:00
Mark de Wever
2263cc8842
inline some functions and remove and unused function
2007-06-09 14:31:22 +00:00
Eric S. Raymond
9680f0084c
All files with locations hardwired intgo C++ go into data/hardwired.
2007-05-15 20:56:42 +00:00
Ali El Gariani
efe4af5e71
Use a slightly brighter color for GRAY_TEXT (555555 to 777777 in hexadecimal)
...
Helps bug #9058 (Darkening of user stats in the head line)
2007-05-01 20:05:56 +00:00
David Philippi
f231fb12e0
merged patch #714 by silene
...
- removal of dead stuff and static linkage marking for internal functions
2007-04-06 12:26:02 +00:00
Mark de Wever
81f3aa926a
Added a log message to the cache resize...
...
...so it's possible to see how much strings are inside
2007-02-14 17:45:55 +00:00
Patrick Parker
f8ce4365d8
port 2007-02-13T07:13:20Z!patrick_x99@hotmail.com to trunk
2007-02-13 07:41:09 +00:00
Pauli Nieminen
b58a67c38b
Support for team only labels
2007-01-01 10:32:00 +00:00
Jérémy Rosen
796f535de3
greying out of top menu when the info is not valid (i.e it's not your turn)
2006-08-05 10:17:48 +00:00
Patrick Parker
1fb8195de9
fix two editor errors:
...
one in boolean logic and another in the terrain palette
constructor. (also gets rid of some empty_rect redefinitions.)
2006-07-24 19:27:10 +00:00
Patrick Parker
9bb4e5c9cf
add support for disabling labels and sliders
...
disable inactive sliders instead of hiding them
2006-07-13 09:51:57 +00:00
David Philippi
dbbc5f2765
fixed some warnings
2006-06-10 16:20:25 +00:00
Gunter Labes
23ca57f01e
ran codeclean over all files and set them all to svn:eol-style 'native'
2006-06-05 20:02:25 +00:00
Jörg Hinrichs
8d4ce82444
fixes a bug that causes memory corruption with fribidi activated...
...
...and strings containing "more-than-1-byte characters".
2006-05-18 18:45:05 +00:00
Isaac Clerencia Perez
a44d632afe
Apply patch #545 from Falk Hueffner: fix TTF_SizeUNICODE arguments
2006-05-01 21:25:05 +00:00
Oron Peled
e5576d4cdb
Small fix for standard C++ (per Torangan tip).
2005-12-11 22:38:32 +00:00
Oron Peled
840204fa51
Now RTL justification is activated by default (for RTL languages).
...
RTL languages like Hebrew now has RTL justification activated by default.
If there are *any* changes in other languages this is a BUG and should
be reported to me (oron). As an emergency workaround, setting NO_RTL
in your environment before running the game disables this code.
2005-12-11 20:00:04 +00:00
Oron Peled
ca4df45136
The first step for an RTL UI:
...
1. The main change is in font.cpp
2. It is currently conditioned on the WANT_RTL environment variable
3. All clipping areas passed to draw_text* should be fixed for this to
work.
4. The following calls has been fixed:
- widgets/button.cpp
- widgets/label.cpp
- show_dialog.cpp
2005-12-05 00:07:12 +00:00
Yann Dirson
95ea58da3b
font.cpp does not need gettext,
...
...and we can move it to wesnoth-lib where it belongs without problem,
since it has no translatable strings yet
2005-10-28 21:06:53 +00:00
Yann Dirson
5d352a5961
dependency cleanup: split font.* into marked-up_string.*,
...
...so that 'font' does not depend any more on 'team' (was a major
contributor to the dependency mess)
2005-10-28 21:03:07 +00:00
Isaac Clerencia Perez
d11f3ff282
Commit Oron's patch for bidirectional support (patch #470 ) (uses fribidi)
...
Added language definition for Hebrew
2005-10-11 10:44:49 +00:00
András Salamon
eb6805d96a
codeclean
2005-09-06 13:53:14 +00:00
Jon Daniel
a04e817e38
now it should work I have forgotten set_font_list
2005-08-09 21:43:20 +00:00
Jon Daniel
4ca21247f4
Fix font init for BeOS
2005-08-09 21:27:52 +00:00
Jon Daniel
84347c47f4
cleaned up font initialization may have fixed a memory leak.
...
make zip-install doesn't zip the fonts dir so we don't need to care
about zipios there.
2005-08-08 11:54:36 +00:00
Jon Daniel
62c243cb89
Fixed non-existent font files being tried to open all the time.
...
Removed obsolete function set_font
2005-08-07 22:15:44 +00:00
András Salamon
f18437202f
replace Vera and Bepa-Roman with DejaVuSans, and add gkai00mp
...
ASSUMPTION: forcemaster's upcoming fixes will stop very insistent
attempts to locate glyphs in fonts that are not installed (otherwise
we need to remove gkai00mp and sazanami-gothic, too)
2005-08-07 21:12:33 +00:00
András Salamon
8d25fb99a6
codeclean in src, mostly Dave's new email address (checked with cvs diff -b)
...
BY THE WAY, many of the source files have no copyright headers!
2005-07-02 21:37:20 +00:00
András Salamon
8bd9bc98a5
ran codeclean against files
2005-06-04 19:16:06 +00:00
Jon Daniel
1d05eb170c
changed \027 to \033 because char constants are octal
2005-06-03 19:15:28 +00:00
Jon Daniel
b1630cd24f
[[color handling fixes]]
...
* changed side colour prefixes to semi ANSI colour escape sequences to
avoid any conflicts with TAB and BACKSPACE. Now Brown finally will be brown *g*
* reverted the HEADING_PREFIX and IMG_TEXT_SEPARATOR change.
2005-06-03 10:11:08 +00:00
Dave White
5dcfc67cab
made help system faster and fixed formatting problems with it
2005-05-14 19:18:31 +00:00
Dave White
1943ac5873
made menu widgets sortable
2005-05-10 22:15:57 +00:00
Jordà Polo
c3a75bd53b
User interface polishing:
...
* MP lobby: improved background
* MP lobby: tweaked margins and paddings
* MP lobby: getting rid of font::GOOD_COLOUR
* MP lobby: fixed multiplayer_wait game_menu_'s width
* Slider is now less "bright"
* The text of disabled buttons is now grayed out
2005-05-07 21:53:43 +00:00
Guillaume Melquiond
268b0c2779
Don't hide error message.
2005-05-07 10:01:40 +00:00
Guillaume Melquiond
0d4372743a
For the systems where wchar_t is not unsigned...
2005-04-26 21:06:43 +00:00
Philippe Plantier
7b12b696f5
Updated changelog and removed some debug output
2005-04-17 21:37:43 +00:00
Philippe Plantier
619b60feee
Fixed the bug described in http://www.wesnoth.org/forum/viewtopic.php?t=5538 :
...
made word_wrap_text retain start-of-line format characters.
2005-04-17 21:29:41 +00:00
Philippe Plantier
6e7836604c
Add an "= 0" to shut up a compiler warning.
2005-04-09 20:52:22 +00:00
Philippe Plantier
8b66681d8e
Added support for Kinsoku-Shori
...
(rules for word-wrapping of Japanese characters)
2005-04-07 20:10:51 +00:00
Philippe Plantier
231ebcbb76
Fixed word-wrapping for around ideograms.
2005-04-06 21:35:39 +00:00