TOP>2008年03月

2008年03月25日

嗚呼、マウスカーソル(続)

前回の続編です。
カーソルを16色で作ったり、ホイール回転したとき、
その他調整をしてみました。

JwwMouse3

JwwMouse4

JwwMouse5

ちょっと挙動のよく分からない部分があったりしますが〜

動作中、JWW を起動しようとすると、やっぱり、JWWがエラー・強制終了されてしまいます。一旦停止をすれば、正常起動できます。

マウスカーソルが標準の矢印に勝手に戻ってしまいますのでそれを設定しなおす、という事をしていますので、やはり多少マウスがちらついてしまうようです。

2008年03月25日

JWWでの制御文字とか・・・

Hirocom777さんの掲示板で、Jw_cadでの制御文字云々の処理が・・・
という事が書かれていました。
http://www.h7.dion.ne.jp/~hirocom/VBdeJW/

いやぁ確かに大変です。

私のところの「AFJWV」では、文字描画をする際に、
均等文字の処理をしたあと、文字単位で

if (s = '$F')or(s = '&F')or(s = '%F') then ・・・
else if (s = '_F') then ・・・
 else if (s = '=F') then ・・・
else if (s = '%f') then ・・・
else if (s = '$f')or(s = '&f') then ・・・
else if (s = '_f') then ・・・
else if (s = '=f') then ・・・
else if (s = '$j')or(s = '&j')or(s = '%j') then ・・・
else if (s = '$J')or(s = '&J')or(s = '%J') then ・・・
else if (s = '$y') then ・・・
else if (s = '&y') then ・・・
else if (s = '%y') then ・・・
else if (s = '_y') then ・・・
else if (s = '=y') then ・・・
else if (s = '$Y') then ・・・
else if (s = '&Y') then ・・・
else if (s = '%Y') then ・・・
else if (s = '_Y') then ・・・
else if (s = '=Y') then ・・・
else if (s = '$m') then ・・・
else if (s = '&m') then ・・・
else if (s = '%m') then ・・・
else if (s = '_m') then ・・・
else if (s = '=m') then ・・・
else if (s = '$d') then ・・・
else if (s = '&d') then ・・・
else if (s = '%d') then ・・・
else if (s = '_d') then ・・・
else if (s = '=d') then ・・・
else if (s = '$w')or(s = '&w')or(s = '%w')
or(s = '$W')or(s = '&W')or(s = '%W') then ・・・
else if (s = '=w')or(s = '_w')
or(s = '=W')or(s = '_W') then ・・・
else if (s = '$ma')or(s = '&ma')or(s = '%ma') then ・・・
else if (s = '=ma')or(s = '_ma') then ・・・
else if (s = '$wa')or(s = '&wa')or(s = '%wa') then ・・・
else if (s = '=wa')or(s = '_wa') then ・・・
else if (s = '$n')or(s = '&n')or(s = '%n') then ・・・
else if (s = '=n')or(s = '_n') then ・・・
else if (s = '$N')or(s = '&N')or(s = '%N') then ・・・
else if (s = '=N')or(s = '_N') then ・・・
else if (s = '$h') then ・・・
else if (s = '&h') then ・・・
else if (s = '%h') then ・・・
else if (s = '_h') then ・・・
else if (s = '=h') then ・・・
else if (s = '$H') then ・・・
else if (s = '&H') then ・・・
else if (s = '%H') then ・・・
else if (s = '_H') then ・・・
else if (s = '=H') then ・・・
else if (s = '$M') then ・・・
else if (s = '&M') then ・・・
else if (s = '%M') then ・・・
else if (s = '_M') then ・・・
else if (s = '=M') then ・・・
else if (s = '$S') then ・・・
else if (s = '&S') then ・・・
else if (s = '%S') then ・・・
else if (s = '_S') then ・・・
else if (s = '=S') then ・・・
else if (s = '$T')or(s = '&T')or(s = '%T')or(s = '=T')or(s = '_T') then ・・・
else if (s = '%mm') then ・・・
else if (s = '%m1') then ・・・
else if (s = '%m2') then ・・・
else if (s = '%SS') then ・・・
else if (s = '%SP') then ・・・
else if (s = '%ss') then ・・・
else if (s = '%sp') then ・・・
else if (s = '%f1')or(s = '%f2')or(s = '%f3')or(s = '%f4')
or(s = '%f5')or(s = '%f6')or(s = '%f7')or(s = '%f8')
or(s = '%f9')or(s = '%fa')or(s = '%fb')or(s = '%fc')
or(s = '%fd')or(s = '%fe')or(s = '%ff') then ・・・
else if (AnsiPos('%%',s) = 1) then ・・・
else ・・・
end;
みたいな事をしたあとに微調整的な後処理を行っていたりしますが・・・
いやぁ・・・結構 大変です。

2008年03月24日

嗚呼、マウスカーソル

先日、ちょっと聞かれたので適当(=いい加減)に作ってみました。
JwwMouse1
JwwMouse2

レコードジャーナルとかいう手法で作ってみました。
既に同様の手法を使っているソフトを動かしていると前のものが動かないとか、少し問題はあるらしいので、本当は DLL手法で作るのが普通なのだそうです。このソフトでも、実行中に Jw_cad を起動しようとするとエラーしてしまうので、Jw_cad を起動する前には必ず一旦停止をする必要があります。
タイマー割込みもかけていますし、Jw_cadが遅くなったり、その他、影響が出るかもしれませんので、公開はしません。このままお蔵入りかな。

2008年03月22日

CAD&CG MAGAZINE 2008.5

エクスナレッジ社から「CAD&CG MAGAZINE 2008.5」が(何故か)送られてきましたので、目次だけアップしておきます。


特集1 図面、写真、パースがキラリ★と光るひと工夫
 実務直結!
 設計者のための「超定番」Photoshopと「無償」GIMP
 マスターガイド

特集2 IT活用で勝つ!
 総合評価落札方式時代の「施工計画」作成ガイド

特別レポート AutoCAD 2009新機能速報付き!
 Autodesk World Press Days 2008
 サンフランシスコ・レポート

ほか。

添付CD-ROM内容は、
・Jw_cad Version 6.01
・Adobe Photoshop CS3 体験版
・GIMP2
ほか

2008年03月20日

safariがWindowsで?

P_Morris&JWW">P_Morris&JWWmarusanさんのブログで紹介されていた。

 Safari 3.1 for Windows XPまたはVista">Safari 3.1 for Windows XPまたはVista

そんなにすごいのか?
 あ・・確かに速いは・・・・でもアップルのサイトはsafariでも遅いです。
 (; ̄ー ̄A アセアセ・・・
sa080320003.jpg