PDA

View Full Version : Usrprog - Slidemaps 2.0 released


Jan_O2
04-19-2009, 07:07
Hello again

I've been busy learning programming in C on Linux,
so now i have made some improvements on the slidemaps prog.

http://www.exras.netne.net/SlideMaps2.0_Jan_O2.zip

New stuff in 2.0:

¤ A File Browser with easy finger control.
¤ PNG's is now supported along with bmp.
¤ Configuration file for many of Slidemaps2.0 settings.
¤ fully customize background images, buttons, bdf font, text / path colors, sounds.
¤ Bitmap Crosshair(on/off) normal cross-hair(on/off) edge indicators(on/off)
Joystick Center movable,Joystick speed and dead-zone adjustable, invert direction control.
¤ Quick Zoom


http://home19.inet.tele.dk/fs2002/slidemaps2.0.jpg



Instructions:

Hold '+' & '-' buttons to open the file browser again after viewing the first image.
Hold '+' or '-' and tap the screen quickly to eg. zoom in on what you want to look at)
Press the HOME button to quickly move the directory specified in the configuration file
( default is the Picture folder )
Hold power off for 3 sec to exit the application.

Limits:
All slide images must be 24bit RGB no transparency.
Maximum Image pixel size is 4500x4500 or eg. 16000x1200 = 38.400.000 Bytes
what ever gets to max 40.500.000 bytes | 4500x4500x2(2x8bit) = 40.500.000 bytes
sounds must be in stereo and no compression.



From the configuration thats gets created after first run.


[FILEBROWSER_SETTINGS]

O2_Start_Dir = ./mnt/hdd/usrprog/Slidemaps2.0; # Range(O2 linux path) - default ./mnt/hdd/usrprog/Slidemaps2.0
O2_Home_Base_Dir = ./mnt/hdd/Pictures; # Range(O2 linux path) - default ./mnt/hdd/Pictures

Path_font_Color_r = 147 ; # Range(0-255) set the path font color R
Path_font_Color_g = 86 ; # Range(0-255) set the path font color G
Path_font_Color_b = 0 ; # Range(0-255) set the path font color B
Font_Color_r = 176 ; # Range(0-255) set the normal font color R
Font_Color_g = 255 ; # Range(0-255) set the normal font color G
Font_Color_b = 255 ; # Range(0-255) set the normal font color B
Font_color_highlight_r = 4 ; # Range(0-255) set the highlight font color R
Font_color_highlight_g = 84 ; # Range(0-255) set the highlight font color G
Font_color_highlight_b = 84 ; # Range(0-255) set the highlight font color B

KeyDelayTime = 60000; # Range(usleep) set the scroll speed - default 60000
FileBrowser_Icon_pos_x = 10 ; # Range(0,480) set the file icon x position - default 10
FileBrowser_Text_pos_x = 24 ; # Range(0-480) set the text list x position - default 24
Fonts_Spacing = 9 ; # Range(1-20) set the spacing between chars / useful when using another bdf font file - default 10

[MAP_SETTINGS]

pos_x = 1200 ; # Range(0-4500) set image start position x
pos_y = 400 ; # Range(0-4500) set image start position y 0,0 top-left cornor
zoom = 1 ; # Range(1-10) start zoom out level - gets overridden if image to small to zoom out'

[SLIDE_CONTROL]

joyx_offset = 240 ; # Range(0-479) set slide-control center x
joyy_offset = 136 ; # Range(0-271) set slide-control center y
joy_deadzone_enable = FALSE ; # Range(TRUE/FALSE) set slide-control center-deadzone on/off
joy_deadzone = 8 ; # Range(0-100) set slide-control center-deadzone in pixels
slidespeed_divider = 4 ; # Range(1-20) set slide-speed divider
invert_control = FALSE ; # Range(TRUE/FALSE) set slide-control inverted

[DISPLAY]

bitmap_crosshair_display=FALSE # Range(TRUE/FALSE) display or hide the bitmap crosshair
edge_indicator_display = TRUE; # Range(TRUE/FALSE) display or hide the edge indicators
cross_hair_display = TRUE ; # Range(TRUE/FALSE) display or hide the center cross hair
cross_hair_size = 20 ; # Range(1-479) set the crosshair size
cross_hair_color_r = 95 ; # Range(0-255) cross hair color_r
cross_hair_color_g = 95 ; # Range(0-255) cross hair color_g
cross_hair_color_b = 95 ; # Range(0-255) cross hair color_b

[INI_DISPLAY]

progressbar_color_r = 255 ; # Range(0-255) set the progress bar color_r
progressbar_color_g = 153 ; # Range(0-255) set the progress bar color_g
progressbar_color_b = 50 ; # Range(0-255) set the progress bar color_b
boot_message_image_pos_x = 135; # Range(0-479) set the x position of the boot screen message images
boot_message_image_pos_y = 160; # Range(0-272) set the y position of the boot screen message images
main_message_image_pos_x = 77; # Range(0-479) set the x position of the main screen message images
main_message_image_pos_y = 115; # Range(0-272) set the y position of the main screen message images

[SOUND]
volume = 35;

***********************************************

Note !
when Slidemaps starts it plays a boot sound.
the volume above is only effecting non boot sounds.


Best Regards.
Jan_O2

Ludd
04-19-2009, 09:59
Good job! Any way to get your excellent file browser into the O2's main setup proper? As in, use it instead of what we have to select music and video files?

Jan_O2
04-19-2009, 12:39
Good job! Any way to get your excellent file browser into the O2's main setup proper? As in, use it instead of what we have to select music and video files?


Thanks !

Browsing my music folder got me to think the same, to bad
there is no way at all to access anything in the cowon player
as things are right now,,,


Jan_O2

Ludd
04-19-2009, 13:16
I have to say, after using the app it seems very slick and well done. It is clear you put in some substantial effort and the end result is very professional looking, not amateurish at all in any way.

Arisa
12-02-2009, 04:10
I cannot access the download link..

pegahic
12-04-2009, 07:52
I've uploaded Jan's app to my webspace:

http://pegahic.netii.net/apps.php/Slidemaps2.0.zip (http://pegahic.netii.net/apps.php/Slidemaps2.0.zip)

Enjoy!

Jan_O2
12-08-2009, 11:50
Hi

I've just edited the download link in my first post, my isp
cut there default homepage service some time ago.

Thanks for hosting it Pegahic.

The Slidemaps version on the new site is right of my own O2
so the filebrowser background image is in gray vs. blue/turkis
original on Pegahic's site
it's the only change.

Jan_O2