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

12345

Reviews / articles about OS/2

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

Latest  
 
 

Unsorted

 

 

AD: ArcaOS 5.1 Russian LIP
Russian ARCAOS exists and it's available since the middle of 2017. All versions are supported: 5.1, 5.1.1.

eCo Software is able to maintain OS/2 LIP packages for any other language (German, Dutch, Brazilian Portuguese, Spanish, Sweden, etc)

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:

Piano Launchpad - launch pad for your favorite applications

Comments:

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. . ........., .. .... .......... . .... .. .......... ........ ..... .. ........ ......... ......... . ....... ... .......... ... .......... .. ........

Do you have an article or review of eCS application / technology? eComStation.RU site can publish it in 1 day! Contact the editor

 


 

 

ArcaOS 5.1.1 - DOS works again

DOS virtual machine works again (it was working on Core 2 Duo, and didn't for i5). Install ArcaOS in UEFI mode to use DOS VM.

PNG icons on Desktop

eCo Software: it's a significant achievement that we have created PNG icons engine for OS/2 Desktop. and designed the set of system icons. In other words, we have modernized the external view of OS/2.

Now we can discuss how to attract new users.

// надо на ENG!!
Blonde Guy

Buy OS/2 application: PM Backup Suite (incremental data backup)

Warpstock Europe 2000

The conference ... clip about the conference:

 

(C) OS2.GURU 2001 -- 2025