Project

General

Profile

Scol standard library package  0.3.1
Common and usefull functions for all Scol applications

Functions

 lib2d_rscAccess ()
 Get the 2d resources path to "Access".
 lib2d_rscAccessories ()
 Get the 2d resources path to "accessories".
 lib2d_rscApply ()
 Get the 2d resources path to "apply".
 lib2d_rscApply2 ()
 Get the 2d resources path to "apply2".
 lib2d_rscAudioVolumeHigh ()
 Get the 2d resources path to "audio-volume-high".
 lib2d_rscAudioVolumeLow ()
 Get the 2d resources path to "audio-volume-low".
 lib2d_rscAudioVolumeMedium ()
 Get the 2d resources path to "audio-volume-medium".
 lib2d_rscAudioVolumeMuted ()
 Get the 2d resources path to "audio-volume-muted".
 lib2d_rscBattery ()
 Get the 2d resources path to "battery".
 lib2d_rscBook ()
 Get the 2d resources path to "book".
 lib2d_rscBrowser ()
 Get the 2d resources path to "browser".
 lib2d_rscCamera ()
 Get the 2d resources path to "camera".
 lib2d_rscCancel ()
 Get the 2d resources path to "cancel".
 lib2d_rscCaution ()
 Get the 2d resources path to "caution".
 lib2d_rscClock ()
 Get the 2d resources path to "clock".
 lib2d_rscColors ()
 Get the 2d resources path to "colors".
 lib2d_rscConnect ()
 Get the 2d resources path to "connect".
 lib2d_rscCopy ()
 Get the 2d resources path to "copy".
 lib2d_rscCut ()
 Get the 2d resources path to "cut".
 lib2d_rscDate ()
 Get the 2d resources path to "date".
 lib2d_rscDevelopment ()
 Get the 2d resources path to "development".
 lib2d_rscDisconnect ()
 Get the 2d resources path to "disconnect".
 lib2d_rscEdit ()
 Get the 2d resources path to "edit".
 lib2d_rscError ()
 Get the 2d resources path to "error".
 lib2d_rscFacePlain ()
 Get the 2d resources path to "face-plain".
 lib2d_rscFaceSad ()
 Get the 2d resources path to "face-sad".
 lib2d_rscFaceSmile ()
 Get the 2d resources path to "face-smile".
 lib2d_rscFileopen ()
 Get the 2d resources path to "fileopen".
 lib2d_rscGames ()
 Get the 2d resources path to "games".
 lib2d_rscGaming ()
 Get the 2d resources path to "gaming".
 lib2d_rscGetPath ()
 Get the 2d resources path.
 lib2d_rscGraphics ()
 Get the 2d resources path to "graphics".
 lib2d_rscHalt ()
 Get the 2d resources path to "halt".
 lib2d_rscHelp ()
 Get the 2d resources path to "help".
 lib2d_rscImportant ()
 Get the 2d resources path to "important".
 lib2d_rscInfo ()
 Get the 2d resources path to "info".
 lib2d_rscInternet ()
 Get the 2d resources path to "internet".
 lib2d_rscKeyboard ()
 Get the 2d resources path to "keyboard".
 lib2d_rscLanguage ()
 Get the 2d resources path to "language".
 lib2d_rscLogin ()
 Get the 2d resources path to "login".
 lib2d_rscMicrophone ()
 Get the 2d resources path to "microphone".
 lib2d_rscMouse ()
 Get the 2d resources path to "mouse".
 lib2d_rscMultimedia ()
 Get the 2d resources path to "multimedia".
 lib2d_rscNo ()
 Get the 2d resources path to "no".
 lib2d_rscOffice ()
 Get the 2d resources path to "office".
 lib2d_rscPaste ()
 Get the 2d resources path to "paste".
 lib2d_rscPreferences ()
 Get the 2d resources path to "preferences".
 lib2d_rscPrinter ()
 Get the 2d resources path to "printer".
 lib2d_rscProperties ()
 Get the 2d resources path to "properties".
 lib2d_rscRecord ()
 Get the 2d resources path to "record".
 lib2d_rscRun ()
 Get the 2d resources path to "run".
 lib2d_rscRun2 ()
 Get the 2d resources path to "run2".
 lib2d_rscSave ()
 Get the 2d resources path to "save".
 lib2d_rscScol ()
 Get the 2d resources path to "scol".
 lib2d_rscScolLogoBlack ()
 Get the 2d resources path to "scol_logo_scol_black".
 lib2d_rscScolLogoPoweredBlack ()
 Get the 2d resources path to "scol_logo_powered_black".
 lib2d_rscScolLogoPoweredWhite ()
 Get the 2d resources path to "scol_logo_powered_white".
 lib2d_rscScolLogoWhite ()
 Get the 2d resources path to "scol_logo_scol_white".
 lib2d_rscScolringBlack ()
 Get the 2d resources path to "scolring_black".
 lib2d_rscScolringWhite ()
 Get the 2d resources path to "scolring_white".
 lib2d_rscScreenshooter ()
 Get the 2d resources path to "screenshooter".
 lib2d_rscSearch ()
 Get the 2d resources path to "search".
 lib2d_rscSetPath (szPath)
 Set the 2d resources path.
 lib2d_rscStatus_0_24 ()
 Get the 2d resources path to "status-0-24".
 lib2d_rscStatus_25_49 ()
 Get the 2d resources path to "status-25-49".
 lib2d_rscStatus_50_74 ()
 Get the 2d resources path to "status-50-74".
 lib2d_rscStatus_75_100 ()
 Get the 2d resources path to "status-75-100".
 lib2d_rscStop ()
 Get the 2d resources path to "stop".
 lib2d_rscSystem ()
 Get the 2d resources path to "system".
 lib2d_rscTheme ()
 Get the 2d resources path to "theme".
 lib2d_rscUnknown ()
 Get the 2d resources path to "unknown".
 lib2d_rscUpdateAvailable ()
 Get the 2d resources path to "update-available".
 lib2d_rscUser ()
 Get the 2d resources path to "user".
 lib2d_rscWarning ()
 Get the 2d resources path to "warning".
 lib2d_rscWww ()
 Get the 2d resources path to "www".
 lib2d_rscYes ()
 Get the 2d resources path to "yes".

Detailed Description

These resources are PNG files which should be available on each Scol client. It is recommended to use this API instead of the filenames directly : they can be modified in a next version.

Properties :

  • size : 48 x 48 pixels
  • depth : 32 bits
  • resolution : 72 dpi

Package to load : lib/2dos/rsc2d.pkg

Function Documentation

lib2d_rscSetPath ( szPath  )

Set the 2d resources path.

This function should not be called in the mostly cases.

Prototype : fun [S] I

Parameters
S: the new path to set
Returns
I : 0 if success or a positive value if an error occurs :
  • 1 : the given path is nil
lib2d_rscGetPath ( )

Get the 2d resources path.

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscAccess ( )

Get the 2d resources path to "Access".

access.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscAccessories ( )

Get the 2d resources path to "accessories".

accessories.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscApply ( )

Get the 2d resources path to "apply".

apply.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscApply2 ( )

Get the 2d resources path to "apply2".

apply2.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscAudioVolumeHigh ( )

Get the 2d resources path to "audio-volume-high".

audio-volume-high.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscAudioVolumeLow ( )

Get the 2d resources path to "audio-volume-low".

audio-volume-low.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscAudioVolumeMedium ( )

Get the 2d resources path to "audio-volume-medium".

audio-volume-medium.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscAudioVolumeMuted ( )

Get the 2d resources path to "audio-volume-muted".

audio-volume-muted.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscBattery ( )

Get the 2d resources path to "battery".

battery.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscBook ( )

Get the 2d resources path to "book".

book.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscBrowser ( )

Get the 2d resources path to "browser".

browser.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscCamera ( )

Get the 2d resources path to "camera".

camera.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscCancel ( )

Get the 2d resources path to "cancel".

cancel.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscCaution ( )

Get the 2d resources path to "caution".

caution.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscClock ( )

Get the 2d resources path to "clock".

clock.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscColors ( )

Get the 2d resources path to "colors".

colors.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscConnect ( )

Get the 2d resources path to "connect".

connect.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscCopy ( )

Get the 2d resources path to "copy".

copy.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscCut ( )

Get the 2d resources path to "cut".

cut.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscDate ( )

Get the 2d resources path to "date".

date.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscDevelopment ( )

Get the 2d resources path to "development".

development.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscDisconnect ( )

Get the 2d resources path to "disconnect".

disconnect.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscEdit ( )

Get the 2d resources path to "edit".

edit.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscError ( )

Get the 2d resources path to "error".

error.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscFacePlain ( )

Get the 2d resources path to "face-plain".

face-plain.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscFaceSad ( )

Get the 2d resources path to "face-sad".

face-sad.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscFaceSmile ( )

Get the 2d resources path to "face-smile".

face-smile.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscFileopen ( )

Get the 2d resources path to "fileopen".

fileopen.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscGames ( )

Get the 2d resources path to "games".

games.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscGaming ( )

Get the 2d resources path to "gaming".

gaming.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscGraphics ( )

Get the 2d resources path to "graphics".

graphics.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscHalt ( )

Get the 2d resources path to "halt".

halt.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscHelp ( )

Get the 2d resources path to "help".

help.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscImportant ( )

Get the 2d resources path to "important".

important.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscInfo ( )

Get the 2d resources path to "info".

info.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscInternet ( )

Get the 2d resources path to "internet".

internet.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscKeyboard ( )

Get the 2d resources path to "keyboard".

keyboard.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscLanguage ( )

Get the 2d resources path to "language".

language.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscLogin ( )

Get the 2d resources path to "login".

login.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscMicrophone ( )

Get the 2d resources path to "microphone".

microphone.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscMouse ( )

Get the 2d resources path to "mouse".

mouse.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscMultimedia ( )

Get the 2d resources path to "multimedia".

multimedia.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscNo ( )

Get the 2d resources path to "no".

no.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscOffice ( )

Get the 2d resources path to "office".

office.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscPaste ( )

Get the 2d resources path to "paste".

paste.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscPreferences ( )

Get the 2d resources path to "preferences".

preferences.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscPrinter ( )

Get the 2d resources path to "printer".

printer.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscProperties ( )

Get the 2d resources path to "properties".

properties.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscRecord ( )

Get the 2d resources path to "record".

record.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscRun ( )

Get the 2d resources path to "run".

run.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscRun2 ( )

Get the 2d resources path to "run2".

run2.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscSave ( )

Get the 2d resources path to "save".

save.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscScol ( )

Get the 2d resources path to "scol".

scol.png

Prototype : fun [] S

Returns
S : the current 2d resources path
Remarks
A BMP file is also available in the root Scol directory : "logo.bmp" (64x64 px)
lib2d_rscScreenshooter ( )

Get the 2d resources path to "screenshooter".

screenshooter.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscSearch ( )

Get the 2d resources path to "search".

search.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscStatus_0_24 ( )

Get the 2d resources path to "status-0-24".

status-0-24.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscStatus_25_49 ( )

Get the 2d resources path to "status-25-49".

status-25-49.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscStatus_50_74 ( )

Get the 2d resources path to "status-50-74".

status-50-74.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscStatus_75_100 ( )

Get the 2d resources path to "status-75-100".

status-75-100.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscStop ( )

Get the 2d resources path to "stop".

stop.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscSystem ( )

Get the 2d resources path to "system".

system.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscTheme ( )

Get the 2d resources path to "theme".

theme.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscUnknown ( )

Get the 2d resources path to "unknown".

unknown.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscUpdateAvailable ( )

Get the 2d resources path to "update-available".

update-available.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscUser ( )

Get the 2d resources path to "user".

user.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscWarning ( )

Get the 2d resources path to "warning".

warning.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscWww ( )

Get the 2d resources path to "www".

www.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscYes ( )

Get the 2d resources path to "yes".

yes.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscScolLogoBlack ( )

Get the 2d resources path to "scol_logo_scol_black".

scol_logo_scol_black.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscScolLogoWhite ( )

Get the 2d resources path to "scol_logo_scol_white".

scol_logo_scol_white.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscScolLogoPoweredBlack ( )

Get the 2d resources path to "scol_logo_powered_black".

scol_logo_powered_black.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscScolLogoPoweredWhite ( )

Get the 2d resources path to "scol_logo_powered_white".

scol_logo_powered_white.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscScolringBlack ( )

Get the 2d resources path to "scolring_black".

scolring_black.png

Prototype : fun [] S

Returns
S : the current 2d resources path
lib2d_rscScolringWhite ( )

Get the 2d resources path to "scolring_white".

scolring_white.png

Prototype : fun [] S

Returns
S : the current 2d resources path