android
  #1  
Old 04-19-2009, 08:06 AM
Jan_DK's Avatar
Jan_DK Jan_DK is offline
Junior Member
 
Join Date: Mar 2009
Location: Denmark
Posts: 88
Wink Usrprog Slidemaps 2.0 Released

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

Slidemaps 2.0 What is it:
It's a 1:1 pixelmap image viewer, that's support bmp & png images.
It's supports finger scrolling (that enable one to follow a road on a huge map eg.)

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






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

Last edited by Jan_DK; 12-14-2009 at 01:50 PM.
Reply With Quote

Advertisement [Remove Advertisement]

  #2  
Old 06-17-2009, 04:25 PM
Slorrin Slorrin is offline
Junior Member
 
Join Date: Jun 2009
Posts: 2
Default

Sorry if this sounds stupid... but what does this app do? Is it an image viewer?
Reply With Quote

Reply

Tags
cowon o2, slidemaps 2.0, usrprog

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 03:39 PM.