Difference between revisions of "WxWidgets"
From LinuxMCE
(→wxWidgets integration with Orbiter) |
(→wxWidgets integration with Orbiter) |
||
Line 22: | Line 22: | ||
Note that only important changes are written to this file, for the full changes, look at the code, as it may change in time. | Note that only important changes are written to this file, for the full changes, look at the code, as it may change in time. | ||
− | wxDialog_RoomWizard: | + | wxDialog_RoomWizard : |
*is a Rooms-Wizard dialog | *is a Rooms-Wizard dialog | ||
*changed in Orbiter/: Orbiter.cpp, Main.cpp, Main.h (added), Makefile | *changed in Orbiter/: Orbiter.cpp, Main.cpp, Main.h (added), Makefile | ||
*changed in Orbiter/Linux/: OSDScreenHandler.h OSDScreenHandler.cpp | *changed in Orbiter/Linux/: OSDScreenHandler.h OSDScreenHandler.cpp | ||
− | In Makefile: | + | In Makefile : |
*added WX_* variables | *added WX_* variables | ||
*added to sources section wxAppMain/* | *added to sources section wxAppMain/* | ||
− | In Linux/OSDScreenHandler.*: | + | In Linux/OSDScreenHandler.* : |
*redefine the following method to register the callbacks: SCREEN_RoomsWizard | *redefine the following method to register the callbacks: SCREEN_RoomsWizard | ||
*added callbacks: RoomsWizardCreate, RoomsWizardDelete, RoomsWizardRefresh | *added callbacks: RoomsWizardCreate, RoomsWizardDelete, RoomsWizardRefresh |
Revision as of 08:34, 20 April 2006
This page was written by Pluto and imported with their permission when LinuxMCE branched off in February, 2007. In general any information should apply to LinuxMCE. However, this page should be edited to reflect changes to LinuxMCE and remove old references to Pluto. |
wxWidgets must be compiled with:
--with-gtk=2 --enable-monolithic --with-sdl --with-opengl
For debug builds, add
--enable-debug
sdl: needed by Orbiter opengl: needed by Orbiter in the future
Required debian-pluto packages
- Release executables: libwxgtk2.6-0
- Debug executables, linked with debug version of the wx library: libwxgtk2.6-dbg
wxWidgets integration with Orbiter
Now, only Linux port of Orbiter uses wxWidgets
A new directory, Orbiter/wxAppMain, was created, which contains only wx-related files
Note that only important changes are written to this file, for the full changes, look at the code, as it may change in time.
wxDialog_RoomWizard :
- is a Rooms-Wizard dialog
- changed in Orbiter/: Orbiter.cpp, Main.cpp, Main.h (added), Makefile
- changed in Orbiter/Linux/: OSDScreenHandler.h OSDScreenHandler.cpp
In Makefile :
- added WX_* variables
- added to sources section wxAppMain/*
In Linux/OSDScreenHandler.* :
- redefine the following method to register the callbacks: SCREEN_RoomsWizard
- added callbacks: RoomsWizardCreate, RoomsWizardDelete, RoomsWizardRefresh
wxDialog with thread support
( will be updated when the Orbiter-Wx interface will be ready )
wxWidgets usage in Pluto
http://10.0.0.170/pluto/trunk/src/Orbiter/wxAppMain/WX_PLUTO.txt