32 patches pushed: RunDialog builds on Linux

View: New views
1 Messages — Rating Filter:   Alert me  

32 patches pushed: RunDialog builds on Linux

by Max Kellermann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Next milestone: the RunDialog compiles on Linux.  Doesn't run yet,
because the dialog event loop isn't implemented yet.


Max Kellermann (32):
      test: include <algorithm> for min()
      Screen/Window: make event methods public
      Screen/ContainerWindow: store list of children on SDL
      Screen/Window: added virtual method on_paint() on SDL
      Screen/ContainerWindow: draw children in on_paint()
      Screen/Container: added method child_at()
      Screen/ContainerWindow: pass mouse events to child windows
      Screen/Canvas: implement draw_button() on SDL
      Screen/ButtonWindow: implement on SDL
      Screen/Window: emulate WM_CLOSE on SDL
      unix/tchar.h: added _tcsicmp(), _tcsnicmp(), _ttoi()
      xmlParser: removed compatibility macros
      Dialogs/XML: make xmlLoadFromResource() static
      Dialogs/XML: load resources on WIN32 only
      Screen/Animation: disable on SDL
      Screen/Bitmap: added fallback for SDL on UNIX
      test/Makefile: don't compile PaintCanvas.cpp on SDL
      test: compile RunDialog without compat.a
      DataField/Enum: define _cdecl on !WIN32
      DataField/FileReader: added POSIX implementation
      UNIX: added fake winuser.h with RECT functions
      WindowControls: don't include projects.h on POSIX
      WindowControls: include <algorithm> for min()/max()
      WindowControls: removed unused variable bTransparentScroll
      UNIX: moved VK_*, WM_*, DT_* from windef.h to winuser.h
      UNIX: added DT_CALCRECT, DT_CENTER to winuser.h
      WindowControls: disable a bunch of WIN32 code on SDL
      WindowControls: pass integer to Bitmap::load()
      WindowControls: use Window::release_capture()
      test/RunDialog: several !WIN32 tweaks
      UNIX: added more WM_KEYDOWN to winuser.h
      UNIX: added more VK_* constants to winuser.h

 Common/Header/Screen/ButtonWindow.hpp    |   39 +++++++-
 Common/Header/Screen/Canvas.hpp          |    5 -
 Common/Header/Screen/ContainerWindow.hpp |   31 ++++++
 Common/Header/Screen/TopWindow.hpp       |    2
 Common/Header/Screen/Window.hpp          |   13 ++
 Common/Header/unix/tchar.h               |    6 +
 Common/Header/unix/windef.h              |   55 -----------
 Common/Header/unix/windows.h             |    1
 Common/Header/unix/winuser.h             |  150 +++++++++++++++++++++++++++++++
 Common/Header/xmlParser.h                |    8 -
 Common/Source/DataField/Enum.cpp         |    4
 Common/Source/DataField/FileReader.cpp   |   48 +++++++++
 Common/Source/Dialogs/XML.cpp            |   11 +-
 Common/Source/Screen/Animation.cpp       |    2
 Common/Source/Screen/Bitmap.cpp          |   10 --
 Common/Source/Screen/ButtonWindow.cpp    |   64 +++++++------
 Common/Source/Screen/Canvas.cpp          |   24 ++++
 Common/Source/Screen/ContainerWindow.cpp |   94 +++++++++++++++++++
 Common/Source/Screen/Window.cpp          |   24 ++++
 Common/Source/WindowControls.cpp         |   49 +++++-----
 Common/Source/xmlParser.cpp              |    9 -
 Makefile                                 |    1
 test/Makefile                            |    9 +
 test/src/RunCanvas.cpp                   |   10 ++
 test/src/RunDialog.cpp                   |    9 +
 25 files changed, 532 insertions(+), 146 deletions(-)

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Xcsoar-devel mailing list
Xcsoar-devel@...
https://lists.sourceforge.net/lists/listinfo/xcsoar-devel