[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth/src/widgets file_chooser.cpp file_choos...
From: |
Guillaume Melquiond |
Subject: |
[Wesnoth-cvs-commits] wesnoth/src/widgets file_chooser.cpp file_choos... |
Date: |
Thu, 18 Nov 2004 14:31:23 -0500 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Guillaume Melquiond <address@hidden> 04/11/18 19:25:39
Modified files:
src/widgets : file_chooser.cpp file_chooser.hpp
Log message:
Quick fix for the filechooser behavior. A lot of new graphical glitches
are now enjoyable, just great...
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/widgets/file_chooser.cpp.diff?tr1=1.11&tr2=1.12&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/widgets/file_chooser.hpp.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
Patches:
Index: wesnoth/src/widgets/file_chooser.cpp
diff -u wesnoth/src/widgets/file_chooser.cpp:1.11
wesnoth/src/widgets/file_chooser.cpp:1.12
--- wesnoth/src/widgets/file_chooser.cpp:1.11 Thu Nov 18 04:08:33 2004
+++ wesnoth/src/widgets/file_chooser.cpp Thu Nov 18 19:25:39 2004
@@ -123,7 +123,7 @@
disp_.video().getSurface());
}
-void file_chooser::process() {
+void file_chooser::process_event() {
CKey key;
int mousex, mousey;
SDL_GetMouseState(&mousex,&mousey);
Index: wesnoth/src/widgets/file_chooser.hpp
diff -u wesnoth/src/widgets/file_chooser.hpp:1.4
wesnoth/src/widgets/file_chooser.hpp:1.5
--- wesnoth/src/widgets/file_chooser.hpp:1.4 Sat Nov 6 13:13:16 2004
+++ wesnoth/src/widgets/file_chooser.hpp Thu Nov 18 19:25:39 2004
@@ -33,7 +33,6 @@
file_chooser(display &disp, std::string start_file="");
void draw_contents();
- void process();
void set_dirty(bool dirty=true);
@@ -45,6 +44,7 @@
protected:
virtual void update_location(SDL_Rect const &rect);
virtual void handle_event(const SDL_Event& event);
+ virtual void process_event();
private:
/// If file_or_dir is a file, return the directory the file is in,
- [Wesnoth-cvs-commits] wesnoth/src/widgets file_chooser.cpp file_choos...,
Guillaume Melquiond <=
- [Wesnoth-cvs-commits] wesnoth/src/widgets file_chooser.cpp file_choos..., Guillaume Melquiond, 2004/11/18
- [Wesnoth-cvs-commits] wesnoth/src/widgets file_chooser.cpp file_choos..., Guillaume Melquiond, 2004/11/18
- [Wesnoth-cvs-commits] wesnoth/src/widgets file_chooser.cpp file_choos..., Guillaume Melquiond, 2004/11/18
- [Wesnoth-cvs-commits] wesnoth/src/widgets file_chooser.cpp file_choos..., Guillaume Melquiond, 2004/11/18
- [Wesnoth-cvs-commits] wesnoth/src/widgets file_chooser.cpp file_choos..., Guillaume Melquiond, 2004/11/18