LinuxMCE Forums
General => Developers => Topic started by: tschak909 on October 11, 2008, 11:59:02 pm
-
I've sent this off to nite_man, but I thought i'd mention it here too:
Basically, in src/Orbiter/OrbiterRenderer.php, look around line 1235, you'll notice a reference to DESIGNOBJ_objExitController2_CONST. This is the Exit Orbiter button, and it is hidden by default in Designer. Interestingly enough, they decided to take care of it in the global renderer class, and set the hide/unhide to unhide if the orbiter is the WIN32 orbiter. I have extended this to add the exit button to the Maemo orbiter, as such:
Add the following lines after the #ifdef block
//also NOT hidden on Maemo orbiter
#if defined(MAEMO_NOKIA770)
if(pObj->m_iBaseObjectID == DESIGNOBJ_objExitController2_CONST)
pObj->m_bHidden = false;
#endif
recompile and use.
-Thom
-
cool tschak!!
-
I've sent this off to nite_man, but I thought i'd mention it here too:
Basically, in src/Orbiter/OrbiterRenderer.php, look around line 1235, you'll notice a reference to DESIGNOBJ_objExitController2_CONST. This is the Exit Orbiter button, and it is hidden by default in Designer. Interestingly enough, they decided to take care of it in the global renderer class, and set the hide/unhide to unhide if the orbiter is the WIN32 orbiter. I have extended this to add the exit button to the Maemo orbiter, as such:
Add the following lines after the #ifdef block
//also NOT hidden on Maemo orbiter
#if defined(MAEMO_NOKIA770)
if(pObj->m_iBaseObjectID == DESIGNOBJ_objExitController2_CONST)
pObj->m_bHidden = false;
#endif
recompile and use.
-Thom
Nice!
Thanks Thom.
Andrew
-
Good work, Tom! I tested it yesterday and it worked fine. Will build new packages for Nokia Orbiter today.
-
Good work, Tom! I tested it yesterday and it worked fine. Will build new packages for Nokia Orbiter today.
Cool Michael/Thom :-)
Andrew
-
I'll uploaded a new version of Nokia Orbiter for diablo, chinook and bora with button 'Exit' to the diapub repo. Version for mistral can be downloaded from the Maemo garage (https://garage.maemo.org/frs/download.php/4694/lmceorbiter-os2006-0710-5_armel.deb).
-
do these builds have the screen saver disabled?
-Thom
-
do these builds have the screen saver disabled?
I disabled the screen-saver according to Oliver recommendations in the previous release. So, the latest should also have that.