doc/code.txt
author hamidouk
Tue, 29 Nov 2011 11:09:08 +0100
branchpopcorn-port
changeset 345 8a088f7daa66
parent 116 3ca8dadf3eda
child 349 73db41e25b75
permissions -rw-r--r--
rollover over the interface buttons now works as expected. Also changed the width of the buttons to the correct size. Resized the width and height of the sprites to be the same as the boxes we display them in.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
116
3ca8dadf3eda added a doc dir and a file explaining coding conventions.
hamidouk
parents:
diff changeset
     1
Metadataplayer : Code et structure
3ca8dadf3eda added a doc dir and a file explaining coding conventions.
hamidouk
parents:
diff changeset
     2
==================================
3ca8dadf3eda added a doc dir and a file explaining coding conventions.
hamidouk
parents:
diff changeset
     3
3ca8dadf3eda added a doc dir and a file explaining coding conventions.
hamidouk
parents:
diff changeset
     4
Ce document présente briévement la conception du metadataplayer.
3ca8dadf3eda added a doc dir and a file explaining coding conventions.
hamidouk
parents:
diff changeset
     5
3ca8dadf3eda added a doc dir and a file explaining coding conventions.
hamidouk
parents:
diff changeset
     6
Annexe: Idiomes
3ca8dadf3eda added a doc dir and a file explaining coding conventions.
hamidouk
parents:
diff changeset
     7
===============
3ca8dadf3eda added a doc dir and a file explaining coding conventions.
hamidouk
parents:
diff changeset
     8
3ca8dadf3eda added a doc dir and a file explaining coding conventions.
hamidouk
parents:
diff changeset
     9
Le code utilise quelques idiomes. Les voici, sans classement particulier :
3ca8dadf3eda added a doc dir and a file explaining coding conventions.
hamidouk
parents:
diff changeset
    10
- les membres de données privées d'un objet sont précedés d'un underscore. Ils ne sont pas censés être manipulés par des objets extérieurs, hormis 
3ca8dadf3eda added a doc dir and a file explaining coding conventions.
hamidouk
parents:
diff changeset
    11
  par les tests unitaires.
3ca8dadf3eda added a doc dir and a file explaining coding conventions.
hamidouk
parents:
diff changeset
    12
- tous les widgets et certains autres objets possèdent un attribut selector, qui est en fait une instance de jQuery appellée sur le div contenant
3ca8dadf3eda added a doc dir and a file explaining coding conventions.
hamidouk
parents:
diff changeset
    13
  l'objet en question.