HSP¥Ý¡¼¥¿¥ë
¥µ¥¤¥È¥Þ¥Ã¥× ¤ªÌ䤤¹ç¤ï¤»


HSPTV!·Ç¼¨ÈÄ


̤²ò·è ²ò·è Ää»ß ºï½üÍ×ÀÁ

2021
0914
ÂçÆüËÜÄë¹ñ3.6¤è¤ê¿·¤·¤¯¼ÂÁõ¤µ¤ì¤¿layerobj¤Î»ÈÍÑÎã4̤²ò·è


ÂçÆüËÜÄë¹ñ

¥ê¥ó¥¯

2021/9/14(Tue) 18:25:07|NO.93870

½é¤á¤Þ¤·¤Æ¡£
º£²ó¡¢hsp3.6¤è¤ê¼ÂÁõ¤µ¤ì¤¿layerobjÌ¿Îá¤Î»ÅÍͤ¬¤è¤¯¤ï¤«¤é¤Ê¤¤¤Î¤Ç¼ÁÌ䤵¤»¤Æ¤¤¤¿¤À¤­¤Þ¤¹¡£

1.²èÁü¤òÉÁ²è¤µ¤»¤¿¤¤¤¬¡¢¤½¤Î²èÁü¤Î¥Ý¥¸¥·¥ç¥ó¤Ïɽ¼¨¤µ¤»¤ëºÂɸ¤òpos¤Ë¤ÆÄêµÁ¤µ¤»¤ë¤È¤¤¤¦Ç§¼±¤ÇÀµ¤·¤¤¤«
2.Ì¿Îá¤Îp3(¥ì¥¤¥ä¡¼ID)¤È¤Ï¡¢ÉÁ²èÁ°¤Î¥ì¥¤¥ä¡¼¤«ÉÁ²è¸å¤Î¥ì¥¤¥ä¡¼¤Î¤É¤Á¤é¤Ç¤¢¤ë¤«
3.Î㤨¤Ð¥Ü¥¿¥ó¤ò²¡¤·¤¿½Ö´Ö¤Ë²èÁü¤òɽ¼¨¤µ¤»¤ë¥¹¥¯¥ê¥×¥È¤òºî¤ëºÝ¤Ï¤É¤Î¤è¤¦¤Ê¥³¡¼¥É¤¬Å¬¤·¤Æ¤¤¤ë¤«(¶ñÂÎŪ¤ËÄ󼨤·¤Æ¤¯¤À¤µ¤ë¤È´ò¤·¤¤¤Ç¤¹)

°Ê¾å¤Ë¤Ä¤¤¤Æ¡¢¤ï¤«¤ë¤È¤³¤í¤À¤±¤Ç¤âÅú¤¨¤Æ¤¯¤À¤µ¤ë¤È´ò¤·¤¤¤Ç¤¹¡£¤ª´ê¤¤¤·¤Þ¤¹¡£



¤³¤Îµ­»ö¤ËÊÖ¿®¤¹¤ë


zrs90(5¤µ¤¤)

¥ê¥ó¥¯

2021/9/15(Wed) 03:08:20|NO.93871

ÀµÄ¾¡¢ÀâÌÀ¤¹¤ë¤Î¤Ï¡¢Æñ¤·¤¤¤Ç¤¹¡£
(¥³¥¤¥Ä¤ÎÀâÌÀ¡¢Ìò¤ËΩ¤¿¤Ê¤¤¤È»×¤Ã¤¿¤é¥¹¥ë¡¼¤·¤Æ²¼¤µ¤¤
´Ö°ã¤Ã¤Æ¤ë²ÄǽÀ­¤â¤¢¤ê¤Þ¤¹¤·)


¤Þ¤º¤Ï¡¢¤³¤Î3¤Ä¤ò¡¢Â·¤¨¤Æ²¼¤µ¤¤¡£

­¡ ¥µ¥ó¥×¥ë(Ìó70¹Ô)¤¬¤¢¤ê¤Þ¤¹¡£sample¥Õ¥©¥ë¥ÀÆâ¤Î
new36\test_leyerobj.hsp
...¤È¤¤¤¦¥Õ¥¡¥¤¥ë¤Ç¤¹¡£

­¢ HSP Docs Libraly(°Ê²¼¡¢HDL)¤ÎlayerobjÌ¿Îá¤Î¥Ø¥ë¥×

­£ ¥¨¥Ç¥£¥¿¤Î¥Ø¥ë¥×(H)¥á¥Ë¥å¡¼¤«¤é
HSP¥×¥í¥°¥é¥ß¥ó¥°¡¦¥Þ¥Ë¥å¥¢¥ë¡¡¢ª 5.7.¥ì¥¤¥ä¡¼¥ª¥Ö¥¸¥§¥¯¥È¤ò³«¤¤¤Æ²¼¤µ¤¤¡£
(¢¨­¢¤ÇÀâÌÀ¤Î¤Ê¤«¤Ã¤¿¥Þ¥¯¥íÅù¤ÎÀâÌÀ¤¬¤¢¤ë)

­¢¤È­£¤Î»ñÎÁ¤ò¸µ¤Ë­¡¤ò²þ¤¤·¤Þ¤¹¡£

¼ÁÌä3¤Ï¡¢¥×¥í¥°¥é¥à¤ÎÁȤßÊý¼¡Âè¤Ê¤Î¤Ç
¤Ê¤ó¤È¤â¸À¤¨¤Þ¤»¤ó¤¬¡¢¤³¤Î¥µ¥ó¥×¥ë¤Î²þ¤¤Ç²¿¤È¤«¤Ê¤ë¤«¤È...

¼ÁÌä1¤Ç¤¹¡£²èÁüÍÑ°Õ¤¹¤ë¤Î¤¬ÌÌÅݤʤΤǥƥ¹¥È¤·¤Æ¤Þ¤»¤ó¡£
pos»ØÄꤷ¤¿¡¢¤¢¤ëÄøÅ٤Υµ¥¤¥º¤ÎboxfÌ¿Îá¤ò
39¹Ô°Ê¹ß¤Îcaseʸ¤Î²¼¤Ëµ­½Ò¤·¤Þ¤¹¡£
¸å¡¢22¹Ô¤Î¥¦¥¨¥¤¥ÈÄ´À°¡¢66¡¢69¹Ô¤Î¿§»ØÄê¤ò¤·¤Æ¤ß¤Æ²¼¤µ¤¤¡£
¤³¤ì¤ò¼Â¹Ô¤·¤Æ¤ß¤ì¤Ð¡¢Æ°ºî¤¬Íý²ò½ÐÍè¤ë¤«¤È...

-Äɵ­-
¼ÁÌä­¢¤Ï¡¢Åú¤¨¤é¤ì¤Þ¤»¤ó¡£Æɤó¤Ç¤ë¤¦¤Á¤Ë¤É¤Ã¤Á¤«Ê¬¤«¤é¤Ê¤¯¤Ê¤ê¤Þ¤·¤¿¡£
¸å¡¢p4¥Ñ¥é¥á¡¼¥¿¤¬²¿¤òÀßÄꤷ¤Æ¤ë¤«Ê¬¤«¤ê¤Þ¤»¤ó¤Ç¤·¤¿¡£
¥×¥í¥°¥é¥ß¥ó¥°¡¦¥Þ¥Ë¥å¥¢¥ë¤ËÀâÌÀ¤Ï½ñ¤¤¤Æ¤¢¤ë¤ó¤Ç¤¹¤¬¡£



zrs90(5¤µ¤¤)

¥ê¥ó¥¯

2021/9/15(Wed) 09:33:05|NO.93872

Êä­¡£

¤³¤Î¥µ¥ó¥×¥ë¼«ÂΡ¢Ì¤´°À®¡©

¡ü1¹ÔÌÜ¡¢3¹ÔÌܤ˻ȤäƤʤ¤ÊÑ¿ô¤¬¤¢¤ë¡£
¤Þ¤À¾¤Ë¤â¤¢¤ë¤«¤â¡£

¡ü¼Â¹Ô»þ¡¢DEL¥Ü¥¿¥ó¤ò²¡¤µ¤º¤Ë½ªÎ»¤µ¤»¤ë¤È
hsp3.exe¤ÏÆ°ºî¤òÄä»ß¤·¤Þ¤·¤¿¡¡¤Î¥¦¥£¥ó¥É¥¦¤¬½Ð¤ë
return¤Î½èÍý¤Ç¥ë¡¼¥×¤·¤Æ¤¤¤ë¤Î¤ò¡¢ÌµÍý¤Ë½ªÎ»¤µ¤»¤ë°Ù
¥¨¥é¡¼¤Ë¤Ê¤ë¤è¤¦¤Ç¤¹¡£¤½¤ÎÊÕ¤ê¤ÎÂбþ¤âɬÍפ«¤È¡£


¸å¡¢¼ÁÌä3¤ÎÊä­¡¢¥Á¥§¥Ã¥¯¤Ï¤·¤Æ¤Þ¤»¤ó¤¬¡¢²èÁü¤òɽ¼¨¤¹¤ë½èÍý¤ò66¡¢67¹Ô¤ÎÂå¤ï¤ê¤Ë
½ñ¤¤¤Æ¤â¡¢¥ì¥¤¥ä¡¼½èÍý¤Ç¤¹¤«¤éÆ°ºî¤¬ÊѤï¤Ã¤Æ¤­¤Þ¤¹¡£
¤½¤ì¤È¡¢17¹Ô¤Îp3¥Ñ¥é¥á¡¼¥¿¤òÊѹ¹¤·¤¿¾ì¹ç¤È¤«...

»ä¤¬¡¢¤¶¤Ã¤È¥µ¥ó¥×¥ë¤ò¸«¤¿½ê¤Ï¡¢¤³¤ó¤Ê´¶¤¸¤Ç¤¹¡£
ÅöÊý¤Î¥¹¥­¥ëÉÔ­¤Ç¡¢´Ö°ã¤¤Åù¤â¤¢¤ë¤Ï¤º¤Ê¤Î¤Ç...
¤´»ØŦ¡¢²þÁ±ÅÀ¤¬¤¢¤ì¤Ð¡¢½ñ¤­¹þ¤ó¤Ç¤¤¤¿¤À¤±¤ë¤È
½õ¤«¤ê¤Þ¤¹¡£



¤ï¤¿¤·¤Ç¤¹

¥ê¥ó¥¯

2021/9/15(Wed) 14:55:03|NO.93874

HSP3.6¤ÏÆþ¤ì¤Æ¤Ê¤¤¤Î¤Ç¥µ¥ó¥×¥ë¤ä¥Ø¥ë¥×¤¬¤É¤¦¤Ê¤Ã¤Æ¤¤¤ë¤Î¤«Ê¬¤«¤ê¤Þ¤»¤ó¤¬¡¢
¾¯¤Ê¤¯¤È¤â­¡¤È­¢¤Ï¢­(¥×¥í¥°¥é¥ß¥ó¥°¡¦¥Þ¥Ë¥å¥¢¥ë)¤Ëµ­ºÜ¤µ¤ì¤Æ¤Þ¤¹¤Í
https://www.onionsoft.net/hsp/v36/doclib/hspprog.htm#LAYER_OBJECT

­¡¤½¤¦¤Ç¤¹
­¢"ÉÁ²è¸å¤Î¥ì¥¤¥ä¡¼"¤Ç¤¹¡£



ÃöÌî

¥ê¥ó¥¯

2021/9/15(Wed) 15:28:28|NO.93875

>1.²èÁü¤òÉÁ²è¤µ¤»¤¿¤¤¤¬¡¢¤½¤Î²èÁü¤Î¥Ý¥¸¥·¥ç¥ó¤Ïɽ¼¨¤µ¤»¤ëºÂɸ¤òpos¤Ë¤ÆÄêµÁ¤µ¤»¤ë¤È¤¤¤¦Ç§¼±¤ÇÀµ¤·¤¤¤«
¤½¤ó¤Ê´¶¤¸¤Ç¤¹¡£
wparam¤«¤é¥ì¥¤¥ä¡¼¤òÀßÃÖ¤·¤¿»þ¤Î¥«¥ì¥ó¥È¥Ý¥¸¥·¥ç¥ó¤¬¼èÆÀ¤Ç¤­¤ë¤Î¤Ç¡¢
¤½¤ì¤ò»²¾È¤·¤Ê¤¬¤éÉÁ²è¤ò¹Ô¤¦¤Èɽ¼¨°ÌÃÖ¤ò¸ÇÄꤹ¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
»ØÄꤷ¤¿°ÌÃ֤λØÄꤷ¤¿ÈϰϤؤÀ¤±¼«Æ°Åª¤ËÉÁ²è¤µ¤ì¤ë¡¢¤È¤¤¤¦¤â¤Î¤Ç¤Ï¤Ê¤¤¤Ç¤¹¡£

>2.Ì¿Îá¤Îp3(¥ì¥¤¥ä¡¼ID)¤È¤Ï¡¢ÉÁ²èÁ°¤Î¥ì¥¤¥ä¡¼¤«ÉÁ²è¸å¤Î¥ì¥¤¥ä¡¼¤Î¤É¤Á¤é¤Ç¤¢¤ë¤«
¤¹¤ß¤Þ¤»¤ó¤¬¡¢¼ÁÌä¤Î°ÕÌ£¤¬¤è¤¯Ê¬¤«¤ê¤Þ¤»¤ó¤Ç¤·¤¿¡£
¥ì¥¤¥ä¡¼ID¤ÏÉÁ²è½ç¤òÄê¿ô¤Ç»ØÄꤹ¤ë¤â¤Î¤À¤Èǧ¼±¤·¤Æ¤¤¤Þ¤¹¡£
objlayer_min,bg,normal,posteff,max¤Î5¤Ä¤Ç¤¹¤Í¡£
Î㤨¤Ðredraw 0¤Î¥¿¥¤¥ß¥ó¥°¤Ç¤Ïmin¤«¤é½ç¤Ë¸Æ¤Ó½Ð¤µ¤ì¤Þ¤¹¡£

>3.Î㤨¤Ð¥Ü¥¿¥ó¤ò²¡¤·¤¿½Ö´Ö¤Ë²èÁü¤òɽ¼¨¤µ¤»¤ë¥¹¥¯¥ê¥×¥È¤òºî¤ëºÝ¤Ï¤É¤Î¤è¤¦¤Ê¥³¡¼¥É¤¬Å¬¤·¤Æ¤¤¤ë¤«(¶ñÂÎŪ¤ËÄ󼨤·¤Æ¤¯¤À¤µ¤ë¤È´ò¤·¤¤¤Ç¤¹)
Ŭ¤·¤Æ¤¤¤ë¤«¤Ïʬ¤«¤ê¤Þ¤»¤ó¤¬½ñ¤¤¤Æ¤ß¤Þ¤·¤¿¡£


#enum OBJID_BUTTON=0 #enum OBJID_LAYER *main //¥Ü¥¿¥ó¤òÀßÃÖ¤¹¤ë button gosub "²èÁüɽ¼¨",*btn //¥ì¥¤¥ä¡¼¤òÀßÃÖ¤¹¤ë layerobj 640,200,objlayer_normal,*layer;²èÁü¤Ï¤³¤Î¥µ¥¤¥º¤Çʬ³ä¤µ¤ì¤ë //ɽ¼¨¤·¤¿¤¤²èÁü¤ò»ØÄꤹ¤ë picturePath=dir_tv+"hsp3dish.png" exist picturePath if (strsize==-1) { dialog "¥Õ¥¡¥¤¥ë¤¬¸«¤Ä¤«¤ê¤Þ¤»¤ó¡£",1,"¥¨¥é¡¼" end } else { objprm OBJID_LAYER,picturePath } stop *btn //¥Ü¥¿¥ó¤¬²¡¤µ¤ì¤¿¤é²èÁü¤òɽ¼¨¤¹¤ë objprm OBJID_LAYER,0;ɽ¼¨¤·¤¿¤¤Ê¬³ä­â¤ò»ØÄꤹ¤ë return #define ctype getPosition(%1) objinfo(%1,objlayer_info_axis) #define ctype getSize(%1) objinfo(%1,objlayer_info_size) #define ctype getX(%1) (%1&$ffff) #define ctype getY(%1) (%1>>16&$ffff) *layer switch lparam case objlayer_cmdinit //ÀßÃÖ¤µ¤ì¤¿»þ¤Ë¥ì¥¤¥ä¡¼¤Î°ÌÃ֤ȥµ¥¤¥º¤ò¼èÆÀ¤¹¤ë position=getPosition(wparam) size=getSize(wparam) return case objlayer_cmdprms //ʸ»úÎó¤òÅϤµ¤ì¤¿»þ¤Ï²èÁü¤Î¥Õ¥¡¥¤¥ë¥Ñ¥¹¤È¤·¤Æ°·¤¦ loadPicture getX(size),getY(size),refstr return case objlayer_cmdprmi //intÃͤòÅϤµ¤ì¤¿»þ¤Ïʬ³ä²èÁü­â¤È¤·¤Æ°·¤¦ drawPicture getX(position),getY(position),iparam return default //¤½¤ì°Ê³°¤Ï²¿¤â¤·¤Ê¤¤ return swend #enum WNDID_MAIN=0 #enum WNDID_BUFFER //²èÁü¥Õ¥¡¥¤¥ë¤ò¥Ð¥Ã¥Õ¥¡¤ËÆɤ߹þ¤ó¤Çʬ³ä¤¹¤ë #deffunc loadPicture int xSize,int ySize,str picPath celload picPath,WNDID_BUFFER celdiv WNDID_BUFFER,xSize,ySize return //Æɤ߹þ¤ó¤À²èÁü¤ò¥ì¥¤¥ä¡¼Æâ¤ËÉÁ²è¤¹¤ë #deffunc drawPicture int xPos,int yPos,int picNum pos xPos,yPos celput WNDID_BUFFER,picNum return



ONION software Copyright 1997-2023(c) All rights reserved.