![]() |
daperl's PoRN
|
Re: daperl's PoRN
Etc
This is kind of an experiment, and I hope Reggie lets me squat here, but like other developers, I've spread some of my development bits around the forum, but moving forward I want to try and maybe dump them in this thread instead. At the moment, I prefer this forum format to a formal blog, but we'll see how it goes. A few months ago, I decided that trying to mimic, and then maybe enhance, the mediaplayer was as good as any place to learn and explore the n900. I made satisfying progress which I hope to return to in the not too distant future, but recently I've been playing with the Conversations app. |
Re: daperl's PoRN
1 Attachment(s)
How to start your very own Conversations
I just wanted to share how little code it takes to get the very front end of the Conversations app up and running. There won't be any screen shots today, but I did attach the code and the executable. I threw in rudimentary auto-rotation, and I also implemented quick-and-dirtier links to the actual conversations. By quick-and-dirtier I mean that I reused Nokia's RTComLogView widget to display them, although it doesn't do what you'd expect. But instead of enhancing and reusing this closed-source widget for the conversations, Nokia instead decided to embed a web page. And it doesn't look like this widget has been generalized in PR1.2. Anyway, the next step is to asynchronously catch and release actual conversation messages to and from the UI I've shown elsewhere. I haven't figured out the right combination yet of how Nokia gets the top buttons to scroll without messing up the RTComLogView styling, but on deep inspection I noticed there's two hidden buttons inside the RTComLogView that I unsuccessfully tried to show. Also, there's at least two public functions missing from the online docs: Code:
HildonTreeViewRowHeaderFunc hildon_tree_view_get_row_header_func(GtkTreeView *tree_view); |
Re: daperl's PoRN
o.o maybe the title should change a bit...lmao took me a while to figure out that porn meant (Place Of Random Notes) .....xD, I actually taught some dude was making an application for porn
|
Re: daperl's PoRN
This is quite nice.
Can it be done with Qt? |
Re: daperl's PoRN
Oh man the title got me! :(
Pretty cool though none-the-less! |
Re: daperl's PoRN
Quote:
Thanks for the contents of your PoRN thread. Wacking off to source code is the best way to start a morning, I find. |
Re: daperl's PoRN
Where's the porn? :(
|
Re: daperl's PoRN
@unkno
Place Of Random Notes |
Re: daperl's PoRN
qwerty12 is the Man, but GtkViewport might be the Devil
Quote:
Code:
gtk_widget_set_name (priv->log_view, For some reason, that is probably not a bug, when you use the "_with_viewport" calls the fremantle styles get lost. I'm guessing it has to do with placing a non-hildon widget between two hildon/Nokia widgets. I encourage anyone who knows to weigh in here. Quote:
|
All times are GMT. The time now is 14:01. |
vBulletin® Version 3.8.8