1
0

maki.stx 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806
  1. #TITLE=MAKI
  2. ;Made By Rohan Prabhu for Winamp MAKI scripters. A plug-in for EditPlus 2.
  3. ;Completed and adopted to the Skin Consortium Coding Convention (Aug 2006) by Martin Poehlmann
  4. ;please contribute to make this complete. As of now, it supports about 346 classes and about 37 Objects/Variables and 7 pre-compiler directives.
  5. #DELIMITER=,(){}[]-+*%/="'~!&|<>?:;.
  6. #QUOTATION1='
  7. #QUOTATION2="
  8. #CONTINUE_QUOTE=n
  9. #LINECOMMENT=//
  10. #COMMENTON=/*
  11. #COMMENTOFF=*/
  12. #ESCAPE=\
  13. #NUMBER_PATTERN=cpp
  14. #SPECIAL_STX=maki
  15. #KEYWORD=Global Definitions
  16. Button
  17. AnimatedLayer
  18. Text
  19. Vis
  20. GroupList
  21. Object
  22. GuiObject
  23. Int
  24. String
  25. Boolean
  26. Double
  27. Float
  28. ToggleButton
  29. EqVis
  30. System
  31. Container
  32. Wac
  33. List
  34. Map
  35. PopUpMenu
  36. Region
  37. Timer
  38. Group
  39. Layout
  40. Component
  41. Edit
  42. Slider
  43. Browser
  44. Layer
  45. CfgList
  46. QueryList
  47. PLDir
  48. MouseRedir
  49. Dropdown
  50. LayoutStatus
  51. GuiList
  52. WindowHolder
  53. FeedWatcher
  54. ComponentBucket
  55. Status
  56. Title
  57. CfgGroup
  58. DropDownList
  59. TabSheet
  60. GuiTree
  61. TreeItem
  62. MenuButton
  63. CheckBox
  64. Form
  65. ConfigAttribute
  66. ConfigItem
  67. Config
  68. #KEYWORD=PreCompiler directives
  69. error
  70. ^#include
  71. ^#define
  72. ^#ifdef
  73. ^#endif
  74. ^#ifndef
  75. ^#undef
  76. ^#endif
  77. =
  78. >
  79. <
  80. +
  81. -
  82. /
  83. *
  84. !
  85. &
  86. |
  87. OR
  88. AND
  89. #KEYWORD=Reserved words
  90. return
  91. delete
  92. complete
  93. continue
  94. new
  95. break
  96. true
  97. false
  98. Global
  99. Class
  100. Function
  101. _predecl
  102. extern
  103. NULL
  104. #KEYWORD=Methods
  105. if
  106. else
  107. for
  108. while
  109. do
  110. switch
  111. case
  112. onPlay
  113. onPause
  114. onResume
  115. onStop
  116. onFrame
  117. setSpeed
  118. gotoFrame
  119. setStartFrame
  120. setEndFrame
  121. setAutoReplay
  122. play
  123. stop
  124. pause
  125. isPlaying
  126. isPaused
  127. isStopped
  128. getStartFrame
  129. getEndFrame
  130. getLength
  131. getDirection
  132. getAutoReplay
  133. getCurFrame
  134. setRealtime
  135. navigateUrl
  136. back
  137. forward
  138. stop
  139. refresh
  140. home
  141. setTargetName
  142. onBeforeNavigate
  143. onDocumentComplete
  144. onActivate
  145. onLeftClick
  146. onRightClick
  147. setActivated
  148. setActivatedNoCallback
  149. getActivated
  150. leftClick
  151. rightClick
  152. cfgGetInt
  153. cfgSetInt
  154. cfgGetString
  155. cfgGetFloat
  156. cfgSetFloat
  157. cfgSetString
  158. onCfgChanged
  159. cfgGetGuid
  160. cfgGetName
  161. onGetWac
  162. onGiveUpWac
  163. getGuid
  164. getWac
  165. setRegionFromMap
  166. setRegion
  167. setAcceptWac
  168. onSwitchToLayout
  169. onHideLayout
  170. onShowLayout
  171. getLayout
  172. getNumLayouts
  173. enumLayout
  174. switchToLayout
  175. show
  176. hide
  177. toggle
  178. isDynamic
  179. getItemSelected
  180. onEnter
  181. onAbort
  182. onIdleEditUpdate
  183. onEditUpdate
  184. setText
  185. setAutoEnter
  186. getText
  187. getClassName
  188. getId
  189. onNotify
  190. setRedirection
  191. getRedirection
  192. setRegionFromMap
  193. setRegion
  194. getValue
  195. inRegion
  196. loadMap
  197. getWidth
  198. getHeight
  199. getRegion
  200. addItem
  201. removeItem
  202. enumItem
  203. findItem
  204. getNumItems
  205. removeAll
  206. onBeginResize
  207. onEndResize
  208. fx_onInit
  209. fx_onFrame
  210. fx_onGetPixelR
  211. fx_onGetPixelD
  212. fx_onGetPixelX
  213. fx_onGetPixelY
  214. fx_onGetPixelA
  215. setRegionFromMap
  216. setRegion
  217. fx_setEnabled
  218. fx_getEnabled
  219. fx_setWrap
  220. fx_getWrap
  221. fx_setRect
  222. fx_getRect
  223. fx_setBgFx
  224. fx_getBgFx
  225. fx_setClear
  226. fx_getClear
  227. fx_setSpeed
  228. Int fx_getSpeed
  229. fx_setRealtime
  230. fx_getRealtime
  231. fx_setLocalized
  232. fx_getLocalized
  233. fx_setBilinear
  234. fx_getBilinear
  235. fx_setAlphaMode
  236. fx_getAlphaMode
  237. fx_setGridSize
  238. fx_update
  239. fx_restart
  240. instantiate
  241. getNumItems
  242. enumItem
  243. removeAll
  244. scrollToPercent
  245. getObject
  246. getNumObjects
  247. enumObject
  248. onCreateObject
  249. getMousePosX
  250. getMousePosY
  251. isLayout
  252. openTable
  253. openSubtable
  254. runQuery
  255. hideAllColumns
  256. setColumnVisible
  257. playSelection
  258. getPlayItem
  259. getItemText
  260. onItemSelect
  261. setTopItem
  262. selectItem
  263. isItemSelected
  264. getNumItems
  265. deselectAll
  266. add
  267. sub
  268. offset
  269. stretch
  270. copy
  271. loadFromMap
  272. loadFromBitmap
  273. getBoundingBoxX
  274. getBoundingBoxY
  275. getBoundingBoxW
  276. getBoundingBoxH
  277. onSetPosition
  278. onPostedPosition
  279. onSetFinalPosition
  280. setPosition
  281. getPosition
  282. lock
  283. unlock
  284. setText
  285. setAlternateText
  286. getText
  287. getTextWidth
  288. onTextChanged
  289. setText
  290. setAlternateText
  291. getText
  292. getTextWidth
  293. onTextChanged
  294. onTimer
  295. setDelay
  296. getDelay
  297. start
  298. stop
  299. isRunning
  300. onToggle
  301. onFrame
  302. setRealtime
  303. getRealtime
  304. getMode
  305. setMode
  306. nextMode
  307. getGuid
  308. getName
  309. sendCommand
  310. show
  311. hide
  312. isVisible
  313. onNotify
  314. onShow
  315. onHide
  316. setStatusBar
  317. Boolean getStatusBar
  318. addSubMenu
  319. addCommand
  320. addSeparator
  321. popAtXY
  322. popAtMouse
  323. getNumCommands
  324. checkCommand
  325. disableCommand
  326. callme
  327. setTargetX
  328. setTargetY
  329. setTargetA
  330. setTargetW
  331. setTargetH
  332. setTargetSpeed
  333. gotoTarget
  334. setAlpha
  335. setXMLparam
  336. getXMLparam
  337. onScriptLoaded
  338. onScriptUnloading
  339. onQuit
  340. onSetXuiParam
  341. onKeyDown
  342. onAccelerator
  343. onCreateLayout
  344. onShowLayout
  345. onHideLayout
  346. onStop
  347. onPlay
  348. onPause
  349. onResume
  350. onTitleChange
  351. onTitle2Change
  352. onInfoChange
  353. onStatusMsg
  354. onEqBandChanged
  355. onEqPreampChanged
  356. onEqChanged
  357. onVolumeChanged
  358. onSeek
  359. getContainer
  360. newDynamicContainer
  361. newGroup
  362. newGroupAsLayout
  363. getNumContainers
  364. enumContainer
  365. getWac
  366. messageBox
  367. getPlayItemString
  368. getPlayItemLength
  369. getPlayItemMetaDataString
  370. playFile
  371. getLeftVuMeter
  372. getRightVuMeter
  373. getVolume
  374. setVolume
  375. play
  376. stop
  377. pause
  378. next
  379. previous
  380. eject
  381. seekTo
  382. getPosition
  383. setEqBand
  384. setEqPreamp
  385. setEq
  386. getEqBand
  387. getEqPreamp
  388. getEq
  389. getMousePosX
  390. getMousePosY
  391. integerToString
  392. StringToInteger
  393. floatToString
  394. stringToFloat
  395. integerToLongTime
  396. integerToTime
  397. strmid
  398. Strleft
  399. strright
  400. strsearch
  401. strlen
  402. strupper
  403. strlower
  404. urlEncode
  405. removePath
  406. getToken
  407. sin
  408. cos
  409. tan
  410. asin
  411. acos
  412. atan
  413. atan2
  414. pow
  415. sqr
  416. sqrt
  417. random
  418. setPrivateString
  419. setPrivateInt
  420. getPrivateString
  421. getPrivateInt
  422. setPublicString
  423. setPublicInt
  424. getPublicString
  425. getPublicInt
  426. getScriptGroup
  427. getViewportWidth
  428. getViewportHeight
  429. getViewportLeft
  430. getViewportTop
  431. debugString
  432. ddeSend
  433. onLookForComponent
  434. getCurAppLeft
  435. getCurAppTop
  436. getCurAppWidth
  437. getCurAppHeight
  438. isAppActive
  439. getSkinName
  440. getMainBrowser
  441. popMainBrowser
  442. navigateUrl
  443. isObjectValid
  444. integer
  445. getTimeOfDay
  446. setMenuTransparency
  447. onGetCancelComponent
  448. getStatus
  449. isKeyDown
  450. setClipboardText
  451. Chr
  452. onMouseMove
  453. onLeftClick
  454. onRightClick
  455. onLeftButtonDown
  456. onLeftButtonUp
  457. onRightButtonDown
  458. onRightButtonUp
  459. onEnterArea
  460. onLeaveArea
  461. getPlayItemDisplayTitle
  462. getExtFamily
  463. dateToTime
  464. dateToLongTime
  465. formatDate
  466. formatLongDate
  467. getDateYear
  468. getDateMonth
  469. getDateDay
  470. getDateDow
  471. getDateDoy
  472. getDateHour
  473. getDateMin
  474. getDateSec
  475. getDateDst
  476. getDate
  477. getParam
  478. getViewportWidthFromPoint
  479. getViewportHeightFromPoint
  480. getViewportLeftFromPoint
  481. getViewportTopFromPoint
  482. switchSkin
  483. isLoadingSkin
  484. lockUI
  485. unlockUI
  486. frac
  487. selectFile
  488. systemMenu
  489. windowMenu
  490. triggerAction
  491. showWindow
  492. hideWindow
  493. hideNamedWindow
  494. isNamedWindowVisible
  495. invokeDebugger
  496. isVideo
  497. isVideoFullscreen
  498. getIdealVideoWidth
  499. getIdealVideoHeight
  500. isMinimized
  501. minimizeApplication
  502. restoreApplication
  503. activateApplication
  504. getPlaylistLength
  505. getPlaylistIndex
  506. isDesktopAlphaAvailable
  507. isTransparencyAvailable
  508. onShowNotification
  509. getSongInfoText
  510. getVisBand
  511. getRuntimeVersion
  512. onBeforeSwitchToLayout
  513. close
  514. setName
  515. getCurLayout
  516. getStatusBar
  517. onSetVisible
  518. getAlpha
  519. onRightButtonDblClk
  520. onLeftButtonDblClk
  521. setEnabled
  522. getEnabled
  523. onEnable
  524. resize
  525. onResize
  526. isMouseOver
  527. getLeft
  528. getTop
  529. onTargetReached
  530. cancelTarget
  531. reverseTarget
  532. onStartup
  533. isGoingToTarget
  534. init
  535. bringToFront
  536. bringToBack
  537. bringAbove
  538. bringBelow
  539. getGuiX
  540. getGuiY
  541. getGuiW
  542. getGuiH
  543. getGuiRelatX
  544. getGuiRelatY
  545. getGuiRelatW
  546. getGuiRelatH
  547. isActive
  548. getParent
  549. getParentLayout
  550. getTopParent
  551. runModal
  552. endModal
  553. findObject
  554. findObjectXY
  555. clientToScreenX
  556. clientToScreenY
  557. clientToScreenW
  558. clientToScreenH
  559. screenToClientX
  560. screenToClientY
  561. screenToClientW
  562. screenToClientH
  563. getAutoWidth
  564. getAutoHeight
  565. setFocus
  566. onChar
  567. isMouseOverRect
  568. getInterface
  569. onKeyUp
  570. onGetFocus
  571. onKillFocus
  572. sendAction
  573. onAction
  574. onDock
  575. onUndock
  576. onScale
  577. getScale
  578. setScale
  579. setDesktopAlpha
  580. getDesktopAlpha
  581. center
  582. onMove
  583. onEndMove
  584. onUserResize
  585. snapAdjust
  586. getSnapAdjustTop
  587. getSnapAdjustRight
  588. getSnapAdjustLeft
  589. getSnapAdjustBottom
  590. setRedrawOnResize
  591. beforeRedock
  592. redock
  593. isTransparencySafe
  594. isLayoutAnimationSafe
  595. onMouseEnterLayout
  596. onMouseLeaveLayout
  597. onSnapAdjustChanged
  598. getSkipped
  599. setFeed
  600. releaseFeed
  601. onFeedChange
  602. getContent
  603. getAutoEnter
  604. selectAll
  605. enter
  606. setIdleEnabled
  607. getIdleEnabled
  608. getCurCfgVal
  609. onResetQuery
  610. onSelect
  611. setListHeight
  612. openList
  613. closeList
  614. setItems
  615. delItem
  616. getSelected
  617. getSelectedText
  618. getCustomText
  619. deleteAllItems
  620. setNoItemText
  621. getCurPage
  622. setCurPage
  623. getWantAutoDeselect
  624. setWantAutoDeselect
  625. setAutoSort
  626. selectCurrent
  627. selectFirstEntry
  628. pagedown
  629. pageup
  630. end
  631. reset
  632. addColumn
  633. getNumColumns
  634. getColumnWidth
  635. setColumnWidth
  636. getColumnLabel
  637. setColumnLabel
  638. getColumnNumeric
  639. setColumnDynamic
  640. isColumnDynamic
  641. setMinimumSize
  642. insertItem
  643. getLastAddedItemPos
  644. setSubItem
  645. deleteAllItems
  646. deleteByPos
  647. getItemLabel
  648. setItemLabel
  649. isItemFocused
  650. getItemFocused
  651. setItemFocused
  652. ensureItemVisible
  653. invalidateColumns
  654. scrollAbsolute
  655. scrollRelative
  656. scrollLeft
  657. scrollRight
  658. scrollUp
  659. scrollDown
  660. getSubitemText
  661. getFirstItemSelected
  662. getNextItemSelected
  663. selectAll
  664. invertSelection
  665. invalidateItem
  666. getFirstItemVisible
  667. getLastItemVisible
  668. setFontSize
  669. getFontSize
  670. jumpToNext
  671. scrollToItem
  672. resort
  673. getSortDirection
  674. getSortColumn
  675. setSortColumn
  676. setSortDirection
  677. getItemCount
  678. setSelectionStart
  679. setSelectionEnd
  680. setSelected
  681. toggleSelection
  682. getHeaderHeight
  683. getPreventMultipleSelection
  684. setPreventMultipleSelection
  685. moveItem
  686. onSelectAll
  687. onDelete
  688. onDoubleClick
  689. onColumnDblClick
  690. onColumnLabelClick
  691. onItemSelection
  692. onSecondLeftClick
  693. onWantAutoContextMenu
  694. onMouseWheelUp
  695. onMouseWheelDown
  696. onContextMenu
  697. onItemRecvDrop
  698. onLabelChange
  699. onItemSelected
  700. onItemDeselected
  701. getNumRootItems
  702. enumRootItem
  703. getContentsWidth
  704. getContentsHeight
  705. addTreeItem
  706. removeTreeItem
  707. moveTreeItem
  708. expandItem
  709. expandItemDeferred
  710. collapseItem
  711. collapseItemDeferred
  712. selectItemDeferred
  713. delItemDeferred
  714. hiliteItem
  715. unhiliteItem
  716. getCurItem
  717. hitTest
  718. editItemLabel
  719. cancelEditLabel
  720. setAutoEdit
  721. getAutoEdit
  722. getByLabel
  723. setSorted
  724. getSorted
  725. sortTreeItems
  726. getSibling
  727. setAutoCollapse
  728. getNumVisibleChildItems
  729. getNumVisibleItems
  730. enumVisibleItems
  731. enumVisibleChildItems
  732. enumAllItems
  733. getItemRectX
  734. getItemRectY
  735. getItemRectW
  736. getItemRectH
  737. getNumChildren
  738. setLabel
  739. getLabel
  740. ensureVisible
  741. getNthChild
  742. getChild
  743. getChildSibling
  744. getSibling
  745. editLabel
  746. hasSubItems
  747. setSorted
  748. setChildTab
  749. isSorted
  750. isCollapsed
  751. isExpanded
  752. invalidate
  753. isSelected
  754. isHilited
  755. setHilited
  756. collapse
  757. expand
  758. getTree
  759. onTreeAdd
  760. onTreeRemove
  761. onDeselect
  762. onLeftDoubleClick
  763. onRightDoubleClick
  764. onExpand
  765. onCollapse
  766. onBeginLabelEdit
  767. onEndLabelEdit
  768. onContextMenu
  769. onOpenMenu
  770. onCloseMenu
  771. onSelectItem
  772. openMenu
  773. closeMenu
  774. setChecked
  775. isChecked
  776. getContentsHeight
  777. newCell
  778. nextRow
  779. deleteAll
  780. getMaxHeight
  781. getMaxWidth
  782. setScroll
  783. getScroll
  784. getNumChildren
  785. enumChildren
  786. getItem
  787. getItemByGuid
  788. newItem
  789. getAttribute
  790. newAttribute
  791. getGuid
  792. setData
  793. getData
  794. onDataChanged
  795. getParentItem
  796. getAttributeName
  797. #