mousealert_other.go 926 B

12345678910111213141516171819202122232425262728293031
  1. //go:build !windows
  2. // ============================================================================
  3. // mousealert_other.go — 系统级鼠标提醒(非 Windows 空实现)
  4. //
  5. // 当前平台不支持系统级鼠标提醒,提供空实现占位以保证跨平台编译;
  6. // Windows 实现在 mousealert_windows.go。
  7. // ============================================================================
  8. package main
  9. // triggerMouseAlert 非 Windows 平台为空实现(无系统级鼠标提醒能力)。
  10. func triggerMouseAlert(text string) {
  11. _ = text // 忽略
  12. }
  13. // triggerMouseAlertWithOptions 非 Windows 平台为空实现。
  14. func triggerMouseAlertWithOptions(text string, width int, scroll *bool) {
  15. _ = text
  16. _ = width
  17. _ = scroll
  18. }
  19. // stopMouseAlert 非 Windows 平台为空实现。
  20. func stopMouseAlert() {
  21. // 无操作
  22. }
  23. // stopTagAlert 非 Windows 平台为空实现。
  24. func stopTagAlert() {
  25. // 无操作
  26. }