Re: How to set a hildon window fullscreen

2008-03-05 Thread Tapani Pälli
o.org/mailman/listinfo/maemo-developers > // Tapani Pälli -- Software Engineer Open Source Software Operations ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers

Re: Dialogs and gtk_window_set_transient_for()

2008-02-26 Thread Tapani Pälli
Hello; ext Arto Karppinen wrote: > Tapani Pälli wrote: >> Hello; >> >> ext Arto Karppinen wrote: >> >>> Hi >>> >>> Im developing an app which shows modal dialogs to the user. Also the >>> app may popup a custom error message dialog

Re: [Maemo App Dev]How to make my app UI different

2008-02-22 Thread Tapani Pälli
> > advance~ > > > Just a hint, you may use gtkrc to customize it.(maemo is gtk+ based so > I think this method works) > > > > > _______ > maemo-developers mailing list

Re: Dialogs and gtk_window_set_transient_for()

2008-02-21 Thread Tapani Pälli
s parameter to the function that pops up the dialog so it can be changed easily. // Tapani Pälli -- Software Engineer Open Source Software Operations ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers

Re: How to disable screen saver in SDL?

2008-02-19 Thread Tapani Pälli
&cs_f=hedgehopper/libenkine/enk_init.c#first > Till > ___ > maemo-developers mailing list > maemo-developers@maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-developers > > // Tapani Pälli -- Software Engineer Open Sourc

Re: SDL, tearing, X overhead and direct framebuffer gfx

2008-02-18 Thread Tapani Pälli
Hello; ext Siarhei Siamashka wrote: > On Feb 18, 2008 1:28 PM, Tapani Pälli <[EMAIL PROTECTED]> wrote: > >>> Could you please verify and confirm this information? Framebuffer >>> driver from OS2007 supported tearsync (via OMAPFB_FORMAT_FLAG_TEARSYNC >>> f

Re: SDL, tearing, X overhead and direct framebuffer gfx

2008-02-18 Thread Tapani Pälli
Hello; ext Siarhei Siamashka wrote: > On Feb 18, 2008 9:39 AM, Tapani Pälli <[EMAIL PROTECTED]> wrote: > >>> When using the supplied SDL library for doing timer-based frame >>> rendering, there seems to be >>> - heavy tearing >>> >

Re: SDL, tearing, X overhead and direct framebuffer gfx

2008-02-17 Thread Tapani Pälli
I wouldn't expect so much performance boost from there. > Q: Where can I find the sources to the OS2008 SDL? > > I wish I knew. Anyway, there is not significant changes in our SDL, you can safely browse the upstream source at http://libsdl.org/ > Thx and cheers, > > tgo &g

Re: RE : Re: RE : Re: RE : Re: Non modal dialog

2008-02-07 Thread Tapani Pälli
___ > Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail > http://mail.yahoo.fr > ___ > maemo-developers mailing list > maemo-developers@maemo.org > https://lists.maemo.org/ma

Re: RE : Re: RE : Re: Non modal dialog

2008-02-07 Thread Tapani Pälli
ed by the window manager. >> >> The solution here is to create a top level window for you application, >> and then draw the postit notes yourself. One way would be to create a >> widget which draws a postit note and place them inside a GtkFixed or >

Re: C - GTK - Dialog Box - I never get the result

2008-01-29 Thread Tapani Pälli
ou're getting GTK_RESPONSE_ACCEPT or GTK_RESPONSE_REJECT instead. > At the beginning, I used Glade, and had the same problem. > > I don't have tested it on my pc yet > > > Any idea ? > > Thanks. > > David. > > // Tapani Pälli -- Software Engineer Open Source Software Operations ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers

Re: Curious: Maemo devices other than Nokia?

2008-01-23 Thread Tapani Pälli
Hello; ext Tollef Fog Heen wrote: > * Tapani Pälli > > | ext Guillem Jover wrote: > | > On Wed, 2008-01-23 at 13:49:19 +0200, ext Tapani Pälli wrote: > | > > | >> What's the problem? Why we could not have our own custom functionality > | >> in ou

Re: Curious: Maemo devices other than Nokia?

2008-01-23 Thread Tapani Pälli
eam is not interested at all on some functionality or it can take year or two to get a patch accepted. It may happen that due to release schedule there is no time to wait or depend on single busy control point like most libraries tend to have. // Tapani Pälli -- Software Engineer Open Source Software Operations ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers

Re: Curious: Maemo devices other than Nokia?

2008-01-23 Thread Tapani Pälli
Hello; ext Guillem Jover wrote: > On Wed, 2008-01-23 at 13:49:19 +0200, ext Tapani Pälli wrote: > >> Riku Voipio wrote: >> >>> The layering violation is including a function >>> hildon_gtk_im_context_show() inside *gtk-2-0*. And the call for >>>

Re: Curious: Maemo devices other than Nokia?

2008-01-23 Thread Tapani Pälli
es together >>> to get fully OSS rootfs built out of Debian to support the basic use cases >>> of internet browsing, email and so on. >>> >>> >> But not fast battery charging. IIRC. >> >>

Re: ALSA support on the N810?

2008-01-21 Thread Tapani Pälli
ractical reason it isn't? > > > > > __ > Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com > > ___ > maemo-developers mailing list > maemo-developers@maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-develope

Re: [matchbox] Compositing manager for small device

2008-01-16 Thread Tapani Pälli
ext Bin Chen wrote: > On Jan 16, 2008 4:34 PM, Tapani Pälli <[EMAIL PROTECTED]> wrote: > >> ext Bin Chen wrote: >> >>> 在 2008-01-16三的 10:20 +0200,Tapani Pälli写道: >>> >>> >>>> Hello; >>>> >>>> e

Re: [matchbox] Compositing manager for small device

2008-01-16 Thread Tapani Pälli
ext Bin Chen wrote: > 在 2008-01-16三的 10:20 +0200,Tapani Pälli写道: > >> Hello; >> >> ext Bin Chen wrote: >> >>> Hello, >>> >>> In PC because the screen resolution is large, so the computation for >>> compositing(such as trans

Re: [matchbox] Compositing manager for small device

2008-01-16 Thread Tapani Pälli
Thanks. > Bin > -- > To unsubscribe send a mail to [EMAIL PROTECTED] > -- > // Tapani Pälli -- Software Engineer Open Source Software Operations ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers

Re: Can GTK+ make use of XSHM extension from MIT

2008-01-10 Thread Tapani Pälli
Hello; ext Bin Chen wrote: > On Jan 10, 2008 4:26 PM, Tapani Pälli <[EMAIL PROTECTED]> wrote: > >> Hello; >> >> ext Bin Chen wrote: >> >>> Hello, >>> >>> I am running GTK+ in a singal machine, the machine is slow so I want &

Re: Can GTK+ make use of XSHM extension from MIT

2008-01-10 Thread Tapani Pälli
Render API for rendering and manipulating buffers on server-side. > Thanks. > Bin > ___ > maemo-developers mailing list > maemo-developers@maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-developers > > // Tapani Pälli -- Software

Re: Tcl/Tk and C++ for Chess

2008-01-01 Thread Tapani Pälli
ny problems with standard shared > runtime libraries on the N800 using either OS? > > Any help would be appreciated. > > -Will > > ___ > maemo-developers mailing list > maemo-developers@maemo.org > https://lists.mae

Re: Tips to optimize SDL aplication

2007-12-17 Thread Tapani Pälli
> > -- > Cheers, > Michael > > > ___ > maemo-developers mailing list > maemo-developers@maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-developers > // Tapani Pälli -- Software Engineer Open Source Software Operations ___

Re: Maemo SDK 4.x beta

2007-10-24 Thread Tapani Pälli
ad that before. O.k. Funny thing that my >>>> bomberman package build straight away... >>>> >>> Anything using SDL works fine on Chinook if it worked >>> on earlier release. >>> > ___ > maemo-developers

Re: dealing with non-GTK windows

2007-10-24 Thread Tapani Pälli
Hello; ext Austin Che wrote: > Tapani Pälli <[EMAIL PROTECTED]> wrote: > > >>> - Is it possible to force such a window into fullscreen? I don't >>> care if it needs to be done manually. For example, is it >>> possible

Re: dealing with non-GTK windows

2007-10-17 Thread Tapani Pälli
Hello; ext Austin Che wrote: > Some questions about non-GTK windows that applications may show: > > What type of window are you talking about? Using Xlib directly? SDL? > - Is it possible to force such a window into fullscreen? I don't > care if it needs to be done manually. For

Re: Porting fltk-app

2007-09-14 Thread Tapani Pälli
ext Jørn Christensen wrote: > Hi, > > Thanks for your answer, and sorry for my late answer, but I am a bit > busy with my studies as well. > > Eero Tamminen wrote: > >> Hi, >> ext Tapani Pälli wrote: >> >>>> I am trying to port an FLTK

Re: Porting fltk-app

2007-09-09 Thread Tapani Pälli
ext Jørn Christensen wrote: > Hi, > > I am trying to port an FLTK (www.fltk.org) application to N770/N800. I > got FLTK compiled and the application as well, but when I run the > application, it is not managed by Matchbox. That is, the program is not > shown in the taskbar and the keyboard will not

Re: Help with menu integration for an X11 game

2007-08-02 Thread Tapani Pälli
Hello, ext Missouga wrote: > I've just uploaded a working version of the "Four Rivers" game. In the > archive you'll find sources and a precompiled binary for your Nokia > N800. Just copy the binary somewhere in your executable path and the > tiles image in /usr/share/rivers > > https://garage.ma

Re: What's wrong with folder browsing?

2007-05-22 Thread Tapani Pälli
ext Eero Tamminen wrote: > Hi, > > ext Gustavo Sverzut Barbieri wrote: > >>> I use two 4gig SD cards. Once i stuffed them full of media canola-conf >>> would just take over my cpu ( i am taking a stab in the dark, that >>> this was the indexer) . I waited for quite a while, and even had to >>> c

Re: Xsp pixel-doubling solutions for Nokia 770?

2007-04-30 Thread Tapani Pälli
Eero Tamminen wrote: > Hi, > > Daniel Stone wrote: > On Mon, Apr 30, 2007 at 09:34:38AM +0200, ext Frantisek Dufka wrote: You mean, modify every single drawing X request in the X protocol so it contains flags, meaning that we have to change every drawing-related function in -

Re: Xsp pixel-doubling solutions for Nokia 770?

2007-04-30 Thread Tapani Pälli
Daniel Stone wrote: > On Mon, Apr 30, 2007 at 09:34:38AM +0200, ext Frantisek Dufka wrote: > >> Eero Tamminen wrote: >> >>> And if the game doesn't disable the double pixeling properly (e.g. if it >>> crashes or freezes), user needs to reboot the device. Not very nice >>> either... >>>

Re: Xsp pixel-doubling solutions for Nokia 770?

2007-04-30 Thread Tapani Pälli
Daniel Stone wrote: > On Mon, Apr 30, 2007 at 10:10:23AM +0300, ext Tapani Pälli wrote: > >> ext Arnim Sauerbier wrote: >> >>> Many of these are acceptably fast at 320x240 but too slow at 640x480 or >>> 800x480. The problem is >>> that some

Re: Xsp pixel-doubling solutions for Nokia 770?

2007-04-30 Thread Tapani Pälli
ext Arnim Sauerbier wrote: > Greetings again, Dear Maemo Developers, > > I am now porting several emulators and games to the Nokia 770, some of them > shown here: > > http://pupnik.de/software.html > > Ultima IV used to be one of my favourite RPG:s, very nice :) > Many of these are acceptably

Re: Moving windows in Maemo

2007-04-18 Thread Tapani Pälli
ext Murray Cumming wrote: > On Wed, 2007-04-18 at 12:20 +0300, Eero Tamminen wrote: > [snip] > >> You're asking for an option to set that dialog should be resizable >> and movable? (that's different from what you asked earlier) >> >> Btw. If you want to know more about the standard for applicat

Re: Moving windows in Maemo

2007-04-12 Thread Tapani Pälli
ext Sean Luke wrote: > On Apr 12, 2007, at 1:37 AM, Tapani Pälli wrote: > >>> The *right* thing would be to make all maemo dialogs and notifcations: >>> 1. Resiable >>> 2. Movable >>> 3. Persistent (so next time you reopen the app, the dia

Re: Moving windows in Maemo

2007-04-12 Thread Tapani Pälli
Eero Tamminen wrote: > Hi, > > ext Tapani Pälli wrote: > >>> The need for a close button and move option in infoprints is, as >>> stated before, they just prevent you from accessing stuff below them. >>> >>> Example: I can't crank up th

Re: Moving windows in Maemo

2007-04-12 Thread Tapani Pälli
manage notifications would show a list of > the applications that registered notifications: > +application b > +application c > +maemo-desktop > +mapper > > and when clicked it would show a list of registered notifications for > that app. Which the user can then "set a size

Re: Moving windows in Maemo

2007-04-11 Thread Tapani Pälli
ext Sean Luke wrote: > On Apr 11, 2007, at 12:07 PM, Eero Tamminen wrote: > >>> For the moment I'm experimenting with various floating windows for >>> various utility functions -- my drag-and-drop example on my N800 >>> website, say. >> >> Do you have an URL? > > cs.gmu.edu/~sean/stuff/n800/ > > [P

Re: SDL on maemo

2007-03-28 Thread Tapani Pälli
ext Pavan Krishnamurthy wrote: > Hi, > > I am bit new to the maemo. I wanted to know the SDL architecture on > maemo platform. Is the SDL using the X11 drivers or is it using the > framebuffer drivers.? If there is any documentation, please do share, > as I was unable to find one. SDL uses X11 ba

Re: Wishlist (was:Re: N800 and USB host mode)

2007-03-08 Thread Tapani Pälli
ext Daniel Stone wrote: > On Thu, Mar 08, 2007 at 01:06:00PM -0800, ext Daniel Amelang wrote: >> On 3/7/07, Eero Tamminen <[EMAIL PROTECTED]> wrote: >>> Err. Translucency means compositing and keeping the composited items in >>> memory. Due to additional memory accesses needed for this, it would

Re: Crash in maemo-launcher

2007-03-06 Thread Tapani Pälli
ext Matt Hoosier wrote: > [This message is the same as one that I posted, probably > inappropriately, to maemo-users a few days ago. One responder there > suggested that the crash seen below is from application-specific bugs, > but I'm not so sure. A wide variety of very simple programs all fail >

Re: [maemo-developers] Nokia SDL color format for pixels

2007-02-12 Thread Tapani Pälli
ext Michael Stepanov wrote: > Thanks for your answer, Tarani. > > On 2/12/07, *Tapani Pälli* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > ext Michael Stepanov wrote: > > Well, there is a open source system for home automation - Plutoh

Re: [maemo-developers] Nokia SDL color format for pixels

2007-02-11 Thread Tapani Pälli
ext Michael Stepanov wrote: > Well, there is a open source system for home automation - Plutohome > (www.plutohome.com ). This system can use > Nokia770/800 as a control panel - Orbiter. The Orbiter is based on > SDL. So, after some hack it started work on Nokia (os2005/os

Re: [maemo-developers] to Nokia: simple method to gainagamingaudienceon 770/800

2007-01-30 Thread Tapani Pälli
bsdl.org then and could be used by anyone out there. > lg Clemens > > 2007/1/26, Tapani Pälli <[EMAIL PROTECTED]>: >> ext [EMAIL PROTECTED] wrote: >> >> On 1/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> >> >> >>>

Re: [maemo-developers] to Nokia: simple method to gainagamingaudienceon 770/800

2007-01-26 Thread Tapani Pälli
ext [EMAIL PROTECTED] wrote: >> On 1/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> >>> * easy to make basic GUI for game setup (input methods do >>> >> not work in >> >>> SDL) >>> >> Hello >> >> I guess anybody how is porting a SDL game will run into the >> keybo

Re: [maemo-developers] to Nokia: simple method to gaina gamingaudience on 770/800

2007-01-25 Thread Tapani Pälli
ext Raul Fernandes Herbster wrote: > what i mean is a tutorial which gives us some tips to create more > sophisticated user interfaces. GTK is good, but not sufficient to > catch gamers attention. > []'s Perhaps you should first share what are you trying to achieve? If you think of desktop games,

Re: [maemo-developers] SDL porting guide

2007-01-23 Thread Tapani Pälli
ext Kees Jongenburger wrote: > Hello > > I am searching for an SDL porting guide. > I would like to know what kind of changes are required for an sdl > application to at least support fullscreen/normall screen toggle. > This should work : SDL_WM_ToggleFullScreen(main_window); > greetings > _

Re: [maemo-developers] Re: Developer Device Program Request

2007-01-23 Thread Tapani Pälli
ext Daniel Amelang wrote: > On 1/22/07, Mike Morrison <[EMAIL PROTECTED]> wrote: >> I've seen some posts about cairo on the mailing list but I didn't see a >> package for it. Is it available or should I be looking for another >> way to >> fulfill my cairo needs? > > I don't know of a cairo package

Re: [maemo-developers] Non-gtk application integration

2006-12-20 Thread Tapani Pälli
ext [EMAIL PROTECTED] wrote: > Quoting Tapani Pälli <[EMAIL PROTECTED]>: > >> Could you post your .desktop file? There's been previously problems with >> the correct format of it. Also it *might* be that you have to set >> application window's WM_CLAS

Re: [maemo-developers] Non-gtk application integration

2006-12-20 Thread Tapani Pälli
ext Tapani Pälli wrote: > ext [EMAIL PROTECTED] wrote: > >> Quoting Tapani Pälli <[EMAIL PROTECTED]>: >> >> >>>> * How can I create an entry in the task manager for the running >>>> application ? >>>> >>>&

Re: [maemo-developers] Non-gtk application integration

2006-12-20 Thread Tapani Pälli
ext [EMAIL PROTECTED] wrote: > Quoting Tapani Pälli <[EMAIL PROTECTED]>: > >>> * How can I create an entry in the task manager for the running >>> application ? >>> >>> >> You have to install a .desktop file, see >> http:/

Re: [maemo-developers] Non-gtk application integration

2006-12-19 Thread Tapani Pälli
Hello, ext Günter Geiger wrote: > Hi there, > > I am new to maemo, and just trying to find my way around. I am currently > looking for a away to integrate a tcl/tk application with maemo. I am > specifically interested in pointers on howto integrate with the task > manager. > > Some questions th

Re: [maemo-developers] How to determine if the screen has turned off?

2006-12-14 Thread Tapani Pälli
ext Frantisek Dufka wrote: > Eero Tamminen wrote: >> I think the app loses focus when the screen is blanked. >> So, the SDL app could catch screen focus events and do >> some additional checks when that happens. > > Good idea, thanks. > >> >> Or SDL app could always pause when it loses focus... >>

Re: [maemo-developers] How to determine if the screen has turned off?

2006-12-14 Thread Tapani Pälli
ext Frantisek Dufka wrote: > Johan Bilien wrote: >> >> http://maemo.org/platform/docs/api/libosso/html/index.html >> >> You can register a callback with osso_hw_set_event_cb, set the >> system_inactivity_ind flag in the osso_hw_state_t argument. >> > > Will this callback be called even without proc

Re: [maemo-developers] Re: Re: Re: star atlas for maemo

2006-11-30 Thread Tapani Pälli
ext Danny Milosavljevic wrote: > Hi, > > On Thu, 30 Nov 2006 17:22:29 +0100, alessandro pasotti wrote: > > >> Thank Ross, your advice was successfull, now I've ported and packaged stars >> for maemo!!! >> >> Before releasing I would like to solve some minor problems: >> >> 1 - how to go full scr

Re: [maemo-developers] Suggestions for scirocco?

2006-11-30 Thread Tapani Pälli
ext Tran Van Hoang wrote: > Hi all, > > In an effort trying to make scirocco officially support scratchbox > apophis 1.x, we're also trying to make scirocco better if possible. > So if you would like to have any thing else supported, please say it > soon enough so we can at least try our best. > >

Re: [maemo-developers] RE: Boot to a different look?

2006-11-13 Thread Tapani Pälli
ery much for help. > > Sincerely, > Cheon-Woei Ng > > -Original Message- > From: Tapani Pälli [mailto:[EMAIL PROTECTED] > Sent: Sunday, October 29, 2006 11:36 PM > To: Ng, Cheon-woei > Cc: Michael Kostrzewa; maemo-developers@maemo.org > Subject: Re: [maemo-d

Re: [maemo-developers] RE: Boot to a different look?

2006-10-29 Thread Tapani Pälli
ext Ng, Cheon-woei wrote: > Thanks for all the suggestions. Yesterday, I was working on exactly what > Tapani suggested. I am glad that I am going to the right direction. > > I adjusted the bootup script yesterday and was able to boot to any program I > want. Now I will try making my own pro

Re: [maemo-developers] RE: Boot to a different look?

2006-10-26 Thread Tapani Pälli
ext Ng, Cheon-woei wrote: > Hi All, > > I am new to Maemo and Linux programming in general. I have scanned > through the archived developer mailing list but I did not see similar > subject. > > I am wondering if I could adjust Maemo to boot to a different look like > the picture link below: > >

Re: [maemo-developers] Re: maemo-developers Digest, Vol 18, Issue 34

2006-10-26 Thread Tapani Pälli
ext Kimmo Hämäläinen wrote: > On Wed, 2006-10-25 at 14:54 -0400, ext Bob Herrmann wrote: > > >> Any usb keyboard should work, but mouse support seems to be another >> story. Just hooking up a usb mouse doesn't appear to work. I believe >> this is because the X server is tweaked out to

Re: [maemo-developers] To know the events

2006-08-03 Thread Tapani Pälli
ext [EMAIL PROTECTED] wrote: > Hi, > > I have some doubts in the maemo framework. Could someone clarify me. > > 1. Is there any API to know Whether the application got the input focus > or lost the focus. > You should be able to do this using Gtk API, listening to focus-in and focus-out events

Re: [maemo-developers] Simultaneous key press events

2006-08-02 Thread Tapani Pälli
ext Hermann Lacheiner wrote: > Hi all! > > I cross-compiled gnuboy for the Nokia, but I noticed a problem, that > simultaneously pressing the cursor keys and the fullscreen key does not > work. Either the cursor key or the fullscreen key generates a key press > event, but not both at the same time.

Re: [maemo-developers] Internet radio application

2006-08-02 Thread Tapani Pälli
ext [EMAIL PROTECTED] wrote: > Hi, > > Is there any way to add an additional Internet radio channel to the > existing Internet radio application? > > Yes indeed, this feature is hidden in audio-player's menu ('Track -> Add to favourites'). > Thanks in advance. > > Alvis Koon > > Software Engin

Re: [maemo-developers] Hatari (Atari ST) emulator for N770

2006-08-01 Thread Tapani Pälli
ext Ralph Giles wrote: > On Tue, Aug 01, 2006 at 09:15:34PM +0300, Eero Tamminen wrote: > > >> Um, what "2006 image" is missing the C-library and zlib? >> About all programs need them to work. The above list is >> all the dependencies that Hatari package has. >> > > Hmm. I was thinking you

Re: [maemo-developers] Xserver and Re-flashing error

2006-07-20 Thread Tapani Pälli
ext Dan Brinks wrote: > Hello- > I've been trying to see if I could modify the X server running on the > N770. So firstly I extracted the rootfs from the OS2006 .bin file. I > then downloaded the xserver-kdrive .deb file from the repository and > extracted it to my rootfs, packaged it all up and fl

Re: [maemo-developers] Workaround to prevent crash when pressing home key in SDL programs (IT2006)?

2006-06-20 Thread Tapani Pälli
ext Frantisek Dufka wrote: > Hi, > > tried it yesterday just for fun and it works. > > code looks like this: > > #include > #include "SDL_x11video.h" > #undef WMwindow > > extern SDL_VideoDevice *current_video; > > void SDL_X11_SetNetWMWindowType(char *windowtypestring){ > if (current_video &&

Re: [maemo-developers] SDL, Re: SDL vertical blank (vbl) sync.

2006-05-31 Thread Tapani Pälli
ext Frantisek Dufka wrote: > Tapani Pälli wrote: >>> As for the manual vs automatic updates, that brings another question. >>> How often is the screen really updated? I saw in the kernel source >>> there is manual vs automatic update mode but which one is actual

Re: [maemo-developers] SDL, Re: SDL vertical blank (vbl) sync.

2006-05-30 Thread Tapani Pälli
ext Frantisek Dufka wrote: > Eero Tamminen wrote: >> Hi, >> >>> Yes. So to draw without tearing effect either X of framebuffer driver >>> should report when to draw (vblank period or which line is currently >>> drawn by hardware) >> >> Another possibility is that (SDL) application could ask X serve

Re: [maemo-developers] SDL vertical blank (vbl) sync.

2006-05-30 Thread Tapani Pälli
ext Frantisek Dufka wrote: > Visti Andresen wrote: > >> My "flashingTest" reports that: >> It got a hardware surface (I should be writing directly to "video >> memory" accordingly to the SDL docs) >> And the surface is double buffered. >> >> The size of the surface is 800x480 16 bit (R5G6B5) >> So

Re: [maemo-developers] Toolchain still not working...new clues

2006-05-26 Thread Tapani Pälli
ext Daniel Monteiro wrote: > Hi folks > after lots of tries, I dropped Xnest and tried Xvnc. > It also didn´t worked. I also tested running any X > Application under scratchbox...also didn´t worked. > > Im going to move to Ubuntu 5.10 , maybe its a firewall > thing...thats my bet. > > Any last test

Re: [maemo-developers] Re: cant get maemo to my Xnest window

2006-05-16 Thread Tapani Pälli
ext Daniel Monteiro wrote: > sorry the long delay, but I was a little busy. > here is the log: > > [sbox-SDK_PC: ~] > export DISPLAY=localhost:2 > [sbox-SDK_PC: ~] > af-sb-init.sh start > Sample files present. > Starting DBUS system bus > Starting D-BUS session bus daemon > Starting Sapwood image s

Re: [maemo-developers] Display Blank Timeout

2006-04-17 Thread Tapani Pälli
ext Skaven wrote: > Hi guys, > > i'm writing a little app for the nokia 770. > i've just a little issue to fix : the display blank / dim timeout. > Do you know a way : > 1) to deactivate this timeout (i saw 2 gconf files : one in > /var/lib/gconf/system/osso/dsm/display and one in > /var/lib/gcon

Re: [maemo-developers] neat device

2006-03-30 Thread Tapani Pälli
ext Ted Zlatanov wrote: > On 30 Mar 2006, [EMAIL PROTECTED] wrote: > > >> "Me too". (I had a fairly long response that I decided not to send, suffice >> it to say my use-case is VKB or bluetooth, with periodic out-of-mem crashes >> mixed in for fun. And I support our new open-source overlords :

Re: [maemo-developers] neat device

2006-03-30 Thread Tapani Pälli
ext John Meacham wrote: > I got my nokia 770 the other day and love it. I have already started > porting stuff and am happy to say my jhc haskell compiler can cross > compile to maemo just fine. > > In any case, looking at the memory usage, hildon-input-method takes up a > whopping 6.3 megs of real

Re: [maemo-developers] User interface stuff on maemo.org

2006-03-23 Thread Tapani Pälli
ext Vladislav Grinchenko wrote: > Tuomas, > > On Wed, 2006-03-22 at 05:56, Tuomas Kuosmanen wrote: > >> Hi folks! >> >> I just wanted to quickly introduce myself to the list. I'm happy to see >> many familiar names here as well. >> >> It appears that my job involves helping you guys, when you a

Re: 答复: 答复: [maemo-developers] que stion of resolution

2006-03-21 Thread Tapani Pälli
ext Ziqi He wrote: > I tried to run Xephyr on 'display:1' by using following commands: > #export DISPLAY=127.0.0.1:1 > #af-sb-init.sh start > but failed. > Is that correct? > And how can I run Xephyr on 'display:1'? > > You don't have to use display :1, it was just in the example. If you are rig

Re: 答复: [maemo-developers] question of resolution

2006-03-21 Thread Tapani Pälli
ext Ziqi He wrote: > The command I have used is #export DISPLAY=127.0.0.1:2, > So I think that my Xephyr is running on display ':2' > How can I change resolution of Maemo (not the size of Xephyr)? > Thanks > > The size of the 'Maemo environment' is specified by the X and in this case it is Xeph

Re: [maemo-developers] question of resolution

2006-03-21 Thread Tapani Pälli
ext Ziqi He wrote: > Hi all, > How can I change the resolution of Maemo to 320x240 in scratchbox. > My LCD device must work in this resolution. Thanks a lot. > > If you have Xephyr running on display ':1', you can change it's screen dimensions using xrandr like this : xrandr -d :1 -s 320x240+0+

Re: [maemo-developers] Question about intercepting the HOME button

2006-03-14 Thread Tapani Pälli
e that if you want to develop application and plan to publish it, you should follow the guidelines so user's will get 'expected behavior'. > -re > > // Tapani > Tapani Pälli wrote: > > >> HOME-key is special. HOME button should always take you to home

Re: [maemo-developers] Question about intercepting the HOME button

2006-03-14 Thread Tapani Pälli
ext Ramiro Estrugo wrote: > Hi maemo hackers. > > I want to handle HOME button event and CONSUME it. > > I tried hacking HildonAppView to not register a gtk key event snooper > to handle the HOME key (which seems to be an alias for GDK_F5) > > This didnt work. The app no longer handles the HOME ke

Re: [maemo-developers] J2ME on Nokia 770

2006-03-08 Thread Tapani Pälli
ext Philippe Laporte wrote: > Hi, > I'm forwarding this to other relevant lists as well. > > The 770 window manager is Matchbox: http://projects.o-hand.com/matchbox/ > > Is the color map problem already assigned to someone? > Expose-events work in 770 normally, bug is in the application/libra

Re: [maemo-developers] Adding swapon/off to Jakub's Load-Plugin applet - deb-package

2006-02-24 Thread Tapani Pälli
ext Armin M. Warda wrote: > Hi, > >if you are crazy enough to try my changes, that nobody besides >me has tested yet, and that could ruin your device, you can >download and install the modified Load-Plugin applet her: > >http://www.arminwarda.mynetcologne.de/load-plugin_0.2.5-1_arm.deb > > >

Re: [maemo-developers] (770 screen) Concurrent DSP and ARM access to framebuffer

2006-02-12 Thread Tapani Pälli
ext Saulo Math wrote: > Hi, > > When the DSP side draws on the screen (framebuffer), the ARM side > overwrites it. How do we program the ARM side of 770 not to draw on > part of the screen so that only the DSP side can access this area? > This is not possible todo at the moment, and I don't see w

Re: [maemo-developers] Using Nokia 770 in vertical mode

2006-01-18 Thread Tapani Pälli
ext Benno Senoner wrote: > Hi Tapani, > > Tapani Pälli wrote: > >> It is possible to do rotations even hardware accelerated. However the >> current UI does not scale to it well (as seen from screenshot) and >> therefore it is not a supported feature. nchip is us

Re: [maemo-developers] Using Nokia 770 in vertical mode

2006-01-18 Thread Tapani Pälli
ext Benno Senoner wrote: > Hi all, > > I'd like to know how to use the Nokia 770 in vertical mode. > > I found this: > > http://syslog.movial.fi/archives/2005/11.html > > From what I understand it uses the X11 XRANDR extension but you have > to recompile the kernel/Xserver ? > If yes does anyone k

[maemo-developers] Re: testing pango with 770

2006-01-05 Thread Tapani Pälli
ext Federico Mena Quintero wrote: >This is interesting, since pango-1.11.1 has our recent optimizations in >it. > >You mentioned that you were using gettimeofday(). Can you please test >the "pango-profile" module from CVS? It has a slightly more >sophisticated timer, using times(). I've found i

Re: [maemo-developers] Re: testing pango with 770

2005-12-29 Thread Tapani Pälli
ext Koen Kooi wrote: > Eero Tamminen wrote: > > >Note: In Maemo UI user cannot resize windows and applications themselves > >do that very rarely for dialogs, so this is fairly moot point for Maemo. > > > Try popping up the vkb. Opera takes ~4 seconds to resize the first time. > I think this is a

Re: [maemo-developers] Re: testing pango with 770

2005-12-28 Thread Tapani Pälli
ext Koen Kooi wrote: > Clemens Eisserer wrote: > > >>It's disappointing that with every release gtk gets slower... > > > >I absolutly agree - GTK-1.2 has been a nice and fast toolkit but since > >the jump to 2.0 GTK is just one of those "too-bloated-to-be-tuneable" > >pieces of software no one wan

[maemo-developers] Re: testing pango with 770

2005-12-22 Thread Tapani Pälli
ext Federico Mena Quintero wrote: >On Wed, 2005-12-21 at 15:15 +0200, Tapani Pälli wrote: > > > >>Text 'abcdefghijklmnopqrstuvwxyz' is rendered to 20 rows 100 times using >>'sans serif-18' font. >>(Each test is renderering 52000 glyphs.) &

[maemo-developers] testing pango with 770

2005-12-21 Thread Tapani Pälli
Hello, Here are test results for Pango performance on 770 : === TEST : Pango performance on 770 === Test programs are made by OpenedHand, all tests are measuring fullscreen write speed. Timestamps are taken using gettimeofday() after renderi

[maemo-developers] pressure information

2005-11-09 Thread Tapani Pälli
Hello, I just added a wikipage to demonstrate how to get pressure data from touchscreen. We do not have Xi extension (at least not yet) so this can propably be used as a 'workaround' for simple apps. http://maemo.org/maemowiki/HOWTO_UseTouchscreenPressureData // Tapani ___

Re: [maemo-developers] Bug in Maemo's version of GTK-2.6 (Please nokia-devs look into this)

2005-11-08 Thread Tapani Pälli
ext Tapani Pälli wrote: >ext Clemens Eisserer wrote: > > > >>This is the code I used for testing: >>printf("\nDepth: %d", gdk_rgb_get_visual()->depth); >>GdkPixmap* pix = gdk_pixmap_new (NULL, 10, 10, 16); >>void* cm = gdk_drawable_get_colormap (

Re: [maemo-developers] Bug in Maemo's version of GTK-2.6 (Please nokia-devs look into this)

2005-11-07 Thread Tapani Pälli
ext Clemens Eisserer wrote: >This is the code I used for testing: > printf("\nDepth: %d", gdk_rgb_get_visual()->depth); > GdkPixmap* pix = gdk_pixmap_new (NULL, 10, 10, 16); > void* cm = gdk_drawable_get_colormap ((GdkDrawable *)pix); > printf("\nIt returned with 16-bit depth: %d", cm); > fflush(s

Re: [maemo-developers] Bug in Maemo's version of GTK-2.6 (Please nokia-devs look into this)

2005-11-07 Thread Tapani Pälli
ext Clemens Eisserer wrote: >Hi there, > >I think I've found a bug in Maemo's modified version of GTK-2.6. >The version which is installed on my 770 (both the original version >plus the latest update release) says that >"gdk_rgb_get_visual()->depth" is 24 whereas the X-Server running on >the Nok

Re: [maemo-developers] Using keyboard in non gtk applications

2005-10-30 Thread Tapani Pälli
ext Ivan Serduk wrote: > How can I use keyboard in non gtk applications? The problem is to > popup virtual keyboard and receive events from it. > > > Unfortunately this is not possible at the moment, you need to use gtk. // Tapani ___ maemo-develope

Re: [maemo-developers] How to init SDL on the N770

2005-10-25 Thread Tapani Pälli
ext [EMAIL PROTECTED] wrote: >Hello, > >I got my Nokia 770 device and I started to port my first project, a bomberman >clone >for the N 770. (see at www.rotters.de for the Sharp Zaurus). I could run it >quite nicely >on the PC-x86 in scratchbox, but it would not run on the real device. It dies

Re: [maemo-developers] editor vi / nano-tiny - X Terminal

2005-10-17 Thread Tapani Pälli
ext Günter Wolter wrote: > Hi all, > > how can I enter the internal command prompt of the editor vi on a real > device. I haven't found the 'Esc'-key or something corresponding. > > For using the nano-tiny editor 'Strg'-key is necessary, too. > > Looking forward to any information you can give me.

Re: [maemo-developers] Maemo on hx4700 ipaq

2005-10-04 Thread Tapani Pälli
ext Koen Kooi wrote: > Tommi Komulainen wrote: > > >On Mon, 2005-10-03 at 02:24 +1300, ext Bernard Mentink wrote: > > >>Will support for resolutions other than 800x480 be supported at any > >>time soon so that Maemo can be run on the likes of the hx4700 > >>(640x480)?? > > > >Technically speaking