Window::create - Yamamoto0773/Dx9Wrapper GitHub Wiki

::create

bool create(
  void * hInstance,
  const dx9::Size & size,
  const wchar_t* title,
  bool isFull
)

ćŠč果

ă‚Šă‚Łăƒłăƒ‰ă‚Šă‚’ç”Ÿæˆă™ă‚‹

ćŒ•æ•°

hInstance
ă‚Šă‚Łăƒłăƒ‰ă‚Šăƒăƒłăƒ‰ăƒ«ă€‚WinMainăźćŒ•æ•°ă«æžĄă•ă‚ŒăŸć€€ă‚’æŒ‡ćźšă—ăŠäž‹ă•ă„ă€‚

size
ă‚Żăƒ©ă‚€ă‚ąăƒłăƒˆé ˜ćŸŸ(ćźŸéš›ă«æç”»ă•ă‚Œă‚‹é ˜ćŸŸ)たゔむă‚șă€‚ć˜äœăŻăƒ”ă‚Żă‚»ăƒ«ă€‚

title
ă‚Šă‚Łăƒłăƒ‰ă‚Šă‚żă‚€ăƒˆăƒ«ă€‚ă‚Šă‚Łăƒłăƒ‰ă‚ŠäžŠéƒšăźă‚żă‚€ăƒˆăƒ«ăƒăƒŒă«èĄšç€șă•ă‚Œă‚‹æ–‡ć­—ćˆ—ă‚’æŒ‡ćźšă—ăŸă™ă€‚

isFull
ăƒ•ăƒ«ă‚čクăƒȘăƒŒăƒłă«ă™ă‚‹ă‹ăźăƒ•ăƒ©ă‚°ă€‚trueă§ăƒ•ăƒ«ă‚čクăƒȘăƒŒăƒłă€falseă§ă‚Šă‚Łăƒłăƒ‰ă‚ŠăƒąăƒŒăƒ‰ă«ăȘă‚ŠăŸă™ă€‚

æˆ»ă‚Šć€€

ç”Ÿæˆă«æˆćŠŸă™ă‚‹ăštrueă€ć€±æ•—ă—ăŸć ŽćˆăŻfalseă‚’èż”ă™ă€‚