Difference between revisions of "WxWidgets"
Line 1: | Line 1: | ||
− | <table width="100%"> <tr><td bgcolor="#FFCFCF">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.</td></tr> </table>== wxWidgets usage in Pluto == | + | <table width="100%"> <tr><td bgcolor="#FFCFCF">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.</td></tr> </table>== wxWidgets integration with 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 | http://10.0.0.170/pluto/trunk/src/Orbiter/wxAppMain/WX_PLUTO.txt |
Revision as of 08:33, 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
Contents
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