Difference between revisions of "Multi screen support"

(Resources)
(Vision2)
Line 39: Line 39:
  
 
class EV_SCREEN:
 
class EV_SCREEN:
* allscreenslist [EV_MULTISCREEN]
+
* allscreenslist [EV_MONITOR]
* primaryscreen : EV_MULTISCREEN
+
* primaryscreen : EV_MONITOR
  
class EV_MULTISCREEN (inherits EV_SCREEN):
+
class EV_MONITOR:
 
* create class
 
* create class
* redefine inherited features for mutliscreen as needed
+
* width, height, vertical_resolution, horzintal_resolution
 
* monitor_at_position (pos: EV_COORDINATE): INTEGER
 
* monitor_at_position (pos: EV_COORDINATE): INTEGER
 
* get_global_coordinate (pos: EV_COORDINATE; screen_nr: INTEGER): EV_COORDINATE
 
* get_global_coordinate (pos: EV_COORDINATE; screen_nr: INTEGER): EV_COORDINATE
  
class EV_SCREEN_IMP (inherits EV_SCREEN_I):
+
class EV_MONITOR_IMP :
 
* add multiscreen features as needed
 
* add multiscreen features as needed
  
class EV_SCREEN_I:
+
class EV_MONITOR_I:
* add new deferred features from EV_SCREEN_IMP
+
* add new deferred features from EV_MONITOR_IMP
  
 
class GDK_EXTERNALS:
 
class GDK_EXTERNALS:

Revision as of 08:20, 19 June 2006


Overview

The aim of this project is to enhance Vision with a support for multiple screens.

Eiffel Studio

Step by Step build installation

Resources

  • In order to be able to change the library code you have to delete the 'readonly="True"' in the library tags of the project's acex file or just click on the project settings in the Eiffel Studio and change it there.


  • Gdk - Resources:
    • class GdkDisplay
    • class GdkScreen


  • WEL - Resources:
    • NONE


  • Win32 API - Resources:
    • look at the platform SDK under 'Win32 API'
    • Wel uses a loopback function to get access to all fonts (it's pretty much the same that we have to do)
      • see the mail from manu (see also the following mails)
      • in the SDK you find the EnumFontFamilies function under 'Graphics Device Interface' -> 'Fonts and Text' -> '... Reference' -> '... Functions'
      • look at %Eiffel%\library\wel\clib\enumfold.c
      • look at class wel_font_family_enumerator - especially at feature cwin_enum_font_families


Implementation

Vision2

class EV_SCREEN:

  • allscreenslist [EV_MONITOR]
  • primaryscreen : EV_MONITOR

class EV_MONITOR:

  • create class
  • width, height, vertical_resolution, horzintal_resolution
  • monitor_at_position (pos: EV_COORDINATE): INTEGER
  • get_global_coordinate (pos: EV_COORDINATE; screen_nr: INTEGER): EV_COORDINATE

class EV_MONITOR_IMP :

  • add multiscreen features as needed

class EV_MONITOR_I:

  • add new deferred features from EV_MONITOR_IMP

class GDK_EXTERNALS:

  • add multiscreen features as needed

Wel

??

Milestones

M1: June 1st

  • needed gdk features
  • decide upon implementation

M2: May ???

  • To be completed by the team

To do

  • Fabio:
    • find needed WEL features (and underlying routines - WIN32 API)
    • create svn-dir (done. see resources)
    • look at Win32API and get dummy prog to work (see resources)


  • Pascal:
    • look at Win32API and get dummy prog to work (see resources)


  • Pawi
    • find out how to do the docu (take a look at Doc builder)


  • Dario
    • find out how works 'external' (done. works under linux)
    • create Class EV_MULTISCREEN (inherits EV_SCREEN)
    • look at Win32API and get dummy prog to work (see resources)

Team

Everyone interested in this project is welcome to join our mailinglist es-ui@origo.ethz.ch