mirror of
https://github.com/Lacustat/Freewood-OctoWoW-Core.git
synced 2026-11-05 21:59:02 +00:00
0.1.240: Fluesterfenster: Knopf Einladen (Gruppe) [ungeprueft]
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016onJCSHLwhs9udhC9ZLzk9
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
4a0255a918
commit
f3c7664d21
@@ -3,7 +3,7 @@
|
||||
## Notes: Base addon of the Freewood family: data storage, UI kit, export/import and the main window.
|
||||
## Notes-deDE: Basis-Addon der Freewood-Familie: Datenspeicher, UI-Bausteine, Export/Import und Hauptfenster.
|
||||
## Author: Lacustat
|
||||
## Version: 0.1.239
|
||||
## Version: 0.1.240
|
||||
## SavedVariables: FreewoodDB
|
||||
## SavedVariablesPerCharacter: FreewoodCharDB
|
||||
|
||||
|
||||
@@ -85,6 +85,7 @@ FW:AddLocale("enUS", {
|
||||
SETTINGS_WHISPER_POPUP = "Show whisper windows (never in combat)",
|
||||
SETTINGS_WHISPER_ALWAYS = "Whisper windows also while the Freewood window is open",
|
||||
POP_TAB = "Chat",
|
||||
POP_INVITE = "Invite",
|
||||
POP_INFO_NONE = "...",
|
||||
CHAT_MENU_JOIN = "Join or create channel...",
|
||||
CHAT_MENU_NEWCAT = "New category...",
|
||||
@@ -258,6 +259,7 @@ FW:AddLocale("deDE", {
|
||||
SETTINGS_WHISPER_POPUP = "Flüsterfenster anzeigen (nie im Kampf)",
|
||||
SETTINGS_WHISPER_ALWAYS = "Flüsterfenster auch bei offenem Freewood-Fenster",
|
||||
POP_TAB = "Chat",
|
||||
POP_INVITE = "Einladen",
|
||||
POP_INFO_NONE = "...",
|
||||
CHAT_MENU_JOIN = "Kanal beitreten oder erstellen...",
|
||||
CHAT_MENU_NEWCAT = "Neue Kategorie...",
|
||||
|
||||
@@ -112,7 +112,7 @@ local function Create(name)
|
||||
|
||||
local head = CreateFrame("Button", nil, win)
|
||||
head:SetPoint("TOPLEFT", win, "TOPLEFT", 0, 0)
|
||||
head:SetPoint("TOPRIGHT", win, "TOPRIGHT", -96, 0) -- Knoepfe liegen ausserhalb der Zugflaeche
|
||||
head:SetPoint("TOPRIGHT", win, "TOPRIGHT", -160, 0) -- Knoepfe liegen ausserhalb der Zugflaeche
|
||||
head:SetHeight(44)
|
||||
head:RegisterForDrag("LeftButton")
|
||||
head:SetScript("OnDragStart", function() win:StartMoving() end)
|
||||
@@ -124,7 +124,7 @@ local function Create(name)
|
||||
|
||||
win.title = UI.CreateLabel(win, name, { font = "heading", size = 14, color = "gold", justify = "LEFT" })
|
||||
win.title:SetPoint("TOPLEFT", win, "TOPLEFT", 12, -8)
|
||||
win.title:SetPoint("TOPRIGHT", win, "TOPRIGHT", -90, -8)
|
||||
win.title:SetPoint("TOPRIGHT", win, "TOPRIGHT", -160, -8)
|
||||
win.info = UI.CreateLabel(win, "", { size = 11, color = "textDim", justify = "LEFT" })
|
||||
win.info:SetPoint("TOPLEFT", win, "TOPLEFT", 12, -26)
|
||||
win.info:SetPoint("TOPRIGHT", win, "TOPRIGHT", -12, -26)
|
||||
@@ -139,6 +139,12 @@ local function Create(name)
|
||||
end)
|
||||
tab:SetPoint("RIGHT", close, "LEFT", -4, 0)
|
||||
tab:SetFrameLevel(head:GetFrameLevel() + 3)
|
||||
local inv = UI.CreateButton(win, L.POP_INVITE, 60, 22, function()
|
||||
local Ch = FW.Channels
|
||||
if Ch and Ch.Invite then Ch.Invite(name) end
|
||||
end)
|
||||
inv:SetPoint("RIGHT", tab, "LEFT", -4, 0)
|
||||
inv:SetFrameLevel(head:GetFrameLevel() + 3)
|
||||
|
||||
local logBox = UI.CreatePanel(win, "bg", "bronze")
|
||||
logBox:SetPoint("TOPLEFT", win, "TOPLEFT", 8, -48)
|
||||
|
||||
Reference in New Issue
Block a user