НОВОЕ: OS/2 GURU - Вопросы и ответы

12345

Reviews / articles about OS/2

Operating systems:
ArcaOS, eComStation, IBM OS/2 Warp
eComStation myths 

Latest  
 
 

Unsorted

 

 

AD: Upgrade ArcaOS to NeoWPS level

  • Install original PNG icons drawed by designer, specialized at OS/2 adornation.
  • Install eSchemes 2019 to change colors and buttons on desktop.

What is dpi and how to design dialogs


TITLE: What is dpi and how to design dialogs

DATE: 2009-03-20 22:36:05

AUTHOR: Dmitry A.Steklenev
Please use online translator
go to http://translate.google.com
and request the translation of http://ru.ecomstation./projects/reviews/index.php?id=192
to your language

... ..... dpi . ppi

dpi (............ ... ......) - .......... ... ..... dots per inch .......... ..... .. ........ ..... ........... ... ........ ........... ........... ........ ......... .......... ...... ....., ............ .. ........ .... ............ ........ ........... 600x300 dpi ... ........ ........, ... ... ........... ........... ..... 600 ..... .. ........... . 300 ..... .. ......... .. 1 .....

ppi ..... pixels per inch - .......... ........ .. ........ ..... .., ... .......... ........... ........... ...... ....., .. ..... .... ........ .......... ppi - .......... ........ .. ........ ..... ....... - ............ ...... ....... ............

. .......... ..... .............. ...... dpi.

..... ..... ..... ........... ........... ......

...... ........... ........... ...... ......... ............ ........... .......... ....... ..., ..... .. .... .. ...... ............ .......... ........ ........, ..... .......... ....... .. ........ . .... ...., ..... ....... .. ..... ........ . ........... ............ . 96 dpi ......., ...... ....... ........ ....... .. 96 ......... . ... .... ..... .......... .... .. ....... .. ........, ....... ........... ........... . 600 dpi, ... ....... ...... ........ .. 600 ......

...... 96 dpi . 120 dpi

........... VGA ......... ........ 80-. ..... ..... .......... . ...... .. 70 .. 74 dpi. ...... "..........." .......... ... ...... .... ........ ........... Macintosh ........ Apple, ........... ........... ....... .... ..... 72 dpi. .. .... ......... .... ...... ............. ...... ............. ......, ....... ... ... . ..... 1/72 ......

..... .... ........, ... .......... .. ............. ..... .. ........... ........ . ....... .. 1/3 ......... ........... .......... .. ..... ...... . ........... .. ........ ....... ....... .... ... .... ..... ............ .. ........ ...... .... ... .. .......... ......, ..... .. ..... ..... ..... .. ......, ... ..... ...... .. 1/3 ....... ... ....... .... ........ ... ...... ........ ......, ............ ....... ..... ........... ... ......... . . ........... ............ . ...... 72 dpi ........ . 96 dpi.

....., IBM ........... ....... 8514, ....... ........ ........... ........... . 96 dpi, . .............., . ............ ....... .... ........ ......... ........... ........... . 120 dpi.

.. ...... ......, ........ .... ......... . ................. ........... ......... . ............... ............ .... .. ... ... ....... ......... .. . ............ ............. ....... ......., .. ....... ......, Windows ....... ... ........ ........ ........... ........... . 96 dpi . ......... ....... ....... ... ........ .. 120 dpi, . OS/2, .. ........., ....... ... ........ . ........... ...... 1024x768 ........ - .......... . ........... ............ . 96 dpi, . ... ......... - .......... . ........... ............ . 120 dpi.

..... ..... ............ ........ ........... ........... ........

..... ..... ......... ...., ... ......... ........ dpi ... ...... ........, ... .. ...... .......... ... .......... ....... ......... ..........., . ...... ........ .. ........... ............ .... .... ..... .. ...... . ......... ............ ........... ............ ........ ........., .. ..... ...... ............ ...... ......, . .. dpi .......

.. ..... ...... ......... dpi ... ...... ........, ....... ........ .... .. ...... ...... . ........ .......... ........, ............... .... ......., .. .......... ......... ...... ....... ..... .. ........, ... ... ... ........... ........ .......... .......... ....... ., .............., ..... .......... ........... ........... .. ........... . ..........

..... ...., .... .......... ...... . ........ .. ......... . ..........., . ..... .... ..... ......... ........ . ........ ......, dpi ...... ..... ..... .......... .. ......... .......:

......... ........... ............ ........... ...........

...... ........ - ... .............. ........ ........ .. ...... ...... . ...., ... ......... ... ...... ..... ...... .. ......... ...... . ..... .......... ......... ....... . ........... ......... .. ........, ... ........ ........ .......... ....... ....... ........... ..........., ... ........ ........... ..... ........ ....... ........, ... ......... ............ .. .......... ............. ....... ...... ., . .........., ..... ..... ......... .......... .. ......... . ......... ............ dpi. ..... .. ........ ..... .......... . . .......... .......... ..........

... ...... ........... ........... ......, ............ ........

... ..... . OS/2 ..... ........ ......... .........., ............. ... ........... ........ ...... ........ ... ......... .......:

HPS   hps  = WinGetPS( HWND_DESKTOP );
HDC   hdc  = GpiQueryDevice( hps );
LONG  hres = 0;
LONG  vres = 0;

DevQueryCaps( hdc, CAPS_HORIZONTAL_FONT_RES, 1L, &hres );
DevQueryCaps( hdc, CAPS_VERTICAL_FONT_RES  , 1L, &vres );

....... .......

...... ....... . OS/2 ........... . ............ ........ .... ............ ..... ..... 1/72 ...... ......., ... ............... ........... ...... . ........., .......... ........... ... ...... . ...... ....... ........... ........... ....... .... ............... .........., ........... . .......... ......., .. ........ ... ......... .......:

SIZEF size;

size.cx = ( MAKEFIXED( font_size, 0 ) / 72 ) * hres;
size.cy = ( MAKEFIXED( font_size, 0 ) / 72 ) * vres;

GpiSetCharBox( hps_to_draw, &size );

....... .......

...... . OS/2 ..... ...... . 1/3 ...... ... .... ....... ........... ...... . 1/6 ...... ......., ... ............. ........... ........... . 96 dpi, ...... ...... ..... ...... . 32x32 . 16x16 ......... ... 120 dpi - .... ...... .......... .. 40x40 . 20x20 ........ ............... ...... ....... ......, ............ ........, ..... . ....... ....... WinQuerySysValue:

LONG icon_width  = WinQuerySysValue( HWND_DESKTOP, SV_CXICON );
LONG icon_height = WinQuerySysValue( HWND_DESKTOP, SV_CYICON );

. ........... ........ ........

.......... . ........ ........ ........ . ........... ......... ... ....... .......... .. ....... ....... ....... ......, ............. ........ .. .......... .... ....... .. ........... ..... 1/4 ...... ...... ......., . .... ....... .. ......... ..... 1/8 ...... ........

... ... ....... ...... ....... ..... .......... ... ......... dpi ......, .. ............. ..... ......... ..........., ... ...... ..... ............ . ........... ........ . ....... .......... ........ ... ..... dpi .......

....... ...... ....... ... ...... .. ......... ..... ..... ........ . .........., ............. ... ........... ........ .....:

HPS   hps = WinGetPS( HWND_DESKTOP );
HDC   hdc = GpiQueryDevice( hps );
LONG  char_height = 0;
LONG  char_width  = 0;

DevQueryCaps( hdc, CAPS_GRAPHICS_CHAR_WIDTH,  1L, &char_width  );
DevQueryCaps( hdc, CAPS_GRAPHICS_CHAR_HEIGHT, 1L, &char_height );

OS/2 .......... ....... ...... ....... . 13x13 ........ ... ........... ........... . 96 dpi . 16x16 ... 120 dpi. ......., .... ....... ......... ....... ....... .. ........... ..... ..... 3.25 ....... ... 96 dpi . 4 ....... ... 120 dpi. .. ......... ......... ......... ........ - 6.5 . 8 ........ ...............

..... ......

... ..... .. ........... ......, ... ........ ................. .......... OS/2 ............. .. ... ......... ........... ........... - 96 dpi . 120 dpi. ......... . ........... .............. ........... ...... ............. ........... ........... ...... ..... ...... ................. .. ......... ........, ...... ......... ........ dpi ......, .......... ....... ...... ......, ...... ....... . ...... ......... ..... ....... ...... ........ ............. ........ . ........ . ......... ............. ........, .... ........ .......... .......... .......... . ............ ............ ............

. ........., ... ........ Panorama, ...... ... .......... .......... ........ ............ ....... ...... ......, ....... ...... ....... . ....... ...... ........ ........ .......... ... ........... ........... . 120 dpi. ...... ...... ......, ...... ...... ....... . ...... ...... ........ ........ .......... ... ........... ........... . 96 dpi. ... ......... .......... .......... ........ ......... . .. ...... ............

............ ... .............

  1. ...... .......... ................ ......... ......... . .............. ........ ......... ..... ......... ..... ............ ......... ... ......... ........... ............ .......
  2. .... .. .....-.. ........, ............. ........ ........ ........ ............, ......... .......... ........... ......... .......... . ........ ........ . ............. .. . ....... .......... .......... . ....... ....... WinMapDlgPoints.
  3. ...... ........... . ........ ........... ......... ........ ........... ...... OS/2. .. ........... ......... ..........., ... ... ... .. .............. ... ......... ........... ........... .......
  4. .... ............. .......... ........... . ....... ........ ..........., ........... ... ............ .... . ........, ............... ........... ........... . 96 dpi, . ...... - ... 120 dpi. ............ ...... ........... ... ............. ....... . ........... .. ....... ........... ........... .......
  5. ... ........ ............ ...... OS/2 .......... ... ........... ... ...........: 40x40, 32x32, 20x20 . 16x16 ......... ..... OS/2 ..... ........ .............. ........... .............., . ... . ... .. ...... ...... ...........
  6. ............ .........., ... ........ ......... ... ........... ..........., ........ .. ..., . ....... .. ......... ..........

Test the program:

Upgrade eComStation 2.0 desktop to NeoWPS (useful extenders for desktop)

Kommentare:

Digi
2009-03-24 02:04:01

.......-.. ... ..... .... . .... ...... ........ ...., ... ....... . .. .....

Sergey Posokhov
2009-03-25 19:19:11

........ . ........ .... ...... (...... .......), .. ....... .. ......... ........

Milena
2009-06-02 09:37:01

.......! ... .... . ..... .........

.....
2009-06-02 21:53:33

C......!

.....
2009-09-14 17:55:30

......... .. ......! ..... . ........

.....
2010-08-19 18:27:59

..... ...... !

.. .............., . ..... ............ ..... ...... ...... .. ....... . .... .......

........ 600x300 dpi.

. ..... ..... .......... . 192 pdi?

.. ....... . .. ......, ..... ... ... ...... ..... ....... . .. ...... .........

.....
2013-01-23 10:51:32

....... .......!

Digi
2016-12-15 09:09:18

...-.. .. ... . ....... ". ........... ........ ........": "....... .. ........... ..... 1/4 ...... ...... ......., . .... ....... .. ......... ..... 1/8 ...... .......", . .....: ".. ......... ......... ......... ........". .. 1/8 ... ..... .. ......... 1/4. .....: "OS/2 .......... ....... ...... ....... ... 16x16 ... 120 dpi". . . .... .. DevQueryCaps() .......... 20.20. . ........., .. .... .......... . .... .. .......... ........ ..... .. ........ ......... ......... . ....... ... .......... ... .......... .. ........

System requirements of eComStation are low. It works on netbooks and old Pentium. (Of course, it works on modern 2- / 4- or 8-core computers). eCS 2.0 what's new?

 


 

 

ArcaOS 5.1.1 whatsnew - PNG icons

PNG icons on Desktop

PNG icons on Desktop. (instead of ancient .ico designed in 1994)

"SVISTA a-la Vista"

We have released SVISTA/2 virtual machine in 2004,

Eugene Gorbunoff have combined "Serenity Virtual Station" to spanish "Vista".

2004, 2005, there were several announcements on all major computer web-sites.
later Microsoft released OS named Vista

// надо на ENG!!

Warpstock Europe 2016

Interview with Dmitry Kuminov

video

 

(C) OS2.GURU 2001 -- 2025