Tweak the naming of dialog styles and add a README.
7
images/dialogs/README
Normal file
|
@ -0,0 +1,7 @@
|
|||
This directory contains the images used to assemble manus. Each group of
|
||||
images is named by the part before the first dash, which is a style
|
||||
referenced by name in the Wesnoth UI code.
|
||||
|
||||
The 'transparent' images have some alpha transparency; they look like
|
||||
smoked-glass overlays on the terrain or whatever else is underneath them.
|
||||
The 'opaque' images are geometrically the same, but opaque.
|
Before Width: | Height: | Size: 151 B After Width: | Height: | Size: 151 B |
Before Width: | Height: | Size: 117 B After Width: | Height: | Size: 117 B |
Before Width: | Height: | Size: 116 B After Width: | Height: | Size: 116 B |
Before Width: | Height: | Size: 167 B After Width: | Height: | Size: 167 B |
Before Width: | Height: | Size: 134 B After Width: | Height: | Size: 134 B |
Before Width: | Height: | Size: 137 B After Width: | Height: | Size: 137 B |
Before Width: | Height: | Size: 166 B After Width: | Height: | Size: 166 B |
Before Width: | Height: | Size: 118 B After Width: | Height: | Size: 118 B |
Before Width: | Height: | Size: 117 B After Width: | Height: | Size: 117 B |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 191 B After Width: | Height: | Size: 191 B |
Before Width: | Height: | Size: 203 B After Width: | Height: | Size: 203 B |
Before Width: | Height: | Size: 436 B After Width: | Height: | Size: 436 B |
Before Width: | Height: | Size: 416 B After Width: | Height: | Size: 416 B |
Before Width: | Height: | Size: 405 B After Width: | Height: | Size: 405 B |
Before Width: | Height: | Size: 283 B After Width: | Height: | Size: 283 B |
Before Width: | Height: | Size: 164 B After Width: | Height: | Size: 164 B |
Before Width: | Height: | Size: 191 B After Width: | Height: | Size: 191 B |
Before Width: | Height: | Size: 197 B After Width: | Height: | Size: 197 B |
Before Width: | Height: | Size: 197 B After Width: | Height: | Size: 197 B |
Before Width: | Height: | Size: 204 B After Width: | Height: | Size: 204 B |
Before Width: | Height: | Size: 432 B After Width: | Height: | Size: 432 B |
Before Width: | Height: | Size: 461 B After Width: | Height: | Size: 461 B |
Before Width: | Height: | Size: 412 B After Width: | Height: | Size: 412 B |
Before Width: | Height: | Size: 339 B After Width: | Height: | Size: 339 B |
Before Width: | Height: | Size: 199 B After Width: | Height: | Size: 199 B |
Before Width: | Height: | Size: 188 B After Width: | Height: | Size: 188 B |
|
@ -91,15 +91,15 @@ dialog_frame::dialog_frame(CVideo &video, const std::string& title,
|
|||
surface_restorer* restorer, button* help_button) : title_(title),
|
||||
video_(video), dialog_style_(style ? style : &default_style),
|
||||
buttons_(buttons), help_button_(help_button), restorer_(restorer),
|
||||
top_(image::get_image("panels/" + *dialog_style_ + "-border-top.png",image::UNSCALED)),
|
||||
bot_(image::get_image("panels/" + *dialog_style_ + "-border-bottom.png",image::UNSCALED)),
|
||||
left_(image::get_image("panels/" + *dialog_style_ + "-border-left.png",image::UNSCALED)),
|
||||
right_(image::get_image("panels/" + *dialog_style_ + "-border-right.png",image::UNSCALED)),
|
||||
top_left_(image::get_image("panels/" + *dialog_style_ + "-border-topleft.png",image::UNSCALED)),
|
||||
bot_left_(image::get_image("panels/" + *dialog_style_ + "-border-botleft.png",image::UNSCALED)),
|
||||
top_right_(image::get_image("panels/" + *dialog_style_ + "-border-topright.png",image::UNSCALED)),
|
||||
bot_right_(image::get_image("panels/" + *dialog_style_ + "-border-botright.png",image::UNSCALED)),
|
||||
bg_(image::get_image("panels/" + *dialog_style_ + "-background.png",image::UNSCALED))
|
||||
top_(image::get_image("dialogs/" + *dialog_style_ + "-border-top.png",image::UNSCALED)),
|
||||
bot_(image::get_image("dialogs/" + *dialog_style_ + "-border-bottom.png",image::UNSCALED)),
|
||||
left_(image::get_image("dialogs/" + *dialog_style_ + "-border-left.png",image::UNSCALED)),
|
||||
right_(image::get_image("dialogs/" + *dialog_style_ + "-border-right.png",image::UNSCALED)),
|
||||
top_left_(image::get_image("dialogs/" + *dialog_style_ + "-border-topleft.png",image::UNSCALED)),
|
||||
bot_left_(image::get_image("dialogs/" + *dialog_style_ + "-border-botleft.png",image::UNSCALED)),
|
||||
top_right_(image::get_image("dialogs/" + *dialog_style_ + "-border-topright.png",image::UNSCALED)),
|
||||
bot_right_(image::get_image("dialogs/" + *dialog_style_ + "-border-botright.png",image::UNSCALED)),
|
||||
bg_(image::get_image("dialogs/" + *dialog_style_ + "-background.png",image::UNSCALED))
|
||||
{
|
||||
have_border_ = top_ != NULL && bot_ != NULL && left_ != NULL && right_ != NULL;
|
||||
}
|
||||
|
|